/* ===== BROCAVALUOS 2027 — CSS ===== */

:root {
    --cream:    #F7F3EE;
    --sage:     #DDE4E3;
    --navy:     #2C3950;
    --navy-dk:  #1E2C3A;
    --txt:      #1A2535;
    --txt-mid:  #4A5568;
    --txt-muted:#8B9BA8;
    --lavender: #C8BDD8;
    --copper:   #B8894A;
    --line:     #D4CCB8;
    --white:    #fff;
    --serif:    'Playfair Display', Georgia, serif;
    --sans:     'Inter', system-ui, sans-serif;
    --nav-h:    64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--txt); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILS ──────────────────────────────────── */
.cbroc { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 576px) { .cbroc { padding: 0 20px; } }

/* ── NAVBAR ─────────────────────────────────── */
.broc-nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
    z-index: 500;
    transition: background .3s, box-shadow .3s;
}
.broc-nav.scrolled { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.broc-logo { display: flex; align-items: center; }
.broc-logo-img { height: 28px; width: auto; display: block; }
.broc-logo-img .logo-broc, .broc-logo-img .logo-aval { fill: #fff; transition: fill .3s; }
.broc-nav.scrolled .broc-logo-img .logo-broc { fill: #000; }
.broc-nav.scrolled .broc-logo-img .logo-aval { fill: #E8762D; }
.broc-menu-btn {
    display: flex; align-items: center; gap: 10px;
    background: none; border: none; cursor: pointer;
    font-family: var(--sans); font-size: .88rem; color: var(--white);
    transition: color .3s;
}
.broc-nav.scrolled .broc-menu-btn { color: var(--txt); }
.hbg { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.hbg span { display: block; height: 1.5px; background: currentColor; }

/* ── MENU OVERLAY ───────────────────────────── */
.broc-overlay { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
.broc-overlay.open { pointer-events: all; }
.broc-overlay-bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .4s; }
.broc-overlay.open .broc-overlay-bg { opacity: 1; }
.broc-panel {
    position: absolute; top: 0; right: 0;
    width: min(460px, 100%); height: 100%;
    background: var(--cream);
    display: flex; flex-direction: column; padding: 28px 36px;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.broc-overlay.open .broc-panel { transform: translateX(0); }
.panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.panel-logo { display: flex; align-items: center; }
.panel-logo-img { height: 22px; width: auto; aspect-ratio: 197.86 / 20.93; display: block; filter: brightness(0); }
.panel-close { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: var(--txt); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.panel-links { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.panel-link {
    font-family: var(--serif); font-size: 1.55rem; color: var(--txt-muted);
    padding: 7px 0; transition: color .2s; line-height: 1.3;
}
.panel-link:hover, .panel-link.active-s { color: var(--txt); }
.panel-social { display: flex; gap: 10px; margin-top: 28px; margin-bottom: 20px; }
.panel-social a {
    width: 34px; height: 34px; border: 1.5px solid var(--txt); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; color: var(--txt); transition: background .2s, color .2s;
}
.panel-social a:hover { background: var(--txt); color: var(--white); }
.panel-foot { font-size: .72rem; color: var(--txt-muted); line-height: 1.9; }
.panel-foot strong { font-weight: 600; color: var(--txt-mid); }

/* ── HERO ───────────────────────────────────── */
.broc-hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--navy-dk); }
.h-slides { position: absolute; inset: 0; }
.h-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.h-slide.active { opacity: 1; }
.h-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.h-slide::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,.12) 40%, rgba(0,0,0,.55) 100%);
}
.h-content {
    position: relative; z-index: 10; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 0 24px; text-align: center;
}
.h-text {
    font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 400; color: var(--white); line-height: 1.25; max-width: 720px;
    opacity: 0; transform: translateY(18px); transition: opacity .7s .25s, transform .7s .25s;
}
.h-slide.active .h-text { opacity: 1; transform: translateY(0); }
.h-bottom {
    position: absolute; bottom: 36px; left: 0; right: 0; z-index: 10;
    padding: 0 36px; display: flex; align-items: flex-end; justify-content: space-between;
}
.h-attrib { color: var(--white); font-size: .72rem; line-height: 1.7; opacity: .82; }
.h-attrib strong { font-weight: 600; }
.h-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; z-index: 10; }
.h-arrow { background: none; border: none; cursor: pointer; color: var(--white); font-size: .9rem; opacity: .75; transition: opacity .2s; padding: 4px; }
.h-arrow:hover { opacity: 1; }
.h-dot-list { display: flex; gap: 6px; }
.h-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: background .3s; padding: 0; }
.h-dot.active { background: var(--white); }
.h-cta { background: rgba(200,189,216,.82); color: var(--txt); border: none; padding: 13px 26px; font-size: .82rem; cursor: pointer; font-family: var(--sans); transition: background .2s; white-space: nowrap; }
.h-cta:hover { background: rgba(200,189,216,1); }

/* ── SOBRE NOSOTROS ─────────────────────────── */
.broc-sobre { padding: 96px 0 80px; background: var(--cream); }
.sec-label { font-size: .8rem; color: var(--txt-muted); margin-bottom: 10px; letter-spacing: .02em; font-family: var(--serif); font-style: italic; }
.sobre-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 400; color: var(--txt); line-height: 1.3; margin-bottom: 52px; }
.sobre-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 40px; }
@media (max-width: 576px) { .sobre-stats { grid-template-columns: 1fr; gap: 32px; } }
.sobre-big { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; color: var(--txt); line-height: 1.05; margin-bottom: 18px; }
.sobre-icon-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sobre-icon-row i { color: var(--copper); font-size: 1rem; }
.sobre-icon-row span { font-size: .83rem; color: var(--txt-mid); }
.sobre-line { height: 1px; background: var(--line); margin: 32px 0; }
.sobre-info { font-size: .85rem; color: var(--txt-mid); line-height: 1.8; max-width: 640px; }
.sobre-info-icon { color: var(--txt-muted); font-size: .75rem; margin-bottom: 8px; }

