:root {
      --azul: #003C8F;
      --azul-profundo: #062B63;
      --azul-oscuro: #041F49;
      --celeste: #22B8E8;
      --celeste-suave: #E8F8FF;
      --rojo: #E21E26;
      --rojo-profundo: #B5161D;
      --amarillo: #FFD43B;
      --amarillo-suave: #FFF4B8;
      --naranjo: #FF7A00;
      --whatsapp: #25D366;
      --whatsapp-dark: #128C7E;
      --blanco: #FFFFFF;
      --gris-fondo: #F6F8FB;
      --gris-card: #F9FAFB;
      --gris-texto: #4B5563;
      --gris-borde: #E5E7EB;
      --negro: #111827;

      --font-title: "Poppins", sans-serif;
      --font-body: "Inter", Arial, sans-serif;

      --max: 1180px;
      --radio-xl: 32px;
      --radio-lg: 24px;
      --radio-md: 16px;

      --shadow-soft: 0 18px 48px rgba(4, 31, 73, 0.12);
      --shadow-card: 0 14px 34px rgba(4, 31, 73, 0.10);
      --shadow-strong: 0 24px 70px rgba(4, 31, 73, 0.18);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: var(--font-body);
      color: var(--negro);
      line-height: 1.6;
      background: var(--gris-fondo);
      overflow-x: hidden;
    }

    img,
    svg {
      display: block;
      max-width: 100%;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    a:focus-visible,
    button:focus-visible,
    summary:focus-visible,
    label:focus-visible {
      outline: 4px solid rgba(255, 212, 59, 0.9);
      outline-offset: 4px;
      border-radius: 12px;
    }

    section {
      scroll-margin-top: 96px;
    }

    .skip-link {
      position: absolute;
      left: 16px;
      top: -80px;
      z-index: 999;
      padding: 12px 16px;
      border-radius: 999px;
      color: var(--blanco);
      background: var(--azul-profundo);
      font-weight: 900;
      transition: top .2s ease;
    }

    .skip-link:focus {
      top: 16px;
    }

    .container {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      padding: 8px 14px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: 0.2px;
      color: var(--azul-profundo);
      background: var(--celeste-suave);
      border: 1px solid rgba(34, 184, 232, 0.28);
    }

    .eyebrow.red {
      color: var(--rojo-profundo);
      background: rgba(226, 30, 38, 0.10);
      border-color: rgba(226, 30, 38, 0.18);
    }

    .eyebrow.yellow {
      color: var(--azul-profundo);
      background: var(--amarillo-suave);
      border-color: rgba(255, 212, 59, 0.55);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 52px;
      padding: 14px 20px;
      border-radius: 999px;
      border: 2px solid transparent;
      font-size: 15px;
      font-weight: 900;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
      white-space: nowrap;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      color: var(--blanco);
      background: linear-gradient(135deg, var(--naranjo), var(--rojo));
      box-shadow: 0 18px 36px rgba(226, 30, 38, 0.22);
    }

    .btn-primary:hover {
      box-shadow: 0 22px 44px rgba(226, 30, 38, 0.30);
    }

    .btn-secondary {
      color: var(--azul-profundo);
      background: var(--blanco);
      border-color: rgba(0, 60, 143, 0.18);
      box-shadow: 0 12px 28px rgba(4, 31, 73, 0.08);
    }

    .btn-secondary:hover {
      border-color: rgba(0, 60, 143, 0.36);
      box-shadow: 0 16px 34px rgba(4, 31, 73, 0.12);
    }

    .btn-blue {
      color: var(--blanco);
      background: var(--azul);
      box-shadow: 0 16px 34px rgba(0, 60, 143, 0.22);
    }

    .btn-blue:hover {
      background: var(--azul-profundo);
    }

    .btn-outline {
      color: var(--azul-profundo);
      background: rgba(255, 255, 255, 0.78);
      border-color: rgba(0, 60, 143, 0.18);
    }

    .btn-outline:hover {
      background: var(--blanco);
      border-color: var(--azul);
    }

    /* HEADER */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(4, 31, 73, 0.08);
    }

    .nav {
      min-height: 82px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: max-content;
    }

    .brand-logo {
      width: 64px;
      height: 64px;
      object-fit: contain;
      filter: drop-shadow(0 8px 14px rgba(4, 31, 73, 0.12));
    }

    .brand-text strong {
      display: block;
      font-family: var(--font-title);
      font-size: 18px;
      line-height: 1.1;
      color: var(--azul-profundo);
      font-weight: 900;
    }

    .brand-text span {
      display: block;
      margin-top: 2px;
      font-size: 12px;
      color: var(--gris-texto);
      font-weight: 700;
    }

    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 19px;
      font-size: 13.2px;
      font-weight: 900;
      color: var(--azul-profundo);
    }

    .desktop-nav a {
      position: relative;
      padding: 8px 0;
    }

    .desktop-nav a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 2px;
      height: 3px;
      border-radius: 999px;
      background: var(--rojo);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .2s ease;
    }

    .desktop-nav a:hover::after {
      transform: scaleX(1);
    }

    .mobile-toggle {
      display: none;
    }

    .mobile-menu-button {
      display: none;
      width: 46px;
      height: 46px;
      border-radius: 16px;
      align-items: center;
      justify-content: center;
      background: var(--azul-profundo);
      color: var(--blanco);
      cursor: pointer;
      box-shadow: 0 12px 26px rgba(4, 31, 73, 0.16);
    }

    .mobile-menu-button span,
    .mobile-menu-button span::before,
    .mobile-menu-button span::after {
      display: block;
      width: 22px;
      height: 3px;
      border-radius: 999px;
      background: var(--blanco);
      transition: transform .2s ease, opacity .2s ease;
      position: relative;
    }

    .mobile-menu-button span::before,
    .mobile-menu-button span::after {
      content: "";
      position: absolute;
      left: 0;
    }

    .mobile-menu-button span::before {
      top: -7px;
    }

    .mobile-menu-button span::after {
      top: 7px;
    }

    .mobile-nav {
      display: none;
      padding: 0 0 18px;
    }

    .mobile-nav-inner {
      display: grid;
      gap: 10px;
      padding: 16px;
      border-radius: 24px;
      background: var(--blanco);
      border: 1px solid rgba(4, 31, 73, 0.08);
      box-shadow: var(--shadow-card);
    }

    .mobile-nav-inner a {
      padding: 13px 14px;
      border-radius: 16px;
      color: var(--azul-profundo);
      background: var(--gris-card);
      font-weight: 900;
    }

    .mobile-nav-inner a:hover {
      background: var(--celeste-suave);
    }

    .mobile-toggle:checked + .site-header .mobile-menu-button span {
      transform: rotate(45deg);
    }

    .mobile-toggle:checked + .site-header .mobile-menu-button span::before {
      transform: rotate(90deg);
      top: 0;
    }

    .mobile-toggle:checked + .site-header .mobile-menu-button span::after {
      opacity: 0;
    }

    .mobile-toggle:checked + .site-header .mobile-nav {
      display: block;
    }

    /* HERO */

    .hero {
      position: relative;
      padding: 64px 0 76px;
      overflow: hidden;
      background:
        radial-gradient(circle at 8% 12%, rgba(34, 184, 232, 0.18), transparent 28%),
        radial-gradient(circle at 92% 22%, rgba(255, 212, 59, 0.26), transparent 25%),
        radial-gradient(circle at 72% 86%, rgba(226, 30, 38, 0.10), transparent 30%),
        linear-gradient(180deg, #FFFFFF 0%, #F6F8FB 100%);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto -120px -160px auto;
      width: 420px;
      height: 420px;
      border-radius: 50%;
      background: rgba(0, 60, 143, 0.08);
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.02fr 0.98fr;
      gap: 52px;
      align-items: center;
    }

    .hero-copy {
      max-width: 720px;
    }

    .hero h1 {
      margin: 18px 0 12px;
      font-family: var(--font-title);
      font-size: clamp(44px, 6vw, 82px);
      line-height: 0.98;
      letter-spacing: -2.8px;
      color: var(--azul-profundo);
    }

    .hero h1 span {
      color: var(--rojo);
    }

    .hero-claim {
      margin: 0 0 22px;
      font-size: clamp(22px, 3vw, 34px);
      line-height: 1.12;
      font-weight: 900;
      color: var(--azul);
    }

    .hero-alert {
      margin: 0 0 28px;
      padding: 22px 24px;
      border-radius: 24px;
      background: linear-gradient(135deg, var(--azul-profundo), var(--azul));
      color: var(--blanco);
      box-shadow: var(--shadow-strong);
      border-left: 8px solid var(--amarillo);
    }

    .hero-alert strong {
      color: var(--amarillo);
      font-weight: 900;
    }

    .hero-alert p {
      margin: 0;
      font-size: clamp(19px, 2vw, 25px);
      line-height: 1.25;
      font-weight: 900;
    }

    .hero-text {
      margin: 0 0 28px;
      color: var(--gris-texto);
      font-size: 18px;
      max-width: 650px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .hero-trust {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }

    .hero-trust span {
      padding: 8px 12px;
      border-radius: 999px;
      color: var(--azul-profundo);
      background: var(--blanco);
      border: 1px solid rgba(4, 31, 73, 0.08);
      box-shadow: 0 10px 24px rgba(4, 31, 73, 0.06);
      font-size: 13px;
      font-weight: 900;
    }

    .hero-visual {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 520px;
    }

    .identity-card {
      width: min(470px, 100%);
      padding: 30px;
      border-radius: 38px;
      background:
        radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 28%),
        radial-gradient(circle at 88% 92%, rgba(226, 30, 38, 0.10), transparent 30%),
        var(--blanco);
      border: 1px solid rgba(4, 31, 73, 0.08);
      box-shadow: var(--shadow-strong);
    }

    .identity-logo-box {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 285px;
      padding: 16px;
      border-radius: 30px;
      background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
      border: 1px solid rgba(4, 31, 73, 0.07);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    }

    .identity-logo {
      width: min(265px, 82%);
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 14px 18px rgba(4, 31, 73, 0.14));
    }

    .identity-message {
      margin-top: 18px;
      padding: 24px 22px;
      border-radius: 26px;
      background: var(--gris-card);
      border: 1px solid rgba(4, 31, 73, 0.08);
      text-align: center;
    }

    .identity-message strong {
      display: block;
      margin-bottom: 8px;
      font-family: var(--font-title);
      font-size: clamp(38px, 5vw, 58px);
      line-height: 1;
      color: var(--rojo);
      letter-spacing: -1.2px;
    }

    .identity-message span {
      display: block;
      max-width: 320px;
      margin: 0 auto;
      color: var(--azul-profundo);
      font-size: 16px;
      line-height: 1.45;
      font-weight: 900;
    }

    .identity-tags {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-top: 16px;
    }

    .identity-tag {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      min-height: 44px;
      padding: 10px;
      border-radius: 999px;
      background: var(--blanco);
      border: 1px solid rgba(4, 31, 73, 0.08);
      color: var(--azul-profundo);
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 10px 24px rgba(4, 31, 73, 0.07);
      white-space: nowrap;
    }

    .identity-tag:nth-child(2) {
      background: var(--amarillo-suave);
    }

    .identity-tag:nth-child(3) {
      background: var(--celeste-suave);
    }

    /* GENERAL */

    .section {
      padding: 78px 0;
    }

    .section.white {
      background: var(--blanco);
    }

    .section.blue {
      background:
        radial-gradient(circle at 8% 18%, rgba(34, 184, 232, 0.20), transparent 28%),
        linear-gradient(135deg, var(--azul-profundo), var(--azul));
      color: var(--blanco);
    }

    .section-head {
      width: min(820px, 100%);
      margin: 0 auto 38px;
      text-align: center;
    }

    .section-head h2 {
      margin: 16px 0 12px;
      font-family: var(--font-title);
      font-size: clamp(32px, 4vw, 54px);
      line-height: 1.06;
      letter-spacing: -1.4px;
      color: var(--azul-profundo);
    }

    .section.blue .section-head h2 {
      color: var(--blanco);
    }

    .section-head p {
      margin: 0;
      color: var(--gris-texto);
      font-size: 18px;
    }

    .section.blue .section-head p {
      color: rgba(255, 255, 255, 0.82);
    }

    /* QUÉ ES */

    .intro-box {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 36px;
      align-items: center;
      padding: 42px;
      border-radius: var(--radio-xl);
      background: var(--blanco);
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(4, 31, 73, 0.08);
    }

    .intro-image {
      min-height: 360px;
      border-radius: 28px;
      background:
        linear-gradient(135deg, rgba(0, 60, 143, 0.54), rgba(226, 30, 38, 0.24)),
        url("/img/trabajadores-unidos.jpg") center/cover no-repeat;
      box-shadow: inset 0 -120px 140px rgba(4, 31, 73, 0.28);
      position: relative;
      overflow: hidden;
    }

    .intro-image::after {
      content: "Unidad y participación";
      position: absolute;
      left: 22px;
      right: 22px;
      bottom: 22px;
      padding: 16px 18px;
      border-radius: 18px;
      color: var(--blanco);
      background: rgba(4, 31, 73, 0.78);
      font-weight: 900;
      backdrop-filter: blur(10px);
    }

    .intro-content h2 {
      margin: 16px 0 16px;
      font-family: var(--font-title);
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.08;
      letter-spacing: -1.2px;
      color: var(--azul-profundo);
    }

    .intro-content p {
      margin: 0 0 16px;
      color: var(--gris-texto);
      font-size: 18px;
    }

    .highlight-line {
      display: inline-block;
      margin-top: 10px;
      padding: 14px 18px;
      border-radius: 18px;
      background: var(--amarillo-suave);
      color: var(--azul-profundo);
      font-weight: 900;
      border-left: 6px solid var(--amarillo);
    }

    /* BENEFICIOS */

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .benefit-card {
      min-height: 230px;
      padding: 26px;
      border-radius: var(--radio-lg);
      background: var(--blanco);
      box-shadow: var(--shadow-card);
      border: 1px solid rgba(4, 31, 73, 0.08);
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .benefit-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 44px rgba(4, 31, 73, 0.14);
    }

    .benefit-icon {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      margin-bottom: 18px;
      border-radius: 20px;
      font-size: 27px;
      background: var(--celeste-suave);
      color: var(--azul);
    }

    .benefit-card:nth-child(2) .benefit-icon {
      background: rgba(226, 30, 38, 0.10);
    }

    .benefit-card:nth-child(3) .benefit-icon {
      background: var(--amarillo-suave);
    }

    .benefit-card:nth-child(4) .benefit-icon {
      background: rgba(255, 122, 0, 0.12);
    }

    .benefit-card h3 {
      margin: 0 0 10px;
      font-family: var(--font-title);
      font-size: 20px;
      line-height: 1.18;
      color: var(--azul-profundo);
    }

    .benefit-card p {
      margin: 0;
      color: var(--gris-texto);
      font-size: 15.5px;
    }

    /* ORGANIZARSE */

    .route-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .route-card {
      padding: 28px;
      border-radius: var(--radio-lg);
      background: rgba(255, 255, 255, 0.10);
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
    }

    .route-number {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      margin-bottom: 18px;
      border-radius: 16px;
      background: var(--amarillo);
      color: var(--azul-profundo);
      font-weight: 900;
      font-size: 18px;
    }

    .route-card h3 {
      margin: 0 0 10px;
      font-family: var(--font-title);
      color: var(--blanco);
      font-size: 22px;
      line-height: 1.18;
    }

    .route-card p {
      margin: 0;
      color: rgba(255, 255, 255, 0.82);
      font-size: 16px;
    }

    .legal-note {
      margin: 26px auto 0;
      max-width: 880px;
      padding: 18px 20px;
      border-radius: 20px;
      color: rgba(255, 255, 255, 0.88);
      background: rgba(255, 255, 255, 0.10);
      border: 1px solid rgba(255, 255, 255, 0.18);
      font-size: 14.5px;
      font-weight: 700;
      text-align: center;
    }

    /* FRASE + LINKS */

    .phrase-band {
      padding: 44px;
      border-radius: var(--radio-xl);
      background:
        radial-gradient(circle at 90% 20%, rgba(255, 212, 59, 0.28), transparent 24%),
        linear-gradient(135deg, var(--rojo), var(--rojo-profundo));
      color: var(--blanco);
      box-shadow: var(--shadow-strong);
      text-align: center;
    }

    .phrase-band h2 {
      margin: 0 0 14px;
      font-family: var(--font-title);
      font-size: clamp(32px, 4vw, 56px);
      line-height: 1.05;
      letter-spacing: -1.2px;
    }

    .phrase-band p {
      margin: 0 auto 26px;
      max-width: 720px;
      color: rgba(255, 255, 255, 0.86);
      font-size: 18px;
    }

    .mini-links {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 34px;
    }

    .mini-link {
      padding: 22px;
      border-radius: var(--radio-lg);
      background: var(--blanco);
      box-shadow: var(--shadow-card);
      border: 1px solid rgba(4, 31, 73, 0.08);
    }

    .mini-link strong {
      display: block;
      margin-bottom: 8px;
      font-family: var(--font-title);
      color: var(--azul-profundo);
      font-size: 19px;
    }

    .mini-link span {
      display: block;
      color: var(--gris-texto);
      font-size: 15px;
    }

    .mini-link a {
      display: inline-flex;
      margin-top: 16px;
      color: var(--rojo);
      font-weight: 900;
    }

    /* PRÓXIMAMENTE */

    .coming-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 28px;
      align-items: center;
      padding: 38px;
      border-radius: var(--radio-xl);
      background:
        radial-gradient(circle at 92% 12%, rgba(255, 212, 59, 0.25), transparent 26%),
        var(--blanco);
      border: 1px solid rgba(4, 31, 73, 0.08);
      box-shadow: var(--shadow-soft);
    }

    .coming-title h2 {
      margin: 16px 0 12px;
      font-family: var(--font-title);
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.08;
      letter-spacing: -1.2px;
      color: var(--azul-profundo);
    }

    .coming-title p {
      margin: 0;
      color: var(--gris-texto);
      font-size: 17px;
    }

    .coming-list {
      display: grid;
      gap: 12px;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .coming-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 16px 18px;
      border-radius: 18px;
      color: var(--azul-profundo);
      background: var(--gris-card);
      border: 1px solid rgba(4, 31, 73, 0.08);
      font-weight: 800;
    }

    .coming-list li::before {
      content: "➜";
      color: var(--rojo);
      font-weight: 900;
      flex: 0 0 auto;
    }

    /* CONTACTO */

    .contact-strip {
      padding: 34px;
      border-radius: var(--radio-xl);
      background: var(--azul-profundo);
      color: var(--blanco);
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 28px;
      align-items: center;
      box-shadow: var(--shadow-strong);
      border-bottom: 8px solid var(--amarillo);
    }

    .contact-strip h2 {
      margin: 0 0 8px;
      font-family: var(--font-title);
      font-size: clamp(26px, 3vw, 40px);
      line-height: 1.08;
    }

    .contact-strip p {
      margin: 0;
      color: rgba(255, 255, 255, 0.82);
      font-size: 17px;
    }

    /* FOOTER */

    .footer {
      padding: 38px 0;
      background: var(--azul-oscuro);
      color: rgba(255, 255, 255, 0.76);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 28px;
      align-items: center;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .footer-brand img {
      width: 58px;
      height: 58px;
      object-fit: contain;
      background: var(--blanco);
      border-radius: 50%;
      padding: 4px;
    }

    .footer-brand strong {
      display: block;
      font-family: var(--font-title);
      color: var(--blanco);
      font-size: 18px;
      line-height: 1.15;
    }

    .footer-brand span {
      display: block;
      margin-top: 3px;
      font-size: 13px;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 16px;
      font-weight: 900;
      font-size: 14px;
    }

    .footer-links a:hover {
      color: var(--amarillo);
    }

    .footer-note {
      margin-top: 22px;
      padding: 16px 18px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 13px;
      color: rgba(255, 255, 255, 0.78);
    }

    .footer-bottom {
      margin-top: 22px;
      padding-top: 22px;
      border-top: 1px solid rgba(255, 255, 255, 0.14);
      display: flex;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
      font-size: 13px;
    }

    /* WHATSAPP */

    .whatsapp-float {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 80;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 62px;
      padding: 10px 18px 10px 10px;
      border-radius: 999px;
      color: var(--blanco);
      background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
      box-shadow:
        0 20px 48px rgba(37, 211, 102, 0.34),
        0 8px 18px rgba(4, 31, 73, 0.18);
      border: 3px solid rgba(255, 255, 255, 0.92);
      transition: transform .2s ease, box-shadow .2s ease;
      isolation: isolate;
      overflow: visible;
    }

    .whatsapp-float::before {
      content: "";
      position: absolute;
      inset: -7px;
      border-radius: 999px;
      background: rgba(37, 211, 102, 0.20);
      z-index: -1;
      animation: whatsappPulse 2.4s ease-in-out infinite;
    }

    .whatsapp-float::after {
      content: "";
      position: absolute;
      top: 9px;
      left: 12px;
      width: 38px;
      height: 18px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
      filter: blur(4px);
      pointer-events: none;
    }

    .whatsapp-float:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow:
        0 26px 58px rgba(37, 211, 102, 0.42),
        0 12px 24px rgba(4, 31, 73, 0.22);
    }

    .whatsapp-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.16);
    }

    .whatsapp-icon svg {
      width: 27px;
      height: 27px;
      fill: var(--blanco);
      display: block;
    }

    .whatsapp-label {
      display: flex;
      flex-direction: column;
      line-height: 1.05;
      font-weight: 900;
    }

    .whatsapp-label small {
      font-size: 11px;
      opacity: 0.86;
      font-weight: 800;
    }

    .whatsapp-label strong {
      font-size: 14px;
      letter-spacing: 0.1px;
    }

    @keyframes whatsappPulse {
      0%, 100% {
        transform: scale(0.96);
        opacity: 0.55;
      }

      50% {
        transform: scale(1.08);
        opacity: 0.18;
      }
    }

    /* RESPONSIVE */

    @media (max-width: 1120px) {
      .desktop-nav,
      .site-header .btn-blue {
        display: none;
      }

      .mobile-menu-button {
        display: flex;
      }

      .hero-grid,
      .intro-box,
      .coming-grid,
      .contact-strip,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .hero-visual {
        min-height: auto;
      }

      .identity-card {
        margin: 0 auto;
      }

      .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .route-grid,
      .mini-links {
        grid-template-columns: 1fr;
      }

      .contact-strip {
        text-align: center;
      }

      .footer-links {
        justify-content: flex-start;
      }
    }

    @media (max-width: 680px) {
      .container {
        width: min(100% - 26px, var(--max));
      }

      .nav {
        min-height: 72px;
        gap: 14px;
      }

      .brand-logo {
        width: 52px;
        height: 52px;
      }

      .brand-text strong {
        font-size: 16px;
      }

      .brand-text span {
        font-size: 11px;
      }

      .hero {
        padding: 38px 0 52px;
      }

      .hero-grid {
        gap: 34px;
      }

      .hero h1 {
        font-size: clamp(40px, 13vw, 56px);
        letter-spacing: -1.6px;
      }

      .hero-claim {
        font-size: 22px;
      }

      .hero-alert {
        padding: 18px;
        border-radius: 20px;
      }

      .hero-alert p {
        font-size: 19px;
      }

      .hero-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .btn {
        width: 100%;
      }

      .hero-trust span {
        width: 100%;
        text-align: center;
      }

      .identity-card {
        padding: 18px;
        border-radius: 28px;
      }

      .identity-logo-box {
        min-height: 230px;
        padding: 12px;
        border-radius: 24px;
      }

      .identity-logo {
        width: min(220px, 84%);
      }

      .identity-message {
        padding: 20px 16px;
        border-radius: 22px;
      }

      .identity-message strong {
        font-size: 42px;
      }

      .identity-message span {
        font-size: 15px;
      }

      .identity-tags {
        grid-template-columns: 1fr;
      }

      .section {
        padding: 58px 0;
      }

      .intro-box,
      .phrase-band,
      .coming-grid,
      .contact-strip {
        padding: 24px;
        border-radius: 26px;
      }

      .intro-image {
        min-height: 280px;
      }

      .benefits-grid,
      .route-grid,
      .mini-links {
        grid-template-columns: 1fr;
      }

      .benefit-card {
        min-height: auto;
      }

      .footer-grid {
        align-items: flex-start;
      }

      .footer-brand {
        align-items: flex-start;
      }

      .footer-links {
        flex-direction: column;
        gap: 10px;
      }

      .footer-bottom {
        flex-direction: column;
      }

      .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 62px;
        height: 62px;
        min-height: 62px;
        padding: 0;
        justify-content: center;
      }

      .whatsapp-label {
        display: none;
      }

      .whatsapp-icon {
        width: 46px;
        height: 46px;
      }

      .whatsapp-icon svg {
        width: 29px;
        height: 29px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
    
    /* AJUSTE ESPECÍFICO: SOBRE NOSOTROS */

.hero-about {
  padding: 58px 0 72px;
}

.hero-about h1 {
  max-width: 820px;
  font-size: clamp(38px, 5.1vw, 66px);
  line-height: 1.06;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-about .hero-claim {
  max-width: 780px;
  margin-top: 0;
  margin-bottom: 30px;
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.25;
}

@media (max-width: 680px) {
  .hero-about {
    padding: 38px 0 54px;
  }

  .hero-about h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.3px;
    margin-bottom: 22px;
  }

  .hero-about .hero-claim {
    font-size: 21px;
    line-height: 1.32;
    margin-bottom: 28px;
  }
}

/* =========================================================
   SOBRE NOSOTROS - HERO 10/10
   ========================================================= */

.hero-about {
  padding: 62px 0 76px;
}

.hero-about .hero-grid {
  grid-template-columns: 1fr 0.88fr;
  gap: 56px;
}

.hero-about h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(38px, 4.9vw, 64px);
  line-height: 1.06;
  letter-spacing: -2px;
}

