/* ==========================================================
   EBREBUILDING S.C.C.L. — Estilos principales
   Identidad: azul marino + dorado del logo, fondo crema,
   retícula de plano y líneas paralelas del isotipo.
   ========================================================== */

:root {
    /* Colores de marca (extraídos del logo) */
    --navy: #0B2A4E;
    --navy-deep: #061B33;
    --navy-soft: #1D3F66;
    --gold: #C59144;
    --gold-ink: #8A6024;      /* dorado legible sobre fondos claros */
    --gold-pale: #EADBC0;
    --cream: #FAF7F1;
    --cream-2: #F2ECE1;
    --white: #FFFFFF;
    --ink: #1C2533;
    --ink-soft: #4A5566;
    --line: #E2D9C8;

    --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;

    --wrap: 1180px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --header-h: 76px;
    --radius: 6px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--navy); color: var(--white); padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Motivo del logo: líneas paralelas ---------- */
.stripes {
    display: block;
    width: 56px; height: 14px;
    background: repeating-linear-gradient(to bottom, var(--gold) 0 2px, transparent 2px 6px);
    margin-bottom: 1.25rem;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 1.6rem;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn--gold:hover { background: #B07F37; border-color: #B07F37; }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--whatsapp { background: #1F8F4E; color: var(--white); border-color: #1F8F4E; }
.btn--whatsapp:hover { background: #18773F; border-color: #18773F; }

/* ==========================================================
   CABECERA
   ========================================================== */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(250, 247, 241, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(6, 27, 51, .08); }

.header__inner {
    display: flex; align-items: center; gap: 1.5rem;
    height: var(--header-h);
}
.header__logo { flex-shrink: 0; }
.header__logo img { height: 48px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: .25rem; align-items: center; }
.nav__list a {
    display: block; padding: .5rem .7rem;
    font-family: var(--font-head); font-weight: 500; font-size: .88rem;
    color: var(--ink-soft);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.nav__list a:hover { color: var(--navy); }
.nav__list a.is-active { color: var(--navy); border-bottom-color: var(--gold); }

.header__actions { display: flex; align-items: center; gap: .75rem; }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px; }
.lang a {
    font-family: var(--font-head); font-size: .75rem; font-weight: 600;
    padding: .3rem .5rem; border-radius: 4px; color: var(--ink-soft);
}
.lang a[aria-current="true"] { background: var(--navy); color: var(--white); }
.lang a:hover:not([aria-current="true"]) { color: var(--navy); background: var(--cream-2); }

.header__cta { padding: .65rem 1.1rem; font-size: .85rem; white-space: nowrap; }
.nav__contact { display: none; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--white); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================
   HERO — retícula de plano + foto con marco de líneas
   ========================================================== */
.hero {
    position: relative;
    background-color: var(--cream);
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
    overflow: hidden;
}
.hero__grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__title {
    font-size: clamp(2.6rem, 6.2vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin-bottom: 1.5rem;
}
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34em; margin-bottom: 2.25rem; }
.hero__cta { display: flex; gap: .85rem; flex-wrap: wrap; }

.hero__media { position: relative; padding: 0 18px 18px 0; }
.hero__frame {
    position: relative;
    border: 2px solid var(--gold);
    outline: 2px solid var(--gold); outline-offset: 6px;
    box-shadow: 0 0 0 12px var(--cream), 0 0 0 14px var(--gold);
    margin: 16px;
}
.hero__frame img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.hero__note {
    position: absolute; left: -8px; bottom: -6px;
    background: var(--navy); color: var(--white);
    padding: 1rem 1.25rem; border-radius: var(--radius);
    font-family: var(--font-head); font-size: .9rem; line-height: 1.35;
    max-width: 260px;
    box-shadow: 0 14px 30px rgba(6,27,51,.25);
}
.hero__note strong { display: block; color: var(--gold); font-size: 1.6rem; font-weight: 700; }

/* Franja de datos */
.facts { background: var(--navy); color: var(--white); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__item {
    padding: 1.6rem 1.25rem;
    border-left: 1px solid rgba(255,255,255,.12);
    display: flex; gap: .9rem; align-items: flex-start;
}
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__item svg { width: 26px; height: 26px; stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }
.facts__item strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.facts__item span { color: rgba(255,255,255,.72); font-size: .95rem; }

/* ==========================================================
   SECCIONES
   ========================================================== */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--white { background: var(--white); }
.section--sand { background: var(--cream-2); }

.section__head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; margin-bottom: .9rem; }
.section__head p { color: var(--ink-soft); font-size: 1.125rem; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.service { padding: 2.25rem 2rem 2rem 0; }
.service + .service { padding-left: 2rem; border-left: 1px solid var(--line); }
.service__icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--cream-2); display: grid; place-items: center; margin-bottom: 1.25rem;
}
.service__icon svg { width: 26px; height: 26px; stroke: var(--gold-ink); }
.service h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .75rem; }
.service p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.service ul { margin-bottom: 1.5rem; }
.service li { padding: .35rem 0 .35rem 1.4rem; position: relative; color: var(--ink); }
.service li::before {
    content: ''; position: absolute; left: 0; top: .95em;
    width: 10px; height: 6px;
    background: repeating-linear-gradient(to bottom, var(--gold) 0 2px, transparent 2px 4px);
}
.service__link { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--gold-ink); border-bottom: 2px solid var(--gold-pale); padding-bottom: 2px; }
.service__link:hover { color: var(--navy); border-color: var(--gold); }

