/* =========================================================
   Llantera México — estilos
   Paleta: blanco cálido, tinta, rojo de marca y verde de acento
   ========================================================= */
:root {
  --ink: #141414;
  --ink-2: #2a2a2a;
  --muted: #5d5954;
  --paper: #faf8f5;
  --white: #ffffff;
  --line: #e7e2db;
  --red: #d8111b;
  --red-dark: #b10d16;
  --green: #0b6b3e;
  --flag-white: #e9e9e9;
  --wa: #1fa855;

  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 12px 32px -12px rgba(20, 20, 20, .18);
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.005em;
}
.h3 { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow--light { color: #ff5a61; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(11, 107, 62, .14); }
.kicker { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px rgba(216, 17, 27, .7); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost .ico--wa { color: var(--wa); }
.btn--light { background: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--red:hover { background: var(--red-dark); box-shadow: 0 12px 26px -10px rgba(216, 17, 27, .8); }
  .btn--ghost:hover { background: var(--ink); color: #fff; }
  .btn--ghost:hover .ico--wa { color: #5be38f; }
  .btn--light:hover { background: #f0ece6; }
  .btn--wa:hover { background: #178f47; }
}

/* ---------- Franja tricolor ---------- */
.flag-stripe { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 5px; }
.flag-stripe span:nth-child(1) { background: var(--green); }
.flag-stripe span:nth-child(2) { background: var(--flag-white); }
.flag-stripe span:nth-child(3) { background: var(--red); }

/* ---------- Barra superior ---------- */
.utility { background: var(--ink); color: #d9d5cf; font-size: .86rem; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility p { display: flex; align-items: center; gap: 8px; }
.utility__links { gap: 24px !important; }
.utility a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color 160ms var(--ease-out); }
.utility a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 500; color: var(--ink-2);
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover::after { transform: scaleX(1); } }
.nav__cta { min-height: 44px; padding: 10px 18px; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.hero::before {
  /* trazo inclinado que replica la línea del logo */
  content: ""; position: absolute; right: -6vw; top: 0; bottom: 0; width: 44vw;
  background: #f1ede7; transform: skewX(-12deg); transform-origin: top; z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.7rem, 6.2vw, 5.1rem); line-height: .92; letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero__lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 33em; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__uses { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.hero__uses li { display: inline-flex; align-items: center; gap: 18px; }
.hero__uses li + li::before { content: ""; width: 4px; height: 4px; background: var(--red); transform: rotate(45deg); }

.hero__media { position: relative; padding-bottom: 40px; }
.hero__frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.6;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

.medida {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 0;
  width: min(300px, 78%);
  background: #fff; border-radius: 12px; padding: 18px 20px 16px;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .35);
  border-top: 4px solid var(--red);
}
.medida__title { font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.medida__code { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1.05; margin: 6px 0 10px; }
.medida__code span { padding-bottom: 2px; border-bottom: 3px solid; }
.medida .m1 { border-color: var(--green); }
.medida .m2 { border-color: #b9b4ad; }
.medida .m3 { border-color: var(--red); }
.medida__list { display: grid; gap: 4px; font-size: .9rem; color: var(--ink-2); }
.medida__list b { display: inline-block; min-width: 42px; font-family: var(--display); font-size: 1.05rem; border-bottom: 2px solid; line-height: 1.1; margin-right: 6px; }
.medida__note { font-size: .82rem; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Marcas ---------- */
.brands { background: #fff; border-block: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0; }
.brands__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.brands__head p { color: var(--muted); font-size: .95rem; max-width: 34em; text-align: right; }
.brands__list { display: grid; grid-template-columns: repeat(8, 1fr); align-items: center; }
.brands__list li { display: flex; align-items: center; justify-content: center; height: 72px; padding: 0 14px; border-left: 1px solid var(--line); }
.brands__list li:first-child { border-left: 0; }
.brands__list img { max-height: 34px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Tipos de llanta ---------- */
.types { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .h2 { margin-bottom: 16px; }
.section-head__lead { color: var(--muted); font-size: 1.1rem; }
.treads { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tread {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.tread__img { display: block; position: relative; aspect-ratio: 5 / 5.2; overflow: hidden; background: #e9e7e3; }
.tread__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.tread__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.tread__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.tread__name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; font-style: italic; }
.tread__text { font-size: .93rem; color: var(--muted); line-height: 1.45; }
.tread__use { margin-top: auto; padding-top: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.tread:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .tread:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
  .tread:hover .tread__img img { transform: scale(1.05); }
  .tread:hover .tread__img::after { transform: scaleX(1); }
}
.types__hint { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* ---------- Particulares y flotillas ---------- */
.audience { padding: 0 0 clamp(64px, 9vw, 120px); }
.audience__title { margin-bottom: clamp(28px, 4vw, 44px); max-width: 14em; }
.audience__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.panel__img { aspect-ratio: 16 / 8; overflow: hidden; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.panel__tag { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.panel--dark { background: var(--ink); color: #f1eee9; border-color: var(--ink); }
.panel--dark .panel__tag { color: #ff6970; }
.panel--dark .checks .ico { color: #58d38c; }
.checks { display: grid; gap: 10px; color: inherit; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.checks .ico { margin-top: 3px; color: var(--green); }
.link-arrow {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--red); align-self: flex-start;
}
.panel--dark .link-arrow { color: #fff; }
.link-arrow .ico { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .ico { transform: translateX(4px); } }

/* ---------- Beneficios ---------- */
.why { background: #fff; border-block: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0; }
.why__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.why__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.why__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.why__copy .h2 { margin-bottom: 30px; }
.why__list { display: grid; gap: 0; }
.why__list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__num { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--red); }
.why__list h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.why__list p { color: var(--muted); font-size: .98rem; }

/* ---------- Cotización ---------- */
.quote { position: relative; background: var(--ink); color: #f1eee9; padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.quote::before {
  content: ""; position: absolute; left: -10vw; top: 0; bottom: 0; width: 40vw;
  background: linear-gradient(90deg, rgba(216, 17, 27, .16), rgba(216, 17, 27, 0));
  transform: skewX(-12deg);
}
.quote__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote .h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 30px; }
.steps { display: grid; gap: 18px; margin-bottom: 34px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--red); font-family: var(--display); font-weight: 800; font-size: 1.2rem;
}
.steps p { color: #c9c4bd; padding-top: 6px; }
.steps b { color: #fff; font-weight: 600; }
.quote__direct { display: flex; flex-wrap: wrap; gap: 12px; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form__title { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .9rem; }
.field label span { color: var(--red); }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; min-height: 48px;
  border: 1.5px solid #d9d3cb; border-radius: var(--radius); background: #fcfbf9; color: var(--ink);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.field input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(216, 17, 27, .12); }
.form__error { color: var(--red-dark); font-size: .92rem; font-weight: 500; margin-bottom: 12px; }
.form__alt { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.form__alt a { color: var(--ink); font-weight: 600; }

/* ---------- Preguntas frecuentes ---------- */
.faq { padding: clamp(64px, 9vw, 120px) 0 0; }
.faq__wrap { max-width: 920px; }
.faq__head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq__list { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; font-weight: 600; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23d8111b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 240ms var(--ease-out), background-color 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(180deg); background-color: #fde8e9; }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 52em; }
.faq details p a { color: var(--ink); font-weight: 600; }
.faq details[open] p { animation: faq-in 280ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--red); } }
@media (max-width: 560px) { .faq summary { padding: 18px; font-size: 1.02rem; } .faq details p { padding: 0 18px 18px; } }

/* ---------- Contacto ---------- */
.contact { padding: clamp(64px, 9vw, 120px) 0; }
.contact__head { display: grid; grid-template-columns: auto 1fr; gap: 16px 48px; align-items: end; margin-bottom: 12px; }
.contact__head p { color: var(--muted); max-width: 36em; }
.contact__phone {
  display: inline-block; font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: clamp(3.2rem, 11vw, 9rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); text-decoration: none;
  margin: 18px 0 36px; transition: color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .contact__phone:hover { color: var(--red); } }
.contact__list { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr; border-top: 2px solid var(--ink); }
.contact__list li { display: flex; gap: 12px; padding: 22px 20px 6px 0; }
.contact__list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.contact__list .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--red); }
.contact__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact__list a { font-weight: 600; word-break: break-word; text-decoration-color: rgba(216, 17, 27, .4); text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; padding-block: 52px 32px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); font-size: .94rem; max-width: 30em; }
.footer__nav, .footer__contact { display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--red); }
.footer__contact p { color: var(--muted); }
.footer__legal { padding-block: 18px 26px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* ---------- Acciones flotantes ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(16, 120, 60, .7);
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), background-color 200ms var(--ease-out);
}
.wa-float .ico { width: 24px; height: 24px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #178f47; }
.wa-float:active { transform: scale(.97); }
.mobile-bar { display: none; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =================== Responsive =================== */
@media (max-width: 1080px) {
  .brands__list { grid-template-columns: repeat(4, 1fr); row-gap: 8px; }
  .brands__list li:nth-child(5) { border-left: 0; }
  .treads { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(clamp(16px, 4vw, 32px) * -1); padding-inline: clamp(16px, 4vw, 32px); scrollbar-width: thin; }
  .treads li { scroll-snap-align: start; }
  .contact__list { grid-template-columns: 1fr 1fr; }
  .contact__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact__list li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 16px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .utility { display: none; }
  .brand img { height: 44px; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; margin-right: -8px;
  }
  .menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 220ms var(--ease-out); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    padding: 8px clamp(16px, 4vw, 32px) 20px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; min-height: 50px; }

  .hero::before { width: 70vw; right: -30vw; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { padding-bottom: 0; }
  .hero__frame { aspect-ratio: 4 / 3; }
  .medida { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 16px 0; }

  .brands__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .brands__head p { text-align: left; }

  .audience__grid, .why__grid, .quote__grid { grid-template-columns: 1fr; }
  .why__media { aspect-ratio: 16 / 9; }
  .contact__head { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .wa-float { display: none; }
  body { padding-bottom: 68px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.2fr 1fr;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .3);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border-radius: var(--radius); font-weight: 600; text-decoration: none; font-size: .98rem; border: 1.5px solid var(--line);
  }
  .mobile-bar a:active { transform: scale(.97); }
  .mobile-bar__wa { background: var(--wa); color: #fff; border-color: var(--wa) !important; }
  .mobile-bar__cta { background: var(--red); color: #fff; border-color: var(--red) !important; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .brands__list { grid-template-columns: repeat(2, 1fr); }
  .brands__list li { border-left: 0 !important; height: 64px; border-top: 1px solid var(--line); }
  .brands__list li:nth-child(odd) { border-right: 1px solid var(--line); }
  .brands__list li:nth-child(-n+2) { border-top: 0; }
  .treads { grid-template-columns: repeat(5, 72%); }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .quote__direct .btn { flex: 1 1 100%; }
  .contact__list { grid-template-columns: 1fr; }
  .contact__list li, .contact__list li + li { padding: 18px 0 0; border-left: 0; }
  .contact__list li + li { border-top: 1px solid var(--line); margin-top: 18px; }
  .why__list li { grid-template-columns: 52px 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms linear; transition-delay: 0s; }
  *, *::before, *::after { animation-duration: .01ms !important; }
  .tread:hover, .tread:hover .tread__img img { transform: none; }
  .faq details[open] p { animation: none; }
}
