/* =========================================================
   American Maintenance — site styles
   ========================================================= */

:root {
  --navy: #13294B;
  --navy-deep: #0C1C35;
  --red: #D7192A;
  --red-dark: #B01320;
  --white: #FFFFFF;
  --cloud: #F4F6FA;
  --ink: #1B1F2A;
  --muted: #5B6475;
  --line: #DCE1EA;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(19, 41, 75, 0.10);
  --header-h: 76px;
  --bar-h: 64px;
  --max: 1180px;
  --font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--navy); }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.02em;
}
h1, h2 { text-transform: uppercase; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--cloud { background: var(--cloud); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section--navy .section__head p { color: rgba(255,255,255,0.82); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.85rem; color: var(--red); margin-bottom: 8px;
}
.lead { font-size: 1.12rem; color: var(--muted); }
.placeholder-note {
  background: #FFF6E5; border: 1px dashed #E0A93B; color: #6B4A08;
  padding: 2px 8px; border-radius: 6px; font-size: 0.9em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { background: var(--cloud); color: var(--red-dark); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); }
.btn--sm { min-height: 44px; padding: 9px 16px; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
#site-header { min-height: var(--header-h); }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
body > #site-header { position: sticky; top: 0; z-index: 100; }
.site-header__inner {
  height: 100%; display: flex; align-items: center; gap: 24px;
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__full { width: 220px; height: 55px; }
.brand__icon { width: 44px; height: 44px; display: none; }
.brand__text {
  display: none; font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  color: var(--navy); line-height: 1.05; font-size: 1.05rem; letter-spacing: 0.03em;
}
.brand__text span { display: block; color: var(--red); font-weight: 500; font-size: 0.85em; letter-spacing: 0.12em; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 8px 12px; border-radius: 8px; border: 0; background: none;
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; color: var(--navy);
  text-decoration: none; cursor: pointer;
}
.nav__link:hover, .nav__toggle:hover, .nav__link[aria-current="page"] { color: var(--red); background: var(--cloud); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .15s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; display: none;
}
.dropdown.is-open { display: block; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-weight: 500;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--cloud); color: var(--red); }
.dropdown__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown__all a { font-weight: 600; color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 1360px) {
  .header-actions .btn--outline .btn__long { display: none; }
}
.nav__link, .nav__toggle { white-space: nowrap; }
@media (max-width: 1180px) {
  .header-actions .btn--outline .btn__label { display: none; }
  .header-actions .btn--outline { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .brand__full { display: none; }
  .brand__icon, .brand__text { display: block; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); overflow-y: auto; padding: 16px 20px calc(var(--bar-h) + 24px);
    display: none; border-top: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; font-size: 1.1rem; padding: 12px; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .btn { padding: 9px 12px; min-height: 44px; font-size: 0.92rem; }
}
@media (max-width: 420px) {
  .brand__text { font-size: 0.9rem; }
  .brand__icon { width: 38px; height: 38px; }
  .header-actions .btn--outline .btn__label { display: none; }
  .header-actions .btn--outline { padding: 9px 11px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 86vh, 780px);
  display: flex; align-items: center;
  background: var(--navy) url("../assets/photos/hero-cleaning.jpg") center / cover no-repeat;
  color: var(--white);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(12, 28, 53, 0.88) 0%, rgba(19, 41, 75, 0.68) 50%, rgba(19, 41, 75, 0.45) 100%);
}
.hero__content { max-width: 720px; padding: 72px 0; }
.hero__badge { width: 96px; height: 96px; margin-bottom: 18px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.3)); }
.hero h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,0.92); max-width: 620px; margin-bottom: 26px; }
.hero__price { margin: 22px 0 0; font-size: 1.1rem; color: rgba(255,255,255,0.92); }
.hero__price strong {
  font-family: var(--font-head); font-size: 1.6rem; color: var(--white);
  background: var(--red); padding: 2px 10px; border-radius: 8px; margin-left: 4px;
}

