:root {
    --navy: #090830;
    --navy-soft: #14134a;
    --white: #ffffff;
    --gray-50: #f7f8fa;
    --gray-100: #eef0f4;
    --gray-border: #e4e7ef;
    --gray-600: #5b6478;
    --gray-caption: #9aa2b4;
    --gold: #c9a227;
    --gold-light: #f7efd9;

    --danger: #b3261e;
    --danger-light: #fbe9e7;

    --accent-blue: #1049c6;
    --accent-blue-dark: #0c3690;
    --accent-blue-light: #eaf0fc;

    --font-display: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-w: 1180px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --off-white: var(--gray-50);
    --text-dark: var(--navy);
    --text-body: var(--gray-600);
    --accent: var(--accent-blue);
    --section-pad: 96px 0;
    --text-muted: #9c9c9c;
    --ice: #e4eeff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--gray-border);
    box-shadow: 0 4px 20px rgba(9, 8, 48, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-link img {
    height: auto;
    width: 200px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    cursor: pointer;
    border: none;
}

.btn-header {
    background: var(--accent-blue);
    ;
    color: var(--white);
    font-size: 14px;
    padding: 11px 20px;
}

.btn-header:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-1px);
}

/* HERO */
.hero {
    background: var(--gray-50);
    padding: 64px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.eyebrow svg {
    color: var(--gold);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: var(--navy);
}

.hero-title span {
    color: var(--accent-blue);
}

.price-badge {
    display: inline-block;
    background: var(--white);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 24px;
}

.price-amount {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
}

.price-asterisk {
    color: var(--gold);
}

.price-note {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--gray-600);
}

.hero-paragraph {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0 0 24px;
    max-width: 480px;
}

.hero-checklist {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--navy);
    max-width: 460px;
}

.check-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.btn-cta {
    background: var(--accent-blue);
    color: var(--white);
    font-size: 16px;
    padding: 16px 28px;
    box-shadow: 0 10px 24px rgba(9, 8, 48, 0.18);
}

.btn-cta:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(9, 8, 48, 0.24);
}

.btn-header svg,
.btn-cta svg {
    color: var(--white);
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 24px 40px;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(9, 8, 48, 0.12);
    font-size: 13.5px;
    color: var(--navy);
    max-width: 190px;
    z-index: 2;
}

.float-card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.float-card-text strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
}

.float-card-text span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
}

.float-card--trust .float-card-text span {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

/* uso del azul acento en el ícono de países, para variedad y cohesión */
.float-card--countries svg path,
.float-card--countries svg circle {
    stroke: var(--accent-blue);
}

.float-card--stats {
    top: 4px;
    left: -12px;
}

.float-card--countries {
    top: 130px;
    right: -20px;
}

.float-card--trust {
    bottom: 8px;
    left: 8px;
}

/* scroll-reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        max-width: 320px;
        margin: 0 auto 12px;
        padding: 16px;
    }

    .float-card--stats,
    .float-card--countries {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-inner {
        height: 64px;
    }

    .btn-header span {
        display: none;
    }

    .btn-header {
        padding: 10px;
    }

    .hero {
        padding: 40px 0 56px;
    }

    .hero-visual {
        display: none;
    }

    .br-desktop {
        display: none;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* DIVISOR CURVO */
.curve-divider {
    position: relative;
    margin-top: -2px;
    line-height: 0;
    background: var(--gray-50);
}

.curve-divider svg {
    display: block;
    width: 100%;
    height: 110px;
}

.curve-divider path {
    fill: var(--white);
}

/* SECCIÓN: EL COSTO DE HACERLO MAL */
.cost-section {
    background: var(--white);
    padding: 6rem 0;
}

.cost-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
}

.cost-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(34px, 4.2vw, 46px);
    line-height: 1.22;
    letter-spacing: -0.01em;
    margin: 0 0 32px;
}

.cost-title-dark {
    color: var(--navy);
}

.cost-title-accent {
    color: var(--accent-blue);
}

.cost-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    margin-bottom: 2rem;
}

.cost-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--navy);
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-border);
}

.cost-list li:first-child {
    padding-top: 0;
}

.cost-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.x-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.link-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--accent-blue);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 4px;
    transition: gap .2s ease, color .2s ease, border-color .2s ease;
}

.link-cta svg {
    transition: transform .2s ease;
}

.link-cta:hover {
    gap: 12px;
    color: var(--accent-blue-dark);
    border-color: var(--accent-blue-dark);
}

.link-cta:hover svg {
    transform: translateX(3px);
}

