/* HAIDERY MOTORS - Site 2. Full-bleed, bold, white and blue. */
:root {
  --bg: #f5f8fd;
  --surface: #ffffff;
  --ink: #0b1f44;
  --ink-2: #4b5b7a;
  --ink-3: #8796b2;
  --line: #dfe6f1;
  --blue: #1f5eff;
  --blue-hot: #0e47e0;
  --sky: #8ec1ff;
  --sky-50: #eaf2ff;
  --radius: 22px;
  --gutter: clamp(20px, 4.2vw, 80px);
  --max: 1240px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo", var(--font);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1; font-weight: 800; }
p { margin: 0; }
em { font-style: normal; color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.pad { padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }

.display {
  font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 0.95; text-wrap: balance;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hot); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #17336b; }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--blue); color: var(--blue); }
.btn--line { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.86); }
.tick { width: 28px; height: 2px; background: var(--blue); border-radius: 2px; }

/* ---------- header (floats over the hero, turns solid on scroll) ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--ink); transition: background-color 0.35s, color 0.35s, box-shadow 0.35s; }
.top::before {
  content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  transition: opacity 0.35s;
}
.top.is-scrolled {
  color: var(--ink); background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.top.is-scrolled::before { opacity: 0; }
.top__in {
  position: relative; height: var(--header-h); transition: height 0.35s var(--ease); padding-inline: var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.brand { justify-self: start; }
.brand img { height: 76px; width: auto; transition: height 0.35s var(--ease); }
.top.is-scrolled .brand img { height: 58px; }
.top.is-scrolled .top__in { height: 76px; }
.nav { display: flex; justify-self: center; gap: clamp(24px, 3.4vw, 68px); }
.nav a {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 0; position: relative; white-space: nowrap;
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
}
.nav a span { font-size: 11px; color: var(--blue); letter-spacing: 0.04em; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top__end { justify-self: end; display: flex; align-items: center; gap: 12px; }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 640px; max-height: 1180px;
  background: var(--sky-50); color: var(--ink);
  user-select: none; -webkit-user-select: none;
}
.slider__viewport { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; cursor: grab; }
.slider__viewport.is-dragging { cursor: grabbing; }
.slider__track { display: flex; height: 100%; will-change: transform; transition: transform .6s var(--ease); }
.slider__track.no-anim { transition: none; }
.slide { flex: 0 0 100%; height: 100%; margin: 0; position: relative; overflow: hidden; }
.slide img {
  width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  transform: scale(1.08); transition: transform 8s linear;
}
.slide.is-active img { transform: scale(1); }
.slide--empty div { width: 100%; height: 100%; background: radial-gradient(120% 90% at 70% 10%, #ffffff, #dbe8ff 70%); }
.slide figcaption {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 24px);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.88); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  max-width: calc(100% - 2 * var(--gutter));
}
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245, 248, 253, 0.97) 0%, rgba(245, 248, 253, 0.88) 32%, rgba(245, 248, 253, 0.3) 56%, rgba(245, 248, 253, 0) 70%),
    linear-gradient(0deg, rgba(245, 248, 253, 0.9) 0%, rgba(245, 248, 253, 0) 30%);
}
/* blue racing slashes */
.hero__slash { position: absolute; left: -3vw; bottom: 0; height: 24%; width: 22vw; pointer-events: none; }
.hero__slash i { position: absolute; bottom: 0; height: 100%; transform: skewX(-24deg); transform-origin: bottom; }
.hero__slash i:first-child { left: 0; width: clamp(14px, 1.6vw, 26px); background: var(--blue); }
.hero__slash i:last-child { left: clamp(26px, 2.6vw, 44px); width: 3px; background: var(--sky); }

.hero__inner {
  position: absolute; inset: 0; pointer-events: none;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(36px, 5.5vh, 64px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
}
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__copy { min-width: 0; padding-left: clamp(0px, 2vw, 40px); }
.hero__title {
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(54px, 8.6vw, 168px); line-height: 0.86; letter-spacing: -0.035em;
  margin: 22px 0 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.08s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.16s; }
.hero__title .line:nth-child(2) { padding-left: 0.5em; }
.hero__title .line:nth-child(3) { padding-left: 1em; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__lead { font-size: clamp(16px, 1.3vw, 20px); color: var(--ink-2); max-width: 460px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__aside { display: grid; justify-items: end; gap: 22px; }
.count { font-family: var(--display); font-stretch: 125%; line-height: 0.8; display: flex; align-items: flex-start; gap: 10px; }
.count__now { font-size: clamp(64px, 6.2vw, 112px); font-weight: 900; letter-spacing: -0.04em; color: var(--blue); }
.count__total { font-size: 16px; font-weight: 700; color: var(--ink-3); padding-top: 8px; letter-spacing: 0.06em; }
.hero__ctrl { display: flex; align-items: center; gap: 20px; }
.dots { display: flex; gap: 6px; }
.dot { width: 40px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dot span { display: block; height: 3px; border-radius: 3px; background: rgba(11, 31, 68, 0.15); overflow: hidden; position: relative; }
.dot span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.dot.is-done span::after { transform: scaleX(1); }
.dot.is-active span::after { background: var(--blue-hot); animation: fill var(--slide-ms, 2000ms) linear forwards; }
.hero.is-paused .dot.is-active span::after { animation-play-state: paused; }
.hero.no-autoplay .dot.is-active span::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.9); border: 1.5px solid var(--line); color: var(--ink);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.arrow:active { transform: scale(0.92); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero[data-count="0"] .hero__aside, .hero[data-count="1"] .hero__aside { display: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(11, 31, 68, 0.3); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--blue); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(18px, 2.4vw, 30px); background: var(--bg); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 6vw, 96px); line-height: 1; letter-spacing: -0.02em; padding-inline: clamp(18px, 2vw, 36px); white-space: nowrap;
}
.marquee span.o { color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.marquee i { width: clamp(14px, 1.4vw, 22px); height: clamp(14px, 1.4vw, 22px); background: var(--blue); transform: skewX(-20deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.services { padding-top: clamp(72px, 9vw, 140px); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.split h2 { font-size: clamp(40px, 5.6vw, 96px); margin-top: 22px; }
.split__lead { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); max-width: 460px; justify-self: end; }
.cells { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cell {
  position: relative; display: flex; flex-direction: column; min-height: clamp(340px, 26vw, 440px);
  padding: clamp(26px, 2.6vw, 44px) clamp(22px, 2.4vw, 44px) clamp(30px, 3vw, 48px);
  border-left: 1px solid var(--line); overflow: hidden;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
.cell:first-child { border-left: 0; }
.cell::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.cell__num {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; line-height: 0.8;
  font-size: clamp(72px, 7.4vw, 136px); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px #b9c9e6; transition: -webkit-text-stroke-color 0.45s;
}
.cell__icon {
  width: 52px; height: 52px; margin-top: auto; padding: 13px; border-radius: 50%; border: 1.5px solid var(--line);
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color 0.45s, border-color 0.45s, stroke 0.45s;
}
.cell h3 { font-family: var(--display); font-stretch: 112%; font-size: clamp(22px, 1.8vw, 30px); text-transform: uppercase; letter-spacing: -0.01em; margin: 24px 0 12px; line-height: 1.05; min-height: 2.1em; }
.cell p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; max-width: 44ch; transition: color 0.45s; }
/* whole card is a link: the link stretches over the card */
.cell__more { margin-top: 18px; font-weight: 700; color: var(--blue); text-decoration: none; display: inline-flex; gap: 8px; transition: color 0.45s; }
.cell__more::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.cell__more span { display: inline-block; transition: transform 0.3s var(--ease); }
.cell__more:focus-visible { outline: none; }
.cell { cursor: pointer; }
.cell:focus-within { outline: 3px solid var(--blue); outline-offset: -3px; }
.cell:focus-within .cell__more span { transform: translateX(6px); }
@media (hover: hover) {
  .cell:hover .cell__more { color: #fff; }
  .cell:hover .cell__more span { transform: translateX(6px); }
  .cell:hover { background: var(--blue); color: #fff; }
  .cell:hover::after { transform: scaleX(1); background: var(--sky); }
  .cell:hover .cell__num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.75); }
  .cell:hover .cell__icon { background: #fff; border-color: #fff; stroke: var(--blue); }
  .cell:hover p { color: rgba(255, 255, 255, 0.88); }
}

/* ---------- blue band ---------- */
.band { position: relative; overflow: hidden; background: linear-gradient(120deg, #1f5eff 0%, #1448d6 60%, #0f3cb8 100%); color: #fff; }
.band em { color: var(--sky); }
.band .tick { background: var(--sky); }
.band__ghost {
  position: absolute; right: -0.06em; bottom: -0.2em; pointer-events: none;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; line-height: 0.8;
  font-size: clamp(140px, 24vw, 420px); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.18);
}
.band::before {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 74%; width: clamp(18px, 2vw, 34px);
  background: var(--sky); opacity: 0.55; transform: skewX(-24deg);
}
.band__in { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding-block: clamp(80px, 10vw, 160px); }
.band h2 { font-size: clamp(38px, 5vw, 84px); margin: 22px 0 20px; max-width: 900px; }
.band__text { color: rgba(255, 255, 255, 0.88); max-width: 480px; font-size: clamp(16px, 1.3vw, 19px); }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; padding-block: clamp(80px, 10vw, 160px); }
.contact h2 { font-size: clamp(40px, 5.2vw, 88px); margin-top: 22px; }
.contact-list { margin: 0; display: grid; border-top: 1px solid var(--ink); }
.contact-list div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); padding-top: 5px; }
.contact-list dd { margin: 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; }
.contact-list a { text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat; transition: background-size 0.3s var(--ease); }
.contact-list a:hover { background-size: 100% 2px; }
.contact__body > .muted { padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 18px; }

/* ---------- footer ---------- */
.foot { background: var(--sky-50); color: var(--ink); overflow: hidden; }
.foot__word {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-align: center; line-height: 0.78;
  font-size: 17vw; letter-spacing: -0.045em; padding-top: 0.12em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(31, 94, 255, 0.3);
  user-select: none;
}
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px 32px; border-top: 1px solid #d3e1f7; }
.foot__row img { height: 54px; width: auto; }
.foot__row p { font-size: 13.5px; color: var(--ink-2); letter-spacing: 0.06em; }

/* ---------- header extras ---------- */
.nav a.nav__cta { display: none; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__txt { display: grid; line-height: 1.1; white-space: nowrap; }
.brand__txt b { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 17px; letter-spacing: 0.01em; }
.brand__txt small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }
.nav a.is-active::after { transform: scaleX(1); }
.top__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.top__phone svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.top.top--solid { color: var(--ink); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.top--solid::before { opacity: 0; }
.top.top--solid .top__in { height: 80px; }
.top.top--solid .brand img { height: 60px; }
body.page main { padding-top: 80px; }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(48px, 7vw, 110px) clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg)); }
.page-head h1 { font-size: clamp(44px, 6.4vw, 112px); margin: 22px 0 18px; }
.page-head__lead { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); max-width: 560px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px -40px rgba(11, 31, 68, 0.35); }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.12); }
.field textarea { resize: vertical; min-height: 110px; }

.book { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); align-items: start; padding-block: clamp(48px, 6vw, 96px) clamp(72px, 9vw, 140px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.steps span { color: var(--ink-2); font-size: 15.5px; }
.steps strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.book-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.book-quick span { font-weight: 700; font-size: 14px; color: var(--ink-2); margin-right: 4px; }
.form { padding: clamp(22px, 3vw, 40px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--wide { grid-column: 1 / -1; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form__small { font-size: 13.5px; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; font-size: 15.5px; line-height: 1.55; }
.notice ul { margin: 8px 0 0; padding-left: 20px; }
.notice--ok { background: #e8f1ff; border: 1px solid #bcd4ff; color: #0b2f8f; }
.notice--err { background: #fff6ea; border: 1px solid #f5d3a3; color: #8a4b05; }
.item-chip { display: inline-block; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; background: var(--sky-50); color: var(--ink); font-size: 14.5px; }

/* ---------- shop ---------- */
.shop { padding-block: clamp(40px, 5vw, 80px) clamp(72px, 9vw, 140px); }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.item-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.item-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(11, 31, 68, 0.4); }
.item-card__img { position: relative; aspect-ratio: 4 / 3; background: var(--sky-50); }
.item-card__img img { width: 100%; height: 100%; object-fit: cover; }
.item-card__ph { display: grid; place-items: center; height: 100%; }
.item-card__ph svg { width: 48px; height: 48px; fill: none; stroke: #9db4dc; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.item-card__badge { position: absolute; left: 14px; top: 14px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.item-card.is-sold .item-card__img img { filter: grayscale(1) opacity(0.6); }
.item-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.item-card__body h2 { font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.item-card__price { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 22px; color: var(--blue); }
.item-card__desc { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.item-card__body .btn { margin-top: auto; align-self: flex-start; }
.btn.is-disabled { opacity: 0.5; pointer-events: none; }
.empty-state { max-width: 560px; margin: 0 auto; text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border: 1.5px dashed #c9d6ea; border-radius: 24px; background: #fff; display: grid; justify-items: center; gap: 14px; }
.empty-state svg { width: 52px; height: 52px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.empty-state h2 { font-size: 26px; }
.empty-state p { color: var(--ink-2); }

.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.foot__nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.foot__nav a:hover { color: var(--blue); }

/* ---------- about ---------- */
.about { padding-block: clamp(56px, 7vw, 110px); }
.about__head h2 { font-size: clamp(34px, 4.4vw, 72px); margin: 22px 0 clamp(28px, 4vw, 48px); }
.divisions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.divisions li { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 40px) clamp(18px, 2vw, 36px) clamp(26px, 2.8vw, 40px); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.divisions li:first-child { border-left: 0; padding-left: 0; }
.divisions__num { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(44px, 4.4vw, 72px); line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.divisions h3 { font-family: var(--display); font-stretch: 112%; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 34px); margin-top: 14px; }
.divisions p { color: var(--ink-2); font-size: 17px; }
.divisions__link { margin-top: auto; padding-top: 10px; color: var(--blue); font-weight: 700; text-decoration: none; }
.divisions__link span { display: inline-block; transition: transform 0.25s var(--ease); }
.divisions__link:hover span { transform: translateX(4px); }
.about__more { max-width: 760px; margin-top: clamp(36px, 5vw, 64px); font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); }
.about__more p + p { margin-top: 1em; }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 88px); margin-bottom: clamp(48px, 6vw, 96px); background: var(--sky-50); border-block: 1px solid #d3e1f7; }
.about-cta h2 { font-size: clamp(28px, 3.4vw, 54px); max-width: 820px; }
.about-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- service / repairs pages ---------- */
.page-head__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.info { padding-block: clamp(48px, 6vw, 96px) clamp(40px, 5vw, 72px); display: grid; gap: clamp(32px, 4vw, 56px); }
.info:empty { display: none; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--ink); }
.ticks li { display: flex; align-items: center; gap: 14px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.3vw, 20px); font-weight: 600; }
.ticks svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--sky-50); fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.info__body { max-width: 760px; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); }
.info__body p + p { margin-top: 1em; }
.gallery { padding-bottom: clamp(48px, 6vw, 96px); }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.gallery__item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__item figcaption { padding: 14px 18px; font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* ---------- responsive ---------- */
/* header switches to the menu button below 1100px (6 tabs need the room) */
@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  .top__in { grid-template-columns: 1fr auto; }
  .brand img, .top.is-scrolled .brand img { height: 46px; }
  .burger {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--blue); border: 0; cursor: pointer;
  }
  .burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease); }
  .top.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .top.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 0; justify-self: stretch;
    background: #fff; color: var(--ink); padding: 8px var(--gutter) 24px; box-shadow: 0 18px 30px -20px rgba(11, 31, 68, 0.35);
    clip-path: inset(0 0 100% 0); transition: clip-path 0.4s var(--ease); visibility: hidden;
  }
  .top.is-open .nav { clip-path: inset(0); visibility: visible; }
  .top.is-open { background: #fff; color: var(--ink); box-shadow: none; }
  .top.is-open::before { opacity: 0; }
  .nav a { font-family: var(--display); font-stretch: 125%; font-size: 34px; font-weight: 900; letter-spacing: -0.01em; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a span { font-family: var(--font); font-size: 12px; }
  .nav a::after { display: none; }
  .brand__txt small { display: none; }
  .top__phone { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }

  .hero { min-height: 600px; }
  .hero__shade { background: linear-gradient(0deg, rgba(245, 248, 253, 0.97) 0%, rgba(245, 248, 253, 0.9) 50%, rgba(245, 248, 253, 0.35) 72%, rgba(245, 248, 253, 0) 86%); }
  .hero__inner { grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; }
  .hero__copy { padding-left: 0; }
  .hero__title { font-size: clamp(40px, 12.8vw, 84px); margin: 16px 0 16px; }
  .hero__title .line:nth-child(2) { padding-left: 0.25em; }
  .hero__title .line:nth-child(3) { padding-left: 0.5em; }
  .hero__ctas { margin-top: 22px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__aside { justify-items: stretch; }
  .count { display: none; }
  .hero__ctrl { justify-content: space-between; }
  .dot { width: 28px; }
  .arrow { width: 46px; height: 46px; }
  .scroll-cue { display: none; }
  .hero__slash { width: 40vw; height: 30%; opacity: 0.8; }
  .slide figcaption { top: calc(var(--header-h) + 14px); }

  .split { grid-template-columns: 1fr; gap: 20px; }
  .split__lead { justify-self: start; }
  .cells { grid-template-columns: 1fr; }
  .cell { border-left: 0; border-top: 1px solid var(--line); min-height: 0; display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; padding: 28px var(--gutter); }
  .cell:first-child { border-top: 0; }
  .cell__num { grid-row: span 4; font-size: 64px; }
  .cell__icon { display: none; }
  .cell h3 { margin: 4px 0 8px; font-size: 22px; min-height: 0; }
  .cell__num { font-size: 56px; }
  .band::before { left: auto; right: -6px; top: -10%; bottom: auto; height: 42%; opacity: 0.9; }
  .band__in { grid-template-columns: 1fr; gap: 32px; }
  .band__ctas .btn { flex: 1 1 auto; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .foot__row { flex-direction: column; text-align: center; gap: 12px; }
}

/* very wide screens: slightly larger header so it fills the bar */
@media (min-width: 1680px) {
  .nav { gap: 76px; }
  .nav a { font-size: 15px; }
  .brand__txt b { font-size: 19px; }
  .top__cta { min-height: 46px; padding: 0 24px; font-size: 15px; }
}
/* inner pages on smaller screens */
/* mid-size laptops: hide the name beside the logo and the tab numbers so six tabs fit */
@media (max-width: 1420px) {
  .brand__txt { display: none; }
}
@media (max-width: 1300px) {
  .nav a span { display: none; }
  .nav { gap: clamp(20px, 2.4vw, 32px); }
}
@media (max-width: 1100px) {
  .nav a span { display: inline; }
  .nav { gap: 0; }
  .brand__txt { display: grid; }
  .top.top--solid .top__in { height: 72px; }
  .top.top--solid .brand img { height: 46px; }
  body.page main { padding-top: 72px; }
}
@media (max-width: 860px) {
  .page-head h1 { font-size: clamp(34px, 10.4vw, 64px); }
  .divisions { grid-template-columns: 1fr; }
  .divisions li { border-left: 0; padding-left: 0; padding-right: 0; }
  .about-cta { flex-direction: column; align-items: flex-start; }
  .about-cta__btns, .about-cta__btns .btn { width: 100%; }
  .about-cta__btns .btn { flex: 1 1 auto; width: auto; }
  .book { grid-template-columns: 1fr; }
  .book__aside { order: 2; }
  .form__grid { grid-template-columns: 1fr; }
  .form__end .btn { width: 100%; }
}
@media (max-width: 560px) {
  .top__cta { display: none; }
  .brand__txt b { font-size: 15px; }
}

/* =====================================================================
   PHONES & SMALL TABLETS (860px and below) - mobile-first redesign.
   Everything here is inside small-screen queries; desktop is unchanged.
   ===================================================================== */
@media (max-width: 1100px) {
  .top__cta { min-height: 44px; }
  .nav a.nav__cta { display: flex; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; --gutter: 20px; }

  /* header: a calm, solid white bar on phones */
  .top, .top.is-scrolled, .top.top--solid, .top.is-open {
    background: rgba(255, 255, 255, 0.96); box-shadow: 0 1px 0 var(--line);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  }
  .top::before { display: none; }
  .top__in, .top.is-scrolled .top__in, .top.top--solid .top__in { height: 64px; }
  .brand img, .top.is-scrolled .brand img, .top.top--solid .brand img { height: 42px; }
  .brand { gap: 10px; }
  body.page main { padding-top: 64px; }
  .burger { width: 44px; height: 44px; }

  /* menu: full-height sheet, current page in blue, booking button at the end */
  .nav {
    height: calc(100vh - 64px); height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    align-content: start; padding: 4px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    box-shadow: none; border-top: 1px solid var(--line);
  }
  .nav a { display: flex; align-items: center; min-height: 58px; padding: 10px 0; font-size: clamp(24px, 7.2vw, 32px); }
  .nav a span { min-width: 30px; }
  .nav a.is-active { color: var(--blue); }
  .nav a.nav__cta {
    justify-content: center; margin-top: 22px; min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px;
    font-family: var(--font); font-stretch: 100%; font-size: 16px; font-weight: 700; letter-spacing: 0.01em; text-transform: none; color: #fff;
  }
  body.menu-open { overflow: hidden; }

  /* hero: the cover photo is shown clean on top, the words sit below it */
  .hero {
    height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column;
    padding-top: 64px; background: var(--bg); color: var(--ink); user-select: auto; -webkit-user-select: auto;
  }
  .slider__viewport {
    position: relative; inset: auto; flex: none; height: clamp(250px, 86vw, 460px);
    margin: 12px 12px 0; border-radius: 22px; background: var(--sky-50);
    box-shadow: 0 18px 40px -28px rgba(11, 31, 68, 0.5);
  }
  .hero__shade, .hero__slash, .scroll-cue { display: none; }
  .slide figcaption { top: 12px; right: 12px; left: auto; max-width: calc(100% - 24px); }
  .hero__inner { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px var(--gutter) 40px; pointer-events: auto; }
  .hero__aside { order: -1; justify-items: stretch; }
  .hero__ctrl { justify-content: space-between; gap: 12px; }
  .dot { width: 30px; height: 44px; }
  .arrow { width: 44px; height: 44px; }
  .hero__copy { padding: 8px 0 0; }
  .hero__title { font-size: clamp(40px, 13.2vw, 76px); margin: 14px 0 14px; }
  .hero__title .line:nth-child(2) { padding-left: 0.22em; }
  .hero__title .line:nth-child(3) { padding-left: 0.44em; }
  .hero__lead { font-size: 17px; max-width: 34ch; }
  .hero__ctas { margin-top: 22px; gap: 10px; }
  .hero__ctas .btn { flex: 1 1 140px; min-height: 52px; }

  /* scrolling word strip: smaller and lighter */
  .marquee { padding-block: 14px; border-top: 1px solid var(--line); }
  .marquee span { font-size: clamp(28px, 8.4vw, 40px); padding-inline: 14px; }
  .marquee i { width: 11px; height: 11px; }

  /* section rhythm and type scale */
  .services { padding-top: 56px; }
  .split { margin-bottom: 28px; }
  .split h2, .contact h2 { font-size: clamp(32px, 9.4vw, 52px); margin-top: 16px; }
  .split__lead { font-size: 17px; }

  /* service cards: separate tappable cards, number beside the title */
  .cells { display: grid; gap: 12px; padding: 0 12px 8px; border: 0; }
  .cell, .cell:first-child, .cell:nth-child(n + 3) {
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "num title" "text text" "more more";
    column-gap: 14px; row-gap: 10px; min-height: 0; padding: 22px 20px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
  }
  .cell::after { border-radius: 0 0 20px 20px; }
  .cell__num { grid-area: num; grid-row: auto; align-self: center; font-size: 42px; }
  .cell h3 { grid-area: title; align-self: center; margin: 0; min-height: 0; font-size: clamp(19px, 5.4vw, 23px); }
  .cell p { grid-area: text; max-width: none; font-size: 15.5px; }
  .cell__more { grid-area: more; margin-top: 0; min-height: 44px; align-items: center; }
  .cell:active { background: var(--sky-50); }

  /* blue parts band */
  .band__in { padding-block: 56px; gap: 26px; }
  .band h2 { font-size: clamp(30px, 8.6vw, 46px); margin: 16px 0 14px; }
  .band__text { font-size: 16.5px; }
  .band__ghost { font-size: 36vw; }
  .band__ctas .btn { min-height: 52px; }

  /* contact */
  .contact { padding-block: 56px 64px; gap: 24px; }
  .contact-list dd { font-size: 18px; }

  /* footer */
  .foot__word { font-size: 18.5vw; }
  .foot__row { padding-block: 24px calc(28px + env(safe-area-inset-bottom)); }
  .foot__nav { gap: 0 4px; }
  .foot__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }

  /* inner pages */
  .page-head { padding-block: 36px 30px; }
  .page-head h1 { font-size: clamp(34px, 10.4vw, 64px); margin: 16px 0 14px; }
  .page-head__lead { font-size: 17px; }
  .page-head__btns { margin-top: 22px; gap: 10px; }
  .page-head__btns .btn { flex: 1 1 140px; min-height: 52px; }
  .info, .about { padding-block: 40px; gap: 28px; }
  .ticks { grid-template-columns: 1fr; }
  .ticks li { padding: 16px 2px; font-size: 17px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .about__head h2 { font-size: clamp(30px, 8.8vw, 48px); margin-bottom: 24px; }
  .divisions li { padding-block: 22px; }
  .divisions__num { font-size: 44px; }
  .divisions__link { min-height: 44px; display: inline-flex; align-items: center; }
  .about-cta { padding-block: 44px; margin-bottom: 40px; gap: 20px; }
  .about-cta h2 { font-size: clamp(28px, 8vw, 40px); }
  .about-cta__btns .btn { min-height: 52px; }

  /* booking */
  .book { padding-block: 24px 56px; gap: 32px; }
  .form { padding: 22px 18px; border-radius: 20px; }
  .form__grid { gap: 16px; }
  .field input, .field select, .field textarea { min-height: 50px; font-size: 16px; }
  .form__end .btn { min-height: 54px; }
  .steps li { grid-template-columns: 52px 1fr; padding: 18px 0; }
  .book-quick .btn { min-height: 44px; }

  /* shop */
  .shop { padding-block: 28px 56px; }
  .item-grid { gap: 14px; }
  .item-card__body { padding: 18px 18px 20px; }
  .item-card__body .btn { align-self: stretch; min-height: 48px; }
  .empty-state { padding: 36px 20px; border-radius: 20px; }
  .empty-state .btn { min-height: 52px; }
}
/* small tablets: two shop cards side by side */
@media (min-width: 600px) and (max-width: 860px) {
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider__track { transition-duration: 0.01ms; }
  .slide img { transform: none !important; transition: none; }
  .marquee__track { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
