/* =========================================================
   Cavali Ópticas — estilos
   Paleta: blanco (base), negro (tipografía), dorado (acento),
   madera y neutros cálidos (complemento).
   ========================================================= */
:root {
  --white: #ffffff;
  --ink: #111111;
  --ink-2: #3a3733;
  --muted: #6f6a63;
  --line: #e7e1d8;
  --gold: #b99a65;          /* dorado del logotipo */
  --gold-deep: #8c6d3c;     /* dorado para texto pequeño sobre blanco (contraste AA) */
  --gold-soft: #efe6d6;
  --wood: #b07a48;
  --warm: #f7f3ed;          /* neutro cálido de fondo */
  --warm-2: #efe7dc;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 20px 50px -24px rgba(17, 17, 17, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.ico--lg { width: 34px; height: 34px; color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--radius);
  font: 500 14px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 16px 30px; }
.btn--block { width: 100%; }
.btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--dark:hover { --bg: #2a2724; }
.btn--gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.btn--gold:hover { --bg: #c9ad7d; }
.btn--ghost { --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn--outline-light { --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--text { padding-inline: 8px; text-decoration: underline; text-underline-offset: 4px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 4px; width: fit-content;
}
.link .ico { transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px -20px rgba(0,0,0,.25); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { width: 96px; height: auto; margin-top: 6px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) { font-size: 14px; letter-spacing: .06em; text-decoration: none; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 10px 18px; font-size: 12.5px; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 38%;
  background: linear-gradient(180deg, var(--warm) 0%, var(--warm-2) 100%); z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(52px, 7.4vw, 104px); line-height: .98; margin-bottom: 26px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 520px; margin-bottom: 34px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .ico { color: var(--gold); }
.hero__media { position: relative; }
.hero__frame { position: relative; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.hero__frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 210px 210px 8px 8px; pointer-events: none; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__badge {
  position: absolute; left: -28px; bottom: 40px; display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 16px 22px; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero__badge strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.1; }
.hero__badge span { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }

/* ---------- Valores ---------- */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { padding: 40px 28px; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; padding-left: 0; }
.value h3 { font-size: 17px; font-weight: 500; margin: 18px 0 8px; letter-spacing: .02em; }
.value p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section--warm { background: var(--warm); }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.section__head h2 { font-size: clamp(38px, 4.8vw, 64px); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section__head--split > p { color: var(--muted); margin: 0; }
.section__sub { color: var(--muted); max-width: 560px; margin: 20px auto 0; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: #fff; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; min-height: 260px; transition: background .4s var(--ease); }
.service:hover { background: var(--warm); }
.service__num { font-family: var(--serif); font-size: 18px; color: var(--gold-deep); font-style: italic; margin-bottom: 26px; }
.service h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 15.5px; }
.service--feature { background: var(--ink); color: #fff; }
.service--feature:hover { background: #1d1b19; }
.service--feature p { color: rgba(255,255,255,.72); }
.service--feature .service__num { color: var(--gold); }
.service--feature .link { color: #fff; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.step { text-align: center; position: relative; }
.step span {
  width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; position: relative;
  border-radius: 50%; background: #fff; border: 1px solid var(--gold); font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--gold-deep);
}
.step h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 240px; margin: 0 auto; }

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); margin-bottom: clamp(48px, 6vw, 80px); }
.product { margin: 0; }
.product__img { background: #ededed; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.product figcaption { padding-top: 16px; }
.product h3 { font-family: var(--serif); font-size: 26px; }
.product p { font-size: 14.5px; color: var(--muted); margin: 4px 0 0; }

.feature { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); background: var(--warm); border-radius: var(--radius-lg); overflow: hidden; }
.feature__media { height: 100%; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.feature__copy { padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(32px, 4vw, 56px) 0; }
.feature__copy h3 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 14px; }
.feature__copy p { color: var(--ink-2); }

/* ---------- Easy Drive ---------- */
.drive { display: grid; grid-template-columns: 1fr 1fr; background: #0c0c0c; color: #fff; }
.drive__media { position: relative; min-height: 560px; }
.drive__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.drive__copy { padding: clamp(56px, 7vw, 104px) clamp(24px, 6vw, 96px); align-self: center; max-width: 640px; }
.drive__copy h2 { font-size: clamp(40px, 5vw, 66px); margin-bottom: 20px; }
.drive__copy h2 em { color: var(--gold); }
.drive__copy p { color: rgba(255,255,255,.78); margin-bottom: 30px; }
.drive__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.drive__thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; opacity: .9; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: clamp(12px, 2vw, 24px); align-items: center; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.gallery img:nth-child(2) { aspect-ratio: 3 / 4.4; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }

/* ---------- Sucursales ---------- */
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.branch { background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 200px 1fr; box-shadow: 0 1px 0 var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.branch:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.branch__img img { width: 100%; height: 100%; object-fit: cover; }
.branch__img--brand { background: var(--ink); display: grid; place-items: center; }
.branch__img--brand img { width: 70%; height: auto; }
.branch__body { padding: 30px 28px; display: flex; flex-direction: column; }
.branch h3 { font-family: var(--serif); font-size: 32px; margin-bottom: 18px; }
.branch__info { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.branch__info li { display: flex; gap: 12px; align-items: flex-start; }
.branch__info .ico { color: var(--gold); margin-top: .3em; }
.branch__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.branch__actions .btn { min-height: 44px; padding: 10px 16px; font-size: 12.5px; }
.tag { display: inline-block; font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--gold-soft); color: var(--gold-deep); padding: 7px 10px; border-radius: 99px; margin-bottom: 12px; }

/* ---------- Reservaciones ---------- */
.booking { background: linear-gradient(180deg, #fff 0%, #fff 30%, var(--warm) 30%, var(--warm) 100%); }
.booking__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.booking__copy { position: sticky; top: calc(var(--header-h) + 32px); }
.booking__copy h2 { font-size: clamp(38px, 4.6vw, 60px); margin-bottom: 20px; }
.booking__copy > p { color: var(--ink-2); }
.booking__points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.booking__points li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.booking__points .ico { color: var(--gold); width: 20px; height: 20px; }

.form { background: #fff; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 8px; }
.field em { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
  transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23111' stroke-width='1.4' d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,154,101,.2); }
.field__err { display: none; color: #a8402f; font-size: 13px; }
.field.is-invalid input, .field.is-invalid select { border-color: #c0533f; }
.field.is-invalid .field__err, .field__err--consent.is-visible { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 99px; font-size: 15px; transition: all .25s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--ink); margin: 2px 0 0; flex: none; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; text-align: center; min-height: 1em; }

/* ---------- 4Ojos4Patas ---------- */
.cause { padding: var(--section) 0; background: var(--warm-2); position: relative; overflow: hidden; }
.cause::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 0% 0%, rgba(255,255,255,.7), transparent 60%); pointer-events: none; }
.cause__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; position: relative; }
.cause__logo { width: clamp(170px, 18vw, 230px); margin-bottom: 18px; }
.cause__tagline { width: min(340px, 100%); margin-bottom: 28px; }
.cause h2 { font-size: clamp(38px, 4.6vw, 58px); margin-bottom: 20px; }
.cause__copy p { color: var(--ink-2); max-width: 520px; }
.cause__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cause__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cause__mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.cause__mosaic img:nth-child(2n) { transform: translateY(40px); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 48px; margin: -6px 0 26px; }

/* ---------- CTA ---------- */
.cta { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 128px) 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(185,154,101,.18); box-shadow: 0 0 0 120px rgba(185,154,101,.03), 0 0 0 240px rgba(185,154,101,.02); }
.cta__inner { position: relative; }
.cta__inner img { margin: 0 auto 28px; }
.cta h2 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 16px; }
.cta h2 em { color: var(--gold); }
.cta p { color: rgba(255,255,255,.72); margin-bottom: 36px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Footer ---------- */
.footer { background: #0b0b0b; color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { width: 120px; margin-bottom: 16px; }
.footer h4 { color: #fff; font-family: var(--serif); font-size: 22px; margin-bottom: 14px; }
.footer p { margin-bottom: 8px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.social a:hover { border-color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float__btn { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.wa-float__btn:hover { transform: scale(1.06); }
.wa-float__btn .ico { width: 30px; height: 30px; }
.wa-float__menu { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px; min-width: 240px; border: 1px solid var(--line); }
.wa-float__menu[hidden] { display: none; }
.wa-float__menu p { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.wa-float__menu a { display: block; padding: 12px 14px; border-radius: var(--radius); text-decoration: none; font-weight: 500; }
.wa-float__menu a:hover { background: var(--warm); }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.cause__mosaic img.reveal.is-in:nth-child(2n) { transform: translateY(40px); }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .branch { grid-template-columns: 1fr; }
  .branch__img { aspect-ratio: 16 / 9; }
  .branch__img--brand { aspect-ratio: 16 / 9; }
  .branch__img--brand img { width: 34%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .burger { display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; padding: 0; z-index: 2; }
  .burger span { width: 26px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px var(--gutter) 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0,0,0,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; min-height: 52px; }
  .header__logo img { width: 84px; }

  .hero::before { width: 100%; top: auto; height: 46%; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: 100%; margin: 0 auto; }
  .hero__badge { left: 12px; bottom: 20px; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .value { padding: 28px 20px; }
  .value:nth-child(odd) { border-left: 0; padding-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section__head--split { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .steps::before { display: none; }
  .products { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature__copy { padding: 0 24px 36px; }
  .drive { grid-template-columns: 1fr; }
  .drive__media { min-height: 0; aspect-ratio: 4 / 3.4; }
  .branches { grid-template-columns: 1fr; }
  .booking { background: var(--warm); }
  .booking__grid { grid-template-columns: 1fr; }
  .booking__copy { position: static; }
  .cause__grid { grid-template-columns: 1fr; }
  .cause__mosaic { padding-bottom: 40px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 48px; }
  .hero__actions .btn { width: 100%; }
  .hero__frame { border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
  .hero__frame::after { border-radius: 150px 150px 8px 8px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .values__grid { grid-template-columns: 1fr; }
  .value, .value:nth-child(odd) { border-left: 0; padding: 24px 0; }
  .value:nth-child(n+2) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:nth-child(2) { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 4.4; border-radius: 160px 160px var(--radius-lg) var(--radius-lg); }
  .form__row { grid-template-columns: 1fr; }
  .branch__actions .btn { flex: 1 1 auto; }
  .cause__mosaic { gap: 10px; }
  .cause__mosaic img:nth-child(2n), .cause__mosaic img.reveal.is-in:nth-child(2n) { transform: translateY(24px); }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta__actions .btn { width: 100%; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* ---------- Setmore ---------- */
.setmore { background: #fff; border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: 24px; margin: 8px 0 28px; }
.setmore[hidden] { display: none; }
.setmore p { margin-bottom: 16px; color: var(--ink-2); }
.setmore .btn { width: 100%; }
.setmore__alt { font-size: 14px; color: var(--muted) !important; margin: 14px 0 0 !important; text-align: center; }

/* ---------- Horarios en varias líneas ---------- */
[data-field="horario"] { white-space: pre-line; }

/* ---------- Aviso de inauguración ---------- */
.announce { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 10px 16px; background: var(--ink); color: #fff; font-size: 14px; text-align: center; text-decoration: none; letter-spacing: .02em; }
.announce[hidden] { display: none; }
.announce strong { color: var(--gold); font-weight: 500; }
.announce__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(185,154,101,.25); flex: none; }
.announce__more { text-decoration: underline; text-underline-offset: 3px; }
.announce:hover .announce__more { color: var(--gold); }

/* ---------- Entrega 24 h ---------- */
.hero__trust .hero__trust-key { color: var(--ink); font-weight: 500; }
.hero__trust .hero__trust-key .ico { color: var(--gold-deep); }

/* ---------- Inauguración Quevedo ---------- */
.tag[hidden] { display: none; }
.tag { background: var(--gold); color: var(--ink); align-self: flex-start; }
.opening { display: grid; justify-items: center; gap: 4px; color: #fff; text-align: center; padding: 24px; }
.opening img { width: 56px; margin-bottom: 10px; }
.opening__label { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.opening__day { font-family: var(--serif); font-size: 84px; font-weight: 500; line-height: .9; }
.opening__month { font-family: var(--serif); font-size: 22px; font-style: italic; color: rgba(255,255,255,.85); }
.footer__opening { color: var(--gold); }

/* ---------- Easy Drive (ilustración) ---------- */
.drive__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.drive__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; }
.drive__list li { position: relative; padding-left: 26px; color: rgba(255,255,255,.78); font-size: 15.5px; }
.drive__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: #f5c22b; }
.drive__list strong { color: #fff; font-weight: 500; }
@media (max-width: 1080px) {
  .branch { grid-template-columns: minmax(0, 1fr); }
  .branch__img--brand { aspect-ratio: auto; min-height: 220px; }
}

/* ---------- Servicios: insignia ---------- */
.service__num { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.service__badge { font: 500 10.5px/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 6px 9px; border-radius: 99px; }

/* ---------- Micas: Blue Protect y fotocromáticas ---------- */
.lenses { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.lens { background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.lens:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.lens__art { aspect-ratio: 5 / 3; display: grid; place-items: center; }
.lens__art svg { width: 100%; height: 100%; }
.lens--blue .lens__art { background: linear-gradient(135deg, #e9f1fa 0%, #dbe8f6 100%); }
.lens--photo .lens__art { background: linear-gradient(90deg, #f7f3ed 0%, #f7f3ed 50%, #efe2c8 50%, #f3e6cc 100%); }
.lens__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.lens h3 { font-family: var(--serif); font-size: clamp(32px, 3vw, 42px); margin-bottom: 12px; }
.lens p { color: var(--ink-2); }
.lens__list { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 10px; }
.lens__list li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); }
.lens__list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%238c6d3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lens .btn { margin-top: auto; align-self: flex-start; }
.tag--soft { background: var(--warm-2); color: var(--gold-deep); }

/* ---------- Easy Drive: encuadre de la foto nueva ---------- */
.drive__media img { object-position: 46% center; }

@media (max-width: 900px) {
  .lenses { grid-template-columns: 1fr; }
  .drive__media { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  .lens .btn { width: 100%; }
}

/* ---------- Micas v2: tres tarjetas con el mismo peso ---------- */
.lenses { grid-template-columns: repeat(3, 1fr); }
.lens { box-shadow: none; border: 1px solid var(--line); }
.lens__img { aspect-ratio: 3 / 2; overflow: hidden; }
.lens__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lens:hover .lens__img img { transform: scale(1.04); }
.lens__body { padding: clamp(22px, 2.4vw, 32px); }
.lens__kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.lens__badge { font-size: 10.5px; letter-spacing: .12em; background: var(--gold-soft); color: var(--gold-deep); padding: 5px 9px; border-radius: 99px; }
.lens h3 { font-size: clamp(28px, 2.4vw, 34px); margin-bottom: 2px; }
.lens__brand { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted) !important; margin-bottom: 14px; }
.lens p { font-size: 15.5px; }
.lens__list { margin: 0 0 24px; }
.lens .link { margin-top: auto; }
@media (max-width: 1080px) and (min-width: 901px) { .lenses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .lenses { grid-template-columns: 1fr; } }

/* ---------- Gamas de armazones ---------- */
.tiers { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tiers li { font-size: 13px; letter-spacing: .04em; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); background: #fff; }
.tiers li:last-child { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- Redes en la portada ---------- */
.hero__social { display: flex; align-items: center; gap: 10px; margin: -14px 0 30px; }
.hero__social span { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.hero__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: border-color .25s, color .25s, background .25s; }
.hero__social a:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--warm); }
