:root {
    --navy: #12233f;
    --navy-deep: #0b172b;
    --navy-soft: #243b5f;
    --terracotta: #c96f4b;
    --terracotta-dark: #a95132;
    --terracotta-pale: #f5e4db;
    --cream: #fbf8f3;
    --white: #fff;
    --ink: #1b2638;
    --muted: #697386;
    --line: #e5e8ed;
    --shadow: 0 24px 60px rgba(18, 35, 63, .12);
    --radius: 26px;
    --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 16px;
    color: var(--white);
    background: var(--navy);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 88px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(18, 35, 63, .08);
    backdrop-filter: blur(16px);
    transition: height .25s ease, box-shadow .25s ease;
}

.site-header.scrolled { height: 80px; box-shadow: 0 8px 30px rgba(18, 35, 63, .08); }

.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 120px; height: 120px; object-fit: contain; transition: width .25s ease, height .25s ease; }
.site-header.scrolled .brand img { width: 64px; height: 64px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--navy); font-weight: 650; font-size: .94rem; text-decoration: none; transition: color .2s ease; }
.main-nav a:not(.button):hover { color: var(--terracotta); }
.main-nav .nav-login { margin-left: 10px; }

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 12px 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--terracotta);
    border-radius: 999px;
    color: var(--white);
    background: var(--terracotta);
    box-shadow: 0 12px 28px rgba(169, 81, 50, .22);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.button:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(169, 81, 50, .28); }
.button:focus-visible, .main-nav a:focus-visible, .social-float a:focus-visible, summary:focus-visible { outline: 3px solid rgba(201,111,75,.45); outline-offset: 4px; }
.button-small { min-height: 44px; padding: 10px 20px; }
.button-ghost { color: var(--navy); background: rgba(255,255,255,.82); border-color: rgba(18,35,63,.18); box-shadow: none; }
.button-ghost:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.button-dark { color: var(--white); background: var(--navy); border-color: var(--navy); box-shadow: 0 12px 28px rgba(18,35,63,.2); }
.button-dark:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.button-light { color: var(--navy); background: var(--white); border-color: var(--white); box-shadow: none; }
.button-light:hover { color: var(--white); background: var(--terracotta); border-color: var(--terracotta); }

.nav-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--navy); transition: transform .25s ease, opacity .2s ease; }

.hero { position: relative; min-height: 760px; padding-top: 88px; display: grid; align-items: center; overflow: hidden; background: #efe5d8; }
.hero-media { position: absolute; inset: 88px 0 0; background: url('../images/pata-familia-hero.webp') center center / cover no-repeat; }
.hero-shade { position: absolute; inset: 88px 0 0; background: linear-gradient(90deg, rgba(250,244,236,.99) 0%, rgba(250,244,236,.95) 31%, rgba(250,244,236,.45) 54%, rgba(18,35,63,.04) 76%); }
.hero-content { position: relative; z-index: 1; padding-block: 92px 76px; }
.hero-copy { width: min(570px, 52%); }

.eyebrow, .kicker { color: var(--terracotta-dark); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; background: rgba(255,255,255,.7); border: 1px solid rgba(201,111,75,.22); border-radius: 999px; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 5px rgba(201,111,75,.13); }
.hero h1 { max-width: 650px; margin: 25px 0 20px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 7vw, 6.5rem); font-weight: 700; line-height: .9; letter-spacing: -.055em; }
.hero h1 span { color: var(--terracotta); font-style: italic; font-weight: 500; }
.hero-copy > p { max-width: 550px; margin: 0; color: #435066; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; color: var(--navy-soft); font-size: .86rem; font-weight: 700; list-style: none; }
.hero-points span { color: var(--terracotta); margin-right: 4px; }

.trust-strip { position: relative; z-index: 2; margin-top: -24px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid rgba(18,35,63,.08); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.trust-grid article { display: flex; align-items: center; gap: 14px; padding: 24px 26px; }
.trust-grid article + article { border-left: 1px solid var(--line); }
.trust-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--terracotta); background: var(--terracotta-pale); border-radius: 14px; }
.trust-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid strong { color: var(--navy); font-size: .95rem; }
.trust-grid small { margin-top: 2px; color: var(--muted); font-size: .78rem; line-height: 1.4; }

