/* Tropiauto Motril · hoja de estilo v2 (30-oct-2026)
   SEAT (papel, negro, rojo liminal) + CUPRA (negro, cobre). Outfit local, sin CDN. */

@font-face { font-family: Outfit; src: url("/tropiauto/fonts/outfit-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url("/tropiauto/fonts/outfit-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url("/tropiauto/fonts/outfit-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0b0b0c;
  --ink-2: #16161a;
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --line: #dcd8ce;
  --muted: #6b6963;
  --red: #ff0036;
  --red-deep: #e0002f;
  --copper: #c48a5a;
  --copper-2: #e7b98c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11,11,12,.05), 0 12px 32px -12px rgba(11,11,12,.18);
  --shadow-lg: 0 2px 4px rgba(11,11,12,.06), 0 28px 60px -20px rgba(11,11,12,.32);
  --ease: cubic-bezier(.22,.75,.24,1);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.58 Outfit, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.02; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 40; background: var(--red-deep); color: #fff;
        padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .18s var(--ease); }
.skip:focus { top: 14px; }

/* ── Cabecera ─────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 20px; justify-content: space-between;
  height: 68px; margin-bottom: -68px; padding: 0 clamp(16px, 3vw, 34px);
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  color: var(--paper); border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), backdrop-filter .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mark img { height: 38px; width: auto; display: block; }
.mark-a { font-weight: 700; font-size: 15px; }
.mark-b { font-weight: 500; font-size: 14px; color: var(--copper-2); letter-spacing: .34em; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 16px; font-weight: 500; color: rgba(245,243,238,.78); position: relative; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.btn-line {
  text-decoration: none; font-size: 15.5px; font-weight: 600; padding: 12px 20px; border-radius: 999px;
  border: 1px solid rgba(245,243,238,.32); transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-line:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-wa-head { border-color: rgba(126, 220, 150, .62); color: #c9f6d2; }
.btn-wa-head:hover { background: #25d366; border-color: #25d366; color: #071b0d; }
.wa-menu { position: relative; }
.wa-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.wa-icon { width: 15px; height: 15px; flex: 0 0 auto; fill: currentColor; }
.wa-trigger { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; background: transparent; }
.wa-menu summary::-webkit-details-marker { display: none; }
.wa-menu[open] summary { background: #25d366; border-color: #25d366; color: #071b0d; }
.wa-menu-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; min-width: 250px; padding: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.wa-menu-pop a { display: flex; flex-direction: column; gap: 1px; padding: 11px 12px; border-radius: 9px; text-decoration: none; }
.wa-menu-pop a:hover { background: #eef8f0; }
.wa-menu-pop strong { font-size: 15px; }
.wa-menu-pop span { font-size: 13.5px; color: var(--muted); }
.ta-pl-video { width: min(58vw, 270px); max-height: 52svh; object-fit: contain; border-radius: 14px; box-shadow: 0 18px 60px rgba(11,11,12,.16); background: #fff; }
.wa-link { color: #16833b; text-decoration: none; font-weight: 600; }
.wa-link:hover { color: #0b5e2a; text-decoration: underline; text-underline-offset: 3px; }
.wa-grid { display: flex; flex-wrap: wrap; gap: 8px 14px; }

/* ── Botones ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15.5px/1 Outfit, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(.975); }
.btn-red { background: var(--red-deep); color: #fff; box-shadow: 0 10px 26px -12px rgba(224,0,47,.85); }
.btn-red:hover { background: #c8002a; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--red-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(245,243,238,.34); }
.btn-ghost:hover { background: rgba(245,243,238,.1); border-color: rgba(245,243,238,.6); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); background: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn-full { width: 100%; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; color: var(--paper);
  min-height: min(84svh, 820px); display: grid; align-content: end;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px) 0;
  background: var(--ink); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 64% 56%;
  transition: opacity .8s var(--ease), transform 9s var(--ease);
  transform: scale(1.03);
}
.hero-img-cupra { opacity: 0; object-position: 52% 58%; }
.hero-cupra .hero-img-seat { opacity: 0; }
.hero-cupra .hero-img-cupra { opacity: 1; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 30%, rgba(196,138,90,.14), transparent 60%),
    linear-gradient(100deg, rgba(11,11,12,.97) 14%, rgba(11,11,12,.88) 44%, rgba(11,11,12,.18) 82%),
    linear-gradient(to top, rgba(11,11,12,.97) 4%, rgba(11,11,12,0) 52%),
    linear-gradient(to bottom, rgba(11,11,12,.72) 0%, rgba(11,11,12,0) 22%);
}
.hero-cupra .hero-veil {
  background:
    radial-gradient(120% 90% at 72% 34%, rgba(231,185,140,.2), transparent 62%),
    linear-gradient(100deg, rgba(11,11,12,.97) 14%, rgba(11,11,12,.9) 46%, rgba(11,11,12,.26) 84%),
    linear-gradient(to top, rgba(11,11,12,.97) 4%, rgba(11,11,12,0) 54%),
    linear-gradient(to bottom, rgba(11,11,12,.7) 0%, rgba(11,11,12,0) 22%);
}
.hero-body { max-width: 780px; }
.eye {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .22em;
  color: var(--copper-2); margin-bottom: 22px;
}
.hero .eye .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,0,54,.18); }
.hero-h1 { font-size: clamp(3.1rem, 10.4vw, 7.6rem); letter-spacing: -.045em; margin-bottom: 20px; }
.hero-h1 span { display: block; }
.hero-h1 .l1 { font-weight: 700; }
.hero-h1 .l2 { color: var(--copper-2); font-style: italic; font-weight: 700; letter-spacing: -.05em; }
.hero-h1 .l3 { font-weight: 400; font-size: .42em; letter-spacing: .01em; color: rgba(245,243,238,.72); margin-top: 6px; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.16rem); color: rgba(245,243,238,.8); max-width: 46ch; line-height: 1.55; }

.brand-switch { display: inline-flex; gap: 6px; padding: 5px; margin: 30px 0 26px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.bs {
  min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: rgba(245,243,238,.72);
  font: 600 13.5px/1 Outfit, sans-serif; letter-spacing: .16em;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.bs:hover { color: #fff; }
.bs-on { background: var(--paper); color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin: clamp(44px, 6vw, 74px) 0 0; padding: 0; background: rgba(255,255,255,.1);
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats > div { background: rgba(11,11,12,.55); padding: 20px 4px 24px; }
.hero-stats dt { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: rgba(245,243,238,.55); margin-bottom: 8px; }
.hero-stats dd { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; color: var(--paper); }

/* ── Secciones ────────────────────────────────────────────────────── */
.sec { padding: clamp(64px, 8vw, 118px) clamp(18px, 4vw, 48px); }
.sec .eye { color: #8a5a2f; }
.sec-dark .eye { color: var(--copper-2); }
.sec-alt { background: var(--paper-2); }
.sec-dark { background: var(--ink); color: var(--paper); }
.sec-head { max-width: var(--max); margin: 0 auto clamp(32px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.sec-head .lead { color: var(--muted); max-width: 58ch; font-size: clamp(1rem, 1.3vw, 1.08rem); }
.sec-dark .sec-head .lead { color: rgba(245,243,238,.66); }
.stamp { color: var(--muted); letter-spacing: .12em; }
.sec-foot { max-width: var(--max); margin: 30px auto 0; }

/* ── Pestañas ─────────────────────────────────────────────────────── */
.tabs { max-width: var(--max); margin: 0 auto 26px; display: flex; gap: 8px; }
.tab {
  min-height: 46px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 600 14px/1 Outfit, sans-serif; letter-spacing: .1em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { border-color: var(--ink); }
.tab-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tab .cnt { opacity: .55; margin-left: 4px; font-weight: 500; }

.panel { max-width: var(--max); margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: clamp(16px, 2vw, 26px); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; background: #ded9cf; aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.badge {
  position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 6px;
  font: 700 11px/1 Outfit, sans-serif; letter-spacing: .16em; color: #fff;
}
.badge-seat { background: var(--ink); }
.badge-cupra { background: var(--copper); color: var(--ink); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.06rem; line-height: 1.24; letter-spacing: -.01em; }
.card-note { color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cuota { margin-top: auto; display: flex; align-items: baseline; gap: 4px; padding-top: 6px; }
.cuota-n { font-size: clamp(2rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.cuota-u { font-size: .95rem; font-weight: 500; color: var(--muted); }
.card-cupra .cuota-n { color: #8a5a2f; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }
.card-actions .btn { flex: 1 1 auto; }
.vacio { color: var(--muted); padding: 22px 0; }

/* ── Carrusel de ocasión ──────────────────────────────────────────── */
.rail-wrap { max-width: var(--max); margin: 0 auto; position: relative; }
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: #c9c4b8 transparent;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: #c9c4b8; border-radius: 99px; }
.rail::-webkit-scrollbar-track { background: transparent; }
.ocar {
  flex: 0 0 clamp(258px, 30vw, 330px); scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ocar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ocar-media { aspect-ratio: 3 / 2; background: #e3dfd5; overflow: hidden; }
.ocar-media img { width: 100%; height: 100%; object-fit: cover; }
.ocar-noimg { display: block; height: 100%; }
.ocar-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ocar-body h3 { font-size: .98rem; line-height: 1.3; letter-spacing: -.01em; }
.ocar-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.ocar-meta span { background: var(--paper-2); border-radius: 6px; padding: 3px 8px; }
.ocar-price { margin-top: auto; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.link-arrow { font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); align-self: flex-start; padding-bottom: 2px; }
.link-arrow:hover { color: var(--red-deep); }
.rail-btn {
  position: absolute; top: 38%; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 24px; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.rail-btn:hover { background: var(--ink); color: var(--paper); }
.rail-prev { left: -12px; }
.rail-next { right: -12px; }

/* ── Servicios ────────────────────────────────────────────────────── */
.serv { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: clamp(14px, 2vw, 20px); }
.serv-i {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.serv-i:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--copper-2); }
.serv-i h3 { font-size: 1.06rem; }
.serv-i p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.serv-i .link-arrow { margin-top: auto; }

/* ── Financiación ─────────────────────────────────────────────────── */
.fin { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(26px, 4vw, 54px); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.fin h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-top: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid rgba(245,243,238,.14); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--copper); color: var(--copper-2); font-weight: 700; font-size: 17px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: rgba(245,243,238,.66); font-size: 14.5px; }

/* ── Contacto ─────────────────────────────────────────────────────── */
.contact { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 68px); align-items: start; }
.contact-txt h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 6px 0 16px; }
.contact-txt .lead { color: var(--muted); max-width: 44ch; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { font-size: 17px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--ink); font-size: 13.5px; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 4px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.hp { position: absolute; left: -9999px; }
.brandpick { border: 0; padding: 0; margin: 0 0 16px; display: flex; gap: 10px; align-items: center; }
.brandpick legend { font-size: 13.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 10px; padding: 0; }
.brandpick label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500; transition: border-color .2s var(--ease), background .2s var(--ease); }
.brandpick label:hover { border-color: var(--ink); }
.brandpick input { accent-color: var(--red-deep); width: 18px; height: 18px; }
.brandpick label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.fld { display: block; font-size: 13.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.fld input, .fld select, .fld textarea {
  width: 100%; margin-top: 7px; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 Outfit, sans-serif; text-transform: none; letter-spacing: normal; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.fld textarea { resize: vertical; min-height: 92px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(11,11,12,.06); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; }
.fine a { color: var(--ink); }
.flash { border-radius: 12px; padding: 16px 18px; font-size: 15px; margin-bottom: 16px; }
.flash.ok { background: #eef7f0; border: 1px solid #bfe0c8; }
.flash.err { background: #fdeef1; border: 1px solid #f3c3ce; }
.flash p { margin-top: 6px; color: var(--muted); }
.tone-cupra .contact-form { border-top: 3px solid var(--copper); }

/* ── Pie ──────────────────────────────────────────────────────────── */
.foot { background: var(--ink); color: rgba(245,243,238,.72); padding: clamp(38px, 5vw, 58px) clamp(18px, 4vw, 48px) 96px; }
.foot .mark img { height: 54px; }
.foot-top { max-width: var(--max); margin: 0 auto 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 26px; }
.foot-top p { font-size: 15px; }
.foot-links { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.foot-links a { text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.foot-links a:hover { color: #fff; border-color: var(--red); }

.to-top {
  position: fixed; right: 18px; bottom: 92px; z-index: 20; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(11,11,12,.86);
  color: var(--paper); font-size: 19px; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease); backdrop-filter: blur(8px);
}
.to-top.on { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }

.mbar { display: none; }

/* ── Cookies ──────────────────────────────────────────────────────── */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 35;
  display: none; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--shadow-lg); font-size: 13.5px; color: var(--muted); max-width: 720px; margin: 0 auto;
}
.cookie.on { display: flex; }
.cookie p { max-width: 46ch; }
.cookie a { color: var(--ink); }
.cookie-btns { display: flex; gap: 8px; }
.cookie-btns button {
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); font: 600 14px/1 Outfit, sans-serif; cursor: pointer;
}
.cookie-btns .quiet { background: transparent; color: var(--ink); border-color: var(--line); }


.subnav {
  display: flex; gap: 4px 20px; flex-wrap: wrap; align-items: center;
  padding: 10px clamp(16px, 3vw, 30px); background: #111114; border-bottom: 1px solid #222;
}
.subnav a {
  min-height: 40px; display: inline-flex; align-items: center; text-decoration: none;
  font-size: 13.5px; font-weight: 500; color: rgba(245,243,238,.72);
}
.subnav a:hover { color: #fff; }
.subnav a[aria-current="page"] { color: var(--copper-2); }

/* ── Cinta de confianza ───────────────────────────────────────────── */
.trust { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.trust ul {
  list-style: none; margin: 0 auto; padding: 18px clamp(16px, 4vw, 48px);
  max-width: var(--max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 22px;
}
.trust li { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.trust .ti {
  grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.trust strong { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.trust li > span:last-child { font-size: 13px; color: var(--muted); }

/* ── Preguntas frecuentes ─────────────────────────────────────────── */
.faq { max-width: var(--max); margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 58px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 22px; font-weight: 400; color: var(--muted); line-height: 1;
  transition: transform .25s var(--ease), color .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; color: var(--ink); }
.faq summary:hover::after { color: var(--ink); }
.faq p { color: var(--muted); font-size: 15px; line-height: 1.6; padding: 0 0 18px; max-width: 78ch; }

/* ── Cabecera con sombra al bajar ─────────────────────────────────── */
.top.scrolled { background: rgba(11,11,12,.92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px -18px rgba(0,0,0,.85); border-bottom-color: rgba(255,255,255,.12); }

@media (max-width: 960px) {
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .trust ul { grid-template-columns: 1fr; padding-top: 16px; padding-bottom: 16px; }
  .trust strong { font-size: 15px; }
}

/* ── Movimiento ───────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal { opacity: 1; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .fin, .contact { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .mark img { height: 28px; }
  .top { height: 60px; margin-bottom: -60px; }
  .hero { min-height: 88svh; padding-top: 44px; }
  .hero-img { object-position: 66% 52%; }
  .hero-veil {
    background:
      linear-gradient(to top, rgba(11,11,12,.97) 20%, rgba(11,11,12,.72) 52%, rgba(11,11,12,.28) 100%),
      linear-gradient(100deg, rgba(11,11,12,.9) 10%, rgba(11,11,12,.3) 80%);
  }
  .hero-sub { font-size: 15.5px; }
  .hero-h1 .l3 { font-size: .46em; }
  .brand-switch { margin-top: 24px; }
  .btn { min-height: 52px; }
  .cards { grid-template-columns: 1fr; }
  .rail-btn { display: none; }
  .ocar { flex-basis: 78vw; }
  .row2 { grid-template-columns: 1fr; }
  .sec { padding-left: 16px; padding-right: 16px; }
  .wa-menu-pop { position: fixed; left: 12px; right: 12px; top: 68px; min-width: 0; }
  .ta-pl-video { width: min(72vw, 300px); max-height: 54svh; }

  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245,243,238,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mbar a {
    display: grid; place-items: center; min-height: 50px; border-radius: 12px; text-decoration: none;
    font: 600 13px/1 Outfit, sans-serif;
  }
  .mbar-a { background: #fff; border: 1px solid var(--line); color: var(--ink); }
  .mbar-b { display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; background: var(--red-deep); color: #fff; }
  .mbar-c { background: var(--ink); color: var(--paper); }
  .to-top { bottom: 88px; }
  .foot { padding-bottom: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-img { transform: none; }
}

@media (max-width: 560px) {
  .cookie {
    left: 10px; right: 10px; bottom: calc(74px + env(safe-area-inset-bottom));
    padding: 12px 14px; font-size: 12.5px; gap: 10px; border-radius: 12px;
  }
  .cookie p { max-width: none; line-height: 1.45; }
  .cookie-btns { width: 100%; }
  .cookie-btns button { flex: 1 1 auto; min-height: 42px; padding: 0 12px; font-size: 15px; }
}


/* ── Preloader vídeo a pantalla completa ─────────────────────────── */
#ta-preloader { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; width: 100vw; height: 100svh; overflow: hidden; background: #050607; opacity: 1; visibility: visible; }
#ta-preloader .ta-pl-stage { position: relative; display: block; width: 100vw; height: 100svh; overflow: hidden; }
#ta-preloader .ta-pl-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center; border-radius: 0; box-shadow: none; background: #050607; }
#ta-preloader .ta-pl-stage::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5,6,7,.06), rgba(5,6,7,.18)); }
#ta-preloader .ta-pl-word, #ta-preloader .ta-pl-sub, #ta-preloader .ta-pl-svg { display: none; }

/* ── Selector visual de WhatsApp ────────────────────────────────── */
body.wa-modal-open { overflow: hidden; }
.wa-modal-backdrop { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; background: rgba(5,6,7,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.wa-modal-backdrop[hidden] { display: none; }
.wa-modal { position: relative; width: min(100%, 560px); max-height: min(740px, calc(100svh - 40px)); overflow: auto; padding: clamp(25px, 5vw, 40px); border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: linear-gradient(145deg, #17191d, #0b0c0e); color: var(--paper); box-shadow: 0 32px 90px rgba(0,0,0,.52); animation: waModalIn .28s var(--ease) both; }
@keyframes waModalIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-close { position: absolute; top: 13px; right: 15px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; background: transparent; color: var(--paper); font-size: 26px; line-height: 1; cursor: pointer; }
.wa-close:hover { background: rgba(255,255,255,.1); }
.wa-modal-kicker { margin-bottom: 12px; color: var(--copper-2); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.wa-modal h2 { max-width: 12ch; font-size: clamp(2rem, 6vw, 3.2rem); }
.wa-modal-lead { max-width: 42ch; margin-top: 12px; color: rgba(245,243,238,.68); }
.wa-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.wa-choice { min-height: 164px; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.05); color: var(--paper); text-align: left; cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.wa-choice:hover { transform: translateY(-3px); border-color: var(--copper); background: rgba(196,138,90,.14); }
.wa-choice-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 12px; background: var(--copper); color: var(--ink); font-size: 20px; }
.wa-choice strong, .wa-choice small { display: block; }
.wa-choice strong { font-size: 1.05rem; }
.wa-choice small { margin-top: 5px; color: rgba(245,243,238,.58); }
.wa-back { margin: 0 0 18px; padding: 0; border: 0; background: transparent; color: var(--copper-2); font: 600 14px/1 Outfit, sans-serif; cursor: pointer; }
.wa-form-grid { display: grid; gap: 12px; }
.wa-form-grid label { display: grid; gap: 7px; color: rgba(245,243,238,.7); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wa-form-grid select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; background: #202328; color: var(--paper); font: 400 15px/1 Outfit, sans-serif; }
.wa-next { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; margin-top: 22px; padding: 0 18px; border: 0; border-radius: 12px; background: #25d366; color: #061108; font: 700 15px/1 Outfit, sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.wa-next:hover { transform: translateY(-2px); background: #52df82; }
.wa-next:disabled { opacity: .7; cursor: wait; transform: none; }
.wa-success { text-align: center; }
.wa-success-dot { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #25d366; color: #061108; font-size: 28px; }
.wa-success h3 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
.wa-success p { margin-top: 9px; color: rgba(245,243,238,.68); }
.wa-success .wa-back { margin-top: 20px; }
@media (max-width: 560px) { .wa-choice-grid { grid-template-columns: 1fr; } .wa-choice { min-height: 120px; } .wa-choice-icon { margin-bottom: 12px; } .wa-modal { padding: 24px 18px; border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { #ta-preloader .ta-pl-stage::after { background: linear-gradient(180deg, rgba(5,6,7,.06), rgba(5,6,7,.18)); } }

/* ── Pulido visual seguro · sin cambiar estructura ni comportamiento ── */
.sec-alt { background: linear-gradient(180deg, #f7f5ef 0%, var(--paper-2) 100%); }
.sec-dark { background: radial-gradient(circle at 85% 8%, rgba(196,138,90,.12), transparent 34%), var(--ink); }
.sec-head { position: relative; }
.sec-head .eye { display: inline-flex; align-items: center; gap: 10px; }
.sec-head .eye::before { content: ''; width: 28px; height: 2px; border-radius: 99px; background: var(--red); }
.card, .ocar, .serv-i, .contact-form { box-shadow: 0 1px 0 rgba(11,11,12,.04), 0 16px 34px -28px rgba(11,11,12,.42); }
.card:focus-within, .ocar:focus-within, .serv-i:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,12,.07), var(--shadow); }
.card-body, .ocar-body { background: linear-gradient(180deg, #fff 0%, #fdfcf9 100%); }
.card-actions .btn, .contact-form .btn { min-height: 52px; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px; background: #eef8f0; }
.wa-link:hover { background: #dff3e4; text-decoration: none; }
.wa-service-link { font-weight: 600; }
.fld input, .fld select, .fld textarea { box-shadow: inset 0 1px 2px rgba(11,11,12,.03); }
@media (max-width: 700px) {
  .sec { padding-top: clamp(52px, 12vw, 78px); padding-bottom: clamp(52px, 12vw, 78px); }
  .sec-head { margin-bottom: 28px; }
  .cards { grid-template-columns: 1fr; }
  .contact-list li { padding-bottom: 14px; }
  .foot-links { gap: 12px 16px; }
}


/* ── Marcas de cabecera ───────────────────────────────────────────── */
.brand-logos { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
.brand-logo { display: grid; place-items: center; width: 36px; height: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.94); transition: transform .2s var(--ease), background .2s var(--ease); }
.brand-logo:hover { transform: translateY(-1px); background: #fff; }
.brand-logo img { width: auto; max-width: 30px; max-height: 22px; filter: brightness(0) invert(1); }
@media (max-width: 720px) {
  .brand-logos { gap: 4px; }
  .brand-logo { width: 29px; height: 26px; border-radius: 6px; }
  .brand-logo img { max-width: 25px; max-height: 18px; }
  .btn-line { padding-left: 11px; padding-right: 11px; }
}

/* Ajuste de contraste de marcas sobre la cabecera oscura */
.brand-logo { background: rgba(11,11,12,.22); border-color: rgba(255,255,255,.18); }
.brand-logo:hover { background: rgba(245,243,238,.12); border-color: rgba(255,255,255,.38); }

/* Logotipos de marca ampliados para una lectura clara */
.brand-logo { width: 64px; height: 42px; border-radius: 9px; }
.brand-logo img { max-width: 56px; max-height: 34px; }
@media (max-width: 720px) {
  .brand-logo { width: 50px; height: 34px; border-radius: 7px; }
  .brand-logo img { max-width: 44px; max-height: 27px; }
}

/* Marcas integradas en la cabecera: sin caja ni fondo */
.brand-logo { width: 76px; height: 48px; border: 0; border-radius: 0; background: transparent; }
.brand-logo:hover { transform: scale(1.05); background: transparent; border-color: transparent; }
.brand-logo img { max-width: 70px; max-height: 44px; filter: brightness(0) invert(1); }
@media (max-width: 720px) {
  .brand-logo { width: 60px; height: 39px; }
  .brand-logo img { max-width: 54px; max-height: 35px; }
}


/* ── Accesos rápidos de conversión ───────────────────────────────── */
.quick-actions { max-width: var(--max); margin: 0 auto; padding: 18px clamp(18px, 4vw, 48px) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.quick-action { min-height: 86px; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 10px 26px -24px rgba(11,11,12,.65); transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.quick-action:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow); }
.quick-kicker { color: var(--red-deep); font: 700 11px/1 Outfit, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.quick-action strong { font-size: 15px; }
.quick-action > span:last-child { color: var(--muted); font-size: 13px; }
.quick-action-wa { border-color: rgba(37,211,102,.38); }
.quick-action-wa .quick-kicker { color: #16833b; }
.service-wa { display: inline-flex; align-items: center; align-self: flex-start; margin-top: 2px; padding: 7px 10px; border-radius: 8px; background: #eef8f0; color: #16833b; font-size: 14px; font-weight: 700; text-decoration: none; }
.service-wa:hover { background: #dff3e4; color: #0b5e2a; }
@media (max-width: 820px) { .quick-actions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quick-actions { grid-template-columns: 1fr; padding-top: 12px; } .quick-action { min-height: 70px; } }

/* Estado de salida suave del preloader */
#ta-preloader.ta-pl-out { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }


/* WhatsApp en cabecera: caja más compacta sin reducir el objetivo táctil. */
.top .btn-wa-head { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 8px 13px; font-size: 13.5px; line-height: 1.15; }
@media (max-width: 720px) { .top .btn-wa-head { min-height: 48px; padding: 7px 10px; font-size: 13px; } }