.hero-about .hero-claim {
  max-width: 760px;
  margin: 0 0 30px;
  font-size: clamp(22px, 2.45vw, 30px);
  line-height: 1.28;
  color: var(--azul);
}

.hero-about .hero-text {
  max-width: 700px;
  font-size: 17.5px;
  line-height: 1.72;
}

.about-hero-card {
  width: min(470px, 100%);
  padding: 30px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(226, 30, 38, 0.10), transparent 30%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-strong);
}

.about-card-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 18px rgba(4, 31, 73, 0.14));
}

.about-hero-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  color: var(--azul-profundo);
}

.about-hero-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 16.5px;
  line-height: 1.65;
}

.about-principles {
  display: grid;
  gap: 12px;
}

.about-principle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
  color: var(--azul-profundo);
  font-weight: 900;
}

.about-principle span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
}

.about-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--azul-profundo);
  background: var(--celeste-suave);
  border-left: 6px solid var(--celeste);
  font-weight: 900;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .hero-about .hero-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .hero-about {
    padding: 40px 0 56px;
  }

  .hero-about h1 {
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.3px;
    margin-bottom: 22px;
  }

  .hero-about .hero-claim {
    font-size: 21px;
    line-height: 1.34;
    margin-bottom: 28px;
  }

  .about-hero-card {
    padding: 24px;
    border-radius: 28px;
  }

  .about-card-logo {
    width: 82px;
    height: 82px;
  }
}

/* IMAGEN ESPECÍFICA - SOBRE NOSOTROS */

.intro-image-about {
  background:
    linear-gradient(135deg, rgba(0, 60, 143, 0.54), rgba(226, 30, 38, 0.24)),
    url("/img/reunion-trabajadores.jpg") center/cover no-repeat;
}

/* =========================================================
   SOBRE NOSOTROS - BLOQUE DESTACADO 20%
   ========================================================= */

.problem-highlight {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.problem-stat-card {
  padding: 34px 30px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.problem-stat-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--amarillo);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.problem-stat-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(62px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -4px;
  color: var(--blanco);
}

.problem-stat-card p {
  margin: 18px 0 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.problem-context-card {
  padding: 34px;
  border-radius: var(--radio-xl);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.problem-context-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.problem-context-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.65;
}

.problem-context-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .problem-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .problem-stat-card,
  .problem-context-card {
    padding: 24px;
    border-radius: 26px;
  }

  .problem-stat-card strong {
    font-size: clamp(58px, 18vw, 86px);
    letter-spacing: -3px;
  }

  .problem-stat-card p,
  .problem-context-card p {
    font-size: 16px;
  }
}

/* AJUSTE NAVEGACIÓN CON MÁS OPCIONES */

.desktop-nav {
  gap: 15px;
  font-size: 12.8px;
}

@media (max-width: 1240px) {
  .desktop-nav,
  .site-header .btn-blue {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }
}

/* AJUSTE FINAL NAVEGACIÓN EN UNA LÍNEA */

.desktop-nav {
  gap: 20px;
  font-size: 14px;
  white-space: nowrap;
}

.desktop-nav a {
  white-space: nowrap;
}

.footer-links {
  gap: 20px;
}

.footer-links a {
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .desktop-nav {
    gap: 14px;
    font-size: 13px;
  }
}

@media (max-width: 1220px) {
  .desktop-nav,
  .site-header .btn-blue {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }
}

/* =========================================================
   NAVEGACIÓN UNIFICADA EN TODAS LAS PÁGINAS
   ========================================================= */

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 900;
  color: var(--azul-profundo);
  white-space: nowrap;
}

.desktop-nav a {
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-weight: 900;
  font-size: 14px;
}

.footer-links a {
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .desktop-nav {
    gap: 14px;
    font-size: 13px;
  }
}

@media (max-width: 1220px) {
  .desktop-nav,
  .site-header .btn-blue {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }
}

/* =========================================================
   NAVEGACIÓN UNIFICADA EN UNA SOLA LÍNEA
   ========================================================= */

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 900;
  color: var(--azul-profundo);
  white-space: nowrap;
}

.desktop-nav a {
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-weight: 900;
  font-size: 14px;
}

.footer-links a {
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .desktop-nav {
    gap: 14px;
    font-size: 13px;
  }
}

@media (max-width: 1220px) {
  .desktop-nav,
  .site-header .btn-blue {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }
}

/* =========================================================
   PROPÓSITO Y PRINCIPIOS
   ========================================================= */

.purpose-hero-card {
  width: min(470px, 100%);
  padding: 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255, 212, 59, 0.16), transparent 30%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-strong);
}

.purpose-hero-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--azul-profundo);
}

.purpose-hero-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.purpose-seal {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 18px rgba(4, 31, 73, 0.14));
}

.purpose-pill-list {
  display: grid;
  gap: 12px;
}

.purpose-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--azul-profundo);
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
  font-weight: 900;
}

.purpose-pill span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.statement-card {
  padding: 30px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.statement-card.featured {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 212, 59, 0.24), transparent 26%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
}

.statement-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  font-size: 28px;
  background: var(--celeste-suave);
}

.statement-card.featured .statement-icon {
  background: rgba(255, 255, 255, 0.14);
}

.statement-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.12;
  color: var(--azul-profundo);
}

.statement-card.featured h3 {
  color: var(--blanco);
}

.statement-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.65;
}

.statement-card.featured p {
  color: rgba(255, 255, 255, 0.86);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.principle-card {
  padding: 28px;
  border-radius: var(--radio-lg);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.principle-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-weight: 900;
  font-size: 18px;
}

.principle-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 22px;
  line-height: 1.18;
}

.principle-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.philosophy-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-soft);
}

.philosophy-image {
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 60, 143, 0.56), rgba(226, 30, 38, 0.22)),
    url("/img/dialogo-laboral.jpg") center/cover no-repeat;
  box-shadow: inset 0 -120px 140px rgba(4, 31, 73, 0.28);
  position: relative;
  overflow: hidden;
}

.philosophy-image::after {
  content: "Diálogo, respeto y participación";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--blanco);
  background: rgba(4, 31, 73, 0.78);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.philosophy-content h2 {
  margin: 16px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--azul-profundo);
}

.philosophy-content p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .statement-grid,
  .principles-grid,
  .philosophy-box {
    grid-template-columns: 1fr;
  }

  .purpose-hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .purpose-hero-card,
  .statement-card,
  .principle-card,
  .philosophy-box {
    padding: 24px;
    border-radius: 26px;
  }

  .philosophy-image {
    min-height: 280px;
  }
}

/* =========================================================
   PROPÓSITO Y PRINCIPIOS - AJUSTE 10/10
   ========================================================= */