/* ── PROYECTOS VALUADOS ─────────────────────── */
.broc-proyectos { display: grid; grid-template-columns: 300px 1fr; min-height: 620px; }
@media (max-width: 768px) { .broc-proyectos { grid-template-columns: 1fr; } }
.proy-left { background: var(--sage); padding: 60px 36px; display: flex; flex-direction: column; }
.proy-title { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 400; color: var(--txt); line-height: 1.15; margin-bottom: 52px; }
.proy-list { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.proy-item { display: flex; align-items: center; gap: 14px; padding: 9px 0; cursor: pointer; background: none; border: none; text-align: left; width: 100%; }
.proy-bar { width: 3px; height: 22px; background: transparent; transition: background .2s; flex-shrink: 0; }
.proy-item.active .proy-bar, .proy-item:hover .proy-bar { background: var(--txt); }
.proy-name { font-family: var(--serif); font-size: .98rem; color: var(--txt-muted); transition: color .2s; }
.proy-item.active .proy-name, .proy-item:hover .proy-name { color: var(--txt); }
.proy-right { display: flex; flex-direction: column; }
.proy-img { flex: 1; overflow: hidden; min-height: 360px; }
.proy-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.proy-card { background: var(--navy); color: var(--white); padding: 28px 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.proy-card-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 14px; }
.proy-details { font-size: .78rem; line-height: 2.1; color: rgba(255,255,255,.75); }
.proy-details .lbl { color: rgba(255,255,255,.42); }
.proy-consultar { background: var(--lavender); color: var(--txt); border: none; padding: 12px 28px; font-size: .82rem; cursor: pointer; white-space: nowrap; font-family: var(--sans); transition: background .2s; flex-shrink: 0; align-self: flex-end; }
.proy-consultar:hover { background: #b9aac8; }

/* ── ESPECIALIDADES ─────────────────────────── */
.broc-especialidades { padding: 90px 0; background: var(--cream); }
.esp-title { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 400; color: var(--txt); margin-bottom: 6px; }
.esp-sub { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.7rem); color: var(--txt-muted); font-weight: 400; margin-bottom: 52px; line-height: 1.35; }
.acord { border-top: 1px solid var(--line); }
.acord-item { border-bottom: 1px solid var(--line); }
.acord-hd {
    display: grid; grid-template-columns: 1fr 40px 1fr;
    align-items: center; padding: 22px 0;
    cursor: pointer; gap: 16px;
}
@media (max-width: 640px) { .acord-hd { grid-template-columns: 1fr 36px; } .acord-tag { display: none; } }
.acord-nm { font-family: var(--serif); font-size: clamp(.95rem, 1.4vw, 1.15rem); font-weight: 400; color: var(--txt); }
.acord-tgl { color: var(--txt-muted); font-size: 1.3rem; text-align: center; line-height: 1; transition: transform .3s, color .3s; user-select: none; }
.acord-item.open .acord-tgl { transform: rotate(45deg); color: var(--txt); }
.acord-tag { font-size: .86rem; color: var(--txt-mid); }
.acord-bd { display: none; padding: 0 0 26px calc(50% + 28px); }
@media (max-width: 640px) { .acord-bd { padding: 0 0 20px 0; } }
.acord-item.open .acord-bd { display: block; }
.acord-desc { font-size: .85rem; color: var(--txt-mid); line-height: 1.75; margin-bottom: 18px; max-width: 380px; }
.btn-cons { display: inline-block; border: 1px solid var(--lavender); background: rgba(200,189,216,.18); color: var(--txt); padding: 10px 22px; font-size: .8rem; cursor: pointer; transition: background .2s; font-family: var(--sans); }
.btn-cons:hover { background: rgba(200,189,216,.45); }

/* ── ¿CÓMO TRABAJAMOS? ──────────────────────── */
.broc-como { background: var(--navy); overflow: hidden; }
.como-hdr { padding: 60px 60px 32px; text-align: center; position: relative; }
@media (max-width: 640px) { .como-hdr { padding: 48px 24px 24px; } }
.como-ttl { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--white); font-weight: 400; margin-bottom: 6px; }
.como-sub { font-family: var(--serif); font-size: clamp(.95rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.5); font-weight: 400; }
.como-arr {
    position: absolute; top: 50%; right: 60px; transform: translateY(-50%);
    width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%;
    background: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: .85rem; transition: border-color .2s, background .2s;
}
@media (max-width: 640px) { .como-arr { right: 20px; top: 20px; transform: none; } }
.como-arr:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.como-slides { position: relative; }
.como-slide { display: none; grid-template-columns: 1fr 1fr; padding: 0 60px 48px; gap: 56px; align-items: center; }
@media (max-width: 768px) { .como-slide { grid-template-columns: 1fr; padding: 0 24px 40px; gap: 32px; } }
.como-slide.active { display: grid; }
.como-big { font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 4.2rem); color: rgba(255,255,255,.28); font-weight: 400; line-height: 1; margin-bottom: 28px; }
.como-lbl { color: var(--copper); font-size: .82rem; font-style: italic; margin-bottom: 10px; font-family: var(--serif); }
.como-dsc { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.75; margin-bottom: 28px; max-width: 360px; }
.como-img { height: 380px; overflow: hidden; }
@media (max-width: 768px) { .como-img { height: 240px; order: -1; } }
.como-img img { width: 100%; height: 100%; object-fit: cover; }
.como-ft { padding: 0 60px 40px; display: flex; align-items: center; gap: 16px; }
@media (max-width: 640px) { .como-ft { padding: 0 24px 32px; } }
.como-prog { flex: 1; height: 1px; background: rgba(255,255,255,.15); }
.como-fill { height: 100%; background: rgba(255,255,255,.55); transition: width .4s; }
.como-cnt { font-size: .78rem; color: rgba(255,255,255,.45); white-space: nowrap; }

