/* Somar Tires Expert · Jante Buzău
   Estructura inspirada en wda-automotive.com: negro, títulos en mayúsculas muy gruesos, subrayado de color,
   paneles con foto, tarjetas oscuras, rejilla de proyectos, cita sobre foto, contacto con tarjeta clara.
   Colores del cartel real de Somar: amarillo #F4CC49 y rojo. */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0a0a0b;
  --ink-2: #131315;
  --ink-3: #1c1c1f;
  --line: rgba(255, 255, 255, .12);
  --text: #f3f2ee;
  --muted: #b3b1ab;
  --paper: #ecebe7;
  --paper-ink: #141416;
  --paper-muted: #55534e;
  --yel: #f4cc49;
  --yel-2: #ffd95c;
  --red: #c9302a;
  --wa: #25d366;
  --r: 18px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Montserrat", "Arial Black", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
h3 { font-size: 22px; line-height: 1.12; }
p { margin: 0; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.center { text-align: center; }
.center .lead, .center h2 { margin-left: auto; margin-right: auto; }
.mt { margin-top: 44px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yel); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yel); outline-offset: 3px; }

/* subrayado de color bajo la última línea (como la referencia) */
mark { background: linear-gradient(transparent 72%, var(--yel) 72%, var(--yel) 92%, transparent 92%); color: inherit; padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* etiqueta con punto, «● Specialist Automotive Marketing» */
.dot { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin-bottom: 18px; color: var(--text); }
.dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yel); box-shadow: 0 0 0 4px rgba(244, 204, 73, .22); }
.dot--dark { color: var(--paper-ink); }
.dot--dark::before { background: var(--red); box-shadow: 0 0 0 4px rgba(201, 48, 42, .18); }
.lead { max-width: 640px; margin-top: 20px; color: var(--muted); font-size: 18px; }