.hero-purpose h1 {
  max-width: 780px;
  font-size: clamp(38px, 4.85vw, 64px);
  line-height: 1.06;
  letter-spacing: -2px;
}

.hero-purpose .hero-claim {
  max-width: 780px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
}

.purpose-hero-card h2 {
  font-size: clamp(27px, 2.7vw, 36px);
}

.purpose-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--azul-profundo);
  background: var(--amarillo-suave);
  border-left: 6px solid var(--amarillo);
  font-weight: 900;
  line-height: 1.55;
}

.statement-intro {
  max-width: 900px;
  margin: 0 auto 34px;
  padding: 24px 28px;
  border-radius: var(--radio-xl);
  text-align: center;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 212, 59, 0.22), transparent 25%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.statement-intro strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.statement-intro span {
  display: block;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.6;
}

.philosophy-highlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.philosophy-quote-card {
  padding: 34px 30px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.philosophy-quote-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--amarillo);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.philosophy-quote-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  color: var(--blanco);
}

.philosophy-quote-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.philosophy-context-card {
  padding: 34px;
  border-radius: var(--radio-xl);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.philosophy-context-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.philosophy-context-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.65;
}

.philosophy-context-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .philosophy-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-purpose h1 {
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.3px;
  }

  .statement-intro,
  .philosophy-quote-card,
  .philosophy-context-card {
    padding: 24px;
    border-radius: 26px;
  }

  .philosophy-quote-card strong {
    font-size: clamp(32px, 10vw, 44px);
  }

  .philosophy-quote-card p,
  .philosophy-context-card p {
    font-size: 16px;
  }
}

/* AJUSTE FINO HERO - PROPÓSITO Y PRINCIPIOS */

.hero-purpose h1 {
  max-width: 720px;
  font-size: clamp(36px, 4.35vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.hero-purpose .hero-claim {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(21px, 2.15vw, 28px);
  line-height: 1.34;
}

.hero-purpose .purpose-hero-card {
  transform: translateY(8px);
}

@media (max-width: 680px) {
  .hero-purpose h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.2px;
  }

  .hero-purpose .hero-claim {
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.34;
  }

  .hero-purpose .purpose-hero-card {
    transform: none;
  }
}

/* =========================================================
   POR QUÉ SINDICALIZARSE
   ========================================================= */

.why-hero-card {
  width: min(470px, 100%);
  padding: 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(226, 30, 38, 0.10), transparent 30%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-strong);
}

.why-hero-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 18px rgba(4, 31, 73, 0.14));
}

.why-hero-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--azul-profundo);
}

.why-hero-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.why-list {
  display: grid;
  gap: 12px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--azul-profundo);
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
  font-weight: 900;
}

.why-item span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
}

.why-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--azul-profundo);
  background: var(--celeste-suave);
  border-left: 6px solid var(--celeste);
  font-weight: 900;
  line-height: 1.55;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  padding: 30px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.value-card.featured {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 212, 59, 0.24), transparent 26%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
}

.value-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  font-size: 28px;
  background: var(--celeste-suave);
}

.value-card.featured .value-icon {
  background: rgba(255, 255, 255, 0.14);
}

.value-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.12;
  color: var(--azul-profundo);
}

.value-card.featured h3 {
  color: var(--blanco);
}

.value-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.65;
}

.value-card.featured p {
  color: rgba(255, 255, 255, 0.86);
}

.benefit-wide {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-soft);
}

.benefit-wide-image {
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 60, 143, 0.54), rgba(226, 30, 38, 0.22)),
    url("/img/participacion-sindical.jpg") center/cover no-repeat;
  box-shadow: inset 0 -120px 140px rgba(4, 31, 73, 0.28);
  position: relative;
  overflow: hidden;
}

.benefit-wide-image::after {
  content: "Participación con información";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--blanco);
  background: rgba(4, 31, 73, 0.78);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.benefit-wide-content h2 {
  margin: 16px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--azul-profundo);
}

.benefit-wide-content p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.7;
}

.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.myth-card {
  padding: 28px;
  border-radius: var(--radio-lg);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.myth-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: var(--amarillo);
  font-weight: 900;
  font-size: 13px;
}

.myth-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 22px;
  line-height: 1.18;
}

.myth-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .value-grid,
  .benefit-wide,
  .myth-grid {
    grid-template-columns: 1fr;
  }

  .why-hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .why-hero-card,
  .value-card,
  .benefit-wide,
  .myth-card {
    padding: 24px;
    border-radius: 26px;
  }

  .benefit-wide-image {
    min-height: 280px;
  }
}

/* =========================================================
   POR QUÉ SINDICALIZARSE - AJUSTE 10/10
   ========================================================= */

.why-highlight {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.why-highlight-card {
  padding: 34px 30px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.28), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
}

.why-highlight-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--amarillo);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.why-highlight-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.why-highlight-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.why-highlight-context {
  padding: 34px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.why-highlight-context h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.why-highlight-context p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.why-highlight-context p:last-child {
  margin-bottom: 0;
}

.myth-reality {
  display: grid;
  gap: 14px;
}

.myth-block,
.reality-block {
  padding: 18px 20px;
  border-radius: 20px;
}

.myth-block {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.reality-block {
  background: rgba(255, 255, 255, 0.16);
  border-left: 6px solid var(--amarillo);
}

.myth-block span,
.reality-block span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.myth-block span {
  color: var(--azul-profundo);
  background: var(--amarillo);
}

.reality-block span {
  color: var(--azul-profundo);
  background: var(--celeste-suave);
}

.myth-block h3,
.reality-block h3 {
  margin: 0;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 21px;
  line-height: 1.18;
}

.reality-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.65;
}

.hero-why h1 {
  max-width: 720px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.02;
}

.hero-why .hero-claim {
  max-width: 760px;
  font-size: clamp(22px, 2.35vw, 30px);
  line-height: 1.3;
}

@media (max-width: 1080px) {
  .why-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .why-highlight-card,
  .why-highlight-context,
  .myth-block,
  .reality-block {
    padding: 24px;
    border-radius: 26px;
  }

  .hero-why h1 {
    font-size: clamp(36px, 11vw, 50px);
    line-height: 1.08;
  }

  .why-highlight-card strong {
    font-size: clamp(32px, 10vw, 44px);
  }

  .why-highlight-card p,
  .why-highlight-context p,
  .reality-block p {
    font-size: 16px;
  }
}

/* =========================================================
   CÓMO FORMAR UN SINDICATO
   ========================================================= */

.steps-hero-card,
.process-card {
  padding: 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255, 212, 59, 0.16), transparent 30%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-strong);
}

.steps-hero-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 18px rgba(4, 31, 73, 0.14));
}

.steps-hero-card h2,
.process-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.steps-hero-card p,
.process-card p {
  margin: 0 0 18px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.steps-list {
  display: grid;
  gap: 18px;
}

.step-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radio-lg);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-weight: 900;
  font-size: 20px;
}

.step-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: 23px;
  line-height: 1.15;
}

.step-item p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.65;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.check-card {
  padding: 28px;
  border-radius: var(--radio-lg);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.check-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-weight: 900;
}

.check-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 22px;
}

.check-card p {
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .steps-hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .steps-hero-card,
  .process-card,
  .step-item,
  .check-card {
    padding: 24px;
    border-radius: 26px;
  }

  .step-item {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CÓMO FORMAR UN SINDICATO - AJUSTE 10/10
   ========================================================= */

.hero-form h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-form .hero-claim {
  max-width: 760px;
  font-size: clamp(22px, 2.35vw, 30px);
  line-height: 1.3;
}

.form-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--azul-profundo);
  background: var(--amarillo-suave);
  border-left: 6px solid var(--amarillo);
  font-weight: 900;
  line-height: 1.55;
}

.before-process-highlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.before-process-card {
  padding: 34px 30px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.28), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
}

.before-process-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--amarillo);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.before-process-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.before-process-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.before-process-context {
  padding: 34px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.before-process-context h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.before-process-context p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.before-process-context p:last-child {
  margin-bottom: 0;
}

.avoid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.avoid-card {
  padding: 28px;
  border-radius: var(--radio-lg);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.avoid-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: var(--amarillo);
  font-weight: 900;
  font-size: 13px;
}

.avoid-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 22px;
  line-height: 1.18;
}

.avoid-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.65;
}

.steps-grid.strong-route .step-card {
  position: relative;
  overflow: hidden;
}

.steps-grid.strong-route .step-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--amarillo), var(--rojo));
}

.steps-grid.strong-route .step-card:nth-child(1),
.steps-grid.strong-route .step-card:nth-child(4) {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 212, 59, 0.18), transparent 28%),
    var(--blanco);
}

@media (max-width: 1080px) {
  .before-process-highlight,
  .avoid-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-form h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.3px;
  }

  .before-process-card,
  .before-process-context,
  .avoid-card {
    padding: 24px;
    border-radius: 26px;
  }

  .before-process-card strong {
    font-size: clamp(32px, 10vw, 44px);
  }

  .before-process-card p,
  .before-process-context p,
  .avoid-card p {
    font-size: 16px;
  }
}

/* =========================================================
   CÓMO FORMAR UN SINDICATO - VERSIÓN 10/10
   ========================================================= */

.hero-form h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-form .hero-claim {
  max-width: 760px;
  font-size: clamp(22px, 2.35vw, 30px);
  line-height: 1.3;
}

.form-hero-card {
  width: min(470px, 100%);
  padding: 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255, 212, 59, 0.16), transparent 30%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-strong);
}

.form-hero-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 18px rgba(4, 31, 73, 0.14));
}

.form-hero-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--azul-profundo);
}

.form-hero-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.form-list {
  display: grid;
  gap: 12px;
}

.form-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--azul-profundo);
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
  font-weight: 900;
}

.form-item span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
}

.form-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--azul-profundo);
  background: var(--amarillo-suave);
  border-left: 6px solid var(--amarillo);
  font-weight: 900;
  line-height: 1.55;
}

.before-process-highlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.before-process-card {
  padding: 34px 30px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.28), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
}

.before-process-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--amarillo);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.before-process-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.before-process-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.before-process-context {
  padding: 34px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.before-process-context h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.before-process-context p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.before-process-context p:last-child {
  margin-bottom: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radio-lg);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--amarillo), var(--rojo));
}

.step-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-weight: 900;
  font-size: 18px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: 22px;
  line-height: 1.18;
}

.step-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.65;
}

.document-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-soft);
}

.document-image {
  min-height: 360px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 60, 143, 0.54), rgba(226, 30, 38, 0.22)),
    url("/img/formar-sindicato.jpg") center/cover no-repeat;
  box-shadow: inset 0 -120px 140px rgba(4, 31, 73, 0.28);
  position: relative;
  overflow: hidden;
}

.document-image::after {
  content: "Preparar, conversar y organizar";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--blanco);
  background: rgba(4, 31, 73, 0.78);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.document-content h2 {
  margin: 16px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--azul-profundo);
}

.document-content p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.7;
}

.avoid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.avoid-card {
  padding: 28px;
  border-radius: var(--radio-lg);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.avoid-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: var(--amarillo);
  font-weight: 900;
  font-size: 13px;
}

.avoid-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 22px;
  line-height: 1.18;
}

.avoid-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .before-process-highlight,
  .steps-grid,
  .document-box,
  .avoid-grid {
    grid-template-columns: 1fr;
  }

  .form-hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .hero-form h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.3px;
  }

  .form-hero-card,
  .before-process-card,
  .before-process-context,
  .step-card,
  .document-box,
  .avoid-card {
    padding: 24px;
    border-radius: 26px;
  }

  .document-image {
    min-height: 280px;
  }

  .before-process-card strong {
    font-size: clamp(32px, 10vw, 44px);
  }
}

/* =========================================================
   AJUSTE FINO HERO - FORMAR SINDICATO
   ========================================================= */

.hero-form h1 {
  max-width: 700px;
  font-size: clamp(36px, 4.25vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.7px;
}

.hero-form .hero-claim {
  max-width: 700px;
  margin-top: 26px;
  font-size: clamp(21px, 2.05vw, 27px);
  line-height: 1.34;
}

.hero-form .hero-alert {
  max-width: 640px;
  margin-top: 30px;
  padding: 24px 28px;
}

.hero-form .hero-grid {
  align-items: center;
}

.hero-form .form-hero-card {
  transform: translateY(6px);
}

@media (max-width: 680px) {
  .hero-form h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.2px;
  }

  .hero-form .hero-claim {
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.35;
  }

  .hero-form .hero-alert {
    max-width: 100%;
    padding: 22px;
  }

  .hero-form .form-hero-card {
    transform: none;
  }
}
/* =========================================================
   PARTICIPA
   ========================================================= */

.participa-hero-card {
  width: min(500px, 100%);
  padding: 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255, 212, 59, 0.16), transparent 30%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-strong);
}

.participa-hero-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 18px rgba(4, 31, 73, 0.14));
}

.participa-hero-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--azul-profundo);
}

.participa-hero-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.participa-list {
  display: grid;
  gap: 12px;
}

.participa-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--azul-profundo);
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
  font-weight: 900;
}

.participa-item span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
}

.participa-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--azul-profundo);
  background: var(--celeste-suave);
  border-left: 6px solid var(--celeste);
  font-weight: 900;
  line-height: 1.55;
}

.participa-image-box {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-soft);
}

.participa-main-image {
  min-height: 430px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(0, 60, 143, 0.08), rgba(226, 30, 38, 0.03)),
    url("/img/participa-trabajadores.jpg") 58% 54% / cover no-repeat;
  box-shadow:
    inset 0 -70px 110px rgba(4, 31, 73, 0.12),
    0 18px 46px rgba(4, 31, 73, 0.10);
  position: relative;
  overflow: hidden;
}

.participa-main-image::after {
  content: "Da el primer paso";
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: fit-content;
  max-width: calc(100% - 48px);
  padding: 12px 18px;
  border-radius: 16px;
  color: var(--blanco);
  background: rgba(4, 31, 73, 0.76);
  font-weight: 900;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(4, 31, 73, 0.20);
}

.participa-image-content h2 {
  margin: 16px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--azul-profundo);
}

.participa-image-content p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.7;
}

.participa-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.participa-option-card {
  padding: 30px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.participa-option-card.featured {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 212, 59, 0.24), transparent 26%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
}

.participa-option-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  font-size: 28px;
  background: var(--celeste-suave);
}

.participa-option-card.featured .participa-option-icon {
  background: rgba(255, 255, 255, 0.14);
}

.participa-option-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.12;
  color: var(--azul-profundo);
}

.participa-option-card.featured h3 {
  color: var(--blanco);
}

.participa-option-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.65;
}

.participa-option-card.featured p {
  color: rgba(255, 255, 255, 0.86);
}

.participa-contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.participa-contact-card {
  padding: 34px 30px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.28), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
}

.participa-contact-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--amarillo);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.participa-contact-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.participa-contact-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.participa-contact-actions {
  padding: 34px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.participa-contact-actions h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.participa-contact-actions p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.participa-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1080px) {
  .participa-image-box,
  .participa-options-grid,
  .participa-contact-panel {
    grid-template-columns: 1fr;
  }

  .participa-hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .participa-hero-card,
  .participa-image-box,
  .participa-option-card,
  .participa-contact-card,
  .participa-contact-actions {
    padding: 24px;
    border-radius: 26px;
  }

  .participa-main-image {
    min-height: 320px;
    background:
      linear-gradient(135deg, rgba(0, 60, 143, 0.08), rgba(226, 30, 38, 0.03)),
      url("/img/participa-trabajadores.jpg") 62% 54% / cover no-repeat;
  }

  .participa-main-image::after {
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    padding: 11px 15px;
    font-size: 14px;
  }

  .participa-contact-card strong {
    font-size: clamp(32px, 10vw, 44px);
  }

  .participa-buttons {
    flex-direction: column;
  }

  .participa-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   CONTACTO
   ========================================================= */

.contacto-hero-card {
  width: min(500px, 100%);
  padding: 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255, 212, 59, 0.16), transparent 30%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-strong);
}

.contacto-hero-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 18px rgba(4, 31, 73, 0.14));
}

.contacto-hero-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--azul-profundo);
}

.contacto-hero-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.contacto-list {
  display: grid;
  gap: 12px;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--azul-profundo);
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
  font-weight: 900;
}

.contacto-item span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
}