/* ── POSIBLE VIDEO ──────────────────────────── */
.broc-video { position: relative; height: 68vh; min-height: 380px; background: var(--navy-dk); display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; }
.vid-bg { position: absolute; inset: 0; }
.vid-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vid-content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.vid-logo { height: 26px; width: auto; aspect-ratio: 197.86 / 20.93; }
.vid-play { width: 54px; height: 54px; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: .95rem; background: none; cursor: pointer; transition: border-color .2s, background .2s; padding-left: 3px; }
.vid-play:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
/* ── TESTIMONIOS ────────────────────────────── */
.broc-testi { padding: 90px 0; background: var(--cream); }
.testi-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 400; color: var(--txt); margin-bottom: 52px; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 992px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--white); padding: 32px 26px; border: 1px solid var(--line); }
.testi-q { font-family: var(--serif); font-size: 2.2rem; color: var(--lavender); line-height: 1; margin-bottom: 14px; }
.testi-txt { font-size: .86rem; color: var(--txt-mid); line-height: 1.75; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 38px; height: 38px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--txt-muted); font-size: 1rem; flex-shrink: 0; }
.testi-nm { font-size: .76rem; font-weight: 600; color: var(--txt); text-transform: uppercase; letter-spacing: .04em; }
.testi-rol { font-size: .72rem; color: var(--txt-muted); }