/* Inner-page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px;
  background: url("../assets/logo-icon.svg") center / contain no-repeat; opacity: 0.07;
}
.page-hero h1 { color: var(--white); max-width: 900px; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 720px; font-size: 1.1rem; }
.page-hero .btn-row { margin-top: 24px; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 14px; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: var(--white); padding: 22px 0; }
.trust__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.trust__item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.98rem; }
.trust__item svg { width: 34px; height: 34px; flex: none; color: var(--red); background: var(--white); border-radius: 50%; padding: 7px; }
@media (max-width: 860px) { .trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust__item { font-size: 0.9rem; } }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 0 rgba(19,41,75,0.04); transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--cloud); color: var(--navy);
  display: grid; place-items: center;
}
.service-card__icon svg { width: 32px; height: 32px; }
.service-card h3 { margin: 4px 0 0; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card p { color: var(--muted); margin: 0; flex: 1; }
.service-card__price { font-weight: 600; color: var(--muted); }
.service-card__price strong { font-family: var(--font-head); color: var(--red); font-size: 1.45rem; letter-spacing: 0.01em; }
.service-card .btn-row { margin-top: 6px; flex-direction: column; gap: 8px; }
.service-card .btn { width: 100%; white-space: normal; text-align: center; }
@media (prefers-reduced-motion: reduce) { .service-card:hover { transform: none; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  position: relative;
}
.step__num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; display: grid; place-items: center; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split / video ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame__play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer;
  background: linear-gradient(0deg, rgba(19,41,75,0.45), rgba(19,41,75,0.15));
}
.video-frame__play span {
  width: 84px; height: 84px; border-radius: 50%; background: var(--red); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s;
}
.video-frame__play:hover span { transform: scale(1.06); }
.video-frame__play svg { width: 34px; height: 34px; color: var(--white); margin-left: 5px; }
.video-frame__fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(255,255,255,.85);
  padding: 20px; font-weight: 500; z-index: 0;
}
.video-frame__fallback img { width: 88px; height: 88px; margin: 0 auto 12px; }
.video-frame video, .video-frame__play { z-index: 1; }
.video-caption { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 0.95rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Before / after ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.ba { margin: 0; }
.ba__frame {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--line); box-shadow: var(--shadow); user-select: none; touch-action: pan-y;
}
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--white); pointer-events: none; box-shadow: 0 0 6px rgba(0,0,0,.35);
}
.ba__handle {
  position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--red); border: 3px solid var(--white); color: var(--white);
  display: grid; place-items: center; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.ba__handle svg { width: 24px; height: 24px; }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.ba__range:focus-visible + .ba__handle { outline: 3px solid var(--white); outline-offset: 3px; }
.ba__tag {
  position: absolute; top: 12px; padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); background: rgba(19,41,75,0.85); pointer-events: none;
}
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; background: var(--red); }
.ba figcaption { margin-top: 10px; color: var(--muted); font-size: 0.95rem; text-align: center; }

/* ---------- Area / chips / map ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; color: var(--navy);
}
.chips__label { width: 100%; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.map {
  width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cloud);
}
.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.town-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.town-card h3 { margin: 0; font-size: 1.2rem; }
.town-card span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Social ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-links a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.1); color: var(--white); transition: background .15s;
}
.social-links a:hover { background: var(--red); color: var(--white); }
.social-links svg { width: 22px; height: 22px; }
.social-links--dark a { background: var(--navy); }
.social-links--dark a:hover { background: var(--red); }
/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--white); padding: clamp(48px, 7vw, 72px) 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { font-size: 1.12rem; color: rgba(255,255,255,0.95); max-width: 620px; margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }

/* Voice / AI line */
.voice {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: var(--navy); color: var(--white); border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}
.voice__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.voice__icon svg { width: 36px; height: 36px; color: var(--white); }
.voice h2 { color: var(--white); margin-bottom: 6px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.voice p { margin: 0; color: rgba(255,255,255,0.88); }
.voice > .btn { justify-self: end; }
@media (max-width: 760px) { .voice { grid-template-columns: 1fr; text-align: center; } .voice__icon { margin: 0 auto; } .voice > .btn { justify-self: center; } }

.voice-call-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 1200; width: min(380px, calc(100vw - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px;
  color: var(--ink); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: 8px; box-shadow: 0 12px 36px rgba(19,41,75,.24);
}
.voice-call-panel[hidden] { display: none; }
.voice-call-panel strong { display: block; color: var(--navy); }
.voice-call-panel p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.voice-call-panel button { flex: 0 0 auto; }
@media (max-width: 520px) { .voice-call-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); } }

