/* ================================================================
   CONSULTORÍA INTEGRAL PARA EL RETIRO — CIR
   style.css — Hoja de estilos principal
   ================================================================ */

/* ----------------------------------------------------------------
   1. CUSTOM PROPERTIES (variables CSS)
---------------------------------------------------------------- */
:root {
    /* Colores de marca */
    --blue:        #0d387b;
    --blue-dark:   #092d63;
    --blue-light:  #1a50a8;
    --blue-pale:   #e8eef8;
    --pink:        #f04896;
    --pink-dark:   #d03a80;
    --pink-light:  #fce8f3;
    --white:       #ffffff;

    /* Escala de grises */
    --gray-50:     #f8f9fc;
    --gray-100:    #f0f2f8;
    --gray-200:    #e2e6ef;
    --gray-300:    #cbd2e0;
    --gray-400:    #9aa5b8;
    --gray-500:    #6b7a95;
    --gray-600:    #4a5568;
    --gray-700:    #374151;
    --gray-800:    #2d3748;
    --gray-900:    #1a202c;

    /* Tipografía */
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radios */
    --r-sm:   8px;
    --r-md:   16px;
    --r-lg:   24px;
    --r-xl:   32px;
    --r-full: 9999px;

    /* Sombras */
    --shadow-xs:  0 1px 4px  rgba(13, 56, 123, .06);
    --shadow-sm:  0 2px 10px rgba(13, 56, 123, .08);
    --shadow-md:  0 8px 24px rgba(13, 56, 123, .12);
    --shadow-lg:  0 16px 48px rgba(13, 56, 123, .16);
    --shadow-xl:  0 24px 64px rgba(13, 56, 123, .20);

    /* Transición global */
    --t: .3s cubic-bezier(.4, 0, .2, 1);

    /* Altura del header */
    --header-h: 80px;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* ----------------------------------------------------------------
   3. CONTAINER
---------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ----------------------------------------------------------------
   4. BUTTONS
---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: .92rem;
    line-height: 1;
    transition: all var(--t);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    letter-spacing: .01em;
}
.btn--primary {
    background: var(--pink);
    color: var(--white);
    border-color: var(--pink);
}
.btn--primary:hover {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(240, 72, 150, .38);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .55);
}
.btn--outline:hover {
    background: rgba(255, 255, 255, .14);
    border-color: var(--white);
}
.btn--lg  { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   5. TYPOGRAPHY HELPERS
---------------------------------------------------------------- */
.text-pink  { color: var(--pink); }
.text-blue  { color: var(--blue); }
.required   { color: var(--pink); }

/* ----------------------------------------------------------------
   6. SECTION BASE
---------------------------------------------------------------- */
.section { padding: 100px 0; }

.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 68px;
}
.section__tag {
    display: inline-block;
    background: var(--pink-light);
    color: var(--pink);
    padding: 6px 18px;
    border-radius: var(--r-full);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section__tag--light {
    background: rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .9);
}
.section__title {
    font-size: clamp(1.85rem, 3.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--gray-900);
    margin-bottom: 18px;
}
.section__title--light { color: var(--white); }
.section__subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ----------------------------------------------------------------
   7. HEADER
---------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--t), box-shadow var(--t);
    background: transparent;
}
.header.scrolled {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-md);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}
.header__logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--t);
}
.header__logo-img:hover { opacity: .85; }

/* Nav */
.nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav__link {
    padding: 8px 13px;
    border-radius: var(--r-sm);
    font-size: .88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    transition: all var(--t);
    position: relative;
}
.header.scrolled .nav__link { color: var(--gray-700); }
.nav__link:hover,
.nav__link.active { color: var(--pink); }
.nav__link:hover { background: rgba(240, 72, 150, .07); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 2100;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--t);
}
.header.scrolled .hamburger span { background: var(--gray-800); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .52);
    z-index: 1500;
    backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* ----------------------------------------------------------------
   8. HERO
---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, #1a5cbf 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: var(--header-h);
}

