/* Daov Dental Clinic — v2 „Чиста светлина", mobile-first */
:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-2: #eaf3f7;
  --ink: #0b2230;
  --ink-2: #2f4c5b;
  --muted: #5f7a88;
  --line: #d9e6ec;
  --accent: #0d72a0;
  --accent-deep: #0a5b80;
  --accent-soft: #e2f2fa;
  --sky: #7fe3ff;
  --mint: #d8f5ee;
  --ok: #1e9e5a;
  --shadow: 0 24px 60px rgba(11, 34, 48, 0.12);
  --shadow-sm: 0 8px 24px rgba(11, 34, 48, 0.07);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --gutter: 18px;
  --font: "Manrope", "Segoe UI", Roboto, system-ui, sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
body.is-locked {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.025em;
  text-wrap: balance;
  line-height: 1.1;
  font-weight: 800;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.section {
  padding: 64px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.h2 {
  font-size: clamp(28px, 4vw, 42px);
}
.lead {
  color: var(--muted);
  font-size: 17px;
  margin-top: 12px;
  max-width: 60ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(135deg, #1583b5, var(--accent));
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 114, 160, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(13, 114, 160, 0.38);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: var(--accent);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
  width: 100%;
}
.btn-dark:hover {
  background: #12384d;
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 251, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.35s var(--ease);
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 34, 48, 0.06);
}
.header.is-hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand small {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}
.nav {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
}
.phone-link svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.phone-link span {
  display: none;
}
.header-actions .btn {
  display: none;
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s ease;
}
.nav-toggle span + span {
  margin-top: 4px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
.menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 45;
  background: rgba(244, 248, 251, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 18px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.3s var(--ease);
}
.menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 17px;
}
.menu a svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.menu .menu-cta {
  margin-top: 12px;
}
.menu-meta {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Hero */
.hero {
  position: relative;
  padding: 24px 0 40px;
  overflow: clip;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.hero-blob.a {
  right: -160px;
  top: -200px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    closest-side,
    #d5eefa,
    rgba(244, 248, 251, 0) 72%
  );
}
.hero-blob.b {
  left: -200px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(
    closest-side,
    var(--mint),
    rgba(244, 248, 251, 0) 72%
  );
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(30, 158, 90, 0.15);
}
.h1 {
  font-size: clamp(36px, 10vw, 66px);
  line-height: 1.02;
}
.h1 span {
  background: linear-gradient(90deg, var(--accent), #2ea2d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 17px;
  margin-top: 16px;
}
.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.trust {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.trust::-webkit-scrollbar {
  display: none;
}
.trust span {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}
.trust b {
  color: var(--accent);
  font-weight: 800;
}

.hero-cards {
  display: grid;
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
.photo-badge .price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.photo-badge .txt {
  flex: 1;
  min-width: 0;
}
.photo-badge small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
}
.photo-badge b {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}
.photo-badge svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
}

/* Booking card / mobile sheet */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(11, 34, 48, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.booking {
  padding: 22px 20px 24px;
}
.booking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.booking h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.booking .hint {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.sheet-close {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  place-items: center;
  flex: none;
}
.sheet-close svg {
  width: 18px;
  height: 18px;
}
.sheet-handle {
  display: none;
  width: 44px;
  height: 5px;
  border-radius: 5px;
  background: var(--line);
  margin: 0 auto 14px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px;
  background: #fbfdfe;
  font-size: 16px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 114, 160, 0.12);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235f7a88' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink-2);
}
.status[data-kind="ok"] {
  background: #e6f7ee;
  color: #12633a;
}
.status[data-kind="error"] {
  background: #fdecec;
  color: #8f2626;
}
.legal {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.legal a {
  text-decoration: underline;
}

/* Trust strip */
.strip {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.strip-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px var(--gutter);
  width: auto;
  margin: 0;
}
.strip-grid::-webkit-scrollbar {
  display: none;
}
.strip-item {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}
.strip-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
}
.strip-item b {
  display: block;
  font-size: 14px;
  white-space: nowrap;
}
.strip-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* Services — snap carousel on phones, grid on larger screens */
.services-wrap {
  position: relative;
}
.services-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px var(--gutter) 18px;
  margin: 0 calc(var(--gutter) * -1);
  -webkit-overflow-scrolling: touch;
}
.services-grid::-webkit-scrollbar {
  display: none;
}
.service {
  flex: 0 0 min(78%, 300px);
  scroll-snap-align: start;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s ease;
}
.service .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.service .icon svg {
  width: 24px;
  height: 24px;
}
.service h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.service p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.service .more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service .more svg {
  width: 16px;
  height: 16px;
}
.swipe-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: -6px;
}
.swipe-hint i {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Promo band */
.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0f2f42, #0b2230 60%);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  display: grid;
  gap: 22px;
}
.band::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(127, 227, 255, 0.35),
    transparent 70%
  );
}
.band > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.band .eyebrow {
  color: var(--sky);
}
.band .eyebrow::before {
  background: var(--sky);
}
.band h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}
.band p {
  color: #b7cad4;
  margin-top: 12px;
  max-width: 52ch;
  font-size: 15px;
}
.band-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #e6f1f6;
}
.band-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.band-list svg {
  width: 18px;
  height: 18px;
  color: var(--sky);
  flex: none;
  margin-top: 2px;
}
.band-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.band-price .num {
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.band-price .num small {
  font-size: 0.45em;
  color: var(--sky);
  font-weight: 700;
  vertical-align: super;
}
.band-price .num span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb6c2;
  font-weight: 700;
  margin-top: 6px;
}

