/* ── Globals ─────────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
  /* Sticky header is 76px tall — keep anchor targets out from under it */
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-700);
  background: var(--surface);
}

::selection { background: var(--brand-50); color: var(--ink-900); }

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

main { display: block; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip the smooth-scroll for users who don't want it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── Typography helpers ─────────────────────────────────────────── */

h1, h2, h3, h4 { color: var(--ink-900); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-body); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-500); }

a { color: var(--brand-600); transition: color var(--t-fast); }
a:hover { color: var(--brand-700); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  padding: 6px 10px;
  background: var(--brand-50);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-head {
  max-width: 720px;
  margin-block-end: 48px;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 12px;
}
.section-head__sub {
  font-size: 1.0625rem;
  color: var(--ink-500);
  max-width: 56ch;
}
.section-head--center .section-head__sub { margin-inline: auto; }

/* ── Brand mark ─────────────────────────────────────────────────── */

.brand__mark {
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.brand__i, .brand__c { color: var(--brand-600); }

.brand__logo {
  height: 48px;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .brand__logo { height: 56px; }
}

.brand__logo--inverted {
  filter: brightness(0) invert(1);
  height: 42px;
  opacity: 0.95;
}

/* ── Buttons ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-base),
              box-shadow var(--t-fast);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring-brand); }

.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--primary[disabled] { opacity: 0.65; cursor: progress; transform: none; }

.btn--secondary {
  background: var(--surface);
  color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn--secondary:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-600);
  padding: 10px 16px;
}
.btn--ghost:hover { background: var(--brand-50); }

.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: 0.8125rem; }
.btn--block { width: 100%; }

.link-button {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-600);
  font-weight: 600;
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  font-size: inherit;
  transition: color var(--t-fast);
}
.link-button:hover { color: var(--brand-700); }
.link-button:focus-visible { outline: none; box-shadow: var(--ring-brand); border-radius: 4px; }
.link-button .icon { width: 16px; height: 16px; transition: transform var(--t-base); }
.link-button:hover .icon { transform: translateX(2px); }

/* ── Cards ──────────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* ── Inputs ─────────────────────────────────────────────────────── */

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
}
.field__hint {
  font-size: 0.8125rem;
  color: var(--ink-500);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9375rem;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-900);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  font-family: inherit;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%231f2a44' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 96px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-500); opacity: 0.8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: var(--ring-brand);
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--danger);
}
.field--error input:focus,
.field--error select:focus,
.field--error textarea:focus {
  box-shadow: var(--ring-danger);
}

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--danger);
}
.field__error::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background: var(--danger);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M12 7v6M12 16h.01' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/><path d='M12 7v6M12 16h.01' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/contain no-repeat;
}

.field__estimate {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.field__estimate strong { color: var(--brand-600); }

.field__counter {
  font-size: 0.75rem;
  color: var(--ink-500);
  text-align: right;
}

/* ── Header / Nav ───────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.site-header--scrolled { border-bottom-color: var(--ink-300); }

.site-header__inner {
  display: flex; align-items: center;
  gap: 24px;
  height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand:focus-visible { outline: none; box-shadow: var(--ring-brand); border-radius: 6px; }

.nav { display: none; margin-inline-start: auto; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  font-size: 0.9375rem;
  color: var(--ink-700);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav__link:hover { color: var(--brand-600); }
.nav__link--active { color: var(--brand-600); }
.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand-600);
  border-radius: 2px;
}

.nav__cta { display: none; margin-inline-start: 8px; padding: 11px 20px; font-size: 0.9375rem; }

.nav__toggle {
  margin-inline-start: auto;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  border-radius: var(--radius-sm);
}
.nav__toggle:focus-visible { outline: none; box-shadow: var(--ring-brand); }
.nav__toggle-bar {
  width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--surface);
  z-index: var(--z-mobile-menu);
  padding: 32px var(--gutter);
  overflow-y: auto;
  animation: fadeIn 200ms ease both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__list a:not(.btn) {
  display: block;
  padding: 14px 4px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-100);
}
.mobile-menu__list a:not(.btn):hover { color: var(--brand-600); }
.mobile-menu__list a[aria-current="page"] { color: var(--brand-600); }
.mobile-menu__cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
  padding-block: 16px;
  font-size: 1rem;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ── Hero ───────────────────────────────────────────────────────── */

.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 25%, var(--brand-50) 0%, transparent 60%),
    radial-gradient(700px 400px at 15% 80%, #f5f8ff 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}
.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero__content { max-width: 640px; }
.hero__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink-900);
  margin-bottom: 20px;
}
.hero__title--small { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.hero__title-accent {
  color: var(--brand-600);
  background: linear-gradient(90deg, var(--brand-600), #2d6df0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: 1.125rem;
  color: var(--ink-500);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.875rem;
  color: var(--ink-700);
}
.trust-row li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-row .icon { width: 18px; height: 18px; color: var(--brand-600); flex: none; }

.hero__art {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.hero__device {
  width: min(100%, 380px);
  filter: drop-shadow(0 30px 60px rgba(18, 79, 196, 0.20))
          drop-shadow(0 8px 16px rgba(10, 19, 48, 0.08));
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__device { animation: none; }
}

@media (min-width: 960px) {
  .hero { padding: 96px 0 120px; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; }
}

/* ── Sections ───────────────────────────────────────────────────── */

.appointment,
.services,
.areas,
.about,
.contact,
.tracking,
.shop {
  padding-block: var(--section-pad-y);
}

.appointment {
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-100) 100%);
}
.services { background: var(--ink-100); }
.about    { background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); }