.contacto-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--azul-profundo);
  background: var(--amarillo-suave);
  border-left: 6px solid var(--amarillo);
  font-weight: 900;
  line-height: 1.55;
}

.contacto-image-box {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-soft);
}

.contacto-main-image {
  min-height: 430px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(0, 60, 143, 0.08), rgba(226, 30, 38, 0.03)),
    url("/img/contacto-equipo-orientacion.jpg") center/cover no-repeat;
  box-shadow:
    inset 0 -70px 110px rgba(4, 31, 73, 0.12),
    0 18px 46px rgba(4, 31, 73, 0.10);
  position: relative;
  overflow: hidden;
}

.contacto-main-image::after {
  content: "Hablemos de tu caso";
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: fit-content;
  max-width: calc(100% - 48px);
  padding: 12px 18px;
  border-radius: 16px;
  color: var(--blanco);
  background: rgba(4, 31, 73, 0.78);
  font-weight: 900;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(4, 31, 73, 0.20);
}

.contacto-image-content h2 {
  margin: 16px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--azul-profundo);
}

.contacto-image-content p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.7;
}

.contacto-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contacto-option-card {
  padding: 30px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.contacto-option-card.featured {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 212, 59, 0.24), transparent 26%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
}

.contacto-option-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  font-size: 28px;
  background: var(--celeste-suave);
}

.contacto-option-card.featured .contacto-option-icon {
  background: rgba(255, 255, 255, 0.14);
}

.contacto-option-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.12;
  color: var(--azul-profundo);
}

.contacto-option-card.featured h3 {
  color: var(--blanco);
}

.contacto-option-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.65;
}

.contacto-option-card.featured p {
  color: rgba(255, 255, 255, 0.86);
}

.contacto-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.contacto-direct-card {
  padding: 34px 30px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.28), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
}

.contacto-direct-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--amarillo);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contacto-direct-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.contacto-direct-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.contacto-actions-card {
  padding: 34px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.contacto-actions-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.contacto-actions-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.contacto-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1080px) {
  .contacto-image-box,
  .contacto-options-grid,
  .contacto-panel {
    grid-template-columns: 1fr;
  }

  .contacto-hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .contacto-hero-card,
  .contacto-image-box,
  .contacto-option-card,
  .contacto-direct-card,
  .contacto-actions-card {
    padding: 24px;
    border-radius: 26px;
  }

  .contacto-main-image {
    min-height: 320px;
    background:
      linear-gradient(135deg, rgba(0, 60, 143, 0.08), rgba(226, 30, 38, 0.03)),
      url("/img/contacto-equipo-orientacion.jpg") center/cover no-repeat;
  }

  .contacto-main-image::after {
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    padding: 11px 15px;
    font-size: 14px;
  }

  .contacto-direct-card strong {
    font-size: clamp(32px, 10vw, 44px);
  }

  .contacto-buttons {
    flex-direction: column;
  }

  .contacto-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   CONTACTO
   ========================================================= */

.contacto-hero-card {
  width: min(500px, 100%);
  padding: 32px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 184, 232, 0.16), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255, 212, 59, 0.16), transparent 30%),
    var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-strong);
}

.contacto-hero-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 18px rgba(4, 31, 73, 0.14));
}

.contacto-hero-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--azul-profundo);
}

.contacto-hero-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.contacto-list {
  display: grid;
  gap: 12px;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--azul-profundo);
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
  font-weight: 900;
}

.contacto-item span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
}

.contacto-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--azul-profundo);
  background: var(--amarillo-suave);
  border-left: 6px solid var(--amarillo);
  font-weight: 900;
  line-height: 1.55;
}

.contacto-image-box {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-soft);
}

.contacto-main-image {
  min-height: 430px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(0, 60, 143, 0.06), rgba(226, 30, 38, 0.02)),
    url("/img/contacto-equipo-orientacion.jpg") center/cover no-repeat;
  box-shadow:
    inset 0 -55px 90px rgba(4, 31, 73, 0.10),
    0 18px 46px rgba(4, 31, 73, 0.10);
  position: relative;
  overflow: hidden;
}

.contacto-main-image::after {
  content: "Orientación inicial";
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: fit-content;
  max-width: calc(100% - 48px);
  padding: 11px 16px;
  border-radius: 16px;
  color: var(--blanco);
  background: rgba(4, 31, 73, 0.70);
  font-weight: 900;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(4, 31, 73, 0.18);
}

.contacto-image-content h2 {
  margin: 16px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--azul-profundo);
}

.contacto-image-content p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 18px;
  line-height: 1.7;
}

.contacto-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contacto-option-card {
  padding: 30px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.contacto-option-card.featured {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 212, 59, 0.24), transparent 26%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
}

.contacto-option-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  font-size: 28px;
  background: var(--celeste-suave);
}

.contacto-option-card.featured .contacto-option-icon {
  background: rgba(255, 255, 255, 0.14);
}

.contacto-option-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 24px;
  line-height: 1.12;
  color: var(--azul-profundo);
}

.contacto-option-card.featured h3 {
  color: var(--blanco);
}

.contacto-option-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.65;
}

.contacto-option-card.featured p {
  color: rgba(255, 255, 255, 0.86);
}

.contacto-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.contacto-trust-card {
  padding: 24px;
  border-radius: var(--radio-lg);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.contacto-trust-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--amarillo-suave);
  font-size: 24px;
}

.contacto-trust-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: 21px;
  line-height: 1.15;
}

.contacto-trust-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 15.5px;
  line-height: 1.6;
}

.contacto-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.contacto-direct-card {
  padding: 34px 30px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.28), transparent 28%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
}

.contacto-direct-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--amarillo);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contacto-direct-card strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.contacto-direct-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.contacto-actions-card {
  padding: 34px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.contacto-actions-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.contacto-actions-card p {
  margin: 0 0 22px;
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.65;
}

.contacto-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1080px) {
  .contacto-image-box,
  .contacto-options-grid,
  .contacto-panel,
  .contacto-trust-grid {
    grid-template-columns: 1fr;
  }

  .contacto-hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .contacto-hero-card,
  .contacto-image-box,
  .contacto-option-card,
  .contacto-direct-card,
  .contacto-actions-card,
  .contacto-trust-card {
    padding: 24px;
    border-radius: 26px;
  }

  .contacto-main-image {
    min-height: 320px;
    background:
      linear-gradient(135deg, rgba(0, 60, 143, 0.06), rgba(226, 30, 38, 0.02)),
      url("/img/contacto-equipo-orientacion.jpg") center/cover no-repeat;
  }

  .contacto-main-image::after {
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    padding: 10px 14px;
    font-size: 14px;
  }

  .contacto-direct-card strong {
    font-size: clamp(32px, 10vw, 44px);
  }

  .contacto-buttons {
    flex-direction: column;
  }

  .contacto-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   CONTACTO - AJUSTE PANEL DE ACCIÓN
   ========================================================= */

.contacto-action-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 26px;
}

.contacto-action-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
}

.contacto-action-option span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
  font-size: 18px;
}

.contacto-action-option strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: 17px;
  line-height: 1.15;
}

.contacto-action-option p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 14.8px;
  line-height: 1.5;
}

.contacto-action-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--azul-profundo);
  background: var(--amarillo-suave);
  border-left: 5px solid var(--amarillo);
  font-weight: 900;
  line-height: 1.5;
}

.contacto-actions-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 680px) {
  .contacto-action-option {
    padding: 15px;
  }

  .contacto-action-note {
    padding: 15px;
    font-size: 14.5px;
  }
}

/* =========================================================
   CONTACTO - AJUSTE TARJETA AZUL
   ========================================================= */

.contacto-direct-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacto-direct-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contacto-direct-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contacto-direct-step span {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-weight: 900;
  font-size: 14px;
}

.contacto-direct-step strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 16px;
  line-height: 1.15;
}

.contacto-direct-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 700;
}

/* =========================================================
   CONTACTO - MEJORA LEGIBILIDAD PASOS AZULES
   ========================================================= */

.contacto-direct-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contacto-direct-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
}

.contacto-direct-step strong {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.2px;
  font-weight: 900;
}

.contacto-direct-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 700;
}

.contacto-direct-steps {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

@media (max-width: 680px) {
  .contacto-direct-step {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .contacto-direct-step span {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .contacto-direct-step strong {
    font-size: 16.5px;
    line-height: 1.25;
  }

  .contacto-direct-step p {
    font-size: 14.5px;
    line-height: 1.5;
  }
}

/* =========================================================
   CONTACTO - AJUSTE FINAL TARJETA BLANCA
   ========================================================= */

.contacto-actions-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  padding: 42px 46px;
}

.contacto-actions-card h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 44px);
}

.contacto-actions-card > p {
  max-width: 680px;
  margin-bottom: 24px;
}

.contacto-buttons {
  margin-bottom: 24px;
}

.contacto-action-options {
  margin-top: 0;
  gap: 12px;
}

.contacto-action-option {
  padding: 14px 16px;
  border-radius: 18px;
}

.contacto-action-note {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 18px;
}

/* Equilibra ambas tarjetas del bloque azul */
.contacto-panel {
  align-items: stretch;
}

.contacto-direct-card,
.contacto-actions-card {
  min-height: 560px;
}

/* En pantallas grandes evita que la tarjeta blanca parezca vacía */
@media (min-width: 1081px) {
  .contacto-actions-card {
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .contacto-direct-card,
  .contacto-actions-card {
    min-height: auto;
  }

  .contacto-actions-card {
    padding: 34px;
  }
}

@media (max-width: 680px) {
  .contacto-actions-card {
    padding: 24px;
  }

  .contacto-actions-card h3 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .contacto-buttons {
    margin-bottom: 20px;
  }

  .contacto-action-note {
    margin-top: 14px;
  }
}

/* =========================================================
   CONTACTO - AJUSTE FINAL PANEL DE CONTACTO
   ========================================================= */

/* Panel general */
.contacto-panel {
  align-items: stretch;
}

/* Tarjeta azul izquierda */
.contacto-direct-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
}

/* Pasos dentro de tarjeta azul */
.contacto-direct-steps {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contacto-direct-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contacto-direct-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
}

.contacto-direct-step strong {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.2px;
  font-weight: 900;
}

.contacto-direct-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 700;
}

/* Tarjeta blanca derecha */
.contacto-actions-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  padding: 42px 46px;
}

.contacto-actions-card h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 44px);
}

.contacto-actions-card > p {
  max-width: 680px;
  margin-bottom: 24px;
}

.contacto-buttons {
  margin-bottom: 24px;
}

/* Mini opciones dentro de tarjeta blanca */
.contacto-action-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

.contacto-action-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--gris-card);
  border: 1px solid rgba(4, 31, 73, 0.08);
}

.contacto-action-option span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo-suave);
  font-size: 18px;
}

.contacto-action-option strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: 17px;
  line-height: 1.15;
}

.contacto-action-option p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 14.8px;
  line-height: 1.5;
}

.contacto-action-note {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  color: var(--azul-profundo);
  background: var(--amarillo-suave);
  border-left: 5px solid var(--amarillo);
  font-weight: 900;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1080px) {
  .contacto-direct-card,
  .contacto-actions-card {
    min-height: auto;
  }

  .contacto-actions-card {
    padding: 34px;
  }
}

@media (max-width: 680px) {
  .contacto-actions-card {
    padding: 24px;
  }

  .contacto-actions-card h3 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .contacto-buttons {
    margin-bottom: 20px;
  }

  .contacto-action-option {
    padding: 15px;
  }

  .contacto-action-note {
    margin-top: 14px;
    padding: 15px;
    font-size: 14.5px;
  }

  .contacto-direct-step {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .contacto-direct-step span {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .contacto-direct-step strong {
    font-size: 16.5px;
    line-height: 1.25;
  }

  .contacto-direct-step p {
    font-size: 14.5px;
    line-height: 1.5;
  }
}

/* =========================================================
   CONTACTO - AJUSTE FORZADO PANEL FINAL
   ========================================================= */

#contacto-directo .contacto-panel {
  display: grid !important;
  grid-template-columns: 0.95fr 1.05fr !important;
  gap: 28px !important;
  align-items: stretch !important;
}

#contacto-directo .contacto-direct-card,
#contacto-directo .contacto-actions-card {
  min-height: 560px !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

#contacto-directo .contacto-actions-card {
  padding: 42px 46px !important;
}

#contacto-directo .contacto-actions-card h3 {
  margin: 0 0 14px !important;
  font-size: clamp(30px, 3.2vw, 44px) !important;
  line-height: 1.08 !important;
}

#contacto-directo .contacto-actions-card > p {
  margin: 0 0 24px !important;
  max-width: 680px !important;
}

#contacto-directo .contacto-buttons {
  margin-bottom: 24px !important;
}

#contacto-directo .contacto-action-options {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-top: 0 !important;
}

#contacto-directo .contacto-action-option {
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  background: var(--gris-card) !important;
  border: 1px solid rgba(4, 31, 73, 0.08) !important;
}

#contacto-directo .contacto-action-option span {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 auto !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: var(--amarillo-suave) !important;
  font-size: 18px !important;
}

#contacto-directo .contacto-action-option strong {
  display: block !important;
  margin: 0 0 4px !important;
  font-family: var(--font-title) !important;
  color: var(--azul-profundo) !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
}

#contacto-directo .contacto-action-option p {
  margin: 0 !important;
  color: var(--gris-texto) !important;
  font-size: 14.8px !important;
  line-height: 1.5 !important;
}

#contacto-directo .contacto-action-note {
  margin-top: 16px !important;
  padding: 14px 18px !important;
  border-radius: 18px !important;
  color: var(--azul-profundo) !important;
  background: var(--amarillo-suave) !important;
  border-left: 5px solid var(--amarillo) !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
}

#contacto-directo .contacto-direct-steps {
  display: grid !important;
  gap: 16px !important;
  margin-top: 30px !important;
}

#contacto-directo .contacto-direct-step {
  display: grid !important;
  grid-template-columns: 42px 1fr !important;
  gap: 18px !important;
  align-items: flex-start !important;
  padding: 18px 22px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.11) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

#contacto-directo .contacto-direct-step span {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: var(--amarillo) !important;
  color: var(--azul-profundo) !important;
  font-weight: 900 !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

#contacto-directo .contacto-direct-step strong {
  display: block !important;
  margin: 0 0 8px !important;
  font-family: var(--font-title) !important;
  color: var(--blanco) !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.2px !important;
  font-weight: 900 !important;
}

#contacto-directo .contacto-direct-step p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  font-weight: 700 !important;
}

@media (max-width: 1080px) {
  #contacto-directo .contacto-panel {
    grid-template-columns: 1fr !important;
  }

  #contacto-directo .contacto-direct-card,
  #contacto-directo .contacto-actions-card {
    min-height: auto !important;
  }

  #contacto-directo .contacto-actions-card {
    padding: 34px !important;
  }
}

@media (max-width: 680px) {
  #contacto-directo .contacto-actions-card {
    padding: 24px !important;
  }

  #contacto-directo .contacto-direct-step {
    grid-template-columns: 38px 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  #contacto-directo .contacto-direct-step span {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }
}

/* =========================================================
   CONTACTO - CORRECCIÓN FINAL ESPACIOS TARJETA BLANCA
   ========================================================= */

/* Permite que el bloque se ajuste al contenido real */
#contacto-directo .contacto-panel {
  align-items: stretch !important;
}

/* La tarjeta azul puede mantener más presencia */
#contacto-directo .contacto-direct-card {
  min-height: 560px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* La tarjeta blanca ya NO debe tener altura forzada */
#contacto-directo .contacto-actions-card {
  min-height: auto !important;
  height: auto !important;
  align-self: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 40px 44px !important;
}

/* Reduce el aire excesivo superior e inferior */
#contacto-directo .contacto-actions-card h3 {
  margin: 0 0 14px !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1.08 !important;
}

#contacto-directo .contacto-actions-card > p {
  margin: 0 0 22px !important;
  line-height: 1.55 !important;
}

#contacto-directo .contacto-buttons {
  margin-bottom: 22px !important;
}

/* Mini tarjetas más compactas */
#contacto-directo .contacto-action-options {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}

#contacto-directo .contacto-action-option {
  padding: 13px 16px !important;
  border-radius: 18px !important;
}

#contacto-directo .contacto-action-option span {
  width: 32px !important;
  height: 32px !important;
  font-size: 17px !important;
}