/* TARJETA "7/10" — versión corporativa */
.cost-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.cost-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 73, 198, 0.06) 0%, rgba(16, 73, 198, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.stat-card {
    position: relative;
    z-index: 1;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 24px 50px rgba(9, 8, 48, 0.08);
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.stat-fraction {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
}

.stat-num {
    font-size: 80px;
    color: var(--navy);
    line-height: 1;
}

.stat-slash {
    font-size: 38px;
    color: var(--gray-border);
    margin: 0 4px;
}

.stat-den {
    font-size: 38px;
    color: var(--gray-600);
}

.stat-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 20px 0 24px;
}

.stat-divider {
    height: 1px;
    background: var(--gray-border);
    margin-bottom: 16px;
}

.stat-source {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-caption);
    margin: 0;
}

@media (max-width: 1024px) {
    .cost-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cost-visual {
        order: -1;
    }

    .cost-visual::before {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 640px) {
    .cost-section {
        padding: 12px 0 64px;
    }

    .curve-divider svg {
        height: 60px;
    }

    .cost-visual::before {
        width: 220px;
        height: 220px;
    }

    .stat-card {
        padding: 36px 28px;
    }

    .stat-num {
        font-size: 60px;
    }

    .stat-slash,
    .stat-den {
        font-size: 30px;
    }
}


.proceso {
    background: var(--off-white);
    padding: var(--section-pad);
    position: relative;
    border-top: 1px solid rgba(9, 8, 48, 0.05);
    border-bottom: 1px solid rgba(9, 8, 48, 0.05);
}

.proceso__header {
    text-align: center;
    width: 100%;
    margin: 0 auto 64px auto;
}

.proceso__headline {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.proceso__headline span {
    color: var(--accent-blue);
}

.proceso__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 56px;
}

.step-card {
    flex: 1;
    min-width: 240px;
    background: var(--white);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 8px 24px rgba(9, 8, 48, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s;
    border: 1px solid rgba(9, 8, 48, 0.05);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px rgba(9, 8, 48, 0.08);
}

.step-icon {
    background: rgba(21, 89, 237, 0.08);
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}




.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-body);
    font-weight: 400;
}

.step-desc strong {
    font-weight: 600;
    color: var(--navy);
}

/* Bonus card */
.bonus-wrapper {
    max-width: 100%;
    margin: 0 auto 48px auto;
}

.bonus-card {
    background: linear-gradient(135deg, var(--white) 0%, #ffffff 100%);
    border-radius: 28px;
    border-left: 6px solid var(--accent);
    padding: 42px 36px;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: 0 12px 24px rgba(9, 8, 48, 0.06);
}

.bonus-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bonus-icon {
    background: rgba(21, 89, 237, 0.12);
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.bonus-icon svg {
    width: 28px;
    height: 28px;
}

.bonus-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.bonus-text p {
    font-size: 15px;
    color: var(--text-body);
    margin: 0;
}

/* FIX: quitar el subrayado del botón (es un <a>) */
.cta-gratis {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(21, 89, 237, 0.3);
}

.cta-gratis:hover {
    background: #1248c5;
    transform: translateY(-2px);
}

/* Responsive proceso */
@media (max-width: 860px) {
    .bonus-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .bonus-content {
        justify-content: center;
    }

    .cta-gratis {
        justify-content: center;
    }

    .step-card {
        min-width: 100%;
    }
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.12s;
}

.reveal-delay-2 {
    transition-delay: 0.24s;
}

.reveal-delay-3 {
    transition-delay: 0.36s;
}


.row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.step-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 36px;
    color: var(--gray-border);
    line-height: 1;
}

/*  4: PORTAFOLIO (fondo oscuro elegante) â */
.portafolio {
  position: relative;
  background-image: url('../img/bg-portafolio.webp');
  background-size: cover;
  background-position: center;
  padding: var(--section-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.portafolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(9,8,48,0.94) 0%, rgba(16,73,198,0.75) 100%);
  z-index: 0;
}

.portafolio > .container {
  position: relative;
  z-index: 1;
}
.portafolio__header {
    text-align: center;
    margin-bottom: 64px;
}

.portafolio__headline {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-top: 20px;
}

.portafolio__headline em {
    font-style: italic;
    font-weight: 600;
    color: #b9c8ff;
}

/* tag dorado/acadÃ©mico */
.tag--gold {
    color: var(--ice);
    border-color: rgba(34, 132, 230, 0.35);
    background: rgba(34, 129, 230, 0.08);
}

.tag--gold::before {
    background: var(--ice);
}

/* Stats grid */
.portafolio__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    margin-bottom: 80px;
}

.stat-block {
    text-align: center;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(2px);
    padding: 32px 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease;
}

.stat-block:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 155, 230, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.stat-block__number {
    font-size: clamp(44px, 7vw, 68px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ice);
    line-height: 1.1;
    margin-bottom: 12px;
}

.stat-block__unit {
    font-size: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.stat-block__label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
}

