:root {
  --ink: #151514;
  --charcoal: #0d0f0e;
  --paper: #fbfaf6;
  --muted: #62615b;
  --line: #dedbd2;
  --honey: #f5b61f;
  --honey-dark: #a86f00;
  --forest: #153f35;
  --rust: #b94b2f;
  --blue: #315b8d;
  --steel: #e9eef0;
  --white: #fff;
  --shadow: 0 18px 50px rgba(21, 21, 20, 0.14);
  --shadow-strong: 0 28px 90px rgba(21, 21, 20, 0.24);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(49, 91, 141, 0.07), transparent 560px),
    linear-gradient(90deg, rgba(245, 182, 31, 0.06) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: auto, 64px 64px, auto;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: calc(var(--scroll, 0) * 100%);
  height: 4px;
  background: linear-gradient(90deg, var(--honey), #f06f35, var(--blue));
  box-shadow: 0 0 24px rgba(245, 182, 31, 0.45);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 48px;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
}

.topbar[data-scrolled="true"] {
  background: rgba(251, 250, 246, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(21, 21, 20, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--honey);
  background: rgba(21, 21, 20, 0.32);
  box-shadow: inset 0 0 18px rgba(245, 182, 31, 0.2);
}

.topbar[data-scrolled="true"] .brand-mark {
  background: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  opacity: 0.86;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--honey);
  transition: transform 200ms ease;
}

.nav a:hover::after { transform: scaleX(1); }
.nav a:hover { opacity: 1; }

.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}

.topbar[data-scrolled="true"] .icon-button {
  border-color: var(--line);
  background: var(--white);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04) translateY(calc(var(--parallax, 0) * 18px));
  filter: saturate(1.05) contrast(1.06);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21,21,20,0.88) 0%, rgba(21,21,20,0.66) 36%, rgba(21,21,20,0.18) 100%),
    linear-gradient(115deg, transparent 46%, rgba(245, 182, 31, 0.2) 64%, rgba(49, 91, 141, 0.1) 100%),
    linear-gradient(0deg, rgba(21,21,20,0.78) 0%, rgba(21,21,20,0) 44%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
  animation: gridDrift 16s linear infinite;
}

.kinetic-rings {
  position: absolute;
  right: clamp(18px, 8vw, 118px);
  top: 18%;
  z-index: 1;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  pointer-events: none;
}

.kinetic-rings span {
  position: absolute;
  inset: calc(var(--i, 0) * 34px);
  border: 1px solid rgba(245, 182, 31, 0.28);
  border-radius: 50%;
  transform: rotate(18deg);
  animation: pulseRing 4.6s ease-in-out infinite;
}

.kinetic-rings span:nth-child(2) { --i: 1; animation-delay: 600ms; border-color: rgba(255,255,255,0.2); }
.kinetic-rings span:nth-child(3) { --i: 2; animation-delay: 1200ms; border-color: rgba(49, 91, 141, 0.4); }

.hero-content, .hero-panel {
  z-index: 2;
}

.hero-content {
  position: relative;
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 46px;
  color: var(--white);
  justify-self: start;
  margin-left: clamp(18px, 7vw, 96px);
}

.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--honey);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  max-width: 780px;
  font-size: 6.4rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.86);
  font-size: 1.24rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-btn:hover, .secondary-btn:hover {
  transform: translateY(-2px);
}

.primary-btn {
  color: #1b1605;
  background: var(--honey);
  box-shadow: 0 12px 24px rgba(245, 182, 31, 0.24), inset 0 1px 0 rgba(255,255,255,0.45);
}

.secondary-btn {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.32);
  backdrop-filter: blur(14px);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 44px 0 0;
}

.quick-stats div {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.quick-stats div::before, .service-card::before, .review-card::before, .system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.quick-stats div:hover::before, .service-card:hover::before, .review-card:hover::before, .system-card:hover::before {
  transform: translateX(120%);
}

.quick-stats div:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 182, 31, 0.5);
  background: rgba(255,255,255,0.16);
}

.quick-stats dt {
  font-size: 1.5rem;
  font-weight: 900;
}

.quick-stats dd {
  margin: 3px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 36px));
  margin: -30px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  background: var(--line);
}

.info-strip a, .info-strip button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 0;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.info-strip a:hover, .info-strip button:hover {
  background: #fff9e6;
  transform: translateY(-2px);
}

.mini-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff4cf;
  color: var(--honey-dark);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(168, 111, 0, 0.1);
}

.info-strip strong, .info-strip small {
  display: block;
}

.info-strip small {
  margin-top: 3px;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.03rem;
}

.muted {
  color: var(--muted);
  line-height: 1.65;
}

.service-grid, .review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-grid article, .review-grid article, .hours-card, .busy-card, form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 12px 28px rgba(21, 21, 20, 0.06);
  backdrop-filter: blur(12px);
}

.service-grid article {
  min-height: 238px;
  padding: 24px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 182, 31, 0.5);
  box-shadow: var(--shadow);
}

.service-grid article.wide {
  grid-column: span 2;
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(21, 63, 53, 0.94), rgba(21, 21, 20, 0.95)),
    var(--forest);
  color: var(--white);
}

.service-grid article.wide p { color: rgba(255,255,255,0.72); }
.service-grid article.wide span, .service-grid article.wide small { color: var(--honey); }