/* ── ÚNETE AL EQUIPO ──────────────────────────── */
.broc-unete { padding: 96px 0; background: var(--cream); }
.unete-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 400; color: var(--txt); line-height: 1.3; margin-bottom: 16px; }
.unete-sub { font-size: .95rem; color: var(--txt-mid); max-width: 560px; margin-bottom: 40px; line-height: 1.6; }
.unete-form { max-width: 720px; }
.unete-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
@media (max-width: 640px) { .unete-grid { grid-template-columns: 1fr; } }

.form-g-l { margin-bottom: 18px; }
.form-g-l label { display: block; font-size: .7rem; color: var(--txt-muted); margin-bottom: 5px; letter-spacing: .06em; text-transform: uppercase; }
.form-g-l input, .form-g-l textarea {
    width: 100%; background: transparent; border: none;
    border-bottom: 1px solid var(--line); color: var(--txt);
    font-family: var(--sans); font-size: .88rem; padding: 9px 0;
    outline: none; transition: border-color .2s;
}
.form-g-l input:focus, .form-g-l textarea:focus { border-bottom-color: var(--copper); }
.form-g-l textarea { resize: none; min-height: 76px; }
.form-g-l input::placeholder, .form-g-l textarea::placeholder { color: var(--txt-muted); opacity: .7; }

.file-input-wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.file-input-wrap input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.file-btn { display: inline-block; padding: 10px 22px; border: 1px solid var(--txt); color: var(--txt); font-size: .78rem; letter-spacing: .04em; cursor: pointer; transition: background .2s, color .2s; }
.file-btn:hover { background: var(--txt); color: var(--white); }
.file-input-wrap input[type="file"]:focus-visible + .file-btn { outline: 2px solid var(--copper); outline-offset: 2px; }
.file-name { font-size: .78rem; color: var(--txt-muted); }

.btn-unete { margin-top: 18px; background: var(--txt); color: var(--white); border: none; padding: 14px 36px; font-size: .84rem; cursor: pointer; font-family: var(--sans); transition: background .2s; }
.btn-unete:hover { background: var(--navy); }
.btn-unete:disabled { opacity: .6; cursor: not-allowed; }