/* ---------- Price tables ---------- */
.price-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(19,41,75,0.04); }
.price-block + .price-block { margin-top: 28px; }
.price-block__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 24px; border-bottom: 1px solid var(--line); background: var(--cloud);
}
.price-block__head h2, .price-block__head h3 { margin: 0; font-size: 1.5rem; }
.price-block__head p { margin: 4px 0 0; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 14px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.85rem; color: var(--muted); background: var(--white);
}
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th { border-bottom: 0; }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table__note { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.price-table .price { font-family: var(--font-head); font-weight: 600; color: var(--red); font-size: 1.2rem; white-space: nowrap; }
.price-table .time { color: var(--muted); white-space: nowrap; }
.price-block__foot { padding: 16px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.price-note { font-size: 0.93rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 18px; border-bottom: 1px solid var(--line); gap: 2px 12px; }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table tbody th { grid-column: 1; }
  .price-table .price { grid-column: 2; grid-row: 1; text-align: right; }
  .price-table .time { grid-column: 1 / -1; font-size: 0.9rem; }
  .price-table .time:empty { display: none; }
  .price-block__head, .price-block__foot { padding: 18px; }
}

/* ---------- Service page layout ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.content-grid > aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .content-grid > aside { position: static; } }
.side-card {
  background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.side-card h2, .side-card h3 { color: var(--white); font-size: 1.4rem; }
.side-card p { color: rgba(255,255,255,0.86); }
.side-card .btn { width: 100%; margin-top: 10px; }
.side-card__price { font-family: var(--font-head); font-size: 2rem; color: var(--white); line-height: 1; margin: 4px 0 12px; }
.side-card__price small { font-family: var(--font-body); font-size: 0.9rem; color: rgba(255,255,255,.75); display: block; margin-bottom: 4px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 640px) { .related { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__group + .faq__group { margin-top: 40px; }
.faq__group h2 { font-size: 1.5rem; margin-bottom: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 10px; overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 18px 20px; min-height: 56px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--navy);
}
.faq__q:hover { color: var(--red); }
.faq__q svg { width: 22px; height: 22px; flex: none; transition: transform .2s; color: var(--red); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--ink); }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a[hidden] { display: none; }

/* ---------- Info / contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 3px; }
.info-list strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours-table th, .hours-table td { padding: 6px 0; text-align: left; border-bottom: 1px solid var(--line); }
.hours-table td { text-align: right; }
.hours-table .is-closed td { color: var(--red); font-weight: 600; }
.hours-table .is-today th, .hours-table .is-today td { font-weight: 700; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 rgba(19,41,75,0.04); }
.panel--cloud { background: var(--cloud); border-color: transparent; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #C3CAD7; border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(215, 25, 42, 0.35); border-color: var(--red); }
.form__status { font-weight: 600; margin: 0; }
.form__status.is-ok { color: #1D7A3E; }
.form__status.is-err { color: var(--red); }

/* ---------- Booking page ---------- */
.book-steps { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 24px 0 0; }
.book-steps li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9); font-weight: 600; }
.book-steps span {
  width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1rem;
}
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pick {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 18px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--white);
  cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.pick:hover { border-color: var(--navy); }
.pick[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 25, 42, 0.12); }
.pick[aria-pressed="true"]::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pick__icon { width: 40px; height: 40px; color: var(--navy); }
.pick__name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.pick__price { color: var(--muted); font-size: 0.95rem; }
.pick__price strong { color: var(--red); font-family: var(--font-head); font-size: 1.15rem; }
.selected-summary { margin-top: 24px; }
.selected-summary[hidden] { display: none; }
.scheduler { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.scheduler__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--navy); color: var(--white);
}
.scheduler__bar p { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.scheduler__bar svg { width: 20px; height: 20px; }
.scheduler iframe { width: 100%; min-height: 900px; border: 0; display: block; }
.policy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.policy-list li { display: flex; gap: 12px; }
.policy-list svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 2px; }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.pay-list li {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; padding: 5px 10px; border-radius: 6px;
  background: var(--white); color: var(--navy); border: 1px solid var(--line);
}

