/* Levi & Atty Service · diseño inspirado en jtkautos.com (Framer): barra roja, cabecera blanca, portada en carrusel,
   franja de marcas, tarjetas, secciones partidas con checks, bloque azul marino, preguntas y pie azul marino. */

@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-20C4, 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 {
  --red: #D8262E;
  --red-d: #B81D24;
  --navy: #0F2D52;
  --navy-2: #163A66;
  --green: #1DA84A;
  --green-d: #178A3C;
  --ink: #0F1724;
  --text: #4A5361;
  --muted: #6B7380;
  --line: #E6E8EC;
  --soft: #F4F5F7;
  --info: #EAF3FD;
  --info-line: #D3E5FA;
  --radius: 14px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --head-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 8px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-feature-settings: "cv11", "ss01";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
button, a, summary { touch-action: manipulation; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(16px, 5.5vw, 80px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: 10px 18px;
  border: 0; border-radius: 6px;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out), box-shadow 160ms ease;
}
.btn:active { transform: scale(.97); }
.btn .ic { font-size: 1.1em; }
.btn--red { background: var(--red); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--sm { min-height: 36px; padding: 7px 14px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .btn--red:hover { background: var(--red-d); }
  .btn--green:hover { background: var(--green-d); }
  .btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn--red:hover .ic, .more:hover .ic { transform: translateX(3px); }
}
.btn .ic, .more .ic { transition: transform 200ms var(--ease-out); }

/* ---------- cabecera ---------- */
.masthead { position: sticky; top: 0; z-index: 50; }
.topbar {
  display: flex; justify-content: center; gap: .5em; flex-wrap: wrap;
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 600; line-height: 1.2; padding: 8px 16px; text-align: center;
}
.topbar i { font-style: normal; opacity: .7; }
.header { background: #fff; border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.is-scrolled .header { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 23, 36, .35); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.logo__name {
  font-size: 22px; font-weight: 700; font-style: italic; letter-spacing: -.035em; color: var(--navy);
  white-space: nowrap;
}
.logo__name b { color: var(--red); font-weight: 700; }
.logo__sub { margin-top: 5px; font-size: 12.5px; font-style: italic; font-weight: 500; color: var(--navy); letter-spacing: -.005em; }
.logo--light .logo__name, .logo--light .logo__sub { color: #fff; }
.logo--light .logo__name b { color: #FF4A51; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 10px 12px; border-radius: 6px;
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: color 160ms ease;
}
.nav a.is-active { color: var(--red); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--red); } }
.nav__call { display: none; }
.burger { display: none; }

/* ---------- portada ---------- */
.hero { position: relative; height: clamp(520px, calc(100svh - var(--head-h)), 760px); background: var(--navy); overflow: hidden; color: #fff; touch-action: pan-y; }
.hero__track, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s 700ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 700ms ease, visibility 0s; }
.slide picture, .slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 33, .45) 0%, rgba(8, 18, 33, .55) 55%, rgba(8, 18, 33, .7) 100%); }
.slide__txt {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: 0 clamp(20px, 8vw, 120px) 40px; text-align: center;
}
.slide__txt h1, .slide__title {
  max-width: 900px; color: #fff; font-size: clamp(34px, 5vw, 62px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.slide__txt p:not(.slide__title) { max-width: 600px; font-size: clamp(15px, 1.4vw, 18px); color: rgba(255, 255, 255, .88); }
.slide__txt > * { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.slide.is-active .slide__txt > * { opacity: 1; transform: none; }
.slide.is-active .slide__txt > :nth-child(2) { transition-delay: 90ms; }
.slide.is-active .slide__txt > :nth-child(3) { transition-delay: 180ms; }
.no-js .slide__txt > *, html:not(.js) .slide__txt > * { opacity: 1; transform: none; }

.hero__nav {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 28px; cursor: pointer;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}
.hero__nav:active { transform: scale(.94); }
.hero__nav--prev { left: clamp(8px, 2vw, 28px); }
.hero__nav--next { right: clamp(8px, 2vw, 28px); }
@media (hover: hover) and (pointer: fine) { .hero__nav:hover { background: rgba(255, 255, 255, .14); } }
.hero__dots {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; translate: -50% 0;
  display: flex; gap: 6px; padding: 7px 10px; border-radius: 99px; background: rgba(15, 23, 36, .35); backdrop-filter: blur(6px);
}
.hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width 300ms var(--ease-out), background-color 200ms ease; }
.hero__dots button[aria-selected="true"] { width: 22px; background: #fff; }
.hero__dots button::before { content: ""; position: absolute; inset: -10px -4px; }
.hero__dots button { position: relative; }
html:not(.js) .hero__nav, html:not(.js) .hero__dots { display: none; }

/* ---------- marcas ---------- */
.brands { background: var(--soft); padding: 26px 0 30px; overflow: hidden; }
.brands__t { font-size: 15px; font-weight: 500; letter-spacing: 0; text-align: center; color: var(--ink); margin-bottom: 18px; }
.marquee { display: flex; width: max-content; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { width: 100%; }
.marquee__row { display: flex; flex: none; gap: clamp(36px, 5vw, 72px); padding-right: clamp(36px, 5vw, 72px); animation: marquee 34s linear infinite; }
.marquee__row li {
  font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; font-style: italic; letter-spacing: -.03em;
  color: #2B3442; opacity: .78; white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; mask-image: none; }
  .marquee__row { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-inline: 16px; }
  .marquee__row[aria-hidden] { display: none; }
}

/* ---------- secciones ---------- */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec--soft { background: var(--soft); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.sec__head h2, .split h2, .faq h2, .navy h2 { font-size: clamp(32px, 3.6vw, 46px); }
.sec__head p { margin-top: 10px; color: var(--text); }
.more { display: inline-flex; align-items: center; gap: .4em; flex: none; color: var(--red); font-size: 15px; font-weight: 600; text-decoration: none; padding: 6px 0; }

/* tarjetas de servicios */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(15, 23, 36, .04), 0 10px 30px -14px rgba(15, 23, 36, .22);
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(15, 23, 36, .05), 0 22px 40px -18px rgba(15, 23, 36, .3); }
  .card:hover .card__img img { transform: scale(1.04); }
}
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 9px; border-radius: 6px; background: #fff; color: var(--red);
  font-size: 11.5px; font-weight: 600;
}
.card__body { padding: 16px 16px 4px; }
.card__cat { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.card h3 { margin-top: 6px; font-size: 17px; letter-spacing: -.01em; line-height: 1.3; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta .ic { font-size: 15px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 16px; }
.card__foot > span { font-size: 15px; font-weight: 700; color: var(--ink); }
.cards__more { margin-top: 28px; padding: 16px 20px; border-radius: 10px; background: var(--soft); font-size: 15px; }
.cards__more b { color: var(--ink); }

/* secciones partidas */
.split { padding: clamp(56px, 7vw, 100px) 0; }
.split + .split { padding-top: 0; }
.split__in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.split--rev .split__img { order: -1; }
.split__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.split__txt > p { font-size: 16.5px; }
.split__img { position: relative; border-radius: 18px; overflow: hidden; background: var(--soft); }
.split__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1000 / 780; }
.split__img--tall img { aspect-ratio: 1000 / 860; }
.split--rev .split__img img { aspect-ratio: 1000 / 940; }
.list-t { color: var(--ink); font-weight: 600; margin-bottom: -6px; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 15.5px; }
.checks .ic { margin-top: 3px; color: var(--red); font-size: 17px; stroke-width: 2.4; }
.checks--row { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.note { width: 100%; padding: 18px 20px; border-radius: 12px; background: var(--info); box-shadow: inset 0 0 0 1px var(--info-line); }
.note__t { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.note__t .ic { color: #2F6FD6; font-size: 18px; }
.note p:not(.note__t) { font-size: 14.5px; }
.float-card {
  position: absolute; left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 12px; background: #fff; color: var(--ink);
  box-shadow: 0 12px 30px -12px rgba(15, 23, 36, .35); font-weight: 600; font-size: 15px; line-height: 1.3;
}
.float-card small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.float-card__dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FDECEC; color: var(--red); font-size: 20px; }

/* bloque azul marino */
.navy {
  padding: clamp(64px, 8vw, 104px) 0;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: rgba(255, 255, 255, .8);
}
.navy__head { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.navy h2 { color: #fff; margin-bottom: 14px; }
.gallery { position: relative; }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; border-radius: 14px;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track li { scroll-snap-align: start; }
.gallery figure { position: relative; border-radius: 14px; overflow: hidden; background: var(--navy-2); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 9px 12px; border-radius: 9px; background: rgba(10, 22, 40, .72); backdrop-filter: blur(6px);
  color: #fff; font-size: 13.5px; font-weight: 600;
}
.gallery__ctrl { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.gallery__btn {
  display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; cursor: pointer;
  transition: background-color 160ms ease, transform 140ms var(--ease-out), opacity 160ms ease;
}
.gallery__btn:active { transform: scale(.94); }
.gallery__btn:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .gallery__btn:not(:disabled):hover { background: rgba(255, 255, 255, .2); } }

/* opiniones */
.stars { display: inline-flex; gap: 2px; margin-right: 8px; vertical-align: -2px; color: #F5A524; }
.stars .ic { fill: currentColor; stroke: none; font-size: 17px; }
.sec__head p b { color: var(--ink); }
.reviews { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 36, .04), 0 10px 30px -16px rgba(15, 23, 36, .2); }
.review p { color: var(--ink); font-size: 17px; line-height: 1.55; }
.review footer { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.review footer b { color: var(--ink); font-size: 15px; }

/* preguntas */
.faq__in { max-width: 880px; }
.faq__head { text-align: center; margin-bottom: 32px; }
.faq__head p { margin-top: 12px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: 10px; background: var(--soft); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  color: var(--ink); font-weight: 500; font-size: 16px;
  user-select: none; -webkit-user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { font-size: 20px; transition: transform 220ms var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; font-size: 15px; }
.faq details a { color: var(--red); font-weight: 600; }

/* contacto */
.contact { padding: 0 0 clamp(64px, 8vw, 104px); }
.contact__in { display: grid; grid-template-columns: 420px 1fr; gap: 22px; align-items: stretch; }
.contact__card { padding: 30px; border-radius: 18px; background: var(--navy); color: rgba(255, 255, 255, .82); }
.contact__card h2 { color: #fff; font-size: 30px; margin-bottom: 22px; }
.contact__list { display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; }
.contact__list .ic { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }
.contact__list small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.contact__list span { color: #fff; font-weight: 500; line-height: 1.45; }
.contact__list a { text-decoration: none; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact__btns .btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
@media (hover: hover) and (pointer: fine) { .contact__btns .btn--line:hover { box-shadow: inset 0 0 0 1.5px #fff; } }
.contact__map { position: relative; display: block; min-height: 360px; border-radius: 18px; overflow: hidden; background: #E8EDF4; }
.contact__map picture, .contact__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pin {
  position: absolute; left: 50%; top: 50%; translate: -50% -100%;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: var(--red); color: #fff; box-shadow: 0 10px 20px -8px rgba(216, 38, 46, .7);
}
.pin .ic { rotate: 45deg; font-size: 22px; }
.contact__osm { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: var(--text); background: rgba(255, 255, 255, .8); padding: 1px 6px; border-radius: 4px; }

/* ---------- pie ---------- */
.footer { background: var(--navy); border-top: 4px solid var(--red); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 44px; }
.footer__brand p { margin-top: 18px; max-width: 340px; }
.footer__t { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer__list { display: grid; gap: 12px; }
.footer__list li { display: flex; gap: 10px; align-items: flex-start; }
.footer__list .ic { margin-top: 3px; font-size: 16px; color: #fff; }
.footer__list a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: #fff; text-decoration: underline; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 13px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { text-decoration: none; }
.anpc img { width: 201px; height: auto; border-radius: 4px; }

/* llamada flotante */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 26px;
  box-shadow: 0 12px 28px -10px rgba(29, 168, 74, .7);
  opacity: 0; translate: 0 12px; pointer-events: none;
  transition: opacity 240ms var(--ease-out), translate 240ms var(--ease-out), transform 140ms var(--ease-out);
}
.fab.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.fab:active { transform: scale(.94); }
.callbar { display: none; }

/* aparición al hacer scroll (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(4n+2) { transition-delay: 60ms; }
.js .cards .reveal:nth-child(4n+3) { transition-delay: 120ms; }
.js .cards .reveal:nth-child(4n+4) { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 400ms ease; }
  .slide img, .slide.is-active img { transform: none; transition: none; }
  .slide__txt > * { transform: none; }
}

/* ---------- páginas legales y 404 ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .wrap { max-width: 860px; }
.eyebrow { color: var(--red); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.legal h1 { margin-top: 10px; font-size: clamp(32px, 4vw, 46px); }
.upd { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 36px 0 12px; font-size: 22px; }
.legal p, .legal li { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--red); }
.legal table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--soft); color: var(--ink); }
.err { padding: clamp(80px, 12vw, 140px) 0; text-align: center; }
.err b { display: block; font-size: clamp(80px, 14vw, 140px); line-height: 1; font-weight: 700; color: var(--red); letter-spacing: -.05em; }
.err h1 { margin-top: 10px; font-size: clamp(28px, 4vw, 40px); }
.err p { margin-top: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn) { padding: 10px 8px; font-size: 14.5px; }
}
@media (max-width: 1040px) {
  :root { --head-h: 96px; }
  .header__in { min-height: 64px; }
  .burger {
    display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
    border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 26px; cursor: pointer;
  }
  .nav {
    position: fixed; inset: var(--head-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(15, 23, 36, .35);
    opacity: 0; visibility: hidden; translate: 0 -8px;
    transition: opacity 200ms var(--ease-out), translate 200ms var(--ease-out), visibility 0s 200ms;
  }
  .nav.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 200ms var(--ease-out), translate 200ms var(--ease-out), visibility 0s; }
  .nav a:not(.btn) { padding: 13px 8px; font-size: 16px; border-bottom: 1px solid var(--soft); }
  .nav__call { display: inline-flex; margin-top: 12px; }
  .header__call { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .split__in { grid-template-columns: 1fr; }
  .split--rev .split__img { order: 0; }
  .split__img { max-width: 720px; }
  .gallery__track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .contact__in { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --head-h: 92px; }
  .topbar { font-size: 12px; padding: 7px 12px; }
  .topbar i:first-of-type, .topbar span:nth-of-type(2) { display: none; }
  .header__in { min-height: 60px; gap: 12px; }
  .header__call { display: none; }
  .logo__name { font-size: 19px; }
  .logo__sub { font-size: 11.5px; }
  .hero { height: clamp(520px, calc(100svh - var(--head-h) - 64px), 680px); }
  .hero__nav { display: none; }
  .slide__txt { padding: 0 20px 56px; justify-content: flex-end; }
  .sec__head { flex-direction: column; align-items: flex-start; }
  .cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card__body { padding: 12px 12px 2px; }
  .card h3 { font-size: 15.5px; }
  .card__meta { font-size: 12px; }
  .card__meta span:nth-child(2) { display: none; }
  .card__foot { padding: 12px; }
  .card__foot > span { display: none; }
  .card__foot .btn { width: 100%; }
  .badge { font-size: 10.5px; }
  .gallery__track { grid-auto-columns: 72%; gap: 12px; scroll-padding-inline: 0; }
  .checks--row { gap: 10px 20px; }
  .float-card { left: 12px; bottom: 12px; font-size: 14px; }
  .review { padding: 22px; }
  .review p { font-size: 16px; }
  .contact__card { padding: 24px 20px; }
  .contact__map { min-height: 300px; }
  .footer__in { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .fab { display: none; }
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px;
    border-radius: 12px; background: var(--green); color: #fff; font-weight: 700; font-size: 16.5px; text-decoration: none;
    box-shadow: 0 14px 30px -12px rgba(15, 23, 36, .5);
    user-select: none; -webkit-user-select: none;
    translate: 0 calc(100% + 24px); transition: translate 260ms var(--ease-out), transform 140ms var(--ease-out);
  }
  .callbar.is-on { translate: 0 0; }
  .callbar:active { transform: scale(.98); }
  .callbar .ic { font-size: 20px; }
}
@media (max-width: 380px) {
  .logo__name { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .card__meta span:nth-child(2) { display: inline-flex; }
  .card__foot .btn { width: auto; }
}