/* Technology */
.tech-grid {
  display: grid;
  gap: 24px;
}
.tech-list {
  display: grid;
  gap: 12px;
}
.tech-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 18px;
}
.tech-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.tech-item .icon svg {
  width: 24px;
  height: 24px;
}
.tech-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.tech-item p {
  font-size: 14px;
  color: var(--muted);
}
.tech-visual {
  position: relative;
}
.tech-visual .photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tech-visual .float {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--muted);
}
.tech-visual .float b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 2px;
}

/* Steps */
.steps {
  display: grid;
  gap: 12px;
  position: relative;
}
.step {
  padding: 20px 20px 20px 66px;
  position: relative;
}
.step .num {
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1583b5, var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}

/* About */
.about {
  display: grid;
  gap: 24px;
}
.portrait {
  aspect-ratio: 4 / 5;
  max-height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #e9f5fa, #cfe7f2);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.portrait .initials {
  font-size: 84px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  opacity: 0.9;
}
.portrait .caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
}
.portrait .caption b {
  display: block;
  font-size: 15px;
}
.portrait .caption span {
  color: var(--muted);
  font-size: 13px;
}
.about ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.about li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
}
.about li svg {
  width: 20px;
  height: 20px;
  color: var(--ok);
  flex: none;
  margin-top: 3px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
  max-width: 760px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .plus {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease);
}
.faq summary .plus svg {
  width: 14px;
  height: 14px;
}
.faq details[open] summary .plus {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
}

/* Contact */
.contact {
  display: grid;
  gap: 16px;
}
.contact-card {
  padding: 22px 20px;
  display: grid;
  gap: 18px;
}
.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}
.contact-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-item .icon svg {
  width: 21px;
  height: 21px;
}
.contact-item b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-item a:hover {
  color: var(--accent);
}
.socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.socials svg {
  width: 18px;
  height: 18px;
}
.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  min-height: 260px;
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}
.directions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 32px 0 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: grid;
  gap: 8px;
}
.footer a:hover {
  color: var(--accent);
}