/* Formas geométricas de fondo */
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__shape     { position: absolute; border-radius: 50%; }
.hero__shape--1  {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(240, 72, 150, .18) 0%, transparent 68%);
    top: -220px; right: -120px;
    animation: float1 8s ease-in-out infinite;
}
.hero__shape--2  {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 70%);
    bottom: 80px; left: -120px;
    animation: float2 10s ease-in-out infinite;
}
.hero__shape--3  {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(240, 72, 150, .12) 0%, transparent 70%);
    top: 45%; left: 38%;
}
.hero__shape--4  {
    width: 120px; height: 120px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-lg);
    top: 25%; right: 12%;
    transform: rotate(25deg);
    animation: float2 6s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-24px) scale(1.03); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(18px); }
}

/* Contenido del Hero */
.hero__content {
    flex: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 64px;
    padding: 80px 0 48px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: var(--white);
    padding: 8px 18px;
    border-radius: var(--r-full);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 26px;
    backdrop-filter: blur(8px);
    letter-spacing: .03em;
}
.hero__badge-dot {
    width: 8px; height: 8px;
    background: var(--pink);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240, 72, 150, .5); }
    50%       { box-shadow: 0 0 0 5px rgba(240, 72, 150, 0); }
}
.hero__title {
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 26px;
}
.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .80);
    line-height: 1.78;
    margin-bottom: 38px;
    max-width: 510px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .65);
}
.hero__trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero__trust i { color: var(--pink); font-size: .75rem; }

/* Hero visual */
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__card-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
}
.hero__card {
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--r-xl);
    padding: 44px 36px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: visible;
}
.hero__card-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 28px;
    filter: brightness(0) invert(1);
    opacity: .9;
}
.hero__card-body { color: var(--white); }
.hero__card-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(240, 72, 150, .45);
}
.hero__card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}
.hero__card-body p {
    font-size: .88rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
}

/* Tarjetas flotantes */
.hero__float {
    position: absolute;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-800);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}
.hero__float i { font-size: 1rem; }
.hero__float--1 {
    bottom: -20px;
    left: -24px;
    color: var(--blue);
}
.hero__float--1 i { color: #22c55e; }
.hero__float--2 {
    top: -16px;
    right: -24px;
}
.hero__float--2 i { color: #f59e0b; }

/* Hero stats band */
.hero__stats-band {
    background: rgba(0, 0, 0, .22);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding: 36px 0;
    margin-top: auto;
}
.stats-ribbon {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.stat-item { text-align: center; }
.stat-num-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.stat-num {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.stat-suffix {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pink);
}
.stat-label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .65);
    margin-top: 5px;
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, .15);
}

/* ----------------------------------------------------------------
   9. ABOUT
---------------------------------------------------------------- */
.about { background: var(--white); }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.about__illustration-wrap { position: relative; }
.about__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--r-md);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}
.about__img-wrap {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    line-height: 0;
}
.about__photo {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: var(--r-xl);
    transition: transform .5s ease;
}
.about__img-wrap:hover .about__photo {
    transform: scale(1.03);
}
.about__stat-card {
    position: absolute;
    bottom: -16px;
    right: -20px;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--r-md);
    padding: 16px 22px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about__stat-card strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
}
.about__stat-card span {
    font-size: .78rem;
    opacity: .8;
    line-height: 1.4;
}

.about__content .section__tag  { margin-bottom: 14px; }
.about__content .section__title { text-align: left; margin-bottom: 22px; }
.about__text {
    color: var(--gray-600);
    line-height: 1.82;
    margin-bottom: 16px;
    font-size: .97rem;
}
.about__values {
    margin: 24px 0 34px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.about__values li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .93rem;
    color: var(--gray-700);
}
.about__values li i { color: var(--pink); font-size: .85rem; flex-shrink: 0; }

/* ----------------------------------------------------------------
   10. SERVICES
---------------------------------------------------------------- */
.services { background: var(--gray-50); }
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 36px 28px 30px;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--gray-100);
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
    width: 58px; height: 58px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 1.45rem;
    transition: transform var(--t);
}
.service-card:hover .service-card__icon { transform: scale(1.1); }
.icon--blue { background: rgba(13,  56, 123, .10); color: var(--blue); }
.icon--pink { background: rgba(240, 72, 150, .10); color: var(--pink); }

.service-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.service-card__desc {
    font-size: .88rem;
    color: var(--gray-500);
    line-height: 1.72;
    margin-bottom: 22px;
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pink);
    font-weight: 700;
    font-size: .85rem;
    transition: gap var(--t);
}
.service-card__link:hover { gap: 11px; }
.service-card__link i { font-size: .75rem; }