#contacto-directo .contacto-action-option strong {
  margin: 0 0 3px !important;
  font-size: 16.5px !important;
  line-height: 1.15 !important;
}

#contacto-directo .contacto-action-option p {
  font-size: 14.5px !important;
  line-height: 1.45 !important;
}

/* Nota final más contenida */
#contacto-directo .contacto-action-note {
  margin-top: 14px !important;
  padding: 13px 16px !important;
  border-radius: 17px !important;
  line-height: 1.45 !important;
}

/* En desktop, centra visualmente la tarjeta blanca junto a la azul */
@media (min-width: 1081px) {
  #contacto-directo .contacto-actions-card {
    max-width: 100% !important;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  #contacto-directo .contacto-direct-card,
  #contacto-directo .contacto-actions-card {
    min-height: auto !important;
    align-self: stretch !important;
  }

  #contacto-directo .contacto-actions-card {
    padding: 34px !important;
  }
}

@media (max-width: 680px) {
  #contacto-directo .contacto-actions-card {
    padding: 24px !important;
  }

  #contacto-directo .contacto-actions-card h3 {
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  #contacto-directo .contacto-buttons {
    margin-bottom: 18px !important;
  }
}

/* =========================================================
   SINDICALIZARSE + CÓMO COMENZAR - FUSIÓN 10/10
   ========================================================= */

.fusion-wrap {
  position: relative;
  overflow: hidden;
}

.fusion-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: stretch;
}

.fusion-intro-card {
  padding: 38px 34px;
  border-radius: var(--radio-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 59, 0.26), transparent 30%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.fusion-intro-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: var(--amarillo);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fusion-intro-card h2 {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.fusion-intro-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.58;
  font-weight: 800;
}

.fusion-intro-context {
  padding: 38px 34px;
  border-radius: var(--radio-xl);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.fusion-intro-context span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: var(--celeste-suave);
  border: 1px solid rgba(34, 184, 232, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.fusion-intro-context h3 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.fusion-intro-context p {
  margin: 0 0 16px;
  color: var(--gris-texto);
  font-size: 17.5px;
  line-height: 1.68;
}

.fusion-intro-context p:last-child {
  margin-bottom: 0;
}

.fusion-steps-section {
  padding-top: 28px;
}

.fusion-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.fusion-step-card {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  min-height: 255px;
  border-radius: var(--radio-lg);
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: var(--shadow-card);
}

.fusion-step-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--amarillo), var(--rojo));
}

.fusion-step-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 17px;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-weight: 900;
  font-size: 19px;
}

.fusion-step-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  color: var(--azul-profundo);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.4px;
}

.fusion-step-card p {
  margin: 0;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.62;
}

.fusion-avoid-section {
  padding: 86px 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(34, 184, 232, 0.12), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 212, 59, 0.10), transparent 26%),
    var(--azul-profundo);
}

.fusion-avoid-section .section-head h2,
.fusion-avoid-section .section-head p {
  color: var(--blanco);
}

.fusion-avoid-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.fusion-avoid-card {
  padding: 26px;
  min-height: 255px;
  border-radius: var(--radio-lg);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.fusion-avoid-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--azul-profundo);
  background: var(--amarillo);
  font-size: 13px;
  font-weight: 900;
}

.fusion-avoid-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.4px;
}

.fusion-avoid-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15.8px;
  line-height: 1.6;
}

.fusion-legal-note {
  max-width: 980px;
  margin: 34px auto 0;
  padding: 20px 24px;
  border-radius: 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .fusion-avoid-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .fusion-intro,
  .fusion-steps-grid {
    grid-template-columns: 1fr;
  }

  .fusion-step-card,
  .fusion-avoid-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .fusion-intro-card,
  .fusion-intro-context,
  .fusion-step-card,
  .fusion-avoid-card {
    padding: 24px;
    border-radius: 26px;
  }

  .fusion-steps-grid,
  .fusion-avoid-grid {
    grid-template-columns: 1fr;
  }

  .fusion-avoid-section {
    padding: 64px 0;
  }

  .fusion-intro-card h2 {
    font-size: clamp(32px, 10vw, 44px);
  }
}



/* =========================================================
   FONDO HERO GLOBAL DEFINITIVO
   Imagen institucional visible, clara y no invasiva
   Único bloque activo para el fondo difuminado
   ========================================================= */

/* Apagar pseudo-elementos antiguos */
html body .hero::before,
html body .hero::after,
html body .hero-about::before,
html body .hero-about::after,
html body .hero-purpose::before,
html body .hero-purpose::after,
html body .hero-why::before,
html body .hero-why::after,
html body .hero-form::before,
html body .hero-form::after,
html body .sind-hero::before,
html body .sind-hero::after,
html body .revista-hero::before,
html body .revista-hero::after,
html body main > section:first-of-type::before,
html body main > section:first-of-type::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Fondo único para todos los hero */
html body .hero,
html body .hero-about,
html body .hero-purpose,
html body .hero-why,
html body .hero-form,
html body .sind-hero,
html body .revista-hero,
html body main > section:first-of-type {
  position: relative !important;
  overflow: hidden !important;
  padding-top: clamp(92px, 9vw, 132px) !important;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(247, 249, 252, 0.90) 38%,
      rgba(247, 249, 252, 0.76) 68%,
      rgba(247, 249, 252, 0.58) 100%
    ),
    url("/img/fondo-sindicalizacion20mas-difuminado.webp") right center / cover no-repeat !important;
}

/* Contenido siempre sobre el fondo */
html body .hero > *,
html body .hero-about > *,
html body .hero-purpose > *,
html body .hero-why > *,
html body .hero-form > *,
html body .sind-hero > *,
html body .revista-hero > *,
html body main > section:first-of-type > * {
  position: relative;
  z-index: 1;
}

/* Titulares principales */
html body .hero h1,
html body .hero h2,
html body .hero-about h1,
html body .hero-about h2,
html body .hero-purpose h1,
html body .hero-purpose h2,
html body .hero-why h1,
html body .hero-why h2,
html body .hero-form h1,
html body .hero-form h2,
html body .sind-hero h1,
html body .sind-hero h2,
html body .revista-hero h1,
html body .revista-hero h2,
html body main > section:first-of-type h1,
html body main > section:first-of-type h2 {
  color: #062B63 !important;
}

/* Textos secundarios */
html body .hero p,
html body .hero-about p,
html body .hero-purpose p,
html body .hero-why p,
html body .hero-form p,
html body .sind-hero p,
html body .revista-hero p,
html body main > section:first-of-type p {
  color: #26384d !important;
}

/* Cuadros azules del hero */
html body .hero-alert,
html body .revista-alert {
  background: linear-gradient(135deg, #062B63, #003C8F) !important;
  color: #ffffff !important;
  border-left: 8px solid #FFD43B !important;
  box-shadow: 0 22px 55px rgba(4, 31, 73, 0.18) !important;
}

/* Texto dentro de cuadros azules */
html body .hero-alert *,
html body .revista-alert * {
  color: #ffffff !important;
}

/* Destacados amarillos dentro de cuadros azules */
html body .hero-alert strong,
html body .hero-alert b,
html body .revista-alert strong,
html body .revista-alert b {
  color: #FFD43B !important;
}

/* Tarjetas blancas del hero */
html body .identity-card,
html body .about-hero-card,
html body .purpose-hero-card,
html body .why-hero-card,
html body .form-hero-card,
html body .steps-hero-card,
html body .sind-hero-card,
html body .participa-hero-card,
html body .contacto-hero-card,
html body .revista-cover-card {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #062B63 !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Textos dentro de tarjetas blancas */
html body .identity-card p,
html body .about-hero-card p,
html body .purpose-hero-card p,
html body .why-hero-card p,
html body .form-hero-card p,
html body .steps-hero-card p,
html body .sind-hero-card p,
html body .participa-hero-card p,
html body .contacto-hero-card p,
html body .revista-cover-card p {
  color: #4B5563 !important;
}

/* Respaldo JPG si WEBP no carga */
@supports not (background-image: url("/img/fondo-sindicalizacion20mas-difuminado.webp")) {
  html body .hero,
  html body .hero-about,
  html body .hero-purpose,
  html body .hero-why,
  html body .hero-form,
  html body .sind-hero,
  html body .revista-hero,
  html body main > section:first-of-type {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(247, 249, 252, 0.90) 38%,
        rgba(247, 249, 252, 0.76) 68%,
        rgba(247, 249, 252, 0.58) 100%
      ),
      url("/img/fondo-sindicalizacion20mas-difuminado.jpg") right center / cover no-repeat !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html body .hero,
  html body .hero-about,
  html body .hero-purpose,
  html body .hero-why,
  html body .hero-form,
  html body .sind-hero,
  html body .revista-hero,
  html body main > section:first-of-type {
    padding-top: 72px !important;

    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(247, 249, 252, 0.88) 55%,
        rgba(255, 255, 255, 0.96) 100%
      ),
      url("/img/fondo-sindicalizacion20mas-difuminado.webp") center top / cover no-repeat !important;
  }
}

/* =========================================================
   PARCHE FINAL - LETRAS BLANCAS EN CUADROS AZULES DEL HERO
   Corrige textos oscuros dentro de bloques destacados
   ========================================================= */

/* Cuadros destacados dentro del bloque izquierdo del hero */
html body main > section:first-of-type .hero-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags),
html body main > section:first-of-type .sind-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags),
html body main > section:first-of-type .revista-copy > div:not(.revista-actions):not(.revista-trust):not(.hero-tags) {
  background: linear-gradient(135deg, #062B63, #003C8F) !important;
  color: #ffffff !important;
  border-left: 8px solid #FFD43B !important;
}

/* Todo texto normal dentro de esos cuadros debe ser blanco */
html body main > section:first-of-type .hero-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags),
html body main > section:first-of-type .hero-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) p,
html body main > section:first-of-type .hero-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) span,
html body main > section:first-of-type .hero-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) div,
html body main > section:first-of-type .sind-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags),
html body main > section:first-of-type .sind-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) p,
html body main > section:first-of-type .sind-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) span,
html body main > section:first-of-type .sind-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) div,
html body main > section:first-of-type .revista-copy > div:not(.revista-actions):not(.revista-trust):not(.hero-tags),
html body main > section:first-of-type .revista-copy > div:not(.revista-actions):not(.revista-trust):not(.hero-tags) p,
html body main > section:first-of-type .revista-copy > div:not(.revista-actions):not(.revista-trust):not(.hero-tags) span,
html body main > section:first-of-type .revista-copy > div:not(.revista-actions):not(.revista-trust):not(.hero-tags) div {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Frases destacadas dentro del cuadro azul en amarillo */
html body main > section:first-of-type .hero-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) strong,
html body main > section:first-of-type .hero-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) b,
html body main > section:first-of-type .sind-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) strong,
html body main > section:first-of-type .sind-copy > div:not(.hero-actions):not(.hero-trust):not(.hero-tags) b,
html body main > section:first-of-type .revista-copy > div:not(.revista-actions):not(.revista-trust):not(.hero-tags) strong,
html body main > section:first-of-type .revista-copy > div:not(.revista-actions):not(.revista-trust):not(.hero-tags) b {
  color: #FFD43B !important;
}

/* Mantener explícitamente hero-alert y revista-alert correctos */
html body .hero-alert,
html body .hero-alert *,
html body .revista-alert,
html body .revista-alert * {
  color: #ffffff !important;
  opacity: 1 !important;
}

html body .hero-alert strong,
html body .hero-alert b,
html body .revista-alert strong,
html body .revista-alert b {
  color: #FFD43B !important;
}

/* =========================================================
   RECURSOS 20+
   Ajuste visual final 10/10
   Revista + Guías + Descargas + Aporte voluntario
   ========================================================= */

/* ---------------------------------------------------------
   HERO RECURSOS
   --------------------------------------------------------- */

.revista-hero {
  padding-top: clamp(72px, 6vw, 96px);
  padding-bottom: clamp(54px, 5vw, 72px);
}

.revista-hero .hero-grid {
  align-items: center;
  gap: clamp(38px, 5vw, 58px);
}

.revista-hero h1 {
  font-size: clamp(48px, 6.1vw, 84px);
}

.revista-hero .hero-claim {
  max-width: 680px;
  font-size: clamp(24px, 2.65vw, 36px);
  line-height: 1.13;
}

.revista-hero .hero-text {
  max-width: 690px;
  margin-bottom: 24px;
}

.revista-hero .hero-alert {
  max-width: 720px;
  padding: 22px 26px;
}

.revista-alert,
.revista-alert p,
.revista-alert span,
.revista-alert div {
  color: var(--blanco) !important;
}

.revista-alert strong,
.revista-alert b {
  color: var(--amarillo) !important;
}

/* ---------------------------------------------------------
   TARJETA DERECHA DEL HERO
   --------------------------------------------------------- */

.revista-cover-card {
  max-width: 470px;
  padding: 22px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--azul-profundo) !important;
}

.revista-hero .identity-logo-box {
  min-height: 370px;
  padding: 8px;
  overflow: hidden;
}

.revista-cover-card .identity-logo {
  width: min(350px, 94%);
  max-height: 355px;
  object-fit: contain;
  border-radius: 10px;
}

.revista-cover-card .identity-message {
  margin-top: 14px;
  padding: 18px 18px;
}

.revista-cover-card .identity-message strong {
  font-size: clamp(44px, 4.4vw, 62px);
}

.revista-cover-card .identity-message span {
  max-width: 310px;
  font-size: 15.5px;
}

.revista-cover-card .identity-tags {
  gap: 10px;
  margin-top: 14px;
}

/* ---------------------------------------------------------
   SECCIÓN PRINCIPAL DE RECURSOS
   --------------------------------------------------------- */

#recursos {
  padding-top: clamp(56px, 6vw, 76px);
  padding-bottom: clamp(64px, 6vw, 82px);
}

#recursos .section-head {
  margin-bottom: 32px;
}

#recursos .section-head h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.06;
  letter-spacing: -1.4px;
}

#recursos .section-head p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------
   GRID DE RECURSOS
   --------------------------------------------------------- */

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.recurso-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--blanco);
  border: 1px solid rgba(4, 31, 73, 0.08);
  box-shadow: 0 18px 42px rgba(4, 31, 73, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recurso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(4, 31, 73, 0.15);
}

/* ---------------------------------------------------------
   PORTADAS DE REVISTA Y GUÍAS
   --------------------------------------------------------- */

.recurso-cover {
  position: relative;
  min-height: 330px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 212, 59, 0.24), transparent 28%),
    linear-gradient(180deg, #FFFFFF, #F4F7FB);
  border-bottom: 1px solid rgba(4, 31, 73, 0.08);
}

.recurso-cover img {
  width: 100%;
  max-height: 305px;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 16px 22px rgba(4, 31, 73, 0.15));
}

.recurso-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--amarillo-suave);
  color: var(--azul-profundo);
  border: 1px solid rgba(255, 212, 59, 0.58);
  box-shadow: 0 10px 20px rgba(4, 31, 73, 0.08);
  font-size: 12px;
  font-weight: 900;
}

/* ---------------------------------------------------------
   CONTENIDO INTERNO DE CADA RECURSO
   --------------------------------------------------------- */

.recurso-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}

.recurso-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: var(--azul-profundo);
}

.recurso-body p {
  margin: 0 0 18px;
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.58;
}

.recurso-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.recurso-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--azul-profundo);
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.35;
}

.recurso-list li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--celeste-suave);
  color: var(--azul);
  font-size: 13px;
  font-weight: 900;
}

/* ---------------------------------------------------------
   BOTONES DE CADA RECURSO
   --------------------------------------------------------- */

.recurso-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.recurso-actions .btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 14px;
}

/* ---------------------------------------------------------
   NOTA EDUCATIVA
   --------------------------------------------------------- */

.recursos-note {
  width: min(100%, 1120px);
  margin: 36px auto 0;
  padding: 24px 30px;
  border-radius: 28px;
  background: var(--celeste-suave);
  border: 1px solid rgba(34, 184, 232, 0.30);
  color: var(--azul-profundo);
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
  box-shadow: 0 14px 30px rgba(34, 184, 232, 0.08);
}

/* =========================================================
   BLOQUE AZUL: QUÉ ENCONTRARÁS
   ========================================================= */

