/* SwingTECH brand lockdown — dark surface, #2e8b3a accent.
   Legal hex: #0a0a0a #141414 #1a1a1a #262626 #404040 #ffffff #f7f7f8
   #e5e5e5 #d4d4d4 #a3a3a3 #525252 #2e8b3a #177a2c #e8f5ec
   #dc2626 #d97706 #2563eb
   Radius: buttons 6 · inputs 6 · cards 10 · sections 12 · pills 999 */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --border: #262626;
  --border-strong: #404040;
  --fg: #ffffff;
  --muted: #a3a3a3;
  --dim: #525252;
  --accent: #2e8b3a;
  --accent-dark: #177a2c;
  --accent-tint: #e8f5ec;
  --r-btn: 6px;
  --r-card: 10px;
  --r-section: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  /* Style D atmospheric background (brand lockdown 2026-05-16) */
  background:
    radial-gradient(ellipse 65% 50% at 18% 15%, rgba(46,139,58,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 82% 85%, rgba(255,255,255,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(40,50,60,0.45) 0%, transparent 70%),
    var(--bg);
  background-attachment: fixed;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(20px, calc((100vw - 1120px) / 2 + 16px));
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand img { display: block; height: 40px; width: auto; mix-blend-mode: lighten; }
.call {
  text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: var(--r-btn);
  border: 1px solid var(--border-strong);
}
.call:hover { border-color: var(--accent); }

/* ---------- layout ---------- */
main { max-width: 1120px; margin: 0 auto; padding: 28px 16px 48px; outline: none; }
main.narrow { max-width: 760px; }
.foot {
  max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px;
  color: var(--muted); font-size: 13px; text-align: center;
  border-top: 1px solid var(--border);
}
.foot p { margin: 4px 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

h1 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 6px; }
.lede { color: var(--muted); margin: 0 0 24px; max-width: 640px; }
h2.group {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 28px 0 10px;
}
.group-note { color: var(--muted); font-size: 13px; margin: -4px 0 12px; }

.back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; margin: 0 0 18px;
  color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: none;
}
.back:hover { color: var(--fg); }

/* ---------- home tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; padding: 18px; } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(4, 1fr); } .tile { min-height: 168px; } }
.tile {
  display: flex; flex-direction: column; gap: 6px;
  text-align: left; text-decoration: none;
  padding: 20px; min-height: 132px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.tile:hover, .tile:focus-visible { border-color: var(--accent); outline: none; }
.tile:active { transform: scale(0.99); }
.tile .t-title { font-size: 19px; font-weight: 700; }
.tile .t-blurb { color: var(--muted); font-size: 14px; flex: 1; }
.tile .t-from { color: var(--accent); font-weight: 600; font-size: 14px; }

.secondary-actions { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 820px) { .secondary-actions { grid-template-columns: 1fr 1fr; } }
.link-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; text-decoration: none;
  background: transparent; border: 1px dashed var(--border-strong);
  border-radius: var(--r-card); cursor: pointer; width: 100%; text-align: left;
}
.link-row:hover { border-color: var(--accent); border-style: solid; }
.link-row span:first-child { font-weight: 600; }
.link-row .sub { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.chev { color: var(--muted); flex: none; }

/* ---------- service cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 18px; margin-bottom: 12px;
}
.card.featured { border-color: var(--accent); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.meta { color: var(--muted); font-size: 14px; margin-top: 2px; }
.price { font-size: 18px; font-weight: 700; white-space: nowrap; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent-tint); background: var(--accent);
  border-radius: 999px; padding: 3px 9px; margin-bottom: 8px;
  align-self: flex-start;
}
/* Tabular figures only where numbers line up — Inter's tnum also widens hyphens in body text. */
.price, .t-from, .time, .day, .next, .rv-big, .save, .meta { font-variant-numeric: tabular-nums; }
.desc { color: var(--muted); font-size: 14px; margin: 10px 0 14px; }
ul.inc { margin: 10px 0 14px; padding: 0; list-style: none; font-size: 14px; }
ul.inc li { padding: 3px 0 3px 22px; position: relative; color: var(--fg); }
ul.inc li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.save { color: var(--accent); font-size: 13px; font-weight: 600; margin-top: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; padding: 12px 18px;
  background: var(--accent); color: #ffffff; border: 0;
  border-radius: var(--r-btn); font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: background .15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); outline: none; }