/* ── Appointment ────────────────────────────────────────────────── */

.tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.tabs {
  display: inline-flex;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-pill);
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.tab {
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-pill);
  transition: background var(--t-fast), color var(--t-fast);
}
.tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}
.tab:focus-visible { outline: none; box-shadow: var(--ring-brand); }

.appt-grid { display: grid; gap: 24px; }

.appt-card {
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.appt-card[hidden] { display: none; }
.appt-card--active { border-color: var(--brand-600); box-shadow: var(--shadow-lg); }

.appt-card__head { margin-bottom: 24px; }
.appt-card__title { font-size: 1.5rem; font-weight: 700; margin: 12px 0 12px; color: var(--ink-900); }
.appt-card__bullets {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.9375rem; color: var(--ink-700);
  list-style: none; padding: 0;
}
.appt-card__bullets li {
  position: relative; padding-inline-start: 22px;
}
.appt-card__bullets li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--brand-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 7 9 18l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 7 9 18l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.appt-card__note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-500);
  text-align: center;
}

/* Extra promotional note shown ONLY on mobile breakpoint */
.appt-card__note--mobile { display: none; }
@media (max-width: 639px) {
  .appt-card__note--mobile {
    display: block;
    margin-top: 12px;
    padding: 12px 14px;
    background: var(--brand-50);
    color: var(--brand-700);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: left;
  }
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
}
.badge--brand  { background: var(--success); color: #fff; }
.badge--accent { background: var(--warning); color: #2a1f00; }

.appt-grid {
  max-width: 920px;
  margin-inline: auto;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (min-width: 520px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
}

/* City + State + ZIP triplet inside the field-grid */
.address-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 520px) {
  .address-row { grid-template-columns: 2fr 1fr 1fr; }
}

/* ── Services ───────────────────────────────────────────────────── */

.brand-row {
  display: flex; flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.brand-chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.brand-chip:hover { border-color: var(--brand-600); color: var(--brand-700); }
.brand-chip[aria-selected="true"] {
  background: var(--brand-600);
  color: #fff;
  border-color: var(--brand-600);
  box-shadow: var(--shadow-btn);
}
.brand-chip:focus-visible { outline: none; box-shadow: var(--ring-brand); }
.brand-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: none;
}
.brand-chip__icon svg { width: 100%; height: 100%; }

@media (min-width: 1024px) {
  .brand-row { justify-content: center; flex-wrap: wrap; overflow: visible; }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--t-base), box-shadow var(--t-fast), border-color var(--t-fast);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: var(--radius);
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink-900);
}
.service-card__desc {
  font-size: 0.875rem;
  color: var(--ink-500);
  line-height: 1.5;
  flex-grow: 1;
}
.service-card__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}
.service-card__price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-600);
}
.service-card__price small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.service-card__count {
  font-size: 0.75rem;
  color: var(--ink-500);
  background: var(--ink-100);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.service-card__cta {
  margin-top: 4px;
  align-self: flex-start;
}

.services__footer {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  margin-top: 40px;
}
.services__disclaimer {
  font-size: 0.8125rem;
  color: var(--ink-500);
  max-width: 64ch;
}

/* ── Areas ──────────────────────────────────────────────────────── */

.chip-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  padding: 0;
  list-style: none;
}
.chip {
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-pill);
}
.chip--alt {
  background: var(--brand-50);
  border-color: transparent;
  color: var(--brand-700);
  font-weight: 600;
}
.areas__subtitle {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900);
  text-align: center;
  letter-spacing: -0.01em;
}
.areas__note {
  margin-top: 32px;
  font-size: 0.9375rem;
  color: var(--ink-500);
  text-align: center;
  max-width: 56ch;
  margin-inline: auto;
}

