/* =========================================================
   VRSTVA detailing — styles
   Paleta: #0F0F0F / #1A1A1A / #FFFFFF / akcent brzdová žlutá
   ========================================================= */

:root {
  --bg: #0F0F0F;
  --bg-2: #1A1A1A;
  --bg-3: #222222;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.62);
  --dim: rgba(255, 255, 255, 0.42);
  --accent: #F2C200;          /* brzdová žlutá */
  --accent-ink: #0F0F0F;
  --danger: #FF6B5B;

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 2px;
  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
.muted { color: var(--dim); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1rem; }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #FFD21F; }

.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }

.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--whatsapp {
  border-color: var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  width: 100%;
  justify-content: flex-start;
  padding-inline: 1.1rem;
}
.btn--whatsapp svg { color: #25D366; }
.btn--whatsapp:hover { border-color: #25D366; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.header.is-scrolled,
.header.is-open {
  background: rgba(15, 15, 15, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  font-family: var(--font-head);
  margin-right: auto;
}
.logo__mark {
  width: 14px; height: 14px;
  align-self: center;
  background: linear-gradient(180deg, var(--accent) 0 33%, transparent 33% 44%, #fff 44% 66%, transparent 66% 77%, rgba(255,255,255,.4) 77%);
}
.logo__word { font-weight: 700; font-size: 1.15rem; letter-spacing: .14em; }
.logo__sub { font-size: .8rem; color: var(--dim); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; }
.nav__list a {
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s;
  padding-block: .5rem;
}
.nav__list a:hover { color: var(--text); }
.nav__phone {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  padding-left: 2rem;
  border-left: 1px solid var(--line-2);
}
.nav__phone:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.nav-toggle__bar {
  width: 22px; height: 1.5px; background: var(--text);
  transition: transform .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: var(--bg);
    border-top: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s var(--ease), visibility 0s linear .25s;
  }
  .header.is-open .nav {
    visibility: visible;
    opacity: 1;
    transition: opacity .25s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block;
    padding: 1.1rem 0;
    font-family: var(--font-head);
    font-size: 1.6rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__phone {
    margin-top: 2rem;
    padding: 0;
    border: 0;
    font-size: 1.25rem;
    color: var(--accent);
  }
}

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot { width: 6px; height: 6px; background: var(--accent); }

.section { padding-block: var(--section); border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem 4rem;
  align-items: end;
}
.section-head__index {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section-head__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-head__lead {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}
.section-head--split .section-head__lead { margin-top: 0; }

@media (max-width: 820px) {
  .section-head--split { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  isolation: isolate;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  z-index: -2;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,15,15,.92) 0%, rgba(15,15,15,.7) 38%, rgba(15,15,15,0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15,15,15,0) 35%);
}
.hero__content { flex: 1; display: flex; align-items: center; }
.hero__text { max-width: 640px; padding-block: 2rem 3rem; }
.hero__title {
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2.15rem, 6.2vw, 5.4rem);
  overflow-wrap: break-word;
  hyphens: manual;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 1.75rem;
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}
.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}
.hero__phone {
  display: grid;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line-2);
}
.hero__phone-label { font-size: .75rem; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.hero__phone-num { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; transition: color .2s; }
.hero__phone:hover .hero__phone-num { color: var(--accent); }

.specbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-block: 0;
  border-top: 1px solid var(--line-2);
}
.specbar__item {
  padding: 1.25rem 1.25rem 1.5rem 0;
  border-right: 1px solid var(--line);
}
.specbar__item + .specbar__item { padding-left: 1.25rem; }
.specbar__item:last-child { border-right: 0; }
.specbar dt { font-size: .75rem; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.specbar dd { margin-top: .3rem; font-family: var(--font-head); font-size: 1.1rem; font-weight: 500; }

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 38vw); }
  .hero__img { height: 75vw; bottom: auto; object-position: 78% 50%; }
  .hero__shade {
    background: linear-gradient(0deg, var(--bg) 0, var(--bg) calc(100% - 75vw), rgba(15,15,15,.2) calc(100% - 30vw), rgba(15,15,15,.35) 100%);
  }
  .hero__text { padding-block: 0 2.5rem; }
  .hero__actions .btn { width: 100%; }
  .hero__phone { padding-left: 0; border-left: 0; }
  .specbar { grid-template-columns: 1fr 1fr; }
  .specbar__item { padding: 1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); }
  .specbar__item + .specbar__item { padding-left: 0; }
  .specbar__item:nth-child(even) { padding-left: 1rem; border-right: 0; }
  .specbar__item:nth-child(n+3) { border-bottom: 0; }
}