/* Mapa tipogrÃ¡fico */
.portafolio__mapa {
    text-align: center;
    margin-bottom: 48px;
    background: rgba(255, 255, 255, 0.02);
    padding: 36px 24px;
    border-radius: 56px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mapa__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.mapa__grid span {
    font-size: 1.1rem;
}

.mapa__grid span:nth-child(even) {
    color: var(--ice);
    font-size: 1.2rem;
    opacity: 0.7;
}

.mapa__caption {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.portafolio__footer-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(34, 168, 230, 0.4), transparent);
    width: 80%;
    margin: 20px auto 0;
}

@media (max-width: 700px) {
    .portafolio__stats {
        gap: 24px;
    }

    .stat-block {
        min-width: 140px;
        padding: 24px 16px;
    }

    .mapa__grid {
        gap: 8px 14px;
    }
}

/* â”€â”€ SECCIÃ“N 5: TESTIMONIOS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.testimonios {
    background: var(--off-white);
    padding: var(--section-pad);
    position: relative;
    border-top: 1px solid rgba(9, 8, 48, 0.05);
}

.testimonios__header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonios__headline {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-top: 20px;
}

.testimonios__headline em {
    font-style: italic;
    font-weight: 600;
    color: var(--accent);
}

/* Tag versiÃ³n ice (coherente con paleta) */
.tag--ice {
    color: var(--accent);
    border-color: rgba(21, 89, 237, 0.30);
    background: rgba(21, 89, 237, 0.06);
}

/* Grid de testimonios */
.testimonios__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.testimonio-card {
    background: var(--white);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 16px rgba(9, 8, 48, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s;
    border: 1px solid rgba(9, 8, 48, 0.05);
}

.testimonio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(9, 8, 48, 0.08);
}

.testimonio__avatar {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    background: rgba(21, 89, 237, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.testimonio__avatar img {
    border-radius: 50%;
}



.testimonio__content {
    flex: 1;
}

.testimonio-card {
    position: relative;
    overflow: hidden;
}

.testimonio-card::before {
    content: "\201C";
    position: absolute;
    top: 4px;
    right: 20px;
    font-family: Georgia, serif;
    font-size: 76px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.08;
    pointer-events: none;
}

.testimonio__quote,
.testimonio__quote p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
    font-style: italic;
}



.testimonio__author {
    display: flex;
    flex-direction: column;
}

.testimonio__author strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonio__author span {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* CTA final */
.testimonios__cta-wrapper {
    text-align: center;
}

.testimonios__cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 14px 32px;
    border-radius: 40px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(21, 89, 237, 0.3);
}

.testimonios__cta:hover {
    background: #1248c5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 89, 237, 0.4);
}

/* Responsive */
@media (max-width: 860px) {
    .testimonios__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonio-card {
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .testimonio-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonio__quote::before {
        display: inline;
    }
}

.testimonio__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* SECCIÓN: QUIÉNES SOMOS */
.about-section {
  position: relative;
  background-image: url('../img/bg-about-us.webp');
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  padding-bottom: 140px;
  overflow: hidden;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(9,8,48,0.93) 0%, rgba(16,73,198,0.82) 100%);
  z-index: 0;
}

/* kicker grande, sin caja, centrado */
.about-kicker {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  color: #b9c8ff;
  margin-bottom: 5rem;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.about-text-col { max-width: 520px; }

.about-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 20px;
}

.about-text {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin: 0;
}

.about-stats-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* cada cifra es su propia tarjeta de vidrio */
.about-stat-card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 20px 24px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.about-stat-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
}

.about-stat__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}
.about-stat__label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: right;
}

.about-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  background: var(--white);
  color: var(--navy);
  padding: 16px 24px;
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 6px;
}
.about-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(0,0,0,0.3);
}
.about-cta__main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.about-cta__sub {
  font-size: 12px;
  color: var(--gray-600);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text-col { max-width: 100%; }
  .about-stats-col { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .about-section { padding: 80px 0; }
  .about-kicker { font-size: 15px; margin-bottom: 32px; }
  .about-stat-card { padding: 16px 20px; }
  .about-stat__number { font-size: 22px; }
}


/* SECCIÓN: PREGUNTAS FRECUENTES */
.faq {
  background: var(--white);
  padding: var(--section-pad);
}

.faq__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.tag--blue {
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  border-color: rgba(16,73,198,0.25);
}

.faq__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 42px);
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 4px 0 12px;
}
.faq__headline em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent-blue);
}

.faq__subhead {
  font-size: 16px;
  color: var(--gray-600);
  margin: 0;
}

.faq__grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-border);
  border-radius: 16px;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.faq-item.is-open {
  background: var(--white);
  border-color: var(--accent-blue);
  box-shadow: 0 12px 28px rgba(16,73,198,0.1);
}