/* Mobile sticky bar */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transition: transform 0.3s var(--ease);
}
.sticky-bar.is-hidden {
  transform: translateY(110%);
}
.sticky-bar .btn {
  flex: 1;
  min-height: 50px;
  padding: 0 12px;
  font-size: 15px;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] {
  transition-delay: 0.07s;
}
[data-reveal][data-delay="2"] {
  transition-delay: 0.14s;
}
[data-reveal][data-delay="3"] {
  transition-delay: 0.21s;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .header,
  .menu,
  .booking,
  .sticky-bar {
    transition: none;
  }
}

/* ---------- Phone-only: booking card becomes a bottom sheet ---------- */
@media (max-width: 767px) {
  .booking {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -20px 60px rgba(11, 34, 48, 0.25);
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(105%);
    transition: transform 0.4s var(--ease);
    -webkit-overflow-scrolling: touch;
  }
  .booking.is-open {
    transform: none;
  }
  .sheet-handle,
  .sheet-close {
    display: grid;
  }
}

/* ---------- Tablet and up ---------- */
@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --header-h: 76px;
  }
  .section {
    padding: 88px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .hero {
    padding: 56px 0 80px;
  }
  .hero-blob.a {
    width: 820px;
    height: 820px;
    right: -180px;
    top: -260px;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }
  .trust {
    flex-wrap: wrap;
    overflow: visible;
  }
  .hero-cards {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .booking {
    grid-column: 1 / -1;
    padding: 26px;
  }
  .booking-head .sheet-close {
    display: none;
  }
  .strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 18px var(--gutter);
    overflow: visible;
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
    padding-inline: 0;
  }
  .strip-item b,
  .strip-item span {
    white-space: normal;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  .service {
    flex: auto;
    padding: 26px 24px 22px;
  }
  .service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #c9dfe8;
  }
  .swipe-hint {
    display: none;
  }
  .band {
    grid-template-columns: 1.3fr 1fr;
    padding: 44px;
    align-items: center;
  }
  .band-price {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    border-top: 0;
    padding-top: 0;
  }
  .tech-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .tech-visual .float {
    left: -24px;
    right: auto;
    bottom: 28px;
    max-width: 250px;
    padding: 16px 18px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .step {
    padding: 28px 26px;
  }
  .step .num {
    position: static;
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
  }
  .about {
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: center;
  }
  .portrait {
    max-height: none;
  }
  .contact {
    grid-template-columns: 1fr 1.25fr;
    gap: 28px;
    align-items: stretch;
  }
  .contact-card {
    padding: 30px;
    gap: 22px;
  }
  .map,
  .map iframe {
    min-height: 420px;
  }
  .footer {
    padding: 40px 0;
  }
  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .sticky-bar {
    display: none;
  }
  .header-actions .btn {
    display: inline-flex;
    min-height: 46px;
  }
  .phone-link span {
    display: inline;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .nav a {
    font-weight: 600;
    font-size: 15px;
    color: var(--ink-2);
    position: relative;
    padding: 6px 0;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav a:hover::after {
    transform: scaleX(1);
  }
  .nav-toggle,
  .menu {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .hero .lead {
    font-size: 19px;
    margin-top: 22px;
  }
  .hero-actions {
    margin-top: 34px;
  }
  .booking {
    grid-column: auto;
    grid-row: span 2;
  }
  .photo {
    aspect-ratio: 3 / 4;
  }
  .strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Grid/flex children must be allowed to shrink below their content (scroll rows, long selects). */
.hero-grid > *,
.hero-cards > *,
.tech-grid > *,
.about > *,
.contact > *,
.trust,
.strip-grid,
.services-grid {
  min-width: 0;
}

/* Desktop hero: the facade photo stretches to the booking card's height. */
@media (min-width: 1024px) {
  .hero-cards {
    align-items: stretch;
  }
  .hero-cards .photo {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 460px;
  }
}

/* Stacking: menu < header < sticky bar < backdrop < sheet */
.sheet-backdrop {
  z-index: 70;
}
@media (max-width: 767px) {
  .booking {
    z-index: 80;
  }
}
