:root {
        --navy: #1d3b5c;
        --blue-900: #16304f;
        --blue-600: #2f7fc1;
        --blue-500: #4a9ad9;
        --blue-300: #9fd0f2;
        --blue-200: #c9e4f8;
        --blue-100: #e8f4fd;
        --blue-50: #f5faff;
        --white: #ffffff;
        --text: #22364f;
        --muted: #5b7088;
        --line: #d8e8f5;
        --wa: #25d366;
        --wa-dark: #1ebe5a;
        --font:
          "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
      }
      * {
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
        scroll-padding-top: 90px;
      }
      body {
        margin: 0;
        font-family: var(--font);
        font-weight: 400;
        color: var(--text);
        background: var(--white);
        line-height: 1.7;
        font-size: 16px;
        -webkit-font-smoothing: antialiased;
      }
      a {
        color: inherit;
      }
      .wrap {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 28px;
      }
      h1,
      h2,
      h3 {
        font-family: var(--font);
        color: var(--navy);
        margin: 0;
        line-height: 1.15;
        letter-spacing: -0.02em;
      }
      h1 {
        font-size: clamp(2.6rem, 5.8vw, 4.4rem);
        font-weight: 800;
      }
      h2 {
        font-size: clamp(2rem, 3.8vw, 2.8rem);
        font-weight: 700;
      }
      h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 10px;
      }
      p {
        margin: 0 0 16px;
      }
      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 7px 14px;
        border-radius: 999px;
        background: var(--blue-100);
        color: var(--blue-600);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
      }
      .accent {
        color: var(--blue-500);
      }
      strong {
        font-weight: 700;
        color: var(--navy);
      }

      /* Header */
      header.site {
        position: sticky;
        top: env(safe-area-inset-top, 0px);
        z-index: 20;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
      }
      header.site .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        height: 74px;
      }
      .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
      }
      .logo-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
        color: #fff;
        display: grid;
        place-items: center;
        font-weight: 800;
        font-size: 1.1rem;
      }
      .logo-text {
        font-weight: 800;
        font-size: 1.1rem;
        color: var(--navy);
        letter-spacing: -0.01em;
      }
      nav.main {
        display: flex;
        gap: 28px;
      }
      nav.main a {
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--muted);
        transition: color 0.2s;
      }
      nav.main a:hover {
        color: var(--blue-600);
      }

      /* Buttons */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 28px;
        border-radius: 14px;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.95rem;
        transition:
          transform 0.2s,
          background 0.2s,
          box-shadow 0.2s,
          color 0.2s;
      }
      .btn-wa {
        background: var(--wa);
        color: #fff;
        box-shadow: 0 12px 28px -12px rgba(37, 211, 102, 0.7);
      }
      .btn-wa:hover {
        background: var(--wa-dark);
        transform: translateY(-2px);
      }
      .btn-line {
        background: var(--white);
        color: var(--blue-600);
        border: 1.5px solid var(--blue-300);
      }
      .btn-line:hover {
        background: var(--blue-100);
      }
      .btn-sm {
        padding: 11px 20px;
        font-size: 0.88rem;
        border-radius: 12px;
      }

      /* Hero */
      .hero {
        position: relative;
        padding: 96px 0 104px;
        overflow: hidden;
        background:
          radial-gradient(
            900px 480px at 90% 0%,
            var(--blue-200),
            transparent 65%
          ),
          linear-gradient(180deg, var(--blue-100), var(--white));
      }
      .hero .wrap {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 64px;
        align-items: center;
      }
      .hero h1 {
        margin: 22px 0 22px;
      }
      .hero .lead {
        font-size: 1.12rem;
        color: var(--muted);
        max-width: 560px;
      }
      .hero .cta-row {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        margin-top: 34px;
      }
      .hero-card {
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 24px;
        padding: 36px;
        box-shadow: 0 30px 60px -30px rgba(47, 127, 193, 0.35);
      }
      .hero-card .label {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--blue-600);
      }
      .pair {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 20px;
        margin-top: 14px;
        border-radius: 16px;
        background: var(--blue-50);
        border: 1px solid var(--line);
      }
      .pair b {
        color: var(--navy);
        font-size: 1.05rem;
      }
      .pair span {
        font-size: 0.8rem;
        color: var(--muted);
      }
      .hero-card ul {
        list-style: none;
        padding: 0;
        margin: 24px 0 0;
        display: grid;
        gap: 12px;
      }
      .hero-card li {
        display: flex;
        gap: 12px;
        align-items: center;
        font-size: 0.95rem;
        color: var(--text);
      }
      .hero-card li::before {
        content: "✓";
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--blue-100);
        color: var(--blue-600);
        display: grid;
        place-items: center;
        font-size: 0.75rem;
        font-weight: 800;
        flex: none;
      }

      /* Sections */
      section {
        padding: 112px 0;
      }
      .alt {
        background: var(--blue-50);
      }
      .head {
        max-width: 680px;
        margin-bottom: 56px;
      }
      .head .eyebrow {
        margin-bottom: 18px;
      }
      .head p {
        color: var(--muted);
        font-size: 1.05rem;
        margin-top: 16px;
      }

      /* Services */
      .services {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
      .service {
        padding: 36px 32px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 20px;
        transition:
          transform 0.25s,
          box-shadow 0.25s,
          border-color 0.25s;
      }
      .service:hover {
        transform: translateY(-4px);
        border-color: var(--blue-300);
        box-shadow: 0 24px 40px -24px rgba(47, 127, 193, 0.4);
      }
      .icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: var(--blue-100);
        color: var(--blue-600);
        display: grid;
        place-items: center;
        font-weight: 800;
        font-size: 0.95rem;
        margin-bottom: 22px;
      }
      .service p {
        color: var(--muted);
        font-size: 0.95rem;
        margin: 0;
      }

      /* Languages */
      .lang {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: center;
      }
      .lang-visual {
        background: linear-gradient(160deg, var(--blue-500), var(--blue-600));
        color: #fff;
        border-radius: 28px;
        padding: 56px 48px;
        position: relative;
        overflow: hidden;
      }
      .lang-visual::after {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        right: -100px;
        top: -100px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
      }
      .lang-visual .big {
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.3;
        position: relative;
        z-index: 1;
        margin: 0;
        letter-spacing: -0.01em;
      }
      .lang-visual .big span {
        display: block;
        color: var(--blue-200);
        font-weight: 500;
        margin-top: 10px;
        font-size: 1.5rem;
      }
      .lang-visual .sub {
        margin-top: 28px;
        color: var(--blue-100);
        font-size: 0.95rem;
        position: relative;
        z-index: 1;
      }
      .lang-text p {
        color: var(--muted);
      }
      .lang-text p:first-of-type {
        color: var(--text);
        font-size: 1.08rem;
      }

      /* Process */
      .steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
        counter-reset: s;
      }
      .steps li {
        counter-increment: s;
        position: relative;
        padding: 32px 28px;
        border-radius: 20px;
        background: var(--white);
        border: 1px solid var(--line);
      }
      .steps li::before {
        content: counter(s, decimal-leading-zero);
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--blue-600);
        color: #fff;
        font-weight: 800;
        font-size: 0.95rem;
        margin-bottom: 20px;
      }
      .steps h3 {
        font-size: 1.15rem;
      }
      .steps p {
        color: var(--muted);
        font-size: 0.92rem;
        margin: 0;
      }

      /* About */
      .about {
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
        gap: 72px;
        align-items: start;
      }
      .about .quote {
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 1.35;
        color: var(--navy);
        margin: 0;
        padding: 28px 32px;
        border-radius: 20px;
        background: var(--white);
        border: 1px solid var(--line);
        border-left: 5px solid var(--blue-500);
      }
      .about p {
        color: var(--muted);
      }

      /* Location */
      .loc {
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 30px 60px -36px rgba(47, 127, 193, 0.4);
      }
      .loc-info {
        padding: 56px 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: var(--blue-50);
      }
      .loc-info dl {
        margin: 26px 0 34px;
        display: grid;
        gap: 22px;
      }
      .loc-info dt {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--blue-600);
        margin-bottom: 4px;
      }
      .loc-info dd {
        margin: 0;
        color: var(--text);
      }
      .loc-info dd a {
        color: var(--navy);
        font-weight: 700;
        text-decoration: none;
        border-bottom: 2px solid var(--blue-300);
      }
      .loc-map iframe {
        width: 100%;
        height: 100%;
        min-height: 420px;
        border: 0;
        display: block;
      }

      /* FAQ */
      .faq {
        max-width: 820px;
        margin: 0 auto;
        display: grid;
        gap: 14px;
      }
      .faq details {
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 22px 26px;
        transition: border-color 0.2s;
      }
      .faq details[open] {
        border-color: var(--blue-300);
      }
      .faq summary {
        cursor: pointer;
        list-style: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        font-weight: 700;
        color: var(--navy);
        font-size: 1.05rem;
      }
      .faq summary::-webkit-details-marker {
        display: none;
      }
      .faq summary::after {
        content: "+";
        flex: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--blue-100);
        color: var(--blue-600);
        display: grid;
        place-items: center;
        font-size: 1.2rem;
        font-weight: 700;
        transition: transform 0.3s;
      }
      .faq details[open] summary::after {
        transform: rotate(45deg);
      }
      .faq details p {
        margin: 14px 0 0;
        color: var(--muted);
      }

      /* CTA */
      .cta {
        padding: 0 0 112px;
      }
      .cta-box {
        border-radius: 32px;
        padding: 88px 48px;
        text-align: center;
        color: #fff;
        background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
        box-shadow: 0 40px 70px -40px rgba(47, 127, 193, 0.8);
      }
      .cta-box h2 {
        color: #fff;
      }
      .cta-box p {
        color: var(--blue-100);
        margin-top: 16px;
        font-size: 1.05rem;
      }
      .cta-box .phone {
        font-size: 1.9rem;
        font-weight: 800;
        color: #fff;
        display: block;
        margin: 22px 0 34px;
      }
      .cta-box .btn-wa {
        box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35);
      }

      /* Footer */
      footer {
        background: var(--blue-50);
        border-top: 1px solid var(--line);
        padding: 64px 0 36px;
        font-size: 0.92rem;
        color: var(--muted);
      }
      .foot {
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--line);
      }
      .foot-4 {
        grid-template-columns: 1.3fr 0.9fr 1.2fr 1.2fr;
      }
      footer h3 {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--blue-600);
        margin: 0 0 12px;
      }
      footer p {
        margin: 0;
      }
      footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 8px;
      }
      footer ul a {
        text-decoration: none;
      }
      footer ul a:hover {
        color: var(--blue-600);
      }
      .foot-bottom {
        padding-top: 26px;
        font-size: 0.82rem;
      }

      /* Floating WhatsApp */
      .float-wa {
        position: fixed;
        right: 22px;
        bottom: calc(22px + env(safe-area-inset-bottom, 0px));
        z-index: 30;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 22px;
        border-radius: 999px;
        background: var(--wa);
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.92rem;
        box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7);
      }
      .float-wa::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
      }

      /* ---------- Paginas interiores ---------- */
      .page-hero {
        padding: 56px 0 72px;
        overflow: hidden;
        background:
          radial-gradient(
            900px 480px at 90% 0%,
            var(--blue-200),
            transparent 65%
          ),
          linear-gradient(180deg, var(--blue-100), var(--white));
      }
      .page-hero .wrap {
        display: grid;
        grid-template-columns: 1.25fr 1fr;
        gap: 56px;
        align-items: center;
      }
      .page-hero h1 {
        font-size: clamp(1.9rem, 4vw, 3.05rem);
        margin: 20px 0 18px;
      }
      .page-hero .lead {
        font-size: 1.08rem;
        color: var(--muted);
        max-width: 640px;
      }
      .page-hero .cta-row {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        margin-top: 30px;
      }

      /* Migas de pan */
      .crumbs ol {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        margin: 0 0 20px;
        font-size: 0.84rem;
        color: var(--muted);
      }
      .crumbs li + li::before {
        content: "/";
        margin-right: 8px;
        color: var(--blue-300);
      }
      .crumbs a {
        text-decoration: none;
      }
      .crumbs a:hover {
        color: var(--blue-600);
      }

      /* Resumen para asistentes y buscadores */
      .tldr {
        background: var(--white);
        border: 1px solid var(--line);
        border-left: 5px solid var(--blue-500);
        border-radius: 20px;
        padding: 34px 38px;
      }
      .tldr h2 {
        font-size: 1.35rem;
        margin-bottom: 16px;
      }
      .tldr ul {
        margin: 0;
        padding-left: 22px;
        display: grid;
        gap: 10px;
      }
      .tldr li {
        color: var(--text);
        font-size: 0.97rem;
      }

      /* Texto estructurado */
      .prose h3 {
        margin: 34px 0 10px;
      }
      .prose p,
      .prose ul,
      .prose ol {
        color: var(--muted);
      }
      .prose li {
        margin-bottom: 8px;
      }
      .prose > p:first-of-type {
        color: var(--text);
        font-size: 1.02rem;
      }

      /* Tarjetas */
      .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
      .card {
        padding: 30px 28px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 20px;
      }
      .card h3 {
        font-size: 1.08rem;
      }
      .card p {
        color: var(--muted);
        font-size: 0.94rem;
        margin: 0;
      }

      /* Lista de comprobacion */
      .checklist {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 12px;
      }
      .checklist li {
        position: relative;
        padding-left: 34px;
        color: var(--text);
        font-size: 0.97rem;
      }
      .checklist li::before {
        content: "✓";
        position: absolute;
        left: 0;
        top: 3px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: var(--blue-100);
        color: var(--blue-600);
        display: grid;
        place-items: center;
        font-size: 0.72rem;
        font-weight: 800;
      }

      /* Proceso numerado */
      .process {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 16px;
        counter-reset: p;
      }
      .process li {
        counter-increment: p;
        position: relative;
        padding: 26px 28px 26px 72px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 18px;
      }
      .process li::before {
        content: counter(p, decimal-leading-zero);
        position: absolute;
        left: 24px;
        top: 26px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--blue-600);
        color: #fff;
        display: grid;
        place-items: center;
        font-weight: 800;
        font-size: 0.85rem;
      }
      .process h3 {
        font-size: 1.08rem;
        margin-bottom: 6px;
      }
      .process p {
        margin: 0;
        color: var(--muted);
        font-size: 0.94rem;
      }

      /* Tabla comparativa */
      .table-wrap {
        overflow-x: auto;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--white);
      }
      table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.93rem;
      }
      th,
      td {
        padding: 15px 20px;
        text-align: left;
        vertical-align: top;
        border-bottom: 1px solid var(--line);
      }
      th {
        background: var(--blue-50);
        color: var(--navy);
        font-weight: 700;
      }
      td {
        color: var(--muted);
      }
      td:first-child {
        color: var(--navy);
        font-weight: 600;
      }
      tbody tr:last-child td {
        border-bottom: none;
      }

      /* Enlaces internos a otros servicios */
      .linkgrid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
      }
      .linkgrid a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 18px 20px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 16px;
        text-decoration: none;
        font-weight: 600;
        color: var(--navy);
        font-size: 0.94rem;
        transition:
          transform 0.2s,
          border-color 0.2s,
          box-shadow 0.2s;
      }
      .linkgrid a::after {
        content: "→";
        color: var(--blue-500);
        flex: none;
      }
      .linkgrid a:hover {
        border-color: var(--blue-300);
        transform: translateY(-2px);
        box-shadow: 0 18px 34px -22px rgba(47, 127, 193, 0.5);
      }

      /* Aviso destacado */
      .note {
        background: var(--blue-50);
        border: 1px solid var(--line);
        border-left: 4px solid var(--blue-600);
        border-radius: 14px;
        padding: 22px 26px;
      }
      .note p {
        margin: 0;
        color: var(--text);
        font-size: 0.95rem;
      }

      /* Responsive */
      @media (max-width: 960px) {
        .hero .wrap,
        .page-hero .wrap,
        .lang,
        .about,
        .loc {
          grid-template-columns: 1fr;
          gap: 40px;
        }
        .cards,
        .linkgrid {
          grid-template-columns: 1fr 1fr;
        }
        .services {
          grid-template-columns: 1fr 1fr;
        }
        .steps {
          grid-template-columns: 1fr 1fr;
        }
        .foot {
          grid-template-columns: 1fr 1fr;
        }
        .foot-4 {
          grid-template-columns: 1fr 1fr;
        }
        .loc-map iframe {
          min-height: 340px;
        }
      }
      @media (max-width: 640px) {
        .page-hero {
          padding: 40px 0 56px;
        }
        .cards,
        .linkgrid {
          grid-template-columns: 1fr;
        }
        .tldr {
          padding: 26px 24px;
        }
        .process li {
          padding: 24px 22px 24px 66px;
        }
        .wrap {
          padding: 0 20px;
        }
        nav.main {
          display: none;
        }
        section {
          padding: 80px 0;
        }
        .hero {
          padding: 64px 0 80px;
        }
        .services,
        .steps {
          grid-template-columns: 1fr;
        }
        .lang-visual,
        .loc-info {
          padding: 40px 28px;
        }
        .cta-box {
          padding: 64px 28px;
        }
        .float-wa .lbl {
          display: none;
        }
        .float-wa {
          padding: 16px;
        }
        .foot {
          grid-template-columns: 1fr;
        }
        .foot-4 {
          grid-template-columns: 1fr;
        }
      }

/* Accesibilidad: enlace de salto al contenido */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: 0 0 12px 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Respeta la preferencia de movimiento reducido (accesibilidad) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