.faq-question-heading { margin: 0; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  cursor: pointer;
}
.faq-question:hover { color: var(--accent-blue); }

.faq-icon {
  flex-shrink: 0;
  color: var(--accent-blue);
  transition: transform .25s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray-600);
}

@media (max-width: 640px) {
  .faq { padding: 64px 0; }
  .faq-question { padding: 16px 18px; font-size: 14.5px; }
  .faq-answer-inner p { padding: 0 18px 18px; }
}


/* SECCIÓN: CTA FINAL + FORMULARIO */
.cta-final {
  position: relative;
  background-image: url('../img/bg-cta-final.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* efecto parallax */
  padding: 130px 0;
  overflow: hidden;
}
.cta-final-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(9,8,48,0.94) 0%, rgba(16,73,198,0.72) 100%);
  z-index: 0;
}

.cta-final__wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta-final__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.cta-final__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 20px;
}
.cta-final__headline em { font-style: italic; color: var(--ice, #b9c8ff); font-weight: 700; }

.cta-final__subtext {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
  max-width: 440px;
}
.cta-final__subtext strong { color: var(--white); }

.cta-final__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 15px; }
.benefit-item svg { color: var(--accent-blue); flex-shrink: 0; }

/* FORMULARIO */
.cta-final__form-wrapper {
  background: var(--white);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row .form-group { margin-bottom: 0; }

.form-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}

.form-group input,
.form-group select {
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy);
  background: var(--gray-50);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-group input::placeholder { color: var(--gray-caption); }
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-blue-light);
  background: var(--white);
}

fieldset.form-schedule { border: none; margin: 0 0 24px; padding: 0; }
.form-schedule legend { padding: 0; margin-bottom: 4px; }
.form-schedule__note { font-size: 12.5px; color: var(--gray-600); margin: 0 0 14px; }

.cta-final__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  border: none;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.cta-final__btn:hover { background: var(--accent-blue-dark); transform: translateY(-2px); }

.form-success, .form-error { text-align: center; padding: 24px 0; }
.form-success .success-icon,
.form-error .error-icon { font-size: 40px; margin-bottom: 12px; }
.form-success h3, .form-error h3 { font-family: var(--font-display); color: var(--navy); margin: 0 0 8px; }
.form-success p, .form-error p { color: var(--gray-600); margin: 0 0 12px; }
.retry-btn {
  background: var(--navy); color: var(--white); border: none;
  border-radius: 10px; padding: 10px 20px; font-weight: 600; cursor: pointer;
}

/* RESPONSIVE + fallback de parallax en mobile (background-attachment:fixed
   no funciona bien en iOS y puede afectar el rendimiento del scroll) */
@media (max-width: 1024px) {
  .cta-final { background-attachment: scroll; }
  .cta-final__wrapper { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .cta-final { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .cta-final__form-wrapper { padding: 28px 24px; border-radius: 20px; }
}

.about-section,
.portafolio {
  background-attachment: fixed;
}
@media (max-width: 1024px) {
  .about-section,
  .portafolio {
    background-attachment: scroll;
  }
}

.wpp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wpp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(0,0,0,0.3); }

.wpp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.wpp-fab:hover .wpp-tooltip { opacity: 1; }

@media (max-width: 640px) {
  .wpp-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wpp-tooltip { display: none; }
}


/* FOOTER */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo img { margin-bottom: 16px; width: 200px; height: auto;}
.footer__description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 280px;
  margin: 0;
}

.footer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}
.footer__subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  margin: 0 0 6px;
}

.footer__contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer__contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-600); }
.footer__contact-list svg { color: var(--accent-blue); flex-shrink: 0; margin-top: 2px; }
.footer__contact-list a { color: var(--gray-600); text-decoration: none; }
.footer__contact-list a:hover { color: var(--accent-blue); }
.footer__address { font-style: normal; }

.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__links a { color: var(--gray-600); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.footer__links a:hover { color: var(--accent-blue); }

.footer__social { display: flex; gap: 12px; margin-bottom: 28px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.social-link:hover { background: var(--accent-blue); border-color: var(--accent-blue); color: var(--white); }

.footer__hours p { font-size: 13.5px; color: var(--gray-600); margin: 0; }

.footer__divider { height: 1px; background: var(--gray-border); margin-bottom: 24px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__bottom p { font-size: 13px; color: var(--gray-caption); margin: 0; }
.footer__legal { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-caption); }
.footer__legal a { color: var(--gray-caption); text-decoration: none; }
.footer__legal a:hover { color: var(--accent-blue); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .footer { padding: 56px 0 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .cost-title br{
    display: none;
  }

  .stat-block{
    min-width: 100%;
  }

  .about-kicker{
    font-size: 2rem;
  }

  .about-title{
    font-size: 20px;
  }
}