.service-card small {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(245, 182, 31, 0.28);
  border-radius: 999px;
  color: var(--honey-dark);
  background: rgba(245, 182, 31, 0.1);
  font-weight: 850;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--honey-dark);
  font-weight: 900;
}

.service-grid p, .review-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.schedule-band, .tool-band {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, rgba(21,63,53,0.08), rgba(49,91,141,0.09)),
    #eef1ed;
}

.performance-system {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: var(--charcoal);
  color: var(--white);
}

.performance-system .muted { color: rgba(255,255,255,0.68); }

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.system-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    linear-gradient(150deg, rgba(245, 182, 31, 0.18), transparent 46%);
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
}

.system-card strong {
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--honey);
  font-size: 2rem;
}

.system-card p {
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.status-pill, .rating-box {
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  padding: 14px 16px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(21, 63, 53, 0.24);
}

.hours-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 16px;
}

.hours-card, .busy-card {
  padding: 22px;
}

.hours-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78)),
    var(--white);
}

.busy-card {
  background:
    linear-gradient(135deg, rgba(21,21,20,0.96), rgba(21,63,53,0.92)),
    var(--ink);
  color: var(--white);
}

.busy-card .muted { color: rgba(255,255,255,0.68); }

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}

tr:last-child td { border-bottom: 0; }
td:last-child {
  color: var(--muted);
  text-align: right;
}

.bars {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  align-items: end;
  gap: 8px;
  height: 160px;
  padding-top: 22px;
  border-bottom: 1px solid #939891;
}

.bars span {
  display: block;
  min-height: 4px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #9ebcff, #5a83d1);
  animation: barRise 900ms ease backwards;
}

.bars .peak { background: linear-gradient(180deg, var(--honey), #f06f35); }

.bar-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 8px;
}

.reviews .section-heading {
  align-items: center;
}

.rating-box {
  display: grid;
  gap: 2px;
  min-width: 160px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(21,21,20,0.95), rgba(21,63,53,0.95)),
    var(--ink);
}

.rating-box strong { font-size: 2.4rem; }
.rating-box span { color: var(--honey); letter-spacing: 0; }
.rating-box small { color: rgba(255,255,255,0.7); }

.review-grid article {
  padding: 22px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.review-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 75, 47, 0.34);
  box-shadow: var(--shadow);
}

.review-grid article p {
  margin-top: 0;
  font-size: 1.02rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 14px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(21, 63, 53, 0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(245, 182, 31, 0.9);
  box-shadow: 0 0 0 4px rgba(245, 182, 31, 0.14);
}

textarea { resize: vertical; }

.plan-output {
  min-height: 84px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21,63,53,0.96), rgba(49,91,141,0.88)),
    var(--forest);
  color: var(--white);
  line-height: 1.55;
  font-weight: 750;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  width: 100%;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, rgba(21,21,20,0.96), rgba(21,63,53,0.9)),
    var(--charcoal);
  color: var(--white);
}

.booking .muted, .booking label {
  color: rgba(255,255,255,0.72);
}

.map-wrap {
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--steel);
  box-shadow: 0 24px 80px rgba(0,0,0,0.26);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
}

form .primary-btn {
  width: 100%;
  border: 0;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--honey);
  font-weight: 800;
}

footer {
  padding: 30px 18px;
  color: rgba(255,255,255,0.72);
  text-align: center;
  background: var(--ink);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 48px;
  width: min(310px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(21,21,20,0.44);
  box-shadow: 0 28px 80px rgba(0,0,0,0.3);
  backdrop-filter: blur(18px);
}

.hero-panel div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-panel p {
  margin: 12px 0 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64d96b;
  box-shadow: 0 0 0 8px rgba(100, 217, 107, 0.14);
  animation: livePulse 1.7s ease-in-out infinite;
}

.micro-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}

.micro-meter span {
  display: block;
  width: 74%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--honey), #f06f35);
  animation: meterMove 3s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from { transform: scale(1.04) translateY(calc(var(--parallax, 0) * 18px)); }
  to { transform: scale(1.1) translateY(calc(var(--parallax, 0) * 18px)); }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 72px 72px; }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(0.98) rotate(18deg); opacity: 0.36; }
  50% { transform: scale(1.06) rotate(24deg); opacity: 0.74; }
}

@keyframes livePulse {
  50% { box-shadow: 0 0 0 13px rgba(100, 217, 107, 0.04); }
}

@keyframes meterMove {
  50% { width: 92%; }
}

@keyframes barRise {
  from { transform: scaleY(0.15); transform-origin: bottom; opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr 48px;
  }

  .nav { display: none; }

  .hero {
    min-height: 94vh;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .quick-stats, .info-strip, .split, .hours-layout, .service-grid, .review-grid, .tool-grid, .booking {
    grid-template-columns: 1fr;
  }

  .system-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article.wide {
    grid-column: auto;
  }

  .quick-stats {
    max-width: 360px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 36px);
    margin: -124px auto 34px;
  }

  .kinetic-rings {
    width: 72vw;
    top: 22%;
    right: -16vw;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .status-pill, .rating-box {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 460px) {
  .brand span:last-child {
    display: none;
  }

  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.1rem; }

  .hero-actions a {
    width: 100%;
  }

  .service-grid article, .review-grid article, form, .hours-card, .busy-card, .system-card {
    padding: 18px;
  }
}