/* ---------- Proyectos ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 1.5rem; }
.project { margin: 0; }
.project__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--cream-2); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project__img img { transform: scale(1.04); }
.project figcaption { padding-top: .9rem; }
.project__type { font-size: .9rem; font-weight: 600; color: var(--gold-ink); }
.project h3 { font-size: 1.12rem; font-weight: 600; margin: .15rem 0 .1rem; }
.project__place { font-size: .95rem; color: var(--ink-soft); }
.project--feature { grid-column: span 2; }
.project--feature .project__img { aspect-ratio: 2.75 / 1; }
.projects__note { margin-top: 2.5rem; color: var(--ink-soft); }
.projects__note a { color: var(--navy); font-weight: 600; border-bottom: 2px solid var(--gold); }

/* ---------- Cómo trabajamos (secuencia real de 4 pasos) ---------- */
.process { background: var(--navy-deep); color: var(--white); position: relative; }
.process .section__head h2 { color: var(--white); }
.process .section__head p { color: rgba(255,255,255,.75); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
    content: ''; position: absolute; left: 0; right: 0; top: 27px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
    opacity: .55;
}
.step { position: relative; padding-right: .5rem; }
.step__num {
    width: 56px; height: 56px; border-radius: 50%;
    border: 2px solid var(--gold); background: var(--navy-deep);
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--gold);
    margin-bottom: 1.25rem; position: relative;
}
.step h3 { color: var(--white); font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: rgba(255,255,255,.75); font-size: 1rem; }
.process__cta { margin-top: 3rem; display: flex; gap: .85rem; flex-wrap: wrap; }

/* ---------- Antes / Después ---------- */
.ba__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 31%);
    gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 1.25rem; -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--gold) var(--line);
}
.ba__track::-webkit-scrollbar { height: 8px; }
.ba__track::-webkit-scrollbar-track { background: var(--line); border-radius: 4px; }
.ba__track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.ba__item { scroll-snap-align: start; background: var(--white); padding: 10px 10px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.ba__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.ba__caption { display: flex; justify-content: space-between; align-items: center; padding: .8rem .25rem .9rem; font-size: .95rem; }
.ba__caption strong { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.ba__caption span { color: var(--ink-soft); font-size: .88rem; }
.ba__controls { display: flex; gap: .5rem; margin-top: 1rem; }
.ba__btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy);
    background: transparent; color: var(--navy); display: grid; place-items: center;
}
.ba__btn:hover { background: var(--navy); color: var(--white); }
.ba__btn svg { width: 20px; height: 20px; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.about__emblem {
    position: absolute; right: -14px; bottom: -14px;
    width: 128px; height: 128px; border-radius: 50%;
    background: var(--cream); border: 2px solid var(--gold);
    display: grid; place-items: center; box-shadow: 0 10px 26px rgba(6,27,51,.15);
}
.about__emblem img { width: 74px; aspect-ratio: auto; border-radius: 0; }
.about__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 1.25rem; }
.about__text > p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 38em; }
.about__text strong { color: var(--navy); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.value h3 { font-size: 1rem; font-weight: 600; margin-bottom: .2rem; display: flex; gap: .55rem; align-items: center; }
.value h3 svg { width: 20px; height: 20px; stroke: var(--gold-ink); }
.value p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.contact__info > p { color: var(--ink-soft); margin-bottom: 2rem; }
.contact__list li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list svg { width: 22px; height: 22px; stroke: var(--gold-ink); flex-shrink: 0; margin-top: 3px; }
.contact__list h3 { font-family: var(--font-head); font-size: .95rem; font-weight: 600; margin-bottom: .1rem; }
.contact__list p, .contact__list a { color: var(--ink-soft); }
.contact__list a:hover { color: var(--navy); }
.contact__wa { margin-top: 1.75rem; }

.form {
    background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy);
    border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .35rem; }