/* ---------- Coming soon / 404 ---------- */
.center-page {
  min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center;
  padding: 64px 20px; background: radial-gradient(circle at 50% 30%, var(--white) 0%, var(--cloud) 70%);
}
.center-page__logo { width: min(240px, 60vw); height: auto; margin: 0 auto 28px; filter: drop-shadow(0 10px 28px rgba(19,41,75,.18)); }
.center-page h1 { margin-bottom: 12px; }
.center-page p { color: var(--muted); font-size: 1.12rem; max-width: 520px; margin: 0 auto 26px; }
.center-page .btn-row { justify-content: center; }
.center-page .social-links { justify-content: center; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.82); padding: 64px 0 0; font-size: 0.97rem; }
.site-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 120px; height: 120px; margin-bottom: 16px; }
.site-footer h2 { color: var(--white); font-size: 1.05rem; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 4px 0; }
.site-footer .hours-table th, .site-footer .hours-table td { border-color: rgba(255,255,255,0.12); padding: 5px 0; font-weight: 400; }
.site-footer .hours-table .is-closed td { color: #FF8A94; }
.site-footer .hours-table .is-today th, .site-footer .hours-table .is-today td { color: var(--white); font-weight: 700; }
.site-footer .pay-list li { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.15); }
.footer-contact { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.6);
}
.site-footer .social-links { margin-top: 16px; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: var(--bar-h); }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: var(--bar-h);
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(19,41,75,0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a, .action-bar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border: 0; background: none; font: inherit; font-size: 0.82rem; font-weight: 700; color: var(--navy);
    text-decoration: none; cursor: pointer;
  }
  .action-bar svg { width: 22px; height: 22px; }
  .action-bar .action-bar__book { background: var(--red); color: var(--white); }
}

/* ---------- Chatbot ---------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--white); background: var(--red); cursor: pointer; padding: 6px;
  box-shadow: 0 10px 28px rgba(19,41,75,0.3); transition: transform .15s;
}
.chat-launcher:hover { transform: scale(1.05); }
.chat-launcher img { width: 100%; height: 100%; border-radius: 50%; }
.chat-launcher__dot {
  position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%;
  background: #22B357; border: 3px solid var(--white);
}
@media (max-width: 760px) { .chat-launcher { bottom: calc(var(--bar-h) + 14px); right: 14px; width: 58px; height: 58px; } }
.chat-panel {
  position: fixed; right: 20px; bottom: 96px; z-index: 96; width: min(380px, calc(100vw - 28px));
  height: min(600px, calc(100vh - 130px)); display: flex; flex-direction: column;
  background: var(--white); border-radius: 16px; box-shadow: 0 18px 50px rgba(19,41,75,0.3); overflow: hidden;
  border: 1px solid var(--line);
}
.chat-panel[hidden] { display: none; }
@media (max-width: 760px) {
  .chat-panel { right: 14px; left: 14px; width: auto; bottom: calc(var(--bar-h) + 12px); height: calc(100dvh - var(--bar-h) - var(--header-h) - 24px); }
}
.chat-panel__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: var(--navy); color: var(--white); }
.chat-panel__head img { width: 38px; height: 38px; border-radius: 50%; background: var(--white); }
.chat-panel__title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; margin: 0; color: var(--white); }
.chat-panel__status { font-size: 0.8rem; color: rgba(255,255,255,.75); }
.chat-panel__close {
  margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1);
  color: var(--white); cursor: pointer; display: grid; place-items: center;
}
.chat-panel__close:hover { background: rgba(255,255,255,.2); }
.chat-panel__close svg { width: 20px; height: 20px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cloud); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 0.97rem; line-height: 1.5; word-wrap: break-word; }
.msg p { margin: 0 0 6px; }
.msg p:last-child { margin: 0; }
.msg--bot { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg ul { margin: 4px 0; padding-left: 18px; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.msg-actions .btn { min-height: 40px; padding: 8px 14px; font-size: 0.9rem; }
.chat-typing { align-self: flex-start; color: var(--muted); font-size: 0.9rem; font-style: italic; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; background: var(--white); border-top: 1px solid var(--line); }
.chat-chip {
  border: 1px solid var(--navy); background: var(--white); color: var(--navy); border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; min-height: 36px;
}
.chat-chip:hover { background: var(--navy); color: var(--white); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input {
  flex: 1; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #C3CAD7; border-radius: 10px; font: inherit; font-size: 1rem;
}
.chat-form button {
  width: 46px; height: 46px; border-radius: 10px; border: 0; background: var(--red); color: var(--white); cursor: pointer; display: grid; place-items: center;
}
.chat-form button:hover { background: var(--red-dark); }
.chat-form svg { width: 20px; height: 20px; }
.lead-form { display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; align-self: stretch; }
.lead-form input { min-height: 44px; padding: 8px 10px; border: 1px solid #C3CAD7; border-radius: 8px; font: inherit; }
.lead-form label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.muted { color: var(--muted); }
.noscript-bar { background: var(--navy); color: var(--white); text-align: center; padding: 10px; }
.noscript-bar a { color: var(--white); font-weight: 700; }