.section.blue {
  padding-top: clamp(64px, 6vw, 84px);
  padding-bottom: clamp(64px, 6vw, 84px);
}

.section.blue .section-head {
  margin-bottom: 30px;
}

.section.blue .section-head h2 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.08;
}

.section.blue .route-grid {
  margin-top: 30px;
}

.section.blue .route-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.section.blue .legal-note {
  margin-top: 30px;
}

/* =========================================================
   APORTE VOLUNTARIO
   ========================================================= */

.support-final {
  margin-top: 0;
  background: var(--gris-fondo);
}

.support-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 212, 59, 0.25), transparent 26%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  box-shadow: var(--shadow-strong);
  border-bottom: 8px solid var(--amarillo);
}

.support-copy h2 {
  max-width: 680px;
  margin: 16px 0 18px;
  font-family: var(--font-title);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  color: var(--blanco);
}

.support-copy p {
  max-width: 720px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
}

.support-copy strong {
  color: var(--amarillo);
}

.support-closing {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 212, 59, 0.13);
  border: 1px solid rgba(255, 212, 59, 0.30);
  color: var(--blanco);
  font-weight: 900;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   TARJETA BANCARIA
   --------------------------------------------------------- */

.bank-card {
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
}

.bank-card h3 {
  margin: 0 0 18px;
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 28px;
  line-height: 1.12;
}

.bank-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bank-list li {
  display: grid;
  gap: 3px;
  padding: 15px 17px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.bank-list span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.bank-list strong {
  color: var(--blanco);
  font-size: 16px;
  font-weight: 900;
  word-break: break-word;
}

/* =========================================================
   CIERRE FINAL
   ========================================================= */

.phrase-band {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   WHATSAPP - MENOS INVASIVO EN RECURSOS
   ========================================================= */

@media (min-width: 900px) {
  .whatsapp-float {
    right: 24px;
    bottom: 14px;
    transform: scale(0.88);
    transform-origin: right bottom;
  }

  .whatsapp-float:hover {
    transform: translateY(-4px) scale(0.91);
  }
}

/* =========================================================
   RESPONSIVE RECURSOS
   ========================================================= */

@media (max-width: 1120px) {
  .revista-hero .hero-grid,
  .recursos-grid,
  .support-box {
    grid-template-columns: 1fr;
  }

  .revista-cover-card {
    margin: 0 auto;
  }

  .recurso-cover {
    min-height: auto;
  }

  .recurso-cover img {
    max-height: 500px;
  }

  .support-box {
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .revista-hero {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .revista-hero .hero-claim {
    font-size: 22px;
  }

  .revista-hero .hero-alert {
    padding: 18px;
  }

  .revista-cover-card {
    padding: 18px !important;
    border-radius: 28px;
  }

  .revista-hero .identity-logo-box {
    min-height: 310px;
    padding: 10px;
  }

  .revista-cover-card .identity-logo {
    width: min(285px, 92%);
    max-height: 300px;
  }

  .revista-cover-card .identity-message {
    padding: 18px 16px;
  }

  #recursos {
    padding-top: 56px;
  }

  #recursos .section-head h2 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.08;
  }

  .recursos-grid {
    gap: 18px;
  }

  .recurso-cover {
    padding: 18px;
  }

  .recurso-cover img {
    max-height: 390px;
  }

  .recurso-body {
    padding: 22px;
  }

  .recurso-body h3 {
    font-size: 23px;
  }

  .recursos-note {
    padding: 22px;
    border-radius: 24px;
  }

  .section.blue {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section.blue .route-card {
    min-height: auto;
  }

  .support-box {
    padding: 26px;
    border-radius: 28px;
  }

  .support-copy h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .support-copy p {
    font-size: 16px;
  }

  .bank-card {
    padding: 22px;
    border-radius: 24px;
  }
}

/* =========================================================
   HEADER DESTACADO + RECURSOS HOME
   Recursos 20+ como biblioteca visible del proyecto
   ========================================================= */

/* ---------------------------------------------------------
   Acciones del header: Recursos + Súmate
   --------------------------------------------------------- */

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.resources-pill {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 212, 59, 0.32), transparent 28%),
    linear-gradient(135deg, #FFFFFF, var(--amarillo-suave));
  border: 1px solid rgba(255, 212, 59, 0.70);
  color: var(--azul-profundo);
  box-shadow: 0 14px 32px rgba(4, 31, 73, 0.10);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resources-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 60, 143, 0.28);
  box-shadow: 0 18px 42px rgba(4, 31, 73, 0.16);
}

.resources-pill-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--azul-profundo);
  color: var(--blanco);
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(4, 31, 73, 0.18);
}

.resources-pill-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.resources-pill-text strong {
  color: var(--azul-profundo);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.resources-pill-text small {
  color: var(--gris-texto);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Ajuste del menú desktop para que respire con Recursos
   --------------------------------------------------------- */

.desktop-nav {
  gap: 18px;
}

@media (max-width: 1360px) {
  .desktop-nav {
    gap: 13px;
    font-size: 13px;
  }

  .resources-pill {
    padding: 9px 13px 9px 10px;
  }

  .resources-pill-text small {
    display: none;
  }
}

@media (max-width: 1240px) {
  .desktop-nav,
  .header-actions,
  .site-header .btn-blue {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }
}

/* ---------------------------------------------------------
   Recursos destacado en menú móvil
   --------------------------------------------------------- */

.mobile-resource-link {
  display: grid !important;
  gap: 4px;
  padding: 15px 16px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 212, 59, 0.34), transparent 30%),
    linear-gradient(135deg, var(--amarillo-suave), #FFFFFF) !important;
  border: 1px solid rgba(255, 212, 59, 0.62);
  color: var(--azul-profundo) !important;
  box-shadow: 0 10px 22px rgba(4, 31, 73, 0.08);
}

.mobile-resource-link span {
  font-weight: 900;
}

.mobile-resource-link small {
  color: var(--gris-texto);
  font-size: 12px;
  font-weight: 800;
}

/* =========================================================
   HOME - BLOQUE DESTACADO DE RECURSOS
   ========================================================= */

.home-resources-section {
  position: relative;
  padding-top: clamp(58px, 6vw, 82px);
  padding-bottom: clamp(62px, 6vw, 88px);
  background: var(--blanco);
}

.home-resources-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 212, 59, 0.30), transparent 27%),
    radial-gradient(circle at 8% 88%, rgba(34, 184, 232, 0.18), transparent 30%),
    linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: var(--blanco);
  box-shadow: var(--shadow-strong);
  border-bottom: 8px solid var(--amarillo);
}

.home-resources-copy h2 {
  margin: 16px 0 16px;
  max-width: 700px;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--blanco);
}

.home-resources-copy p {
  max-width: 700px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
}

.home-resources-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-resources-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.home-resource-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.home-resource-card.featured {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 212, 59, 0.22), transparent 28%),
    rgba(255, 255, 255, 0.16);
}

.home-resource-icon {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--amarillo);
  color: var(--azul-profundo);
  font-size: 25px;
  box-shadow: 0 12px 24px rgba(4, 31, 73, 0.16);
}

.home-resource-card h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.12;
  color: var(--blanco);
}

.home-resource-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Responsive Home Recursos
   --------------------------------------------------------- */

@media (max-width: 1080px) {
  .home-resources-box {
    grid-template-columns: 1fr;
  }

  .home-resources-copy {
    text-align: center;
  }

  .home-resources-copy h2,
  .home-resources-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .home-resources-actions {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .home-resources-section {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .home-resources-box {
    padding: 26px;
    border-radius: 28px;
  }

  .home-resources-copy h2 {
    font-size: clamp(31px, 9.5vw, 44px);
  }

  .home-resources-copy p {
    font-size: 16px;
  }

  .home-resources-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-resource-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 18px;
  }

  .home-resource-icon {
    margin: 0 auto 4px;
  }

  .home-resource-card h3 {
    font-size: 20px;
  }
}

/* =========================================================
   AJUSTE HERO SOBRE NOSOTROS
   Sube el cuadro blanco para alinearlo visualmente con
   la tarjeta superior de Sindicalizarse
   ========================================================= */

.hero-about .hero-visual:has(.about-hero-card) {
  align-self: flex-start;
  padding-top: clamp(40px, 5vw, 86px);
}

.hero-about .about-hero-card {
  margin-top: 0;
}

/* Mantiene buen comportamiento en tablet y móvil */
@media (max-width: 1080px) {
  .hero-about .hero-visual:has(.about-hero-card) {
    align-self: stretch;
    padding-top: 0;
  }

  .hero-about .about-hero-card {
    margin-top: 0;
  }
}

/* =========================================================
   AJUSTE BOTONES HERO RECURSOS 20+
   Cápsulas visuales: Ver recursos + Contribuye voluntariamente
   ========================================================= */

.revista-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Botón Ver recursos: mismo estilo visual que cápsula Derechos */
.revista-actions .btn-recursos-hero {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E3F7FF, #F5FCFF) !important;
  color: var(--azul-profundo, #062B63) !important;
  border: 1px solid rgba(34, 184, 232, 0.30) !important;
  box-shadow: 0 14px 30px rgba(4, 31, 73, 0.10) !important;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.revista-actions .btn-recursos-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(4, 31, 73, 0.16) !important;
}

/* Botón Contribuye voluntariamente: estilo Leer online */
.revista-actions .btn-support-soft {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF7A00, #E21E26) !important;
  color: #ffffff !important;
  border: 1px solid rgba(226, 30, 38, 0.18) !important;
  box-shadow: 0 16px 34px rgba(226, 30, 38, 0.20) !important;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.revista-actions .btn-support-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(226, 30, 38, 0.26) !important;
}

/* Iconos internos */
.revista-actions .btn-recursos-hero span,
.revista-actions .btn-support-soft span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 680px) {
  .revista-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .revista-actions .btn-recursos-hero,
  .revista-actions .btn-support-soft {
    width: 100%;
  }
}

/* =========================================================
   MODAL DESCARGA RECURSOS 20+
   Formulario previo a descarga PDF
   ========================================================= */

.download-caption {
  display: block;
  margin-top: 12px;
  color: var(--gris-texto, #374151);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.download-resource-btn {
  cursor: pointer;
  border: 0;
  font-family: inherit;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.download-modal.is-open {
  display: flex;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 31, 73, 0.72);
  backdrop-filter: blur(8px);
}

.download-modal-dialog {
  position: relative;
  width: min(100%, 620px);
  max-height: min(92vh, 820px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 212, 59, 0.22), transparent 26%),
    #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.50);
}

.download-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--azul-profundo, #062B63);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.download-modal-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--amarillo-suave, #FFF3BF);
  color: var(--azul-profundo, #062B63);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.download-modal-dialog h2 {
  margin: 0 0 14px;
  max-width: 500px;
  font-family: var(--font-title, "Poppins", sans-serif);
  color: var(--azul-profundo, #062B63);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.download-modal-intro {
  margin: 0 0 24px;
  color: var(--gris-texto, #374151);
  font-size: 16.5px;
  line-height: 1.62;
}

.download-form {
  display: grid;
  gap: 16px;
}

.download-selected-resource {
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--celeste-suave, #E3F7FF);
  border: 1px solid rgba(34, 184, 232, 0.28);
}

.download-selected-resource span {
  display: block;
  margin-bottom: 4px;
  color: var(--gris-texto, #374151);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.download-selected-resource strong {
  color: var(--azul-profundo, #062B63);
  font-size: 16px;
  font-weight: 900;
}

.download-form label {
  display: grid;
  gap: 7px;
  color: var(--azul-profundo, #062B63);
  font-weight: 900;
  font-size: 15px;
}

.download-form label strong {
  color: var(--rojo, #E21E26);
}

.download-form label small {
  color: var(--gris-texto, #374151);
  font-weight: 800;
}

.download-form input[type="text"],
.download-form input[type="email"],
.download-form input[type="tel"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(4, 31, 73, 0.16);
  background: #ffffff;
  color: var(--azul-profundo, #062B63);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.download-form input:focus {
  border-color: var(--celeste, #22B8E8);
  box-shadow: 0 0 0 4px rgba(34, 184, 232, 0.15);
}

.download-check {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 12px !important;
  padding: 16px;
  border-radius: 18px;
  background: #f7f9fc;
  border: 1px solid rgba(4, 31, 73, 0.08);
}

.download-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.download-check span {
  color: var(--gris-texto, #374151);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.download-privacy {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--amarillo-suave, #FFF3BF);
  color: var(--azul-profundo, #062B63);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.5;
}

.download-message {
  min-height: 22px;
  font-size: 14px;
  font-weight: 900;
}

.download-message.is-error {
  color: var(--rojo, #E21E26);
}

.download-message.is-success {
  color: #0f8a43;
}

.download-submit {
  width: 100%;
  cursor: pointer;
}

.download-submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

@media (max-width: 680px) {
  .download-modal {
    padding: 16px;
  }

  .download-modal-dialog {
    border-radius: 24px;
  }

  .download-modal-close {
    top: 14px;
    right: 14px;
  }
}

/* =========================================================
   BIBLIOTECA DIGITAL RECURSOS 20+
   VERSIÓN EQUILIBRADA Y ESTÁTICA
   ========================================================= */

/* =========================================================
   HERO DE LA BIBLIOTECA
   ========================================================= */

.revista-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(65px, 7vw, 105px);
  padding-bottom: clamp(65px, 7vw, 105px);
}

.revista-hero .hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 6vw, 90px);
}

.revista-hero .revista-copy {
  width: 100%;
  max-width: 750px;
}

.revista-hero .hero-copy h1 {
  max-width: 720px;
  margin: 20px 0 25px;
  font-size: clamp(48px, 4.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.revista-hero .hero-copy h1 > span {
  display: inline;
}

.revista-hero .hero-copy h1 > span::after {
  content: " ";
}

.revista-hero .hero-copy h1 > span:last-child::after {
  content: "";
}

.revista-hero .hero-claim {
  max-width: 680px;
  margin-bottom: 25px;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.42;
}

.revista-hero .revista-alert {
  max-width: 680px;
}

.revista-hero .revista-actions {
  max-width: 680px;
}

.revista-hero .revista-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  max-width: 680px;
}

.revista-hero .hero-visual {
  width: 100%;
  max-width: 510px;
  justify-self: end;
}

.revista-hero .revista-cover-card {
  width: 100%;
  margin: 0;
}

.revista-hero .identity-logo-box {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.revista-hero .identity-logo-box picture {
  display: block;
  width: 100%;
}

.revista-hero .identity-logo {
  display: block;
  width: 100%;
  max-height: 590px;
  object-fit: contain;
}

.revista-hero .identity-message strong {
  color: #e21e26;
}

.revista-hero .identity-message span {
  color: #062b63;
}

/* =========================================================
   SECCIÓN PRINCIPAL
   ========================================================= */

.resource-library-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(75px, 7vw, 110px);
  padding-bottom: 125px;
  background:
    radial-gradient(
      circle at 10% 8%,
      rgba(34, 184, 232, 0.11),
      transparent 27%
    ),
    radial-gradient(
      circle at 92% 14%,
      rgba(255, 212, 59, 0.11),
      transparent 25%
    ),
    #f4f7fb;
}

.resource-library-section .section-head {
  max-width: 940px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.resource-library-section .section-head h2 {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.resource-library-section .section-head p {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.55;
}

/* =========================================================
   BUSCADOR Y FILTROS
   ========================================================= */

.resource-library-toolbar {
  display: grid;
  grid-template-columns:
    minmax(340px, 0.88fr)
    minmax(520px, 1.42fr);
  align-items: end;
  gap: 26px;
  margin: 42px 0 38px;
  padding: 24px;
  border: 1px solid rgba(4, 31, 73, 0.1);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(4, 31, 73, 0.08);
}

.resource-search {
  display: grid;
  gap: 9px;
}

.resource-search label {
  color: #062b63;
  font-size: 14px;
  font-weight: 900;
}

.resource-search-field {
  position: relative;
}

.resource-search-field > span {
  position: absolute;
  top: 50%;
  left: 17px;
  z-index: 2;
  transform: translateY(-50%);
  pointer-events: none;
}

.resource-search input {
  width: 100%;
  min-height: 56px;
  padding: 14px 17px 14px 49px;
  border: 1px solid rgba(4, 31, 73, 0.17);
  border-radius: 17px;
  outline: none;
  background: #ffffff;
  color: #062b63;
  font: inherit;
  font-weight: 700;
}

.resource-search input::placeholder {
  color: #788291;
  font-weight: 600;
}

.resource-search input:focus {
  border-color: #22b8e8;
  box-shadow: 0 0 0 4px rgba(34, 184, 232, 0.14);
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.resource-filter {
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid rgba(4, 31, 73, 0.13);
  border-radius: 999px;
  background: #ffffff;
  color: #062b63;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.resource-filter:hover {
  border-color: #062b63;
}

.resource-filter.is-active {
  border-color: #062b63;
  background: #062b63;
  color: #ffffff;
}

/* =========================================================
   ENCABEZADOS DE CONTENIDO
   ========================================================= */

.resource-library-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 23px;
}

.resource-library-summary h3 {
  margin: 0;
  color: #062b63;
  font-family: var(--font-title, "Poppins", sans-serif);
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.15;
}

.resource-library-summary span {
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #4b5563;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(4, 31, 73, 0.06);
}

/* =========================================================
   TARJETAS DESTACADAS
   ========================================================= */

.resource-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
  margin-bottom: 58px;
}

.library-featured-card {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(285px, 0.95fr)
    minmax(320px, 1.05fr);
  min-height: 550px;
  overflow: hidden;
  border: 1px solid rgba(4, 31, 73, 0.1);
  border-radius: 29px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(4, 31, 73, 0.11);
}

.library-featured-card[hidden],
.library-card[hidden] {
  display: none !important;
}

/* Sin movimientos ni transformaciones */

.library-featured-card,
.library-card,
.library-cover img,
.library-card-cover img {
  transition: none !important;
  transform: none !important;
}

.library-featured-card:hover,
.library-card:hover,
.library-featured-card:hover .library-cover img,
.library-card:hover .library-card-cover img {
  transform: none !important;
}

.library-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 28px 22px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255, 255, 255, 0.95),
      transparent 38%
    ),
    linear-gradient(
      155deg,
      #edf8ff 0%,
      #d8e9f8 100%
    );
}

.library-cover picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.library-cover img {
  display: block;
  width: 92%;
  max-width: 365px;
  max-height: 485px;
  object-fit: contain;
  border-radius: 7px;
  filter: drop-shadow(
    0 18px 22px rgba(4, 31, 73, 0.2)
  );
}

.library-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #e21e26,
    #ff7a00
  );
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(226, 30, 38, 0.2);
}

.library-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 34px 30px;
}

.library-kicker {
  display: block;
  margin-bottom: 10px;
  color: #e21e26;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.library-content h3,
.library-card-body h3,
.library-coming-card h3 {
  margin: 0 0 14px;
  color: #062b63;
  font-family: var(--font-title, "Poppins", sans-serif);
  line-height: 1.16;
}

.library-content h3 {
  font-size: clamp(28px, 2.5vw, 39px);
}

.library-content p,
.library-card-body p,
.library-coming-card p {
  color: #4b5563;
  line-height: 1.62;
}

.library-content > p {
  margin-bottom: 4px;
  font-size: 16px;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.resource-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf7fd;
  color: #062b63;
  font-size: 12px;
  font-weight: 900;
}

.resource-topics {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.resource-topics li {
  position: relative;
  padding-left: 24px;
  color: #374151;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.resource-topics li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #0f9d58;
  font-weight: 900;
}

/* =========================================================
   BOTONES
   ========================================================= */

.library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.library-actions .btn {
  display: inline-flex;
  min-height: 49px;
  flex: 1 1 145px;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  font-size: 14px;
  text-align: center;
}

.download-resource-btn {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}

.download-caption {
  display: block;
  width: 100%;
  flex-basis: 100%;
  margin-top: 3px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   TÍTULOS DE COLECCIÓN
   ========================================================= */

.library-collection-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 58px 0 24px;
}

.library-collection-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(
    90deg,
    rgba(4, 31, 73, 0.22),
    transparent
  );
}

.library-collection-title h3 {
  margin: 0;
  color: #062b63;
  font-family: var(--font-title, "Poppins", sans-serif);
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.15;
}

/* =========================================================
   CUADRÍCULAS DE REVISTAS Y GUÍAS
   ========================================================= */

.resource-library-grid {
  display: grid;
  align-items: stretch;
  gap: 26px;
}

.magazine-library-grid {
  grid-template-columns:
    minmax(340px, 0.82fr)
    minmax(420px, 1.18fr);
}

.guide-library-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
}

/* =========================================================
   TARJETAS ESTÁNDAR
   ========================================================= */

.library-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(4, 31, 73, 0.1);
  border-radius: 27px;
  background: #ffffff;
  box-shadow: 0 17px 46px rgba(4, 31, 73, 0.1);
}

.library-card-cover {
  position: relative;
  display: grid;
  place-items: center;
  height: 445px;
  padding: 19px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    #edf8ff,
    #dceaf6
  );
}

.library-card-cover picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.library-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 450px;
  object-fit: contain;
  filter: drop-shadow(
    0 16px 19px rgba(4, 31, 73, 0.18)
  );
}

.library-card-body {
  display: flex;
  min-height: 350px;
  flex: 1;
  flex-direction: column;
  padding: 27px;
}

.library-card-body h3 {
  font-size: clamp(23px, 2vw, 29px);
}

.library-card-body p {
  margin-bottom: 20px;
  font-size: 16px;
}

.library-card-body .library-actions {
  margin-top: auto;
}

/* =========================================================
   BLOQUE PRÓXIMAS PUBLICACIONES
   ========================================================= */

.library-coming-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(35px, 4vw, 55px);
  border: 1px solid rgba(4, 31, 73, 0.1);
  border-radius: 27px;
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(255, 212, 59, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 8% 92%,
      rgba(34, 184, 232, 0.17),
      transparent 34%
    ),
    #ffffff;
  box-shadow: 0 17px 46px rgba(4, 31, 73, 0.08);
}

.library-coming-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 19px;
  background: #062b63;
  font-size: 28px;
}

.library-coming-card h3 {
  max-width: 590px;
  font-size: clamp(28px, 3vw, 42px);
}

.library-coming-card p {
  max-width: 670px;
  margin-bottom: 25px;
  font-size: 17px;
}

.library-coming-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.library-coming-topics span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf7fd;
  color: #062b63;
  font-size: 12px;
  font-weight: 900;
}