/* ── About ──────────────────────────────────────────────────────── */

.about__inner { display: grid; gap: 48px; align-items: center; }
.about__content p { font-size: 1rem; color: var(--ink-700); margin-bottom: 16px; }
.about__content p:last-of-type { margin-bottom: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  padding: 18px;
}
.stat dt {
  font-size: 0.8125rem;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stat dd strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-600);
  line-height: 1;
}

.about__art { display: flex; justify-content: center; }
.about__art svg { width: min(100%, 360px); }

.about__photo {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink-100);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 19, 48, 0.55) 100%);
  pointer-events: none;
}
.about__photo-caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  margin: 0;
  z-index: 1;
}
.about__photo-caption svg { flex: none; color: #fff; }

@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .about__inner { grid-template-columns: 1.2fr 1fr; } }

/* ── Contact ────────────────────────────────────────────────────── */

.contact__inner { display: grid; gap: 48px; align-items: start; }

.contact__list {
  display: flex; flex-direction: column; gap: 16px;
  list-style: none; padding: 0;
  margin: 24px 0 32px;
}
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; }

/* Phone rotation — alternates "(201) 366-IFIX" ↔ "(201) 366-4349" */
.phone-rotate {
  display: inline-grid;
  font-variant-numeric: tabular-nums;
}
.phone-rotate__face {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 350ms ease;
  white-space: nowrap;
}
.phone-rotate__face--active { opacity: 1; }
.phone-rotate__brand {
  color: var(--brand-600);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-style: italic;
}

/* Footer: dark navy bg — brand-600 koyu mavi okunmaz, açık tonla override */
.site-footer .phone-rotate__brand {
  color: #6b95eb;
}

@media (prefers-reduced-motion: reduce) {
  .phone-rotate__face { transition: none; }
}
.contact__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  padding-top: 2px;
}

.contact__map {
  position: relative;
}
.contact__map iframe {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  background: var(--ink-100);
  display: block;
}
.contact__map-link {
  margin-top: 8px;
  font-size: 0.8125rem;
  text-align: right;
}
.contact__map-link a { color: var(--ink-500); font-weight: 500; }
.contact__map-link a:hover { color: var(--brand-600); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form__title {
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink-900); margin-bottom: 4px;
}
.contact-form .btn { margin-top: 8px; }

@media (min-width: 1024px) { .contact__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* ── Footer ─────────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 24px;
  margin-top: 0;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; }
.site-footer a:hover { color: #fff; }

.site-footer__brand .brand__mark { color: #fff; }
.site-footer__brand .brand__i,
.site-footer__brand .brand__c { color: #6b95eb; }
.site-footer__brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 28ch;
}
.site-footer__contact p { font-size: 0.9375rem; margin-bottom: 4px; }
.site-footer__legal {
  padding-top: 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ── Modal ──────────────────────────────────────────────────────── */

.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100%;
  max-height: 100%;
  width: 100vw;
  height: 100vh;
  margin: 0;
  inset: 0;
}
.modal::backdrop {
  background: rgba(10, 19, 48, 0.55);
  backdrop-filter: blur(2px);
}
.modal[open] {
  display: flex; align-items: flex-end; justify-content: center;
  animation: modalIn 220ms cubic-bezier(.2, .8, .2, 1);
}

@media (min-width: 640px) {
  .modal[open] { align-items: center; }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal__panel {
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 -10px 40px rgba(10, 19, 48, 0.2);
}
.modal__panel--narrow { max-width: 480px; }
@media (min-width: 640px) {
  .modal__panel { border-radius: var(--radius-lg); }
}

.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--ink-100);
}
.modal__head h3 { font-size: 1.25rem; color: var(--ink-900); }
.modal__sub { font-size: 0.875rem; color: var(--ink-500); margin-top: 2px; }
.modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-700);
  transition: background var(--t-fast);
  flex: none;
}
.modal__close:hover { background: var(--ink-100); }
.modal__close:focus-visible { outline: none; box-shadow: var(--ring-brand); }
.modal__close svg { width: 20px; height: 20px; }