.btn.ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--fg); }
.btn.ghost:hover { border-color: var(--accent); background: transparent; }

/* ---------- goal chooser ---------- */
.goals { display: grid; gap: 10px; }
.goal {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); cursor: pointer; text-align: left; font-weight: 600; width: 100%;
}
.goal:hover { border-color: var(--accent); }

/* ---------- package code ---------- */
.field { display: grid; gap: 6px; margin: 0 0 18px; }
.field label { font-weight: 600; font-size: 14px; }
.field .hint { color: var(--muted); font-size: 13px; }
.field input {
  font: inherit; color: var(--fg); background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: var(--r-btn);
  padding: 12px 14px; min-height: 48px; text-transform: uppercase; letter-spacing: 0.06em;
}
.field input:focus { outline: none; border-color: var(--accent); }
.notice {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--r-card); padding: 14px 16px; font-size: 14px; color: var(--muted); margin: 0 0 18px;
}
.notice strong { color: var(--fg); }
.mini {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; margin-bottom: 8px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
}
.mini:hover { border-color: var(--accent); }
.mini .meta { margin: 0; }

.hand-off { color: var(--muted); font-size: 12px; text-align: center; margin: 8px 0 0; }

/* ---------- live availability ---------- */
.next { font-size: 13px; color: var(--muted); margin: -4px 0 12px; min-height: 18px; }
.next.on { color: var(--accent); font-weight: 600; }
.next.none { color: var(--muted); }
.loading { color: var(--muted); font-size: 14px; padding: 8px 0; }

.days {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
.day {
  flex: none; width: 64px; padding: 10px 0; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  cursor: pointer;
}
.day:hover { border-color: var(--border-strong); }
.day.on { background: var(--accent); border-color: var(--accent); }
.day .dow { font-size: 12px; color: var(--muted); font-weight: 600; }
.day .dnum { font-size: 20px; font-weight: 700; line-height: 1.1; }
.day .mon { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.day.on .dow, .day.on .mon { color: var(--accent-tint); }

.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .times { grid-template-columns: repeat(4, 1fr); } }
.times .notice, .times .loading { grid-column: 1 / -1; }
.time {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-btn);
  text-decoration: none; font-weight: 600;
}
.time:hover, .time:focus-visible { border-color: var(--accent); background: var(--surface-2); outline: none; }
.tz { color: var(--muted); font-size: 13px; margin: 14px 0 18px; }

/* ---------- wide-screen grids ---------- */
.grid { display: grid; gap: 12px; margin-bottom: 12px; }
.grid > .card { margin: 0; display: flex; flex-direction: column; }
.grid > .card .btn { margin-top: auto; }
.grid > .card .desc, .grid > .card ul.inc { flex: 1; }
@media (min-width: 820px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Google reviews strip ---------- */
.reviews { margin: 40px 0 8px; }
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.rv-title { font-size: 20px; margin: 0 0 4px; letter-spacing: -0.01em; }
.rv-score { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 14px; }
.rv-big { font-size: 22px; font-weight: 700; color: var(--fg); }
.rv-stars { color: var(--accent); letter-spacing: 1px; }
.rv-all { font-size: 14px; font-weight: 600; color: var(--fg); text-decoration: none; border: 1px solid var(--border-strong); border-radius: var(--r-btn); padding: 8px 14px; }
.rv-all:hover { border-color: var(--accent); }
.rv-viewport {
  overflow: hidden; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rv-track { display: flex; gap: 12px; width: max-content; animation: rv-scroll var(--rv-dur, 300s) linear infinite; }
.rv-dup { display: contents; }
.rv-viewport:hover .rv-track, .rv-viewport:focus-within .rv-track, .rv-viewport:focus .rv-track { animation-play-state: paused; }
@keyframes rv-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.rv {
  margin: 0; flex: none; width: 300px; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px;
}
.rv blockquote {
  margin: 0; flex: 1; font-size: 14px; line-height: 1.5; color: var(--fg);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.rv figcaption { display: flex; flex-direction: column; font-size: 13px; }
.rv figcaption span { color: var(--muted); }
/* Wide screens: let the strip run edge to edge instead of stopping at the content column. */
@media (min-width: 1180px) {
  .rv-viewport { margin: 0 calc(50% - 50vw); padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; }
  .rv-track { animation: none; }
  .rv-dup { display: none; }
  .rv { scroll-snap-align: start; }
}