.form__intro { color: var(--ink-soft); margin-bottom: 1.5rem; font-size: .98rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--ink); }
.field label .req { color: var(--gold-ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: .85rem .95rem;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius);
    transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.field.has-error input, .field.has-error select { border-color: #B3261E; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: .4rem 0 1.4rem; font-size: .94rem; color: var(--ink-soft); }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.form__error { display: none; color: #B3261E; font-weight: 600; margin-bottom: 1rem; }
.form__error.is-visible { display: block; }
.form .btn { width: 100%; }

/* ==========================================================
   PIE
   ========================================================== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 3.5rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 26em; font-size: .98rem; }
.footer h3 { color: var(--white); font-size: .95rem; font-weight: 600; margin-bottom: .9rem; }
.footer li { padding: .2rem 0; }
.footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .9rem; }
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Botón flotante de WhatsApp */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 900;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: var(--white);
    display: grid; place-items: center;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }

/* Animación de carga del hero (un único momento) */
@media (prefers-reduced-motion: no-preference) {
    .hero__text > * { animation: rise .7s var(--ease) both; }
    .hero__text > *:nth-child(2) { animation-delay: .08s; }
    .hero__text > *:nth-child(3) { animation-delay: .16s; }
    .hero__text > *:nth-child(4) { animation-delay: .24s; }
    .hero__frame { animation: frame-in .9s var(--ease) .15s both; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes frame-in { from { opacity: 0; outline-offset: 22px; box-shadow: 0 0 0 30px var(--cream), 0 0 0 32px transparent; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1200px) {
    .nav__list a { padding: .5rem .45rem; font-size: .82rem; }
    .header__inner { gap: 1rem; }
}

@media (max-width: 1180px) {
    .nav-toggle { display: inline-flex; }
    .header__cta { display: none; }
    .nav__contact { display: block; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        background: var(--cream); border-bottom: 1px solid var(--line);
        padding: .5rem var(--gutter) 1.25rem;
        display: none;
        box-shadow: 0 14px 28px rgba(6,27,51,.1);
    }
    .nav.is-open { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; }
    .nav__list a { padding: .85rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
    .nav__list a.is-active { border-bottom-color: var(--line); color: var(--gold-ink); }
    .header__actions { margin-left: auto; }

}

@media (max-width: 960px) {
    .hero__grid, .about, .contact { grid-template-columns: 1fr; }
    .hero__media { max-width: 560px; }
    .facts__list { grid-template-columns: 1fr 1fr; }
    .facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
    .facts__item { border-top: 1px solid rgba(255,255,255,.12); }
    .facts__item:nth-child(-n+2) { border-top: 0; }
    .services { grid-template-columns: 1fr; }
    .service, .service + .service { padding: 2rem 0; border-left: 0; }
    .service + .service { border-top: 1px solid var(--line); }
    .projects { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .steps::before { display: none; }
    .ba__track { grid-auto-columns: minmax(240px, 45%); }
    .about__media { max-width: 520px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    :root { --header-h: 66px; }
    .header__logo img { height: 36px; }
    .lang a { padding: .3rem .4rem; }
    .hero__cta .btn { width: 100%; }
    .hero__note { position: relative; left: auto; bottom: auto; margin: 1.5rem 0 0; max-width: none; }
    .hero__media { padding: 0; }
    .facts__list { grid-template-columns: 1fr; }
    .facts__item, .facts__item:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .facts__item:first-child { border-top: 0; }
    .projects, .steps, .values, .form__row { grid-template-columns: 1fr; }
    .project--feature { grid-column: auto; }
    .project--feature .project__img { aspect-ratio: 4 / 3; }
    .ba__track { grid-auto-columns: 82%; }
    .about__emblem { width: 96px; height: 96px; right: 8px; bottom: -18px; }
    .about__emblem img { width: 56px; }
    .footer__grid { grid-template-columns: 1fr; }
    .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* Enlace dentro de la casilla de privacidad */
.check a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ==========================================================
   PÁGINAS LEGALES
   ========================================================== */
.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: .5rem; }
.legal__updated { color: var(--ink-soft); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: var(--ink); margin-bottom: .8rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal__data { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.legal__data p { margin-bottom: .3rem; }
.legal-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.legal-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.legal-header img { height: 44px; width: auto; }
.legal-header a.back { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); }