.modal__body { padding: 20px 24px 24px; overflow-y: auto; }

/* Pricing-list inside pricing modal */
.pricing-brand { margin-bottom: 28px; }
.pricing-brand:last-child { margin-bottom: 0; }
.pricing-brand__title {
  font-size: 1.125rem;
  color: var(--brand-700);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-100);
}
.pricing-service { margin-bottom: 16px; }
.pricing-service__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table td {
  padding: 6px 0;
  font-size: 0.875rem;
  border-bottom: 1px dashed var(--ink-100);
}
.pricing-table td:first-child { color: var(--ink-700); }
.pricing-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--brand-600);
  white-space: nowrap;
}
.pricing-table tr:last-child td { border-bottom: none; }

/* Payment form layout */
.payment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.payment-form .field--full { grid-column: 1 / -1; }
.payment-form .btn { grid-column: 1 / -1; margin-top: 4px; }
.payment-form__alert {
  grid-column: 1 / -1;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: #fbeaea;
  color: #8a2222;
  border: 1px solid #f3c5c5;
}
.payment-form__alert--success {
  background: #e7f6ee;
  color: #105a3a;
  border-color: #bfe5cf;
}
.payment-form__lock {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.75rem;
  color: var(--ink-500);
}
.payment-form__lock .icon { width: 14px; height: 14px; }

/* ── Toast ──────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-toast);
  opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-base);
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast--success { background: var(--success); }
.toast--error   { background: var(--danger); }

/* ── Booking success card (replaces form on success) ───────────── */

.success-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 32px 16px;
  animation: fadeIn 280ms ease both;
}
.success-card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--success);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.success-card__icon svg { width: 32px; height: 32px; color: #fff; }
.success-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.success-card__id {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin: 8px 0;
  font-weight: 600;
}
.success-card__summary {
  font-size: 0.9375rem;
  color: var(--ink-700);
  margin: 16px 0 24px;
  max-width: 36ch;
}
.success-card__cta { margin-top: 8px; }

/* ── Tracking page ──────────────────────────────────────────────── */

.tracking {
  background: linear-gradient(180deg, #fff 0%, var(--ink-100) 100%);
  min-height: calc(100vh - 76px - 320px);
}
.tracking__inner { display: flex; flex-direction: column; align-items: center; }
.tracking-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  padding: 16px;
  margin-top: 24px;
}
.tracking-form input {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.9375rem;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}
.tracking-form input:focus { outline: none; border-color: var(--brand-600); box-shadow: var(--ring-brand); }
.tracking-form .btn { flex: none; }

.tracking__hint {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--ink-500);
}

.tracking-result { width: 100%; max-width: 880px; margin-top: 40px; }

.repair-summary {
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.repair-summary__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 16px;
}
.repair-summary__title { font-size: 1.125rem; font-weight: 700; color: var(--ink-900); }
.repair-summary__id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.repair-summary__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.repair-summary__grid dt {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 4px;
}
.repair-summary__grid dd { font-size: 0.9375rem; color: var(--ink-900); font-weight: 500; }

/* Timeline */
.timeline {
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  list-style: none;
}
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding-bottom: 24px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 32px;
  bottom: -2px;
  width: 2px;
  background: var(--ink-300);
}
.timeline-step:last-child::before { display: none; }
.timeline-step__circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink-300);
  background: var(--surface);
  color: var(--ink-500);
  position: relative;
  z-index: 1;
}
.timeline-step__circle svg { width: 16px; height: 16px; }
.timeline-step__body { padding-top: 6px; }
.timeline-step__name { font-weight: 600; font-size: 0.9375rem; color: var(--ink-900); }
.timeline-step__time { font-size: 0.8125rem; color: var(--ink-500); margin-top: 2px; }