.broc-unete .form-msg.ok { color: #2f7a3d; }
.broc-unete .form-msg.err { color: #b23b3b; }

/* ── CONTACTO / FOOTER ──────────────────────── */
.broc-contacto { background: var(--navy); padding: 90px 0 0; }
.cont-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.3rem); color: var(--white); font-weight: 400; margin-bottom: 52px; }
.cont-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; }
@media (max-width: 768px) { .cont-grid { grid-template-columns: 1fr; gap: 40px; } }
.form-g { margin-bottom: 18px; }
.form-g label { display: block; font-size: .7rem; color: rgba(255,255,255,.45); margin-bottom: 5px; letter-spacing: .06em; text-transform: uppercase; }
.form-g input, .form-g select, .form-g textarea {
    width: 100%; background: transparent; border: none;
    border-bottom: 1px solid rgba(255,255,255,.22); color: var(--white);
    font-family: var(--sans); font-size: .88rem; padding: 9px 0;
    outline: none; transition: border-color .2s;
}
.form-g input:focus, .form-g select:focus, .form-g textarea:focus { border-bottom-color: var(--lavender); }
.form-g textarea { resize: none; min-height: 76px; }
.form-g select option { background: var(--navy); color: var(--white); }
.form-g input::placeholder, .form-g textarea::placeholder { color: rgba(255,255,255,.3); }
.btn-enviar { margin-top: 10px; background: var(--lavender); color: var(--txt); border: none; padding: 14px 0; font-size: .84rem; cursor: pointer; font-family: var(--sans); transition: background .2s; width: 100%; }
.btn-enviar:hover { background: #b9aac8; }
.btn-enviar:disabled { opacity: .6; cursor: not-allowed; }
.form-msg { margin-top: 10px; font-size: .82rem; display: none; }
.form-msg.ok { color: #a8d5a2; display: block; }
.form-msg.err { color: #f08080; display: block; }
.cont-info-item { margin-bottom: 28px; }
.cont-lbl { font-size: .68rem; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; }
.cont-info-item a, .cont-info-item p { color: rgba(255,255,255,.78); font-size: .87rem; line-height: 1.85; display: block; transition: color .2s; }
.cont-info-item a:hover { color: var(--white); }
#map-broc { height: 190px; margin-top: 18px; filter: grayscale(.45) brightness(.7); }

/* Infonavit card */
.infonavit { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 18px 22px; display: flex; align-items: center; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.infonavit img { height: 32px; width: auto; filter: brightness(1.6); }
.infonavit-badge { font-size: .62rem; background: var(--lavender); color: var(--txt); padding: 2px 7px; margin-bottom: 3px; display: inline-block; }
.infonavit h5 { color: var(--white); font-size: .86rem; font-weight: 500; margin: 3px 0; }
.infonavit p { color: rgba(255,255,255,.55); font-size: .75rem; }

/* Sub footer */
.broc-subfoot { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.sf-copy { font-size: .75rem; color: rgba(255,255,255,.38); }
.sf-social { display: flex; gap: 9px; }
.sf-social a { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); font-size: .68rem; transition: border-color .2s, color .2s; }
.sf-social a:hover { border-color: var(--white); color: var(--white); }
.sf-terms { font-size: .75rem; color: rgba(255,255,255,.38); }
.sf-terms a { transition: color .2s; }
.sf-terms a:hover { color: var(--white); }

/* WhatsApp float */
.wa-btn { position: fixed; bottom: 26px; right: 26px; width: 50px; height: 50px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 400; box-shadow: 0 4px 16px rgba(0,0,0,.22); transition: transform .2s; }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 26px; height: 26px; fill: white; }

/* ── PÁGINAS LEGALES (Términos y Condiciones, etc.) ──────────── */
.legal-header { background: var(--cream); border-bottom: 1px solid var(--line); padding: 18px 0; }
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; }
.legal-logo { display: flex; align-items: center; }
.legal-logo-img { height: 24px; width: auto; display: block; }
.legal-logo-img path { fill: var(--txt); }
.legal-back { font-size: .8rem; color: var(--txt-mid); transition: color .2s; }
.legal-back:hover { color: var(--txt); }

.legal-main { background: var(--cream); padding: 64px 0 100px; }
.legal-content { max-width: 760px; }
.legal-content h1 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; color: var(--txt); line-height: 1.3; margin-bottom: 36px; }
.legal-content h2 { font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 400; color: var(--txt); margin: 40px 0 14px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: .92rem; color: var(--txt-mid); line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { font-size: .92rem; color: var(--txt-mid); line-height: 1.75; margin-bottom: 6px; }
.legal-content a { color: var(--copper); text-decoration: underline; }
.legal-content a:hover { color: var(--txt); }
.legal-updated { font-size: .8rem; color: var(--txt-muted); margin-top: 40px; font-style: italic; }

.legal-footer { background: var(--navy); padding: 22px 0; text-align: center; }
.legal-footer p { font-size: .75rem; color: rgba(255,255,255,.5); }
