:root {
  --bg: #0b0d10;
  --bg-soft: #12151b;
  --card: #161a21;
  --text: #f4f6f8;
  --muted: #b7c0cc;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff7a00;
  --orange-soft: #ff9a3d;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(255,122,0,0.22), transparent 55%),
    radial-gradient(1000px 600px at 100% 20%, rgba(255,154,61,0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,13,16,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  box-shadow: 0 10px 24px rgba(255,122,0,0.35);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 2px solid rgba(11,13,16,0.85);
}

.brand-name { font-weight: 900; }
.brand-sub { font-size: 13px; color: var(--muted); }

.nav {
  display: flex;
  gap: 18px;
  font-weight: 700;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

.header-cta {
  display: flex;
  gap: 10px;
}

/* ================= BUTTONS ================= */

.btn {
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  color: #0b0d10;
  border-color: rgba(255,122,0,0.45);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
}

.btn:hover { transform: translateY(-1px); }

.btn-lg {
  padding: 14px 22px;
  font-size: 16px;
}

/* ================= HERO ================= */

.main { padding-bottom: 90px; }

.hero {
  padding: 40px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin: 16px 0 12px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
}

.hero-actions { margin-top: 18px; }

/* ================= SECTIONS ================= */

.section { padding: 46px 0; }

.section.alt {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head h2 { margin: 0 0 8px; }
.section-head p { color: var(--muted); }

/* ================= CARDS ================= */

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-card { position: sticky; top: 96px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* ================= LISTS & TEXT ================= */

.list { padding-left: 18px; color: var(--muted); }
.list li { margin: 6px 0; }

.muted { color: var(--muted); }

/* ================= CONTACT ================= */

.contact-simple {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-line:last-child { border-bottom: none; }

.label { color: var(--muted); font-weight: 800; }
.value { font-weight: 900; }

/* ================= TRUST ================= */

.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cred-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

/* ================= SCHEDULER ================= */

.embed-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

iframe {
  width: 100%;
  height: 560px;
  border: none;
}

/* ================= SAMPLE ================= */

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sample-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.sample-box img { width: 100%; display: block; }

/* ================= FOOTER ================= */

.footer {
  padding: 30px 0;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-weight: 800;
  color: var(--muted);
}

.footer-links a:hover { color: var(--text); }

.footer-brand { font-weight: 900; }
.footer-sub { font-size: 13px; color: var(--muted); }
.footer-small { font-size: 13px; color: var(--muted); }

/* ================= STICKY MOBILE ================= */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  gap: 12px;
  padding: 12px;
  background: rgba(11,13,16,0.9);
  border-top: 1px solid var(--line);
}

.sticky-btn {
  flex: 1;
  padding: 14px;
  border-radius: 16px;
  text-align: center;
  font-weight: 900;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
}

.sticky-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  color: #0b0d10;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero-card { position: relative; }
  .sample-grid { grid-template-columns: 1fr; }
  .sticky-bar { display: flex; }
}
/* ===== SPACING + RHYTHM PATCH (fixes layout/spacing) ===== */

/* Keep sections from feeling tight */
.section-head { margin-bottom: 16px; }
.section-head h2 { font-size: 28px; letter-spacing: -0.3px; }
.section-head p { margin: 0; max-width: 72ch; }

/* Better spacing inside cards */
.card h2, .card h3 { margin: 0 0 8px; }
.card p { margin: 0; }
.card p + p { margin-top: 10px; }
.card ul { margin: 12px 0 0; }

/* Hero spacing */
.hero-left { display: flex; flex-direction: column; gap: 10px; }
.hero-actions { margin-top: 10px; }
.hero-actions .btn { display: inline-flex; }

/* Make sticky card spacing feel clean */
.hero-card .card-sub { margin-top: 8px; margin-bottom: 10px; }

/* Make details/FAQ spacing consistent */
details { margin-top: 10px; }
details p { margin: 10px 0 0; }

/* “mini card” spacing (Best fit for section) */
.mini-card { padding: 18px; }
.mini-card .mini-title { margin-bottom: 10px; }

/* Note/standards bar spacing */
.note, .standards-bar {
  margin-top: 16px;
  line-height: 1.5;
}

/* Footer rhythm */
.footer-inner > div { display: grid; gap: 6px; }

/* Buttons alignment */
.header-cta .btn { white-space: nowrap; }

/* Mobile padding so nothing feels cramped */
@media (max-width: 980px) {
  .hero { padding-top: 28px; }
  .section { padding: 36px 0; }
  .card { padding: 18px; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-actions { gap: 10px; }
}
/* ===== FIX: prevent overlap between Contact (sticky) and Book Online ===== */

/* Turn off sticky behavior that can cause overlap */
.hero-card {
  position: relative !important;
  top: auto !important;
}

/* Give the schedule section extra breathing room */
#schedule {
  scroll-margin-top: 100px;
}

.section#schedule,
#schedule.section {
  padding-top: 56px;
}

/* Ensure hero content doesn’t collide with the next section */
.hero {
  padding-bottom: 34px;
}

/* If the iframe is*
@media (min-width: 1100px) {
  .hero-card {
    position: sticky !important;
    top: 96px !important;
  }
}
@media (max-width: 1099px) {
  .hero-card {
    position: relative !important;
    top: auto !important;
  }
}
/* Make the sample report image fill the preview box nicely */
/* Sample report preview – natural size, clean */
/* ===== FIX: make sample report border hug image exactly ===== */

.sample-box {
  display: inline-block;     /* key: shrink-wrap to content */
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: none;
}

.sample-box img {
  display: block;            /* removes inline image gap */
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
.sample-box {
  line-height: 0;
}
/* ===== FINAL FIX: grid stretch + image gap ===== */

/* Stop grid stretch from making the border taller than the image */
.sample-grid { align-items: start !important; }       /* grid rows don't stretch items */
.sample-box { align-self: start !important; }         /* this item hugs content */

/* Remove any forced height/padding from older rules */
.sample-box {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: transparent !important;

  line-height: 0 !important; /* kills invisible extra space */
}

.sample-box img {
  display: block !important;  /* removes inline image baseline gap */
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
