/* ==========================================================================
   Caro Luna Insurance Group
   ========================================================================== */

:root {
    --blue: #0f5fa8;
    --blue-600: #0b4f8f;
    --blue-bright: #2981e9;
    --navy: #0d2340;
    --navy-2: #13325a;
    --green: #3fa34d;
    --green-light: #61ce70;
    --mint: #e3fbe6;
    --ink: #1c2b3f;
    --text: #5a6474;
    --bg-soft: #f4f8fc;
    --white: #ffffff;
    --border: #e3e9f1;
    --gradient: linear-gradient(120deg, var(--blue-bright) 0%, var(--green-light) 100%);
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 18px 45px -18px rgba(13, 35, 64, .28);
    --shadow-sm: 0 6px 20px -8px rgba(13, 35, 64, .2);
    --header-h: 76px;
    --font-head: "Poppins", system-ui, sans-serif;
    --font-body: "Lato", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 999;
    background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }

/* ---------- Tipografía de secciones ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }

h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -.02em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-head); font-weight: 600; font-size: .85rem;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--green); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--green-light); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--font-head); font-weight: 600; font-size: 1rem;
    padding: .95rem 1.8rem; border-radius: 999px; border: 2px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn .icon { transition: transform .25s ease; }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 25px -10px rgba(15, 95, 168, .7); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-accent { background: var(--green-light); color: var(--navy); box-shadow: 0 10px 25px -10px rgba(97, 206, 112, .8); }
.btn-accent:hover { background: #7ddc8a; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-sm { padding: .6rem 1.3rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
    transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 4px 24px -12px rgba(13,35,64,.25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; color: #fff; transition: color .3s; }
.brand-text strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.brand-text small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.is-scrolled .brand-text { color: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.6rem; }
.main-nav ul a {
    font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: #fff;
    position: relative; padding: .3rem 0; transition: color .25s;
}
.main-nav ul a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
    background: var(--green-light); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.is-scrolled .main-nav ul a { color: var(--ink); }

.nav-toggle {
    display: none; background: none; border: 0; color: #fff; padding: .4rem;
    width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.is-scrolled .nav-toggle { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: min(100vh, 920px); min-height: clamp(640px, 100svh, 920px);
    display: flex; align-items: center; color: #fff; overflow: hidden;
    background: #1167b3;
    padding: calc(var(--header-h) + 30px) 0 60px;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url("../img/hero-desktop.png") right center / cover no-repeat;
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 70, 140, .55) 0%, rgba(10, 70, 140, 0) 55%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 600px); }
.hero-logo { width: clamp(200px, 24vw, 300px); margin-bottom: 2rem; }
.hero h1 {
    color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.2rem;
}
.hero h1 span {
    display: block;
    background: linear-gradient(90deg, #fff 0%, var(--mint) 40%, var(--green-light) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 480px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero-photo { display: none; }
@media (min-width: 901px) { .hero-logo { display: none; } }

/* ---------- Redes ---------- */
.social { display: flex; gap: .7rem; }
.social a {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
    background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25);
    transition: background-color .25s, transform .25s, color .25s;
}
.social a:hover { background: #fff; color: var(--blue); transform: translateY(-3px); }

/* ---------- Galería ---------- */
.gallery-section { background: var(--bg-soft); padding: 70px 0 0; }
.gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin-bottom: -90px; position: relative; z-index: 2;
}
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: #dbe5ef; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:nth-child(even) { transform: translateY(30px); }

/* ---------- Tu momento ---------- */
.momento { padding-top: 170px; background: var(--white); }
.momento-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.momento-logo { width: 210px; margin-bottom: 1.6rem; }
.momento-text .btn { margin-top: .8rem; }

.momento-card {
    position: relative; background: var(--navy); color: #fff; border-radius: 24px;
    padding: clamp(32px, 4vw, 48px); box-shadow: var(--shadow); overflow: hidden;
}
.momento-card::before {
    content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -110px;
    border-radius: 50%; background: var(--gradient); opacity: .35; filter: blur(10px);
}
.momento-globe { width: 70px; margin-bottom: 1rem; position: relative; }
.momento-card h3 { color: #fff; font-size: 1.5rem; position: relative; }
.check-list { display: grid; gap: 1rem; position: relative; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; font-size: 1.05rem; color: rgba(255,255,255,.92); }
.check-list .icon { color: var(--green-light); width: 1.5em; height: 1.5em; margin-top: .05em; }

/* ---------- Oportunidad ---------- */
.oportunidad { background: var(--bg-soft); }
.oportunidad-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 70px); align-items: center; }
.video-wrap { position: relative; }
.video-wrap::before {
    content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius);
    background: var(--gradient); z-index: 0;
}
.video-facade, .video-wrap iframe {
    position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 16 / 9;
    border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow);
}
.video-fallback {
    position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .5s; }