.section { padding: 112px 0; }
.section-heading { max-width: 680px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .benefits-intro h2, .final-cta h2 { margin: 12px 0 18px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p, .benefits-intro > p { margin: 0; color: var(--muted); font-size: 1.04rem; }

.steps { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step-card { position: relative; min-height: 300px; padding: 34px; background: var(--cream); border: 1px solid transparent; border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.step-card:hover { transform: translateY(-7px); border-color: rgba(201,111,75,.18); box-shadow: var(--shadow); }
.step-card.featured { background: var(--navy); }
.step-card.featured h3 { color: var(--white); }
.step-card.featured p { color: #cbd4e2; }
.step-number { position: absolute; top: 16px; right: 23px; color: rgba(18,35,63,.08); font-family: Georgia, serif; font-size: 4.5rem; font-weight: 700; line-height: 1; }
.featured .step-number { color: rgba(255,255,255,.08); }
.step-icon { position: relative; width: 60px; height: 60px; display: grid; place-items: center; color: var(--terracotta); background: var(--terracotta-pale); border-radius: 18px; }
.step-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { margin: 28px 0 10px; color: var(--navy); font-size: 1.25rem; }
.step-card p { margin: 0; color: var(--muted); }
.center-action { margin-top: 38px; text-align: center; }
.text-link { color: var(--terracotta-dark); font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.story { background: var(--cream); }
.story-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.story-heading h2 { margin-bottom: 0; }
.story-heading > p { padding-bottom: 6px; }
.story-figure { margin: 52px 0 0; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow); overflow: hidden; }
.story-figure img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.story-labels { display: grid; grid-template-columns: repeat(3, 1fr); color: var(--white); background: var(--navy); }
.story-labels span { padding: 17px 22px; text-align: center; font-size: .94rem; font-weight: 700; }
.story-labels span + span { border-left: 1px solid rgba(255,255,255,.13); }
.story-labels strong { color: var(--terracotta); margin-right: 4px; }

.safety { color: #dfe7f1; background: var(--navy-deep); }
.safety-heading { max-width: 850px; }
.safety-heading h2 { color: var(--white); }
.safety-heading p { color: #b8c4d4; }
.safety-figure { position: relative; margin: 52px 0 68px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: #07101d; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.safety-figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.safety-figure figcaption { position: absolute; inset: auto 0 0; padding: 30px 34px 24px; color: #dbe3ef; background: linear-gradient(transparent, rgba(6,14,26,.92)); font-size: .88rem; }
.safety-figure figcaption strong { color: var(--white); }
.safety-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 78px; align-items: start; }
.safety-copy { position: sticky; top: 120px; }
.safety-copy h3 { margin: 12px 0 15px; color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.safety-copy > p { margin: 0; color: #aebccc; }
.safety-rule { display: flex; align-items: flex-start; gap: 16px; margin-top: 30px; padding: 20px; border: 1px solid rgba(232,157,126,.34); border-radius: 17px; background: rgba(201,111,75,.12); }
.safety-rule > span { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--terracotta); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 800; }
.safety-rule strong { color: #fff4ef; font-size: .92rem; line-height: 1.45; }
.safety-rule p { margin: 7px 0 0; color: #b9c4d1; font-size: .8rem; line-height: 1.5; }
.safety-steps { margin: 0; padding: 0; list-style: none; counter-reset: safety; }
.safety-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 19px; padding: 0 0 27px; }
.safety-steps li + li { padding-top: 27px; border-top: 1px solid rgba(255,255,255,.09); }
.safety-steps li > span { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; color: #e9a485; background: rgba(255,255,255,.04); font-family: Georgia, serif; font-weight: 800; }
.safety-steps strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 1.04rem; }
.safety-steps p { margin: 0; color: #aebccc; font-size: .9rem; }
.safety-advice { margin-top: 64px; padding: 27px 30px; border-radius: 20px; color: var(--navy); background: var(--white); }
.safety-advice > strong { font-family: Georgia, serif; font-size: 1.3rem; }
.safety-advice ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 28px; margin: 17px 0 0; padding: 0; color: #4c596c; list-style: none; }
.safety-advice li { position: relative; padding-left: 21px; font-size: .88rem; }
.safety-advice li::before { position: absolute; left: 0; color: var(--terracotta); font-weight: 900; content: "✓"; }

.benefits { background: var(--white); }
.benefits-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 82px; align-items: center; }
.benefits-intro .button { margin-top: 30px; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefits-grid article { padding: 29px; border: 1px solid var(--line); border-radius: 22px; transition: border-color .2s ease, transform .2s ease; }
.benefits-grid article:hover { border-color: rgba(201,111,75,.5); transform: translateY(-4px); }
.benefit-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--terracotta); background: var(--terracotta-pale); border-radius: 15px; }
.benefit-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefits-grid h3 { margin: 19px 0 8px; color: var(--navy); font-size: 1.08rem; }
.benefits-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.benefits-grid .benefit-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; border-color: rgba(201,111,75,.32); background: #fffaf7; }
.benefit-wide h3 { margin-top: 0; }

.faq { background: #f7f9fb; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 86px; align-items: start; }
.accordion { border-top: 1px solid #dbe0e7; }
.accordion details { border-bottom: 1px solid #dbe0e7; }
.accordion summary { position: relative; padding: 24px 42px 24px 0; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span, .accordion summary span::after { position: absolute; top: 50%; right: 3px; width: 18px; height: 2px; background: var(--terracotta); transform: translateY(-50%); content: ""; transition: transform .2s ease; }
.accordion summary span::after { top: 0; right: 0; transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { margin: -8px 42px 24px 0; color: var(--muted); }

.final-cta { position: relative; padding: 92px 0; color: var(--white); background: var(--navy); overflow: hidden; }
.final-cta::before, .final-cta::after { position: absolute; width: 340px; height: 340px; border: 70px solid rgba(255,255,255,.025); border-radius: 50%; content: ""; }
.final-cta::before { top: -210px; left: -110px; }
.final-cta::after { right: -90px; bottom: -240px; }
.final-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.final-cta h2 { margin-bottom: 0; color: var(--white); font-size: clamp(2.1rem, 3.8vw, 3.35rem); }
.kicker-light { color: #e9a485; }
.final-actions { min-width: 250px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-login { color: #dbe3ef; font-size: .9rem; font-weight: 750; text-decoration: none; }
.cta-login:hover { color: var(--white); }

.site-footer { padding: 70px 0 24px; color: #c9d2df; background: var(--navy-deep); }
.footer-main { display: flex; justify-content: space-between; gap: 80px; padding-bottom: 50px; }
.footer-brand { flex: 0 0 230px; display: flex; flex-direction: column; align-items: flex-start; color: var(--white); text-decoration: none; }
.footer-brand img { width: 92px; height: 92px; object-fit: contain; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand span { margin-top: 6px; color: #aebacc; font-family: Georgia, serif; font-size: 1.1rem; font-style: italic; }
.footer-links { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; max-width: 650px; }
.footer-links div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { margin-bottom: 7px; color: var(--white); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: #aebacc; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom p { margin: 0; color: #78869b; font-size: .76rem; }

.social-float { position: fixed; z-index: 90; right: 18px; top: 50%; display: flex; flex-direction: column; gap: 9px; transform: translateY(-50%); }
.social-float a { width: 46px; height: 46px; display: grid; place-items: center; color: var(--white); background: var(--navy); border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 10px 25px rgba(18,35,63,.18); transition: background .2s ease, transform .2s ease; }
.social-float a:hover { background: var(--terracotta); transform: translateX(-3px); }
.social-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-float .fill-dot, .social-float .fill-shape { fill: currentColor; stroke: none; }

@media (max-width: 1020px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: 76px 0 auto; max-height: 0; padding: 0 20px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); box-shadow: 0 20px 40px rgba(18,35,63,.12); opacity: 0; overflow: hidden; pointer-events: none; transition: max-height .3s ease, padding .3s ease, opacity .2s ease; }
    .main-nav.open { max-height: calc(100vh - 76px); padding-block: 16px 26px; opacity: 1; overflow-y: auto; pointer-events: auto; }
    .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
    .main-nav .nav-login { margin-left: 0; }
    .main-nav .button { margin-top: 12px; border-bottom: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero-copy { width: min(610px, 68%); }
    .hero-shade { background: linear-gradient(90deg, rgba(250,244,236,.98) 0%, rgba(250,244,236,.9) 43%, rgba(250,244,236,.2) 72%); }
    .trust-grid article { padding: 20px; }
    .trust-grid small { display: none; }
    .benefits-layout, .faq-layout { gap: 48px; }
    .safety-layout { gap: 45px; }
}

@media (max-width: 780px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .site-header, .site-header.scrolled { height: 76px; }
    .brand img, .site-header.scrolled .brand img { width: 80px; height: 80px; }
    .hero { min-height: auto; padding-top: 76px; display: block; background: var(--cream); }
    .hero-media { position: relative; inset: auto; min-height: 55vw; background-position: 64% center; }
    .hero-shade { display: none; }
    .hero-content { padding-block: 42px 50px; }
    .hero-copy { width: 100%; }
    .hero h1 { margin-top: 20px; font-size: clamp(3.5rem, 16vw, 5.2rem); }
    .hero-copy > p { font-size: 1rem; }
    .trust-strip { margin-top: 0; padding: 0 0 18px; background: var(--cream); }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
    .trust-grid small { display: block; }
    .section { padding: 78px 0; }
    .steps-grid { grid-template-columns: 1fr; margin-top: 38px; }
    .step-card { min-height: auto; }
    .story-heading, .benefits-layout, .faq-layout { grid-template-columns: 1fr; gap: 24px; }
    .safety-layout { grid-template-columns: 1fr; gap: 42px; }
    .safety-copy { position: static; }
    .safety-figure { margin: 34px 0 50px; }
    .safety-figure figcaption { position: static; padding: 18px; background: #0e1d33; }
    .story-heading > p { padding-bottom: 0; }
    .story-figure { margin-top: 34px; overflow: visible; background: transparent; box-shadow: none; }
    .story-figure img { aspect-ratio: auto; border-radius: 18px; box-shadow: var(--shadow); }
    .story-labels { border-radius: 0 0 16px 16px; overflow: hidden; }
    .story-labels span { padding: 13px 5px; font-size: .72rem; }
    .benefits-grid { margin-top: 18px; }
    .safety-advice ul { grid-template-columns: 1fr; }
    .final-cta-inner { align-items: flex-start; flex-direction: column; }
    .final-actions { min-width: 0; align-items: flex-start; }
    .footer-main { flex-direction: column; gap: 45px; }
    .footer-brand { flex-basis: auto; }
    .footer-links { width: 100%; max-width: none; }
    .footer-bottom { flex-direction: column; }
    .social-float { right: 10px; top: auto; bottom: 14px; flex-direction: row; transform: none; }
    .social-float a { width: 43px; height: 43px; }
}

@media (max-width: 520px) {
    .hero-media { min-height: 76vw; background-position: 69% center; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-points { align-items: flex-start; flex-direction: column; gap: 6px; }
    .section-heading h2, .benefits-intro h2 { font-size: 2.25rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .benefits-grid .benefit-wide { grid-column: auto; grid-template-columns: 1fr; }
    .safety-steps li { grid-template-columns: 45px 1fr; gap: 13px; }
    .safety-steps li > span { width: 43px; height: 43px; border-radius: 13px; font-size: .82rem; }
    .safety-advice { padding: 22px; }
    .footer-links { grid-template-columns: 1fr 1fr; row-gap: 35px; }
    .footer-links div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