.library-coming-card .btn {
  align-self: flex-start;
}

/* =========================================================
   MENSAJE SIN RESULTADOS
   ========================================================= */

.resource-empty {
  margin-top: 25px;
  padding: 34px;
  border: 1px dashed rgba(4, 31, 73, 0.22);
  border-radius: 24px;
  background: #ffffff;
  color: #4b5563;
  text-align: center;
}

.resource-empty strong {
  display: block;
  margin-bottom: 7px;
  color: #062b63;
  font-size: 19px;
}

.resource-empty p {
  margin: 0;
}

/* =========================================================
   MODAL
   ========================================================= */

body.modal-open {
  overflow: hidden;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.download-modal.is-open {
  display: flex;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 31, 73, 0.76);
  backdrop-filter: blur(7px);
}

.download-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(255, 212, 59, 0.23),
      transparent 26%
    ),
    #ffffff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.download-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #062b63;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.download-modal-close:hover {
  background: #e21e26;
}

.download-modal-eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff3bf;
  color: #062b63;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-modal-dialog h2 {
  margin: 0 0 13px;
  color: #062b63;
  font-family: var(--font-title, "Poppins", sans-serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.download-modal-intro {
  margin: 0 0 22px;
  color: #4b5563;
  line-height: 1.62;
}

.download-form {
  display: grid;
  gap: 15px;
}

.download-selected-resource {
  padding: 15px 17px;
  border: 1px solid rgba(34, 184, 232, 0.28);
  border-radius: 18px;
  background: #e8f8ff;
}

.download-selected-resource span {
  display: block;
  margin-bottom: 3px;
  color: #4b5563;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-selected-resource strong {
  color: #062b63;
}

.download-form > label:not(.download-check) {
  display: grid;
  gap: 7px;
  color: #062b63;
  font-size: 14px;
  font-weight: 900;
}

.download-form label small {
  color: #6b7280;
  font-weight: 700;
}

.download-form input[type="text"],
.download-form input[type="email"],
.download-form input[type="tel"] {
  width: 100%;
  min-height: 51px;
  padding: 13px 15px;
  border: 1px solid rgba(4, 31, 73, 0.16);
  border-radius: 15px;
  outline: none;
  color: #062b63;
  font: inherit;
  font-weight: 700;
}

.download-form input[type="text"]:focus,
.download-form input[type="email"]:focus,
.download-form input[type="tel"]:focus {
  border-color: #22b8e8;
  box-shadow: 0 0 0 4px rgba(34, 184, 232, 0.14);
}

.download-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  padding: 15px;
  border-radius: 17px;
  background: #f6f8fb;
  cursor: pointer;
}

.download-check-optional {
  background: #eef8ff;
}

.download-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #062b63;
}

.download-check span {
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.download-privacy {
  margin: 0;
  padding: 13px 15px;
  border-radius: 15px;
  background: #fff3bf;
  color: #062b63;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.55;
}

.download-privacy a {
  color: #062b63;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-message {
  min-height: 20px;
  font-size: 13px;
  font-weight: 900;
}

.download-message.is-error {
  color: #e21e26;
}

.download-message.is-success {
  color: #0f8a43;
}

.download-submit {
  width: 100%;
  cursor: pointer;
}

.download-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-float {
  right: 22px;
  bottom: 20px;
  z-index: 900;
}

/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

.resource-filter:focus-visible,
.download-resource-btn:focus-visible,
.download-modal-close:focus-visible,
.download-submit:focus-visible,
.library-coming-card .btn:focus-visible {
  outline: 3px solid #ffd43b;
  outline-offset: 3px;
}

/* =========================================================
   PANTALLAS INTERMEDIAS
   ========================================================= */

@media (max-width: 1280px) {
  .revista-hero .hero-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(350px, 0.72fr);
    gap: 50px;
  }

  .revista-hero .hero-copy h1 {
    font-size: clamp(47px, 5vw, 65px);
  }

  .resource-library-toolbar {
    grid-template-columns: 1fr;
  }

  .resource-filters {
    justify-content: flex-start;
  }

  .resource-featured-grid {
    grid-template-columns: 1fr;
  }

  .library-featured-card {
    grid-template-columns:
      minmax(310px, 0.8fr)
      minmax(390px, 1.2fr);
  }

  .library-cover img {
    max-width: 390px;
    max-height: 500px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {
  .revista-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .revista-hero .revista-copy {
    max-width: 760px;
  }

  .revista-hero .hero-visual {
    width: min(100%, 500px);
    justify-self: center;
  }

  .magazine-library-grid,
  .guide-library-grid {
    grid-template-columns: 1fr 1fr;
  }

  .library-featured-card {
    grid-template-columns:
      minmax(280px, 0.88fr)
      minmax(330px, 1.12fr);
  }

  .library-card-cover {
    height: 390px;
  }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 720px) {
  .revista-hero {
    padding-top: 55px;
    padding-bottom: 65px;
  }

  .revista-hero .hero-copy h1 {
    font-size: clamp(40px, 11vw, 54px);
    line-height: 1.03;
  }

  .revista-hero .hero-claim {
    font-size: 19px;
  }

  .resource-library-section {
    padding-top: 70px;
    padding-bottom: 105px;
  }

  .resource-library-section .section-head h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .resource-library-toolbar {
    padding: 18px;
    border-radius: 22px;
  }

  .resource-library-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-filters {
    width: 100%;
  }

  .resource-filter {
    flex: 1 1 auto;
  }

  .library-featured-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .library-cover {
    min-height: 440px;
  }

  .library-cover img {
    width: 90%;
    max-width: 360px;
    max-height: 395px;
  }

  .library-content {
    padding: 27px 23px;
  }

  .magazine-library-grid,
  .guide-library-grid {
    grid-template-columns: 1fr;
  }

  .library-card-cover {
    height: 430px;
  }

  .library-card-body {
    min-height: auto;
  }

  .library-coming-card {
    min-height: 390px;
  }

  .library-actions {
    flex-direction: column;
  }

  .library-actions .btn {
    width: 100%;
    flex-basis: auto;
  }

  .download-modal {
    padding: 13px;
  }

  .download-modal-dialog {
    padding: 28px 20px;
    border-radius: 23px;
  }

  .download-modal-close {
    top: 12px;
    right: 12px;
  }

  .whatsapp-float {
    right: 11px;
    bottom: 11px;
    transform: scale(0.86);
    transform-origin: right bottom;
  }
}

/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {
  .revista-hero .hero-copy h1 {
    font-size: clamp(37px, 11vw, 48px);
  }

  .resource-search input {
    font-size: 14px;
  }

  .resource-filter {
    padding: 9px 12px;
    font-size: 12px;
  }

  .library-cover {
    min-height: 390px;
  }

  .library-cover img {
    max-width: 315px;
    max-height: 350px;
  }

  .library-card-cover {
    height: 380px;
  }

  .library-content h3 {
    font-size: 26px;
  }

  .library-coming-card {
    min-height: 350px;
    padding: 26px 22px;
  }

  .download-modal-dialog h2 {
    padding-right: 35px;
  }

  .whatsapp-float {
    transform: scale(0.8);
  }
}

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .library-card,
  .library-featured-card,
  .library-card-cover img,
  .library-cover img,
  .resource-filter {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================
   CORRECCIÓN FINAL: PUBLICACIONES DESTACADAS
   DISEÑO EDITORIAL, ESTÁTICO Y SIN ESPACIOS VACÍOS
   ========================================================= */

/* Una publicación destacada por fila */

.resource-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  width: 100%;
  margin: 0 0 64px;
}

/* Tarjeta horizontal de ancho completo */

.library-featured-card {
  display: grid;
  grid-template-columns:
    minmax(380px, 42%)
    minmax(0, 58%);
  width: 100%;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(4, 31, 73, 0.1);
  border-radius: 30px;
  background: #ffffff;
  box-shadow:
    0 22px 58px
    rgba(4, 31, 73, 0.12);
  transform: none !important;
  transition: none !important;
}

/* Segunda publicación con la imagen a la derecha */

.library-featured-card:nth-child(even) {
  grid-template-columns:
    minmax(0, 58%)
    minmax(380px, 42%);
}

.library-featured-card:nth-child(even)
.library-cover {
  grid-column: 2;
  grid-row: 1;
}

.library-featured-card:nth-child(even)
.library-content {
  grid-column: 1;
  grid-row: 1;
}

/* =========================================================
   PANEL DE LA PORTADA
   ========================================================= */

.library-cover {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 610px;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      #eaf6ff 0%,
      #d9eaf8 100%
    );
}

/* Picture debe ocupar completamente el panel */

.library-cover picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Portada grande y ajustada al espacio */

.library-cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  filter: none;
  transform: none !important;
  transition: none !important;
}

/* Sin movimientos al pasar el mouse */

.library-featured-card:hover,
.library-featured-card:hover
.library-cover img {
  transform: none !important;
}

/* =========================================================
   ETIQUETA DE NOVEDAD
   ========================================================= */

.library-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      #e21e26,
      #ff7200
    );
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow:
    0 10px 24px
    rgba(226, 30, 38, 0.25);
}

/* En la tarjeta invertida, la etiqueta se mantiene
   sobre el panel de la portada */

.library-featured-card:nth-child(even)
.library-badge {
  right: 22px;
  left: auto;
}

/* =========================================================
   CONTENIDO DE TEXTO
   ========================================================= */

.library-content {
  display: flex;
  min-width: 0;
  min-height: 610px;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(38px, 4.5vw, 68px)
    clamp(34px, 5vw, 76px);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 212, 59, 0.09),
      transparent 30%
    ),
    #ffffff;
}

/* Evitar títulos excesivamente grandes */