/* ----------------------------------------------------------------
   11. PROCESS
---------------------------------------------------------------- */
.process { background: var(--white); }
.process__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.process-step {
    flex: 1;
    min-width: 150px;
    max-width: 196px;
    text-align: center;
    padding: 0 12px;
}
.process-step__number {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: -10px;
}
.process-step__icon {
    width: 76px; height: 76px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.65rem;
    color: var(--white);
    box-shadow: 0 10px 28px rgba(13, 56, 123, .28);
    position: relative;
    z-index: 1;
    transition: transform var(--t), box-shadow var(--t);
}
.process-step:hover .process-step__icon {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 18px 36px rgba(13, 56, 123, .34);
}
.process-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.process-step__desc {
    font-size: .82rem;
    color: var(--gray-500);
    line-height: 1.65;
}
.process-step__connector {
    flex: 0 0 auto;
    height: 2px;
    width: 48px;
    background: linear-gradient(90deg, var(--blue-pale), var(--pink-light));
    margin-top: 96px;
    border-radius: 2px;
}

/* ----------------------------------------------------------------
   12. BENEFITS
---------------------------------------------------------------- */
.benefits {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #0e4da0 100%);
    position: relative;
    overflow: hidden;
}
.benefits__bg-shape {
    position: absolute;
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(240, 72, 150, .13) 0%, transparent 70%);
    top: -120px; right: -120px;
    pointer-events: none;
    border-radius: 50%;
}
.benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 52px;
}
.benefits__content .section__tag  { margin-bottom: 14px; }
.benefits__content .section__title { text-align: center; margin-bottom: 10px; }
.benefits__content .section__title { text-align: center; }
.benefits__list {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.benefit-item__icon {
    width: 46px; height: 46px;
    background: rgba(255, 255, 255, .10);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center; justify-content: center;
    color: var(--pink);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background var(--t);
}
.benefit-item:hover .benefit-item__icon { background: rgba(240, 72, 150, .2); }
.benefit-item h4 {
    font-size: .92rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}
.benefit-item p {
    font-size: .81rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.6;
}
.benefits__visual {
    display: flex;
    justify-content: center;
}
.benefits__illustration {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    width: 100%;
    line-height: 0;
}
.benefits__photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--r-xl);
    transition: transform .55s ease;
}
.benefits__illustration:hover .benefits__photo {
    transform: scale(1.02);
}

/* ----------------------------------------------------------------
   13. TESTIMONIALS
---------------------------------------------------------------- */
.testimonials { background: var(--gray-50); }
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--t);
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.testimonial-card__quote {
    color: var(--blue-pale);
    font-size: 2rem;
    margin-bottom: 12px;
}
.testimonial-card__stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: .9rem;
}
.testimonial-card__text {
    font-size: .92rem;
    color: var(--gray-600);
    line-height: 1.78;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}
.testimonial-card__avatar {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
    letter-spacing: .05em;
}
.testimonial-card__author strong {
    display: block;
    font-size: .9rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}
.testimonial-card__author span { font-size: .78rem; color: var(--gray-400); }

/* ----------------------------------------------------------------
   14. FAQ
---------------------------------------------------------------- */
.faq { background: var(--white); }
.faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.open {
    border-color: var(--blue-pale);
    box-shadow: var(--shadow-md);
}
.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    cursor: pointer;
    transition: background var(--t);
    gap: 16px;
    background: transparent;
}
.faq-item__question:hover { background: var(--gray-50); }
.faq-item.open .faq-item__question {
    background: var(--gray-50);
    color: var(--blue);
}
.faq-item__question i {
    flex-shrink: 0;
    transition: transform .35s ease, color var(--t);
    color: var(--gray-400);
    font-size: .8rem;
}
.faq-item.open .faq-item__question i {
    transform: rotate(180deg);
    color: var(--pink);
}
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.faq-item.open .faq-item__answer { max-height: 400px; }
.faq-item__answer p {
    padding: 4px 24px 22px;
    color: var(--gray-600);
    line-height: 1.78;
    font-size: .92rem;
}
.faq-item__answer strong { color: var(--gray-800); }