/* ---------- Before / After ---------- */
.case {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);   /* 60 / 40 */
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
}
.case + .case { border-top: 1px solid var(--line); }
.case--reverse { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.case--reverse .ba { order: 2; }

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1024 / 571;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: ew-resize;
  touch-action: pan-y;             /* vertikální scroll stránky zůstává, horizontální tah řídí slider */
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.ba:has(.ba__range:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.ba__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 0;
  pointer-events: none;
}
.ba__handle::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: var(--accent);
}
.ba__grip {
  position: absolute;
  top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  transition: transform .2s var(--ease);
}
.ba.is-dragging .ba__grip { transform: translate(-50%, -50%) scale(.92); }

.ba__tag {
  position: absolute;
  top: 1rem;
  padding: .3rem .6rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(15,15,15,.78);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  pointer-events: none;
  transition: opacity .2s;
}
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; }
.ba.hide-before .ba__tag--before,
.ba.hide-after .ba__tag--after { opacity: 0; }

/* Nativní range = přístupné ovládání klávesnicí a čtečkou; myš/dotyk řeší JS na celé ploše */
.ba__range {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.case__label {
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.case__title {
  margin-top: .6rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.case__summary { margin-top: .8rem; color: var(--muted); }

.spec { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.spec > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.spec dt { color: var(--dim); }
.spec dd { font-weight: 500; }

@media (max-width: 900px) {
  .case, .case--reverse { grid-template-columns: 1fr; }
  .case--reverse .ba { order: 0; }
  .ba { aspect-ratio: 4 / 3; }
  .ba__img { object-position: 50% 50%; }
}
@media (max-width: 480px) {
  .spec > div { grid-template-columns: 1fr; gap: .1rem; }
}

/* ---------- Services / Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "a a a a a a a b b b b b"
    "c c c c d d d b b b b b";
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile {
  position: relative;
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: background-color .3s var(--ease);
}
.tile:hover { background: #131313; }
.tile--a { grid-area: a; }
.tile--b { grid-area: b; }
.tile--c { grid-area: c; background: var(--bg-2); }
.tile--d { grid-area: d; }
.tile--c:hover { background: #1e1e1e; }

.tile__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.tile__num {
  font-family: var(--font-head);
  font-size: .85rem;
  color: var(--accent);
  letter-spacing: .1em;
}
.tile__time {
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .55rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--muted);
  white-space: nowrap;
}
.tile__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tile__text { margin-top: 1rem; color: var(--muted); max-width: 52ch; }
.tile__list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  font-size: .92rem;
}
.tile__list li {
  padding: .55rem 0;
  border-top: 1px solid var(--line);
}
.tile__list li::before {
  content: "—";
  color: var(--accent);
  margin-right: .5rem;
}
.tile__gain {
  margin-top: auto;
  padding-top: 2rem;
  font-size: .95rem;
}
.tile__gain span {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: .3rem;
}

.tile--image {
  padding: 0;
  overflow: hidden;
  min-height: 560px;
  justify-content: flex-end;
}
.tile__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  filter: grayscale(.35) brightness(.55);
  transition: transform 1.2s var(--ease);
}
.tile--image:hover .tile__bg { transform: scale(1.03); }
.tile--image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,15,15,.96) 0%, rgba(15,15,15,.82) 50%, rgba(15,15,15,.2) 100%);
}
.tile__body {
  position: relative; z-index: 1;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column;
}
.tile--image .tile__head { margin-bottom: 1.5rem; }
.tile--image .tile__list { grid-template-columns: 1fr; }
.tile--image .tile__gain { padding-top: 1.5rem; }

@media (max-width: 1020px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a a"
      "b b"
      "c d";
  }
  .tile--image { min-height: 480px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; }
  .tile__list { grid-template-columns: 1fr; }
  .tile__head { margin-bottom: 1.5rem; }
}

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-2); }

.size-switch {
  border: 0;
  padding: 0;
  margin: 0 0 2rem;
  min-width: 0;
}
.size-switch__legend {
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: .75rem;
  padding: 0;
}
.size-switch__options {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg);
}
.size-switch__opt {
  position: relative;
  display: grid;
  padding: .85rem 1.5rem;
  cursor: pointer;
  min-width: 11rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.size-switch__opt + .size-switch__opt { border-left: 1px solid var(--line-2); }
.size-switch__opt input {
  position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer;
}
.size-switch__name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.size-switch__hint { font-size: .8rem; color: var(--dim); }
.size-switch__opt:hover { background: var(--bg-3); }
.size-switch__opt:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.size-switch__opt:has(input:checked) .size-switch__hint { color: rgba(15,15,15,.7); }
.size-switch__opt:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; z-index: 1; }

@media (max-width: 640px) {
  .size-switch__options { display: grid; width: 100%; }
  .size-switch__opt { min-width: 0; padding: .75rem .6rem; text-align: center; }
  .size-switch__name { font-size: .88rem; }
  .size-switch__hint { font-size: .7rem; }
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--bg);
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem;
}
.price + .price { border-left: 1px solid var(--line); }
.price--featured { background: #141414; box-shadow: inset 0 2px 0 var(--accent); }
.price__badge {
  position: absolute;
  top: 0; right: 1.6rem;
  transform: translateY(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .55rem;
  border-radius: var(--radius);
}
.price__name { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; }
.price__amount {
  margin-top: 1.25rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price__from { font-size: .95rem; color: var(--dim); letter-spacing: 0; font-weight: 400; }
[data-price] { display: inline-block; transition: opacity .18s var(--ease), transform .18s var(--ease); }
[data-price].is-changing { opacity: 0; transform: translateY(4px); }
.price__time { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.price__list {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.price__list li {
  display: flex;
  gap: .6rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
  color: rgba(255,255,255,.85);
}
.price__list li::before {
  content: "";
  flex: none;
  width: 9px; height: 5px;
  margin-top: .5em;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.price__cta { margin-top: auto; width: 100%; }

@media (max-width: 1100px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price:nth-child(3) { border-left: 0; }
  .price:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
  .price + .price { border-left: 0; border-top: 1px solid var(--line); }
  .price--featured { margin-top: .75rem; }
}

.addons {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 1rem 3rem;
}
.addons__title {
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: .7rem;
}
.addons__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.addons__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.addons__list li span:last-child { font-family: var(--font-head); white-space: nowrap; }
@media (max-width: 820px) {
  .addons, .addons__list { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
  border-top: 1px solid var(--line-2);
}
.step {
  position: relative;
  padding: 1.75rem 1.5rem 0 0;
}
.step + .step { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 2.5rem; height: 2px;
  background: var(--accent);
}
.step + .step::before { left: 1.5rem; }
.step__num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--dim);
  letter-spacing: -0.04em;
}
.step__title {
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.25rem;
}
.step__text { margin-top: .6rem; color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; border-top: 0; }
  .step, .step + .step {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    column-gap: 1rem;
    padding: 1.5rem 0;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
  .step::before, .step + .step::before { left: 0; }
  .step__num { font-size: 2rem; grid-row: span 2; }
  .step__title { margin-top: 0; }
}

.facts {
  margin-top: clamp(4rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2rem 4rem;
}
.facts__claim {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.fact { padding: 1.75rem 1.5rem; display: flex; flex-direction: column; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__title {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.fact__value {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.fact__text { margin-top: .9rem; font-size: .9rem; color: var(--muted); }
.brands {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.brands li {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  padding: .35rem .55rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
@media (max-width: 1020px) {
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .facts__grid { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Contact ---------- */
.contact { padding-bottom: 0; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);   /* ~40 / 60 */
  gap: 3rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.contact__info .btn--whatsapp { margin-top: 2rem; }
.contact__list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.contact__list > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.contact__list dt { color: var(--dim); }
.contact__list a:hover { color: var(--accent); }
.hours { border-collapse: collapse; }
.hours th { text-align: left; font-weight: 400; color: var(--muted); padding: 0 1.25rem .2rem 0; white-space: nowrap; vertical-align: top; }
.hours td { padding: 0 0 .2rem; }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact__list > div { grid-template-columns: 1fr; gap: .25rem; }
}

/* Form */
.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.form__title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 500;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field label:not(.chip):not(.upload),
.field legend,
.field__label {
  display: block;
  margin-bottom: .45rem;
  padding: 0;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}
.req { color: var(--accent); }

.field input[type="text"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .8rem .9rem;
  font-size: 1rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field input:hover, .field textarea:hover { border-color: rgba(255,255,255,.3); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.field input:user-invalid, .field.is-invalid input { border-color: var(--danger); }
.field__err { min-height: 0; margin-top: .35rem; font-size: .8rem; color: var(--danger); }
.field__err:empty { display: none; }

.chips__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem .95rem;
  font-size: .9rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover span { border-color: rgba(255,255,255,.35); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.chips.is-invalid .chip span { border-color: rgba(255,107,91,.6); }

.upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 1rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.upload:hover, .upload.is-drag { border-color: var(--accent); background: #131313; }
.upload:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--accent);
}
.upload__text { font-size: .92rem; color: var(--muted); }
.upload__text strong { color: var(--text); font-weight: 600; }

.upload__preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .6rem;
}
.upload__preview:empty { display: none; }
.upload__preview li {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.upload__preview img { width: 100%; height: 100%; object-fit: cover; }
.upload__remove {
  position: absolute; top: 2px; right: 2px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--radius);
  background: rgba(15,15,15,.85);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem; line-height: 1;
}
.upload__remove:hover { background: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { width: 100%; margin-top: .5rem; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__note { margin-top: .9rem; font-size: .78rem; color: var(--dim); }
.form__status { margin-top: 1rem; font-size: .95rem; }
.form__status:empty { display: none; }
.form__status.is-ok {
  padding: 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(242,194,0,.08);
}
.form__status.is-err { color: var(--danger); }

/* Map */
.map {
  position: relative;
  margin-top: var(--section);
  height: clamp(340px, 45vw, 520px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.map__frame {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.88) brightness(.85);
}
.map__card {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  bottom: 2rem;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 280px;
}
.map__label {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.map__addr { margin-top: .5rem; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.3; }
.map__link { display: inline-block; margin-top: .9rem; font-size: .88rem; color: var(--accent); }
.map__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2rem; font-size: .85rem; color: var(--dim); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer a:hover { color: var(--text); }

/* ---------- Mobile bar ---------- */
.mobilebar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .mobilebar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(15,15,15,.96);
    border-top: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform .3s var(--ease);
  }
  .mobilebar.is-visible { transform: none; }
  .mobilebar__btn {
    display: grid;
    place-items: center;
    height: 60px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .92rem;
  }
  .mobilebar__btn + .mobilebar__btn { border-left: 1px solid var(--line); }
  .mobilebar__btn--accent { background: var(--accent); color: var(--accent-ink); }
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