.video-facade:hover img { opacity: 1; transform: scale(1.03); }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green-light); color: var(--navy);
    box-shadow: 0 0 0 0 rgba(97, 206, 112, .6); animation: pulse 2s infinite;
}
.play-btn .icon { width: 34px; height: 34px; margin-left: 4px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(97,206,112,0); } 100% { box-shadow: 0 0 0 0 rgba(97,206,112,0); } }

/* ---------- Testimonios ---------- */
.testimonios { background: var(--white); }
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.testimonial {
    flex: 0 0 100%; display: grid; grid-template-columns: 360px 1fr; gap: clamp(30px, 5vw, 60px);
    align-items: center; padding: 10px;
}
.testimonial-photo {
    width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top;
    border-radius: 50% 50% 24px 24px; box-shadow: var(--shadow); background: var(--bg-soft);
}
.testimonial-body { position: relative; }
.quote-icon { width: 56px; height: 56px; color: var(--green-light); margin-bottom: 1rem; }
.testimonial-body p { font-family: var(--font-head); font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.6; color: var(--ink); font-weight: 500; }
.testimonial-body footer { display: flex; flex-direction: column; margin-top: 1.4rem; padding-left: 1rem; border-left: 3px solid var(--green-light); }
.testimonial-body strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--blue); }
.testimonial-body footer span { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

.slider-controls { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 2.5rem; }
.slider-btn {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); border: 1px solid var(--border); color: var(--blue); transition: all .25s;
}
.slider-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.slider-dots { display: flex; gap: .5rem; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: #c9d6e4; transition: all .3s; }
.slider-dots button[aria-current="true"] { width: 30px; background: var(--green-light); }

/* ---------- Cifras ---------- */
.stats {
    position: relative; padding: clamp(60px, 8vw, 90px) 0; color: #fff;
    background: linear-gradient(120deg, rgba(13, 35, 64, .93), rgba(15, 95, 168, .88)), url("../img/funfact-bg.jpeg") center / cover;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; color: #fff; }
.stat p { margin: .7rem 0 0; color: var(--green-light); font-family: var(--font-head); font-weight: 500; letter-spacing: .04em; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.15); }

/* ---------- Sobre mí ---------- */
.sobre-mi { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 24px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.about-photo::before {
    content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 2px solid var(--green-light); border-radius: 24px;
}
.about-badge {
    position: absolute; z-index: 2; bottom: 24px; right: -14px; background: var(--gradient); color: #fff;
    font-family: var(--font-head); font-weight: 700; padding: .8rem 1.5rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.about-text h2 span { color: var(--blue); }
.about-highlight {
    font-family: var(--font-head); font-weight: 600; color: var(--ink);
    background: var(--bg-soft); border-left: 4px solid var(--green-light); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Cómo trabajamos ---------- */
.como-trabajamos { background: var(--bg-soft); }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 70px); align-items: center; }
.steps-photo img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; }
.steps { display: grid; gap: 1.2rem; counter-reset: none; }
.step {
    display: flex; gap: 1.2rem; align-items: flex-start; background: var(--white);
    padding: 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid transparent;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.step:hover { transform: translateX(8px); border-color: var(--green-light); box-shadow: var(--shadow); }
.step-icon {
    width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px;
    background: var(--gradient); color: #fff;
}
.step-icon .icon { width: 28px; height: 28px; }
.step-num { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.step h3 { font-size: 1.2rem; margin: .2rem 0 .35rem; }
.step p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-container { max-width: 860px; }
.faq-list { display: grid; gap: 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { border-color: var(--green-light); box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.3rem 1.5rem; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg-soft); color: var(--blue); transition: transform .3s, background-color .3s, color .3s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--green-light); color: var(--navy); }
.faq-answer { padding: 0 1.5rem 1.3rem; }
.faq-answer p { margin: 0; }

/* ---------- Contacto ---------- */
.contacto { background: radial-gradient(circle at 10% 10%, var(--navy-2), var(--navy) 60%); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.contacto::before {
    content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px;
    background: url("../img/globo.png") center / contain no-repeat; opacity: .07;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.contact-info h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.contact-info > p { font-size: 1.15rem; }
.contact-points { display: grid; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.contact-points li { display: flex; align-items: center; gap: .7rem; }
.contact-points .icon { color: var(--green-light); width: 1.4em; height: 1.4em; }

.contact-form { background: var(--white); color: var(--text); border-radius: 24px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; margin: 0 0 1.1rem; }
.field label, .field legend { font-family: var(--font-head); font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input, .field textarea {
    font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-soft);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: #fff; box-shadow: 0 0 0 4px rgba(41,129,233,.15); }
.field.has-error input, .field.has-error textarea { border-color: #e5484d; background: #fff6f6; }
.field-error { color: #d93036; font-size: .85rem; margin-top: .3rem; }

.field-radio { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: .6rem; }
.field-radio legend { width: 100%; padding: 0; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span {
    display: inline-block; padding: .55rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--border);
    background: var(--bg-soft); font-weight: 700; font-size: .95rem; color: var(--ink); transition: all .2s;
}
.radio input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid var(--green-light); outline-offset: 2px; }
.field-radio.has-error .radio span { border-color: #e5484d; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form .btn { margin-top: .4rem; position: relative; }
.spinner {
    display: none; width: 20px; height: 20px; border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite;
}
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 700; font-size: .98rem; }
.form-status.is-success { background: #e7f8ea; color: #1f7a2e; }
.form-status.is-error { background: #fdecec; color: #b42328; }

/* ---------- Footer ---------- */
.site-footer { background: #081627; color: rgba(255,255,255,.7); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { width: 200px; margin-bottom: 1.2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-links ul { display: grid; gap: .45rem; }
.footer-links a:hover { color: var(--green-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Flotantes ---------- */
.whatsapp-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4);
    transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 32px; height: 32px; }

.back-to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.back-to-top .icon { transform: rotate(90deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.whatsapp-float ~ .back-to-top { bottom: 90px; right: 26px; }

/* ---------- Animaciones al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .gallery-item.reveal.is-visible:nth-child(even) { transform: translateY(30px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 1rem;
        background: #fff; padding: 1.2rem 20px 1.6rem; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
        transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s ease;
    }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a { display: block; color: var(--ink); padding: .8rem 0; border-bottom: 1px solid var(--border); }
    .main-nav ul a::after { display: none; }
    .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
    .nav-open .site-header { background: #fff; }
    .nav-open .brand-text, .nav-open .nav-toggle { color: var(--navy); }
    .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }

    .testimonial { grid-template-columns: 280px 1fr; }
}

@media (max-width: 900px) {
    .hero { min-height: auto; padding-bottom: 0; background: linear-gradient(170deg, #1270bf 0%, #0b4f8f 100%); }
    .hero-bg { display: none; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-actions { justify-content: center; }
    .hero-photo { display: block; margin: 2rem auto 0; max-width: 440px; }
    .eyebrow-light::before { display: none; }

    .gallery { grid-template-columns: repeat(2, 1fr); }
    .momento-grid, .oportunidad-grid, .about-grid, .steps-grid, .contact-grid { grid-template-columns: 1fr; }
    .video-wrap::before { inset: 14px -10px -14px 10px; }
    .about-photo { max-width: 520px; margin-inline: auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .stat:nth-child(3) { border-left: 0; }
    .testimonial { grid-template-columns: 1fr; text-align: center; }
    .testimonial-photo { max-width: 240px; margin-inline: auto; }
    .quote-icon { margin-inline: auto; }
    .testimonial-body footer { border-left: 0; padding-left: 0; align-items: center; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    body { font-size: 1rem; }
    .container { width: calc(100% - 32px); }
    .gallery { gap: 12px; margin-bottom: -60px; }
    .gallery-item:nth-child(even) { transform: translateY(20px); }
    .momento { padding-top: 120px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .stats-grid { gap: 20px; row-gap: 34px; }
    .about-badge { right: 10px; }
    .about-photo::before { inset: -10px 10px 10px -10px; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
}
