/* =====================================================================
   GALERÍA AUTO ES — Estilos
   Paleta: negro profundo, blanco, gris antracita y toques dorados.
   ===================================================================== */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff") format("woff"); }
@font-face { font-family: "Lora"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("../fonts/lora-var.woff") format("woff"); }

:root {
  --black: #09090b; --ink: #121316; --anthracite: #1d1e22; --graphite: #2a2c31; --steel: #8f939d;
  --paper: #f6f4ef; --line: #e4e0d8; --white: #ffffff;
  --gold: #c9a24a; --gold-2: #e8d193; --gold-3: #9c7a2b;
  --ok: #1f8a5b; --warn: #b7791f; --bad: #b3372f;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(9,9,11,.35);
  --shadow-lg: 0 28px 60px -24px rgba(9,9,11,.55);
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22,.8,.24,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--black); padding: .7rem 1rem; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; font: 500 .95rem/1 var(--font-body); cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: #14110a; box-shadow: 0 10px 26px -10px rgba(201,162,74,.7); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--danger { border-color: var(--bad); color: var(--bad); background: transparent; }
.btn--danger:hover { background: var(--bad); color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .82rem; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-3); text-decoration: underline; cursor: pointer; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(9,9,11,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(201,162,74,.28); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--white); }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(201,162,74,.6); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 700 1.05rem/1.1 var(--font-body); letter-spacing: .04em; }
.brand-name em { font-style: normal; color: var(--gold); }
.brand-sub { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav a { color: #dcdde1; text-decoration: none; font-size: .9rem; padding: .55rem .9rem; border-radius: 999px; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--gold-2); }
.main-nav a.active { color: #14110a; background: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.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); }

.preview-banner { background: #3b2e0c; color: #ffe9a8; font-size: .85rem; text-align: center; padding: .6rem 1rem; border-bottom: 1px solid var(--gold-3); }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #e8e9ec; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 500; color: var(--gold-3); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.section-head { max-width: 680px; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.section-head p { color: #5d6068; }
.section--dark .section-head p { color: #aeb1ba; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 78% 8%, rgba(201,162,74,.18), transparent 60%), linear-gradient(160deg, #060607 0%, #141519 55%, #1f2025 100%); color: var(--white); }
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,6,7,.94) 0%, rgba(6,6,7,.72) 55%, rgba(6,6,7,.45) 100%); }
.hero-car { position: absolute; right: -6%; bottom: -4%; width: min(900px, 86%); opacity: .13; pointer-events: none; }
.hero-lines { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(201,162,74,.05) 46px 47px); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem; padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); margin-bottom: .35em; }
.hero h1 span { color: var(--gold); font-style: italic; }
.hero p.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #c9cbd2; max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-badge { justify-self: center; position: relative; }
.hero-badge img { width: min(400px, 78vw); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(201,162,74,.75), 0 0 80px rgba(201,162,74,.28), var(--shadow-lg); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-values { position: relative; display: flex; flex-wrap: wrap; gap: .6rem 2rem; padding: 1.2rem 0 1.4rem; border-top: 1px solid rgba(255,255,255,.12); color: #b9bcc5; font-size: .86rem; }
.hero-values span::before { content: "✓"; color: var(--gold); margin-right: .5rem; }

/* ---------- Rejillas y tarjetas ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.pillars { display: grid; gap: 1rem; }
.pillar { display: flex; gap: 1rem; padding: 1.2rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.pillar:hover { transform: translateX(6px); }
.pillar .ico { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.pillar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.pillar p { margin: 0; font-size: .92rem; color: #5d6068; }
.feature { padding: 1.8rem; border-radius: var(--radius); background: var(--anthracite); border: 1px solid rgba(201,162,74,.2); transition: transform .3s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(201,162,74,.6); }
.feature .num { font: 600 2rem/1 var(--font-head); color: var(--gold); margin-bottom: .8rem; }
.feature h3 { font-size: 1.15rem; }
.feature p { margin: 0; color: #aeb1ba; font-size: .93rem; }
.note { font-size: .85rem; color: #6b6e76; margin-top: 1.5rem; }
.section--dark .note { color: #8f939d; }

/* ---------- Tarjetas de vehículo ---------- */
.v-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.v-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.v-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.v-card.is-sold .v-media img { filter: grayscale(.85) brightness(.85); }
.v-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--graphite); overflow: hidden; text-decoration: none; }
.v-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.v-card:hover .v-media img { transform: scale(1.06); }
.v-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #7b7f8a; background: linear-gradient(145deg, #25272c, #17181b); }
.v-placeholder svg { width: 62%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: .85rem; left: .85rem; padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.badge--disponible { background: var(--ok); }
.badge--reservado { background: var(--warn); }
.badge--vendido { background: var(--bad); }
.badge--sample { left: auto; right: .85rem; background: #444; }
.v-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.v-body h3 { font-size: 1.2rem; margin: 0; }
.v-ver { color: #6b6e76; font-size: .85rem; margin: 0; min-height: 1.3em; }
.v-meta { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.v-meta li { font-size: .76rem; padding: .25rem .65rem; background: var(--paper); border-radius: 999px; color: #4a4d55; }
.v-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px solid var(--line); }
.v-price { font: 600 1.35rem/1 var(--font-head); }
.v-link { font-size: .85rem; font-weight: 500; color: var(--gold-3); text-decoration: none; }
.v-link:hover { text-decoration: underline; }
.empty { padding: 3rem 1rem; text-align: center; color: #6b6e76; border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* ---------- Catálogo / filtros ---------- */
.page-hero { background: linear-gradient(160deg, #060607, #1c1d21); color: var(--white); padding: clamp(2.8rem, 6vw, 4.5rem) 0; border-bottom: 1px solid rgba(201,162,74,.3); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .3em; }
.page-hero p { color: #b9bcc5; max-width: 620px; margin: 0; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); margin-bottom: 2rem; }
.filters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.filters-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; gap: 1rem; flex-wrap: wrap; }
.results-count { color: #6b6e76; font-size: .9rem; }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .8rem; font-weight: 500; color: #3d4048; }
.field .req { color: var(--bad); }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .9rem; border: 1.5px solid #d4d0c6; border-radius: var(--radius-sm); font: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.2); }
.field-hint { font-size: .75rem; color: #7a7d85; }
.check { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: #3d4048; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--gold-3); flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .92rem; margin-top: 1rem; }
.form-msg.ok { background: #e6f4ed; color: #14573a; border: 1px solid #a8d6bf; }
.form-msg.err { background: #fbeceb; color: #7d2019; border: 1px solid #efb9b4; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.notice-box { background: #fff8e6; border: 1px solid #ecd9a0; color: #5e4a12; border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-size: .9rem; }
.v-summary { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 1.2rem; }
.v-summary img, .v-summary .thumb { width: 96px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--graphite); flex: none; }
.v-summary strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.v-summary span { font-size: .85rem; color: #5d6068; }

/* ---------- Ficha de vehículo ---------- */
.crumbs { font-size: .85rem; color: #7a7d85; margin-bottom: 1.2rem; }
.crumbs a { color: var(--gold-3); text-decoration: none; }
.detail { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.2rem; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--graphite); cursor: zoom-in; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .zoom-hint { position: absolute; right: .8rem; bottom: .8rem; background: rgba(9,9,11,.7); color: #fff; font-size: .75rem; padding: .35rem .8rem; border-radius: 999px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .7rem; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--graphite); }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-side { position: sticky; top: 92px; }
.detail-side h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .1em; }
.detail-price { font: 600 2.2rem/1.1 var(--font-head); margin: .8rem 0 .3rem; }
.detail-status { display: inline-block; padding: .3rem .9rem; border-radius: 999px; color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.2rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.spec-list li { padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-list b { display: block; font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #7a7d85; }
.detail-actions { display: grid; gap: .7rem; }
.equip { columns: 2; column-gap: 2rem; padding-left: 1.1rem; margin: 0; }
.equip li { margin-bottom: .4rem; break-inside: avoid; }

/* ---------- Línea de tiempo ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 4.2rem; }
.timeline::before { content: ""; position: absolute; left: 1.55rem; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(201,162,74,.15)); }
.t-step { position: relative; padding: 0 0 2.4rem; }
.t-step:last-child { padding-bottom: 0; }
.t-num { position: absolute; left: -4.2rem; top: 0; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--ink); color: var(--gold); border: 2px solid var(--gold); display: grid; place-items: center; font: 600 1.15rem/1 var(--font-head); box-shadow: 0 0 0 6px var(--paper); }
.t-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); }
.t-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.t-card p { margin: 0; font-size: .94rem; color: #55585f; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; }
.info-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; }
.info-list .ico { flex: 0 0 42px; height: 42px; border-radius: 11px; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.info-list svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info-list b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #7a7d85; font-weight: 500; }
.info-list .pre { white-space: pre-line; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); min-height: 300px; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-consent { padding: 2rem 1.5rem; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal-draft { background: #fff3cd; border: 1px solid #e8cf7b; border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .88rem; color: #5a4608; }
mark.todo { background: #ffe58a; color: #3d2e00; padding: 0 .3em; border-radius: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper); font-weight: 500; }
code { background: var(--paper); padding: .1em .4em; border-radius: 4px; font-size: .88em; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta p { color: #aeb1ba; max-width: 560px; margin: 0 auto 1.8rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--black); color: #aeb1ba; padding: 3.5rem 0 1.6rem; border-top: 1px solid rgba(201,162,74,.35); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font: 500 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { text-decoration: none; color: #aeb1ba; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; color: var(--white); }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(201,162,74,.6); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .8rem; color: #747882; }
.footer-bottom .link-btn { color: #a0a4ad; }

/* ---------- WhatsApp, cookies, lightbox, toast ---------- */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(0,0,0,.5); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; max-width: 720px; margin-inline: auto; background: var(--black); color: #e6e7ea; border: 1px solid rgba(201,162,74,.5); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-lg); }
.cookie-banner h2 { font: 500 1rem var(--font-body); margin: 0 0 .4rem; color: var(--white); }
.cookie-banner p { font-size: .85rem; color: #b9bcc5; margin-bottom: 1rem; }
.cookie-banner a { color: var(--gold-2); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie-actions .btn { flex: 1 1 160px; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,4,5,.95); display: flex; align-items: center; justify-content: center; padding: 3.5rem 4rem; }
.lb-stage { max-width: 100%; max-height: 100%; display: grid; place-items: center; overflow: auto; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 7rem); width: auto; height: auto; border-radius: 8px; transition: transform .3s var(--ease); cursor: zoom-in; }
.lb-stage.zoomed img { transform: scale(1.9); cursor: zoom-out; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(201,162,74,.6); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #cfd1d6; font-size: .85rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--black); color: #fff; padding: .85rem 1.4rem; border-radius: 999px; z-index: 400; box-shadow: var(--shadow-lg); font-size: .9rem; border: 1px solid var(--gold); }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; } .hero-copy > *:nth-child(3) { animation-delay: .2s; } .hero-copy > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Panel de administración ---------- */
.admin-wrap { padding: 2.2rem 0 4rem; min-height: 70vh; background: var(--paper); }
.admin-login { max-width: 430px; margin: 2rem auto; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-top h1 { font-size: 1.7rem; margin: 0; }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.tab { padding: .65rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: 500 .9rem var(--font-body); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.tab .count { display: inline-block; min-width: 1.4em; padding: 0 .4em; margin-left: .4rem; background: var(--gold); color: #14110a; border-radius: 999px; font-size: .72rem; }
.a-list { display: grid; gap: .8rem; }
.a-row { display: flex; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; flex-wrap: wrap; }
.a-thumb { width: 84px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--graphite); flex: none; }
.a-main { flex: 1; min-width: 200px; }
.a-main strong { display: block; font-family: var(--font-head); }
.a-main span { font-size: .84rem; color: #6b6e76; }
.a-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.a-actions select { padding: .5rem .6rem; border-radius: 8px; border: 1.5px solid #d4d0c6; font: inherit; font-size: .85rem; background: #fff; }
.pill { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.pill--reserva { background: var(--gold-3); } .pill--contacto { background: #4b5563; } .pill--nueva { background: var(--bad); } .pill--atendida { background: var(--ok); }
.inq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.inq.is-new { border-left: 4px solid var(--bad); }
.inq-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-bottom: .6rem; }
.inq-msg { background: var(--paper); border-radius: 8px; padding: .8rem 1rem; white-space: pre-wrap; word-break: break-word; font-size: .92rem; margin: .7rem 0; }
.inq-meta { font-size: .85rem; color: #55585f; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.modal { position: fixed; inset: 0; z-index: 250; background: rgba(9,9,11,.7); display: flex; align-items: flex-start; justify-content: center; padding: 2rem 1rem; overflow-y: auto; }
.modal-card { background: var(--white); border-radius: var(--radius); width: min(860px, 100%); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.modal-head h2 { margin: 0; font-size: 1.4rem; }
.modal-foot { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.5rem; flex-wrap: wrap; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .7rem; margin: .6rem 0; }
.photo-item { position: relative; border-radius: 9px; overflow: hidden; border: 2px solid var(--line); aspect-ratio: 4/3; background: var(--graphite); }
.photo-item.is-main { border-color: var(--gold); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-tools { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: .3rem; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); }
.photo-tools button { background: rgba(255,255,255,.9); border: 0; border-radius: 6px; font-size: .7rem; padding: .2rem .5rem; cursor: pointer; }
.photo-main-tag { position: absolute; top: .3rem; left: .3rem; background: var(--gold); color: #14110a; font-size: .65rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: .6rem; }
.progress > i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .v-grid, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .filters-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .about, .contact-grid, .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { order: -1; }
  .hero-badge img { width: min(240px, 60vw); }
  .form-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: stretch; padding: .8rem 1.2rem 1.2rem; border-bottom: 1px solid rgba(201,162,74,.35); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .85rem 1rem; font-size: 1rem; }
  .brand-sub { display: none; }
  .v-grid, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .form-grid, .form-grid--3, .spec-list { grid-template-columns: 1fr; }
  .equip { columns: 1; }
  .timeline { padding-left: 3.4rem; }
  .t-num { left: -3.4rem; width: 2.6rem; height: 2.6rem; }
  .timeline::before { left: 1.25rem; }
  .lightbox { padding: 3.5rem 1rem; }
  .lb-prev { left: .4rem; } .lb-next { right: .4rem; }
}
@media (max-width: 520px) {
  .filters-grid, .footer-grid { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