/* botones */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btns--c { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 4px; border: 2px solid transparent; font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--yel { background: var(--yel); color: var(--ink); }
.btn--yel:hover { background: var(--yel-2); }
.btn--line { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2e; }
.btn--line-d { border-color: var(--ink); color: var(--ink); }
.btn--line-d:hover { background: var(--ink); color: #fff; }
.btn--full { width: 100%; }

/* ---------- cabecera ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(10, 10, 11, .94); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hdr__in { height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.brand img { width: 200px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 12px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; color: #fff; border-radius: 4px; transition: color .2s; }
.nav a:hover { color: var(--yel); }
.nav .nav__cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; background: var(--ink); border: 1px solid var(--line); color: var(--yel); padding: 12px 18px; }
.nav .nav__cta:hover { background: var(--yel); color: var(--ink); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 6px; background: rgba(10, 10, 11, .7); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.burger .ic { width: 24px; height: 24px; }
.burger .ic--close, .burger[aria-expanded="true"] .ic--open { display: none; }
.burger[aria-expanded="true"] .ic--close { display: block; }

/* ---------- portada ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 40px) 0 64px; overflow: hidden; background: var(--ink); }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(244, 204, 73, .16), transparent 70%), radial-gradient(40% 50% at 5% 100%, rgba(201, 48, 42, .14), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 74px); }
.hero__lead { max-width: 560px; margin-top: 24px; font-size: 18px; color: #d9d7d1; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 44px 0 0; }
.hero__stats div { padding: 0 28px; border-left: 1px solid var(--line); }
.hero__stats div:first-child { padding-left: 0; border-left: 0; }
.hero__stats dt { font: 900 26px/1.1 var(--display); color: var(--yel); text-transform: uppercase; }
.hero__stats dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); max-width: 170px; line-height: 1.4; }
.hero__media { position: relative; margin: 0; justify-self: end; width: min(100%, 400px); aspect-ratio: 9 / 16; max-height: calc(100svh - var(--hdr) - 90px); border-radius: var(--r); overflow: hidden; background: var(--ink-3); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--line); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { position: absolute; left: 14px; bottom: 14px; right: 70px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(10, 10, 11, .72); font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(201, 48, 42, .7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(201, 48, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 48, 42, 0); } }
.vbtn { position: absolute; right: 14px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(10, 10, 11, .72); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vbtn:hover { background: var(--yel); color: var(--ink); }

/* ---------- banda de marcas ---------- */
.band { position: relative; background: var(--ink-2); border-block: 1px solid var(--line); padding: 26px 0 30px; overflow: hidden; }
.band__lbl { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.band__track { display: flex; width: max-content; animation: band 46s linear infinite; }
.band__list { display: flex; gap: 56px; margin: 0; padding: 0 28px; list-style: none; }
.band__list li { font: 900 clamp(22px, 2.6vw, 34px)/1 var(--display); text-transform: uppercase; color: #fff; opacity: .9; white-space: nowrap; }
.band__list li.t { color: var(--yel); font-style: italic; }
.band:hover .band__track { animation-play-state: paused; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--dark { background: var(--ink); }
.sec--light { background: #fff; color: var(--paper-ink); }
.sec--paper { background: var(--paper); color: var(--paper-ink); }
.glow { position: relative; overflow: hidden; }
.glow::before { content: ""; position: absolute; left: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(244, 204, 73, .55), rgba(244, 204, 73, 0)); pointer-events: none; }
.glow > .wrap { position: relative; }
#ce-facem { padding-bottom: clamp(48px, 6vw, 72px); }

/* tres paneles con foto */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); }
.panel { position: relative; min-height: clamp(460px, 44vw, 620px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, .2) 0%, rgba(10, 10, 11, .55) 45%, rgba(10, 10, 11, .92) 100%); }
.panel:hover img { transform: scale(1.04); }
.panel__c { padding: clamp(24px, 3vw, 40px); text-align: center; width: 100%; }
.panel h3 { font-size: clamp(28px, 3vw, 40px); }
.panel h3 span { display: block; color: var(--yel); }
.panel p { margin: 14px auto 0; max-width: 360px; color: #e6e4de; font-size: 16px; }
.pill { display: inline-block; margin-top: 18px; padding: 8px 18px; border-radius: 999px; background: var(--yel); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s; }
.pill:hover { background: #fff; }

/* tarjetas oscuras */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.card { background: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; padding: 34px 30px; display: flex; flex-direction: column; transition: border-color .25s, transform .25s var(--ease); }
.card:hover { border-color: rgba(244, 204, 73, .5); transform: translateY(-3px); }
.card__ic { width: 44px; height: 44px; color: var(--yel); margin-bottom: 26px; }
.card h3 { font-size: clamp(22px, 2vw, 26px); }
.card p { margin-top: 14px; color: var(--muted); font-size: 16px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #fff; }
.more .ic { width: 28px; height: 28px; padding: 6px; border: 1.5px solid currentColor; border-radius: 50%; transition: background .2s, color .2s, transform .2s var(--ease); }
.more:hover .ic { background: var(--yel); border-color: var(--yel); color: var(--ink); transform: translateX(3px); }

/* cabecera de sección partida */
.head2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 60px; align-items: end; margin-bottom: 44px; }
.head2__note { color: var(--paper-muted); font-size: 16px; }

/* rejilla de clips */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--text); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); transition: transform .3s var(--ease), box-shadow .3s; }
.vcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.vcard__m { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.vcard__m video { width: 100%; height: 100%; object-fit: cover; }
.vcard__m::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(10, 10, 11, .85)); }
.vcard__c { position: relative; padding: 0 22px 22px; margin-top: -54px; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.vcard__d { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yel); }
.vcard h3 { margin-top: 8px; font-size: 21px; }
.vcard__c > p:not(.vcard__d):not(.price) { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; flex: 1; }
.price { margin-top: 16px; font: 900 22px/1 var(--display); color: #fff; }
.price small { font: 500 14px var(--body); color: var(--muted); margin-left: 4px; }
.vcard__a { position: absolute; inset: 0; z-index: 2; }
.vcard__a:focus-visible { outline-offset: -4px; border-radius: var(--r); }

/* pasos */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 34px 30px; border-top: 3px solid var(--yel); background: linear-gradient(180deg, var(--ink-3), var(--ink)); }
.steps b { display: block; font: 900 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--yel); margin-bottom: 20px; }
.steps p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* cita */
.quote { position: relative; padding: clamp(90px, 12vw, 150px) 0; background: var(--ink); overflow: hidden; text-align: center; }
.quote__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1); }
.quote::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 50%, rgba(10, 10, 11, .55), rgba(10, 10, 11, .95)); }
.quote__in { position: relative; z-index: 1; }
.stars { display: flex; justify-content: center; gap: 6px; color: var(--yel); }
.stars .ic { width: 26px; height: 26px; }
.quote blockquote { margin: 26px auto 0; max-width: 980px; }
.quote blockquote p { font: 900 clamp(24px, 3.6vw, 46px)/1.15 var(--display); text-transform: uppercase; overflow-wrap: break-word; }
.quote footer { margin-top: 28px; font-weight: 600; color: var(--yel); }
.quote__meta { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* galería */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 270px); grid-auto-flow: dense; gap: 14px; }
.gal figure { margin: 0; border-radius: 12px; overflow: hidden; background: #d5d3ce; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal figure:hover img { transform: scale(1.04); }
.gal__w { grid-column: span 2; grid-row: span 2; }
.gal__t { grid-row: span 2; }

/* povestea */
.tl { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tl li { display: flex; flex-direction: column; }
.tl img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.tl b { display: inline-block; align-self: flex-start; margin-top: 22px; padding: 4px 10px; background: var(--red); color: #fff; font: 900 15px/1.2 var(--display); border-radius: 3px; }
.tl h3 { margin-top: 14px; }
.tl p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* contacto */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact h2 { font-size: clamp(34px, 4.6vw, 60px); }
.clist { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 4px; }
.clist a { display: flex; align-items: center; gap: 16px; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.clist .ic { width: 22px; height: 22px; color: var(--yel); }
.clist span { display: flex; flex-direction: column; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.clist small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.clist a:hover span { color: var(--yel); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--yel); color: var(--yel); }
.map { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); background: #d5d3ce; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); width: 44px; height: 44px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--red); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.map__pin .ic { rotate: 45deg; color: #fff; width: 20px; height: 20px; }
.map__lbl { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.map:hover .map__lbl { background: var(--yel); color: var(--ink); }
.map__osm { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #333; background: rgba(255, 255, 255, .75); padding: 1px 6px; border-radius: 3px; }


/* CTA final */
.cta { background: var(--paper); color: var(--paper-ink); padding: clamp(80px, 10vw, 130px) 0; }
.cta h2 { font-size: clamp(34px, 5.4vw, 70px); max-width: 980px; }
.cta p { margin: 18px auto 0; max-width: 560px; color: var(--paper-muted); font-size: 18px; }

/* pie */
.ftr { background: var(--ink); border-top: 1px solid var(--line); padding: 70px 0 calc(28px + env(safe-area-inset-bottom)); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr .8fr; gap: 40px; }
.ftr__b img { width: 214px; border-radius: 3px; }
.ftr__b p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 320px; }
.ftr h2 { font-size: 18px; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a, .ftr li span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.ftr li a:hover { color: var(--yel); }
.ftr li .ic { color: var(--yel); }
.ftr__bot { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--muted); font-size: 14px; }
.ftr__bot a { color: var(--muted); }
.ftr__bot a:hover { color: #fff; }
.anpc { margin-left: auto; }
.anpc img { width: 160px; }

/* botón flotante y barra móvil */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); }
.fab:hover { transform: scale(1.06); }
.fab .ic { width: 30px; height: 30px; }
.callbar { display: none; }

/* páginas legales y 404 */
.legal { padding: calc(var(--hdr) + 60px) 0 90px; background: var(--paper); color: var(--paper-ink); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); }
.legal .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.legal .upd { margin-top: 10px; color: var(--paper-muted); font-size: 15px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { margin-top: 12px; font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--red); }
.legal { overflow-wrap: anywhere; }
.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #cfcdc7; vertical-align: top; }
.legal th { background: #e0dfda; }
.err404 { min-height: 80vh; display: grid; place-items: center; padding: calc(var(--hdr) + 40px) 0 80px; text-align: center; }
.err404 b { display: block; font: 900 clamp(90px, 18vw, 180px)/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--yel); }
.err404 p { margin: 16px auto 0; color: var(--muted); max-width: 460px; }

/* aparición al hacer scroll (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 10px 8px; font-size: 13px; }
  .brand img { width: 170px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --hdr: 68px; }
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: var(--hdr) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--pad) 24px; background: rgba(10, 10, 11, .98); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; max-height: calc(100svh - var(--hdr)); overflow-y: auto; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s var(--ease); }
  .nav a { padding: 15px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin: 16px 0 0; justify-content: center; background: var(--yel); color: var(--ink); border: 0; }
  .hdr.menu-open { background: rgba(10, 10, 11, .98); }

  /* en móvil el clip vertical va de fondo de la portada */
  .hero { align-items: flex-end; padding-bottom: 48px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { position: absolute; inset: 0; width: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; z-index: 0; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, .35) 30%, rgba(10, 10, 11, .9) 62%, var(--ink) 100%); }
  .hero__media figcaption { display: none; }
  .vbtn { z-index: 2; top: calc(var(--hdr) + 12px); bottom: auto; }
  .hero__grid { position: static; }
  .hero__txt { position: relative; z-index: 1; padding-top: 34vh; }
  .hero .wrap { position: relative; }

  .panels { grid-template-columns: 1fr; }
  .panel { min-height: 440px; }
  .cards, .steps, .tl { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .head2 { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .tl img { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .brand img { width: 150px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__stats div { padding: 0 12px; }
  .hero__stats dt { font-size: 19px; }
  .hero__stats dd { font-size: 12.5px; }
  .btns .btn { flex: 1 1 100%; }
  .vgrid { grid-template-columns: 1fr; gap: 18px; }
  .vcard__m { aspect-ratio: 4 / 4.4; }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 10px; }
  .gal__w { grid-column: span 2; grid-row: span 2; }
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .anpc { margin-left: 0; }
  .fab { display: none; }
  .callbar { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font-weight: 700; text-decoration: none; }
  .callbar a:first-child { background: var(--yel); color: var(--ink); }
  .callbar a:last-child { color: #fff; }
  .callbar a:last-child .ic { color: var(--wa); }
  .callbar .ic { width: 20px; height: 20px; }
}
@media (max-width: 380px) {
  .hero__stats dd { display: none; }
}

@media (hover: none) {
  .panel:hover img, .gal figure:hover img { transform: none; }
  .vcard:hover, .card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band__track { animation: none; }
  .live { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