.library-content h3 {
  max-width: 620px;
  margin: 0 0 20px;
  color: #062b63;
  font-family:
    var(--font-title, "Poppins", sans-serif);
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* Bajada editorial */

.library-content > p {
  max-width: 680px;
  margin: 0 0 20px;
  color: #4b5563;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}

/* Etiqueta superior */

.library-kicker {
  display: block;
  margin-bottom: 13px;
  color: #e21e26;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   METADATOS
   ========================================================= */

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 22px;
}

.resource-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  background: #edf7fd;
  color: #062b63;
  font-size: 12px;
  font-weight: 900;
}

/* =========================================================
   LISTADO DE TEMAS
   ========================================================= */

.resource-topics {
  display: grid;
  max-width: 680px;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.resource-topics li {
  position: relative;
  padding-left: 28px;
  color: #26374d;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.5;
}

.resource-topics li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #0f9d58;
  font-size: 18px;
  font-weight: 900;
}

/* =========================================================
   BOTONES
   ========================================================= */

.library-featured-card
.library-actions {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 620px;
  margin-top: auto;
}

.library-featured-card
.library-actions .btn {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  font-size: 15px;
  text-align: center;
}

.library-featured-card
.download-caption {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   CORRECCIÓN DEL BOTÓN DE WHATSAPP
   ========================================================= */

.resource-library-section {
  padding-bottom: 140px;
}

.whatsapp-float {
  right: 20px;
  bottom: 18px;
  z-index: 850;
}

/* =========================================================
   PANTALLAS INTERMEDIAS
   ========================================================= */

@media (max-width: 1180px) {
  .library-featured-card,
  .library-featured-card:nth-child(even) {
    grid-template-columns:
      minmax(330px, 43%)
      minmax(0, 57%);
  }

  .library-featured-card:nth-child(even)
  .library-cover {
    grid-column: 2;
    grid-row: 1;
  }

  .library-featured-card:nth-child(even)
  .library-content {
    grid-column: 1;
    grid-row: 1;
  }

  .library-content {
    padding:
      42px
      clamp(30px, 4vw, 52px);
  }

  .library-content h3 {
    font-size: clamp(32px, 4vw, 44px);
  }
}

/* =========================================================
   TABLET Y MÓVIL
   ========================================================= */

@media (max-width: 820px) {
  .resource-featured-grid {
    gap: 28px;
  }

  .library-featured-card,
  .library-featured-card:nth-child(even) {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  /* La imagen siempre arriba en tablet y móvil */

  .library-featured-card:nth-child(even)
  .library-cover,
  .library-featured-card:nth-child(even)
  .library-content {
    grid-column: auto;
    grid-row: auto;
  }

  .library-cover {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .library-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .library-featured-card:nth-child(even)
  .library-badge {
    right: auto;
    left: 20px;
  }

  .library-content {
    min-height: auto;
    padding: 34px 27px;
  }

  .library-content h3 {
    font-size: clamp(30px, 7vw, 40px);
  }

  .library-featured-card
  .library-actions {
    max-width: none;
  }
}

/* =========================================================
   TELÉFONOS
   ========================================================= */

@media (max-width: 560px) {
  .library-featured-card {
    border-radius: 23px;
  }

  .library-cover {
    aspect-ratio: 4 / 5.15;
  }

  .library-content {
    padding: 29px 21px;
  }

  .library-content h3 {
    font-size: 29px;
  }

  .library-content > p {
    font-size: 16px;
  }

  .resource-topics li {
    font-size: 14px;
  }

  .library-featured-card
  .library-actions {
    grid-template-columns: 1fr;
  }

  .library-featured-card
  .download-caption {
    grid-column: 1;
  }

  .library-badge {
    top: 16px;
    left: 16px;
  }

  .whatsapp-float {
    right: 10px;
    bottom: 10px;
    transform: scale(0.8);
    transform-origin: right bottom;
  }
}

/* =========================================================
   AJUSTE SUPERIOR DEL HERO DE RECURSOS 20+
   ========================================================= */

.revista-hero {
  padding-top: clamp(28px, 3.5vw, 52px);
}

.revista-hero .hero-grid {
  align-items: center;
}

.revista-hero .revista-copy {
  position: relative;
  padding-top: 0;
}

.revista-hero-note {
  margin-bottom: 24px;
  color: rgba(6, 43, 99, 0.48);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.revista-hero .eyebrow {
  margin-top: 0;
}

.revista-hero .hero-copy h1 {
  margin-top: 18px;
}

@media (max-width: 720px) {
  .revista-hero {
    padding-top: 24px;
  }

  .revista-hero-note {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.11em;
  }
}
/* HERO MÁS COMPACTO Y SIN ESPACIO SUPERIOR */

.revista-hero {
  padding-top: 24px;
  padding-bottom: clamp(65px, 7vw, 95px);
}

.revista-hero .hero-grid {
  align-items: center;
}

.revista-hero .revista-copy,
.revista-hero .hero-visual {
  align-self: center;
}

.revista-hero .hero-copy h1 {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .revista-hero {
    padding-top: 18px;
  }
}

/* =========================================================
   CORRECCIÓN DEFINITIVA DEL ESPACIO SUPERIOR DEL HERO
   ========================================================= */

.revista-hero {
  min-height: auto !important;
  height: auto !important;
  padding-top: 28px !important;
  padding-bottom: 56px !important;
}

.revista-hero .hero-grid {
  min-height: auto !important;
  align-items: start !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.revista-hero .revista-copy,
.revista-hero .hero-visual {
  align-self: start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.revista-hero .revista-copy {
  padding-top: 14px !important;
}

.revista-hero .eyebrow {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.revista-hero .hero-copy h1 {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

.revista-hero-note,
.revista-hero-line {
  display: none !important;
}

/* Evita que reglas generales del sitio vuelvan a centrar el hero */

.revista-hero.hero {
  min-height: auto !important;
  place-items: initial !important;
}

.revista-hero .container {
  min-height: auto !important;
}

@media (max-width: 980px) {
  .revista-hero {
    padding-top: 24px !important;
    padding-bottom: 48px !important;
  }

  .revista-hero .revista-copy {
    padding-top: 0 !important;
  }
}

@media (max-width: 720px) {
  .revista-hero {
    padding-top: 20px !important;
    padding-bottom: 42px !important;
  }
}

/* =========================================================
   GUÍAS PRÁCTICAS: TRES COLUMNAS EQUILIBRADAS
   ========================================================= */

.guide-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  gap: 26px;
}

.guide-library-grid .library-card {
  width: 100%;
  min-width: 0;
}

.guide-library-grid .library-card-cover {
  height: 430px;
}

.guide-library-grid .library-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.guide-library-grid .library-card-body {
  min-height: 410px;
}

.guide-library-grid .resource-topics {
  margin-bottom: 22px;
}

@media (max-width: 1100px) {
  .guide-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .guide-library-grid {
    grid-template-columns: 1fr;
  }

  .guide-library-grid .library-card-cover {
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .guide-library-grid .library-card-body {
    min-height: auto;
  }
}

/* =========================================================
   BIBLIOTECA: TRES GUÍAS EQUILIBRADAS
   ========================================================= */

.guide-library-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
  width: 100%;
  max-width: none !important;
  gap: 26px;
}

.guide-library-grid .library-card {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.guide-library-grid .library-card-cover {
  position: relative;
  width: 100%;
  height: 430px;
  padding: 0;
  overflow: hidden;
  background: #e5f2fc;
}

.guide-library-grid .library-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  transform: none !important;
  transition: none !important;
}

.guide-library-grid .library-card:hover,
.guide-library-grid .library-card:hover img {
  transform: none !important;
}

.guide-library-grid .library-card-body {
  display: flex;
  min-height: 390px;
  flex: 1;
  flex-direction: column;
  padding: 27px;
}

.guide-library-grid .library-actions {
  margin-top: auto;
}

@media (max-width: 1100px) {
  .guide-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .guide-library-grid {
    grid-template-columns: 1fr !important;
  }

  .guide-library-grid .library-card-cover {
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .guide-library-grid .library-card-body {
    min-height: auto;
  }
}

/* =========================================================
   CONTRIBUCIÓN VOLUNTARIA — TARJETA HORIZONTAL
   ========================================================= */

.contribution-card {
  width: 100%;
  display: grid;
  grid-template-columns:
    minmax(150px, 210px)
    minmax(320px, 1fr)
    minmax(190px, 250px);
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(14, 59, 109, 0.12);
  border-radius: 28px;
  background: #ffffff;
  color: #123b65;
  box-shadow:
    0 20px 55px rgba(10, 48, 88, 0.12);
}

/* Columna izquierda */

.contribution-card__icon-column {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: clamp(22px, 3vw, 42px);
  border-right: 1px solid #dce6ee;
}

.contribution-card__icon {
  width: clamp(130px, 12vw, 180px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 59, 105, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f0f5f9
    );
  font-size: clamp(4.2rem, 7vw, 6.3rem);
  line-height: 1;
  box-shadow:
    0 18px 38px rgba(12, 51, 91, 0.14);
}

/* Columna central */

.contribution-card__content {
  min-width: 0;
  text-align: center;
}

.contribution-card__eyebrow {
  margin: 0 0 10px;
  color: #d49b00;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contribution-card__title {
  margin: 0;
  color: #073b70;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  text-wrap: balance;
}

.contribution-card__description {
  max-width: 680px;
  margin: 18px auto 0;
  color: #536b80;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.65;
  text-wrap: balance;
}

.contribution-card__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 20px 0 0;
  color: #657b8e;
  font-size: 0.91rem;
  font-weight: 650;
}

.contribution-card__note span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e8f8ef;
  color: #159153;
  font-size: 0.76rem;
  font-weight: 900;
}

/* Columna derecha */

.contribution-card__action {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: clamp(22px, 3vw, 42px);
  border-left: 1px solid #dce6ee;
}

.contribution-card__button {
  width: 100%;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 23px;
  border: 1px solid #e0ad13;
  border-radius: 17px;
  background: #ffd43b;
  color: #073b70;
  font: inherit;
  font-size: 1.03rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow:
    0 13px 28px rgba(165, 119, 0, 0.18);
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.contribution-card__button:hover {
  background: #ffe16a;
  transform: translateY(-2px);
  box-shadow:
    0 17px 32px rgba(165, 119, 0, 0.23);
}

.contribution-card__button:focus-visible {
  outline: 4px solid rgba(12, 75, 140, 0.25);
  outline-offset: 4px;
}

/* Tablets */

@media (max-width: 1050px) {
  .contribution-card {
    grid-template-columns: 145px minmax(0, 1fr);
  }

  .contribution-card__icon-column {
    grid-row: 1 / span 2;
  }

  .contribution-card__action {
    height: auto;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #dce6ee;
  }

  .contribution-card__button {
    width: min(100%, 280px);
  }
}

/* Móviles */

@media (max-width: 700px) {
  .contribution-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 22px;
    border-radius: 23px;
  }

  .contribution-card__icon-column {
    width: 100%;
    height: auto;
    padding: 0 0 23px;
    border-right: 0;
    border-bottom: 1px solid #dce6ee;
  }

  .contribution-card__icon {
    width: 125px;
    border-radius: 27px;
    font-size: 4.6rem;
  }

  .contribution-card__content {
    width: 100%;
  }

  .contribution-card__title {
    font-size: 2.15rem;
  }

  .contribution-card__description {
    font-size: 0.98rem;
  }

  .contribution-card__action {
    width: 100%;
    padding: 23px 0 0;
  }

  .contribution-card__button {
    width: 100%;
  }
}

/* =========================================================
   MODAL DE CONTRIBUCIÓN
   ========================================================= */

body.contribution-modal-open {
  overflow: hidden;
}

.contribution-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contribution-modal.is-open {
  display: flex;
}

.contribution-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 43, 0.78);
  backdrop-filter: blur(5px);
}

.contribution-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(15, 63, 126, 0.12);
  border-radius: 26px;
  outline: none;
  background: #ffffff;
  color: #173755;
  box-shadow:
    0 30px 90px rgba(0, 24, 61, 0.34);
}

.contribution-modal__close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf3f8;
  color: #123c67;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.contribution-modal__close:hover {
  background: #dfeaf2;
}

.contribution-modal__header {
  padding-right: 42px;
}

.contribution-modal__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 17px;
  background: #eaf8f0;
  font-size: 1.55rem;
}

.contribution-modal__eyebrow {
  margin: 0 0 6px;
  color: #159153;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contribution-modal__title {
  margin: 0;
  color: #073866;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.12;
}

.contribution-modal__description {
  margin: 15px 0 0;
  color: #5c7183;
  line-height: 1.65;
}

.contribution-details {
  display: grid;
  gap: 12px;
  margin-top: 27px;
}

.contribution-detail {
  display: grid;
  gap: 5px;
  padding: 15px 17px;
  border: 1px solid #dbe5ec;
  border-radius: 14px;
  background: #f8fafc;
}

.contribution-detail__label {
  color: #63798b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contribution-detail__value {
  overflow-wrap: anywhere;
  color: #0d3b68;
  font-size: 0.98rem;
  line-height: 1.45;
}

.contribution-modal__actions {
  margin-top: 25px;
}

.contribution-copy-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 0;
  border-radius: 14px;
  background: #073b7a;
  color: #ffffff;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 850;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.contribution-copy-button:hover {
  background: #052e61;
  transform: translateY(-1px);
}

.contribution-copy-button.is-copied {
  background: #159153;
}

.contribution-copy-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: #167747;
  font-size: 0.88rem;
  font-weight: 750;
  text-align: center;
}

.contribution-copy-message.is-error {
  color: #b42318;
}

.contribution-modal__security {
  margin: 14px 0 0;
  color: #738492;
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 680px) {
  .contribution-card {
    padding: 30px 22px;
    border-radius: 23px;
  }

  .contribution-card__title {
    font-size: 2rem;
  }

  .contribution-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .contribution-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 29px 20px 24px;
    border-radius: 23px;
  }

  .contribution-modal__header {
    padding-right: 36px;
  }

  .contribution-modal__close {
    top: 14px;
    right: 14px;
  }
}

/* =========================================================
   CONTINÚA EXPLORANDO
   ========================================================= */

.explore-more {
  width: min(100% - 32px, 1320px);
  margin: clamp(48px, 7vw, 88px) auto;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(12, 59, 108, 0.1);
  border-radius: 28px;
  background: #f7fafc;
}

.explore-more__heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.explore-more__eyebrow {
  margin: 0 0 8px;
  color: #159153;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.explore-more__heading h2 {
  margin: 0;
  color: #073b70;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
}

.explore-more__heading p:last-child {
  margin: 13px 0 0;
  color: #5a7083;
  line-height: 1.65;
}

.explore-more__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.explore-more__card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 19px;
  border: 1px solid #dbe5ec;
  border-radius: 17px;
  background: #ffffff;
  color: #123d68;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.explore-more__card:hover {
  border-color: #91b7d5;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 52, 94, 0.1);
}

.explore-more__card:focus-visible {
  outline: 4px solid rgba(47, 191, 113, 0.25);
  outline-offset: 3px;
}

.explore-more__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eaf2f8;
  font-size: 1.35rem;
}

.explore-more__content {
  min-width: 0;
}

.explore-more__content strong {
  display: block;
  color: #073b70;
  font-size: 1rem;
}

.explore-more__content small {
  display: block;
  margin-top: 5px;
  color: #657a8c;
  font-size: 0.84rem;
  line-height: 1.45;
}

.explore-more__arrow {
  color: #159153;
  font-size: 1.4rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .explore-more {
    width: min(100% - 22px, 1320px);
    padding: 25px 18px;
    border-radius: 22px;
  }

  .explore-more__grid {
    grid-template-columns: 1fr;
  }

  .explore-more__card {
    padding: 16px;
  }
}

.resources-next-step {
  width: min(100% - 32px, 1320px);
  margin: 44px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 22px;
  background: #073b70;
  color: #ffffff;
}

.resources-next-step p {
  margin: 0 0 7px;
  color: #ffd43b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.resources-next-step h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.resources-next-step span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.82);
}

.resources-next-step__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.resources-next-step__actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 12px;
  background: #ffd43b;
  color: #073b70;
  font-weight: 800;
  text-decoration: none;
}

.resources-next-step__actions a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
}

@media (max-width: 760px) {
  .resources-next-step {
    width: min(100% - 22px, 1320px);
    display: block;
    padding: 24px 20px;
  }

  .resources-next-step__actions {
    margin-top: 20px;
  }

  .resources-next-step__actions a {
    width: 100%;
  }
}

/* =========================================================
   RECURSOS 20+ — CUARTA GUÍA CENTRADA
   ========================================================= */

.guide-library-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

@media (min-width: 901px) {
  .guide-library-grid .library-card-municipal {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .guide-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .guide-library-grid {
    grid-template-columns: 1fr;
  }
}