/* ----------------------------------------------------------------
   15. CONTACT
---------------------------------------------------------------- */
.contact {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #0f4da0 100%);
    position: relative;
    overflow: hidden;
}
.contact__bg-shape {
    position: absolute;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(240, 72, 150, .14) 0%, transparent 70%);
    bottom: -100px; left: -80px;
    pointer-events: none;
    border-radius: 50%;
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}
.contact__info .section__tag  { margin-bottom: 14px; }
.contact__info .section__title { text-align: left; }
.contact__text {
    color: rgba(255, 255, 255, .78);
    font-size: .97rem;
    line-height: 1.78;
    margin: 22px 0 34px;
}
.contact__details {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 34px;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-detail__icon {
    width: 46px; height: 46px;
    background: rgba(255, 255, 255, .10);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center; justify-content: center;
    color: var(--pink);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-detail strong {
    display: block;
    font-size: .8rem;
    color: rgba(255, 255, 255, .55);
    font-weight: 500;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.contact-detail p { color: var(--white); font-size: .93rem; }
.contact__social { display: flex; gap: 12px; }
.contact__social a {
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, .10);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    color: rgba(255, 255, 255, .80);
    font-size: .9rem;
    transition: all var(--t);
}
.contact__social a:hover {
    background: var(--pink);
    color: var(--white);
    transform: translateY(-3px);
}

/* Formulario */
.contact__form-wrap {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow-xl);
}

/* Alertas */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    margin-bottom: 24px;
    font-size: .88rem;
}
.form-alert i { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.form-alert strong { display: block; font-weight: 700; margin-bottom: 4px; font-size: .9rem; }
.form-alert p, .form-alert li { line-height: 1.55; color: inherit; }
.form-alert ul { padding-left: 2px; display: flex; flex-direction: column; gap: 3px; }

.form-alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.form-alert--success i { color: #22c55e; }
.form-alert--error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.form-alert--error   i { color: #ef4444; }
.form-alert--warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.form-alert--warning i { color: #f59e0b; }

/* Campos del formulario */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group   { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--gray-700);
    letter-spacing: .01em;
}
.form-group input,
.form-group select,
.form-group textarea {
    font-size: .93rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-sm);
    padding: 12px 15px;
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
    outline: none;
    width: 100%;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 56, 123, .09);
}
.form-group input.valid   { border-color: #22c55e; }
.form-group input.invalid { border-color: #ef4444; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a95' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
}
.form-group--checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--blue);
    cursor: pointer;
    background: var(--white);
}
.form-group--checkbox label {
    font-size: .82rem;
    font-weight: 400;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1.5;
}
.link-inline { color: var(--pink); font-weight: 600; }
.link-inline:hover { text-decoration: underline; }

/* ----------------------------------------------------------------
   16. FOOTER
---------------------------------------------------------------- */
.footer { background: var(--gray-900); }
.footer__top { padding: 84px 0 52px; }
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 48px;
}
.footer__logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .85;
    margin-bottom: 22px;
}
.footer__brand p {
    font-size: .87rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.72;
    margin-bottom: 26px;
    max-width: 275px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, .07);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    color: rgba(255, 255, 255, .60);
    font-size: .85rem;
    transition: all var(--t);
}
.footer__social a:hover { background: var(--pink); color: var(--white); transform: translateY(-2px); }

.footer__links h4,
.footer__contact h4 {
    font-size: .74rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
    letter-spacing: .09em;
    text-transform: uppercase;
    opacity: .9;
}
.footer__links ul { display: flex; flex-direction: column; gap: 11px; }
.footer__links a {
    font-size: .87rem;
    color: rgba(255, 255, 255, .55);
    transition: color var(--t);
}
.footer__links a:hover { color: var(--pink); }
.footer__contact ul { display: flex; flex-direction: column; gap: 13px; }
.footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .87rem;
    color: rgba(255, 255, 255, .55);
}
.footer__contact li i { color: var(--pink); font-size: .82rem; width: 16px; flex-shrink: 0; }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 22px 0;
}
.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__bottom p { font-size: .8rem; color: rgba(255, 255, 255, .38); }
.footer__legal  { display: flex; gap: 22px; }
.footer__legal a {
    font-size: .8rem;
    color: rgba(255, 255, 255, .38);
    transition: color var(--t);
}
.footer__legal a:hover { color: var(--pink); }