.timeline-step--done .timeline-step__circle {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.timeline-step--done::before { background: var(--success); }

.timeline-step--current .timeline-step__circle {
  border-color: var(--brand-600);
  color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(18, 79, 196, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
.timeline-step--current .timeline-step__name { color: var(--brand-700); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(18, 79, 196, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(18, 79, 196, 0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-step--current .timeline-step__circle { animation: none; }
}

.timeline-meta {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--ink-500);
  text-align: center;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}

.tracking-error {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-lg);
}
.tracking-error h3 { color: var(--ink-900); margin-bottom: 8px; }
.tracking-error p { color: var(--ink-500); margin-bottom: 16px; }

/* ── Scroll reveal ──────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(8px); transition: opacity 500ms ease, transform 500ms cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Shop ───────────────────────────────────────────────────────── */

.shop { background: linear-gradient(180deg, var(--surface) 0%, var(--ink-100) 100%); }
.shop-grid { margin-top: 48px; display: flex; flex-direction: column; gap: 48px; }

.shop-category__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-fast), border-color var(--t-fast);
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card--selected { border-color: var(--brand-600); box-shadow: var(--ring-brand); }

.product-card__media { position: relative; background: var(--brand-50); }
.product-art { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.product-card__badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--brand-600);
  padding: 4px 10px; border-radius: var(--radius-pill);
}

.product-card__title { font-size: 1rem; font-weight: 600; color: var(--ink-900); margin: 16px 16px 4px; }
.product-card__desc { font-size: 0.8125rem; color: var(--ink-500); line-height: 1.5; margin: 0 16px; flex-grow: 1; }
.product-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px;
}
.product-card__price { font-size: 1.0625rem; font-weight: 700; color: var(--brand-600); }
.product-card--selected .product-card__btn { background: var(--success); border-color: var(--success); color: #fff; }

/* Sticky shop selection bar */
.shop-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: var(--surface);
  border-top: 1px solid var(--ink-300);
  box-shadow: 0 -6px 24px rgba(10, 19, 48, 0.10);
  animation: shopBarIn 220ms cubic-bezier(.2, .8, .2, 1);
}
.shop-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-block: 14px;
}
.shop-bar__summary { font-weight: 600; color: var(--ink-900); }
.shop-bar__actions { display: flex; align-items: center; gap: 16px; }
@keyframes shopBarIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .shop-bar { animation: none; } }

/* ── Add-ons cross-sell modal ───────────────────────────────────── */

.modal__foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--ink-100);
}
.addons__total { font-size: 0.875rem; color: var(--ink-500); }
.addons__actions { display: flex; gap: 12px; }

.addon-group { border: none; padding: 0; margin: 0 0 20px; }
.addon-group:last-child { margin-bottom: 0; }
.addon-group__title {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-500); padding: 0 0 8px;
}

.addon-item {
  display: grid;
  grid-template-columns: 56px 1fr auto 22px;
  align-items: center; gap: 14px;
  padding: 10px;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.addon-item:hover { border-color: var(--brand-600); }
.addon-item--on { border-color: var(--brand-600); background: var(--brand-50); }
.addon-item__media { width: 56px; height: 42px; border-radius: var(--radius-sm); overflow: hidden; background: var(--brand-50); }
.addon-item__media .product-art,
.addon-item__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.addon-item__name { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--ink-900); }
.addon-item__desc { display: block; font-size: 0.8125rem; color: var(--ink-500); line-height: 1.4; margin-top: 2px; }
.addon-item__price { font-weight: 700; color: var(--brand-600); }
.addon-item__tag {
  display: inline-block;
  font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-700); background: var(--brand-50);
  padding: 2px 7px; border-radius: var(--radius-pill);
  vertical-align: middle; margin-left: 4px;
}
.addon-item--on .addon-item__tag { background: #fff; }
.addon-item__check { width: 20px; height: 20px; accent-color: var(--brand-600); cursor: pointer; }

/* Add-ons summary inside the booking success card */
.success-card__addons {
  width: 100%; max-width: 320px;
  text-align: left;
  background: var(--brand-50);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 4px 0 20px;
}
.success-card__addons-title {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: 8px;
}
.success-card__addons-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.success-card__addons-list li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.875rem; color: var(--ink-700);
}

/* Add-ons row in the tracking summary spans the full grid width */
.repair-summary__addons { grid-column: 1 / -1; }

/* ── Misc ───────────────────────────────────────────────────────── */

[hidden] { display: none !important; }