/* ----------------------------------------------------------------
   17. BACK TO TOP
---------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 88px; right: 28px;
    width: 48px; height: 48px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: .9rem;
    box-shadow: var(--shadow-md);
    transition: all var(--t);
    opacity: 0;
    pointer-events: none;
    z-index: 900;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--pink); transform: translateY(-3px); }

/* ----------------------------------------------------------------
   18. WHATSAPP FLOAT BUTTON
---------------------------------------------------------------- */
.wa-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 18px rgba(37, 211, 102, .50);
    z-index: 900;
    transition: all var(--t);
    animation: pulse-wa 2.8s ease-in-out infinite;
}
.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37, 211, 102, .60);
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 18px rgba(37, 211, 102, .50); }
    50%       { box-shadow: 0 4px 36px rgba(37, 211, 102, .70), 0 0 0 10px rgba(37, 211, 102, .08); }
}

/* ----------------------------------------------------------------
   19. SCROLL ANIMATIONS
---------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.4, 0, .2, 1),
                transform .65s cubic-bezier(.4, 0, .2, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------------
   20. MOBILE MENU (responsive override)
---------------------------------------------------------------- */
@media (max-width: 920px) {
    .header__nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 86vw);
        height: 100vh;
        background: var(--blue-dark);
        display: flex;
        align-items: center; justify-content: center;
        transition: right .4s cubic-bezier(.4, 0, .2, 1);
        z-index: 2000;
        box-shadow: var(--shadow-xl);
    }
    .header__nav.open { right: 0; }
    .nav__list { flex-direction: column; gap: 6px; padding: 40px 0; }
    .nav__link { font-size: 1.1rem; padding: 13px 32px; color: rgba(255,255,255,.88) !important; border-radius: var(--r-md); }
    .nav__link:hover { background: rgba(255,255,255,.08); }
    .nav__link.active { color: var(--pink) !important; }
    .hamburger { display: flex; }
    .header__cta { display: none; }
}

/* ----------------------------------------------------------------
   21. RESPONSIVE — BREAKPOINTS
---------------------------------------------------------------- */
@media (max-width: 1100px) {
    .services__grid    { grid-template-columns: repeat(2, 1fr); }
    .footer__grid      { grid-template-columns: 1fr 1fr; gap: 36px; }
    .contact__grid     { gap: 52px; }
    .benefits__grid    { gap: 52px; }
}

@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .section { padding: 72px 0; }
    .container { padding: 0 20px; }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 52px 0 32px;
        text-align: center;
    }
    .hero__subtitle { margin: 0 auto 36px; }
    .hero__actions  { justify-content: center; }
    .hero__trust    { justify-content: center; }
    .hero__card-wrap { max-width: 360px; margin: 0 auto; }
    .hero__float--1 { left: -8px; }
    .hero__float--2 { right: -8px; }

    .about__grid    { grid-template-columns: 1fr; gap: 48px; }
    .about__stat-card { bottom: -12px; right: 8px; }

    .benefits__grid { grid-template-columns: 1fr; gap: 52px; }
    .benefits__list { grid-template-columns: repeat(2, 1fr); }
    .benefits__content .section__title { text-align: center; }
    .benefits__content .section__tag   { display: flex; justify-content: center; }

    .contact__grid  { grid-template-columns: 1fr; gap: 48px; }

    .testimonials__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

    .process__steps { flex-wrap: wrap; justify-content: center; gap: 32px; }
    .process-step   { max-width: 240px; }
    .process-step__connector { display: none; }

    .stats-ribbon { gap: 28px; }
    .stat-divider { display: none; }
}

@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .section__header { margin-bottom: 44px; }
    .hero__title { font-size: 2.1rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__badge { font-size: .75rem; }
    .services__grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact__form-wrap { padding: 28px 20px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom .container { flex-direction: column; text-align: center; gap: 8px; }
    .about__badge { font-size: .78rem; }
    .benefits__list { grid-template-columns: 1fr; gap: 20px; }
    .hero__float { display: none; }
    .back-to-top { bottom: 92px; right: 20px; width: 42px; height: 42px; }
    .wa-float    { bottom: 24px; right: 20px; width: 50px; height: 50px; }
}
