/* ============================================================
   Hilltop Court — Site Stylesheet (Premium)
   Dark navy + white, tight modern type, pill buttons.
   ============================================================ */

:root {
  --black: #0a0f1e;          /* near-black navy — dark sections, footer */
  --navy: #101c3d;           /* brand navy — panels, featured card */
  --navy-soft: #17264f;
  --red: #d32027;            /* primary CTA */
  --red-dark: #ab161c;
  --orange: #e2762a;         /* highlight — hero location, accents */
  --paper: #ffffff;
  --mist: #f5f6f8;           /* alternating light section bg */
  --ink: #10141f;
  --ink-soft: #5b6272;
  --line: #e7e8ec;
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scrollbar-gutter: stable; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1.3; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 62ch;
  font-weight: 400;
}

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 1rem; }

.accent { color: var(--orange); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none !important;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--black); }

.btn-navy { background: var(--black); color: #fff; }
.btn-navy:hover { background: var(--navy); color: #fff; }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

.btn-lg { padding: 1.05rem 2.4rem; font-size: 0.88rem; }

/* ---------- Header / Nav (hamburger + centered brand + CTA) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  min-height: 64px;
}

.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; align-items: center; gap: 1.7rem; list-style: none; }
.nav-desktop a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-desktop a:hover { color: #fff; text-decoration: none; }
.nav-desktop a.active { color: #fff; border-bottom-color: var(--orange); }

.nav-right { display: flex; align-items: center; gap: 0.9rem; margin-left: 1.7rem; }

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none !important; flex: none; }
.brand img { height: 44px; width: auto; }
.brand-name {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
  color: #fff;
  line-height: 1;
}
.brand-name span { color: var(--orange); }

.nav-cta { padding: 0.62rem 1.3rem; font-size: 0.72rem; white-space: nowrap; }

.nav-toggle {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop: full link nav, no hamburger. Mobile: hamburger + drawer. */
@media (min-width: 901px) {
  .nav-toggle { display: none; }
}
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-right { margin-left: auto; }
}

/* ---------- Mega menu drawer ---------- */

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--black);
  padding-top: 72px;
  display: none;
  overflow-y: auto;
}
.nav-drawer.open { display: block; animation: drawerIn 0.22s ease; }
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
body.menu-open { overflow: hidden; }

.drawer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 1.7fr;
  gap: 3rem;
  align-items: stretch;
  padding: 2.6rem 0 3rem;
}

.drawer-links { list-style: none; display: grid; gap: 0.3rem; align-content: start; }
.drawer-links a {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.drawer-links a:hover,
.drawer-links a:focus-visible,
.drawer-links a.active { background: rgba(255, 255, 255, 0.09); text-decoration: none; }
.drawer-links a.drawer-book { color: var(--orange); }

.drawer-preview {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  max-height: 64vh;
  background: var(--navy);
}
.drawer-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

/* ---------- Hero (homepage) ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--black);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/court-front.jpg") center 40% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 30, 0.44), rgba(10, 15, 30, 0.24) 45%, rgba(10, 15, 30, 0.7));
}
.hero .container { position: relative; z-index: 1; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 .accent { color: var(--orange); }
.hero .lead { color: rgba(255, 255, 255, 0.85); margin: 1.4rem 0 2.2rem; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  background:
    linear-gradient(rgba(10, 15, 30, 0.68), rgba(10, 15, 30, 0.76)),
    url("../images/court-front.jpg") center / cover no-repeat;
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { color: rgba(255, 255, 255, 0.8); margin: 1rem auto 0; }
.page-hero .eyebrow { color: rgba(255, 255, 255, 0.75); justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }

/* ---------- Stat / trust bar ---------- */

.stat-bar {
  background: var(--black);
  color: #fff;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line-dark);
}
.stat-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  text-align: center;
}
.stat-item .stat-big {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  color: #fff;
}
.stat-item .stat-label { font-size: 0.84rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Sections ---------- */

.section { padding: 6rem 0; }
.section.alt { background: var(--mist); }
.section.navy { background: var(--black); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .lead { color: rgba(255, 255, 255, 0.72); }
.section.navy .eyebrow { color: var(--orange); }

/* ---------- Feature list (icon rows, Why section) ---------- */

.feature-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.feature-row { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-row .f-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.feature-row h3 { margin-bottom: 0.25rem; font-size: 1.05rem; }
.feature-row p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

/* Photo cards */
.photo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.photo-card img { height: 250px; object-fit: cover; width: 100%; }
.photo-card .photo-card-body { padding: 1.6rem 1.8rem 1.9rem; }
.photo-card .photo-card-body p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Facility image tiles (dark overlay captions) ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.image-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background: var(--black);
}
.image-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.image-tile:hover img { transform: scale(1.045); opacity: 0.6; }
.image-tile .tile-body {
  position: relative;
  z-index: 1;
  padding: 1.6rem;
  color: #fff;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.85), transparent);
  width: 100%;
}
.image-tile h3 { color: #fff; margin-bottom: 0.25rem; }
.image-tile p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- Steps (numbered, connected) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  position: relative;
}
.step { text-align: center; padding: 0 0.6rem; }
.step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.93rem; max-width: 34ch; margin-inline: auto; }

@media (min-width: 761px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--line);
  }
}

/* ---------- Banner card (wide callout) ---------- */

.banner-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.6rem 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.banner-card h3 { color: #fff; font-size: 1.5rem; letter-spacing: -0.02em; }
.banner-card p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; max-width: 52ch; }
.banner-card .banner-side { text-align: center; }
.banner-card .banner-big {
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.banner-card .banner-small { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
.gallery-grid a { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--black); }
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.gallery-grid a:hover img { transform: scale(1.04); opacity: 0.85; }

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}
.price-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured ul { color: rgba(255, 255, 255, 0.8); }
.price-card.featured .price small { color: rgba(255, 255, 255, 0.6); }
.price-card .tag {
  position: absolute;
  top: -13px;
  left: 2rem;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { margin-bottom: 0.8rem; }
.price {
  font-weight: 800;
  font-size: 2.7rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
}
.price small { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; letter-spacing: 0; }
.price-card ul {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  flex-grow: 1;
}
.price-card ul li { padding: 0.4rem 0 0.4rem 1.7rem; position: relative; }
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.price-card.featured ul li::before { color: var(--orange); }
.price-card .btn { width: 100%; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 3.2rem 1.2rem 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  position: relative;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--red);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Forms ---------- */

.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.form-grid label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.98rem;
  background: var(--paper);
  color: var(--ink);
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--black);
  outline-offset: 1px;
  border-color: var(--black);
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split img { border-radius: var(--radius); }

/* ---------- Location ---------- */

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.4rem;
}
.location-grid h4 {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.location-grid p, .location-grid a { color: var(--ink); font-size: 0.98rem; }
.map-embed {
  margin-top: 2.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ---------- Testimonials ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
}
.quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.quote-card .stars { color: var(--orange); letter-spacing: 0.15em; margin-bottom: 0.9rem; font-size: 0.85rem; }
.quote-card p { color: rgba(255, 255, 255, 0.85); font-size: 0.96rem; font-style: italic; }
.quote-card .quote-name {
  margin-top: 1.2rem;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    linear-gradient(rgba(10, 15, 30, 0.72), rgba(10, 15, 30, 0.78)),
    url("../images/court-action-5.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin-bottom: 2rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding: 4.5rem 0 1.8rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.site-footer h4 {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.65); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.muted { color: var(--ink-soft); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 900px) {
  .drawer-inner { grid-template-columns: 1fr; gap: 0; }
  .drawer-preview { display: none; }
  .drawer-links a { font-size: 1.35rem; padding: 0.75rem 0.95rem; }
}

@media (max-width: 760px) {
  .form-row { grid-template-columns: 1fr; }
  .banner-card { padding: 2rem 1.6rem; text-align: center; justify-content: center; }
  .banner-card p { margin-inline: auto; }
  .stat-bar .container { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .gallery-grid img { height: 160px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 76vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .photo-card img { height: 200px; }
  .section { padding: 3.6rem 0; }
  .cta-band .btn { width: 100%; max-width: 340px; }
  .brand-name { display: none; }
  .map-placeholder { min-height: 220px; }
  .tile-grid { gap: 0.9rem; }
  .image-tile { min-height: 240px; }
}


/* ============================================================
   Interaction & Motion layer
   All entrance motion sits behind prefers-reduced-motion.
   ============================================================ */

/* Glassy sticky header + scrolled elevation */
.site-header {
  background: rgba(10, 15, 30, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 34px rgba(4, 7, 16, 0.55); background: rgba(10, 15, 30, 0.94); }

/* Scroll progress bar (injected by site.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--orange));
  z-index: 70;
  pointer-events: none;
}

/* Hover micro-interactions (always on — they respond to user input) */
.card, .photo-card, .price-card, .step {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover, .photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(10, 15, 30, 0.12);
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(10, 15, 30, 0.14); }
.card-icon { transition: transform 0.25s ease; }
.card:hover .card-icon { transform: scale(1.12) rotate(-6deg); }
.split img { transition: transform 0.35s ease; }
.split img:hover { transform: scale(1.02); }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 60%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: skewX(-18deg);
  transition: left 0.45s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 120%; }

/* Image tile captions slide up on hover (pointer devices only) */
@media (hover: hover) {
  .image-tile .tile-body p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
  }
  .image-tile:hover .tile-body p, .image-tile:focus-within .tile-body p {
    max-height: 8em;
    opacity: 1;
    transform: none;
  }
}

/* Footer link nudge */
.site-footer ul a { transition: color 0.2s ease, padding-left 0.2s ease; }
.site-footer ul a:hover { padding-left: 5px; color: var(--orange); }

/* Marquee strip */
.marquee {
  position: relative;
  background: var(--black);
  color: #fff;
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
}
.marquee-track span {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-right: 2.4rem;
}
.marquee-track .dot { color: var(--orange); }
.marquee-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(10, 15, 30, 0.8);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-size: 0.75rem;
  display: none;
  align-items: center;
  justify-content: center;
}
.marquee-toggle:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* Mobile sticky book bar (injected by site.js) */
.book-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  padding: 0.7rem 5% calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(10, 15, 30, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
  display: none;
}
.book-bar.show { transform: none; visibility: visible; transition: transform 0.3s ease, visibility 0s; }
.book-bar .btn { width: 100%; display: block; }
@media (max-width: 760px) {
  .book-bar { display: block; }
  body.menu-open .book-bar { display: none; }
  .site-footer { padding-bottom: calc(1.8rem + 72px + env(safe-area-inset-bottom)); }
}

/* Lightbox (injected by site.js) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 9, 18, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 82vh;
  border-radius: 12px;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 0.8rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 0.8rem; top: 50%; transform: translateY(-50%); }
.gallery-grid a.lb-bound { cursor: zoom-in; }

/* Entrance motion — only when the user allows it */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: kenburns 22s ease-in-out infinite alternate; }
  @keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
  }

  .hero .eyebrow, .hero h1, .hero .lead, .hero-actions {
    animation: riseIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }
  .hero h1 { animation-delay: 0.12s; }
  .hero .lead { animation-delay: 0.24s; }
  .hero-actions { animation-delay: 0.36s; }
  @keyframes riseIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
  }

  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in-view { opacity: 1; transform: none; }

  .stagger > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .stagger.in-view > * { opacity: 1; transform: none; }
  .stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
  .stagger.in-view > *:nth-child(2) { transition-delay: 0.13s; }
  .stagger.in-view > *:nth-child(3) { transition-delay: 0.21s; }
  .stagger.in-view > *:nth-child(4) { transition-delay: 0.29s; }
  .stagger.in-view > *:nth-child(5) { transition-delay: 0.37s; }
  .stagger.in-view > *:nth-child(6) { transition-delay: 0.45s; }
  .stagger.in-view > *:nth-child(7) { transition-delay: 0.53s; }
  .stagger.in-view > *:nth-child(8) { transition-delay: 0.61s; }

  .steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s ease 0.35s; }
  .steps.in-view::before { transform: scaleX(1); }

  .marquee-track { animation: marquee 26s linear infinite; }
  .marquee:hover .marquee-track,
  .marquee.paused .marquee-track { animation-play-state: paused; }
  @keyframes marquee {
    to { transform: translateX(-50%); }
  }
  .marquee-toggle { display: flex; }

  /* Parallax only on precise-pointer desktop — iOS/iPadOS break fixed attachment */
  @media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    .cta-band { background-attachment: fixed; }
  }

  /* Reveal transitions must not outlive the entrance — site.js strips
     reveal/stagger classes after settle so hover transitions return. */
  .split img.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .stagger.in-view > *:nth-child(n+9) { transition-delay: 0.69s; }
}

/* Reduced-motion: kill remaining animated bits */
@media (prefers-reduced-motion: reduce) {
  .nav-drawer.open { animation: none; }
  .book-bar { transition: none; }
  .drawer-preview img { transition: none; }
}

/* Solid fallbacks where backdrop blur is unsupported */
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header, .site-header.scrolled { background: var(--black); }
  .book-bar { background: var(--black); }
}


/* ============================================================
   Pop pack: gradients, glow, and color accents
   ============================================================ */

::selection { background: var(--orange); color: #fff; }

.btn-primary {
  background: linear-gradient(135deg, var(--red), #e04a2f);
  box-shadow: 0 10px 26px rgba(211, 32, 39, 0.32);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--red-dark), #c93c24); box-shadow: 0 12px 30px rgba(211, 32, 39, 0.4); }

.card-icon { background: linear-gradient(135deg, var(--red), var(--orange)); }

.feature-row .f-icon { background: #fdf1e7; border-color: #f3d9c1; }

.stat-item .stat-big { color: var(--orange); }

.step-num {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(211, 32, 39, 0.35);
}

.marquee { background: var(--red); border-top: none; border-bottom: none; }
.marquee-track .dot { color: #fff; opacity: 0.7; }
.marquee-toggle { background: rgba(0, 0, 0, 0.22); border-color: rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.85); }

.price-card.featured { box-shadow: 0 26px 60px rgba(16, 28, 61, 0.35); }

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 .accent {
    background: linear-gradient(100deg, var(--orange), #f5a623);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--orange);
  }
}


/* ============================================================
   Modern layer: framed media, floating pill nav, chip labels,
   bento grid, soft borders. Overrides earlier rules by cascade.
   ============================================================ */

:root { --radius: 24px; --radius-sm: 16px; --mist: #f6f5f2; }

h1 { font-size: clamp(2.8rem, 6.5vw, 4.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -0.03em; }

.section { padding: 7rem 0; }

/* Floating pill header */
.site-header,
.site-header.scrolled {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 0.8rem 0 0;
}
/* Nav column matches the framed hero exactly */
.site-header .container { width: min(1400px, calc(100% - 1.6rem)); }
.nav-bar {
  background: rgba(10, 15, 30, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0.5rem 0.55rem 0.5rem 1.1rem;
  min-height: 62px;
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled .nav-bar { box-shadow: 0 14px 38px rgba(4, 7, 16, 0.45); }
.nav-drawer { padding-top: 96px; }

/* Links as rounded chips instead of underlines */
.nav-desktop ul { gap: 0.25rem; }
.nav-desktop a {
  padding: 0.55rem 1rem;
  border-bottom: none;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-desktop a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-desktop a.active { background: rgba(255, 255, 255, 0.13); color: #fff; border-bottom: none; }
.nav-right { margin-left: 1rem; }

/* Eyebrow labels become pill chips */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.85rem;
  border: 1px solid rgba(211, 32, 39, 0.28);
  background: rgba(211, 32, 39, 0.06);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.eyebrow::after, .eyebrow.center::after { content: none; }
.hero .eyebrow, .page-hero .eyebrow, .section.navy .eyebrow {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hero .eyebrow::before, .page-hero .eyebrow::before, .section.navy .eyebrow::before { background: var(--orange); }

/* Framed hero + page hero: big rounded media cards */
.hero {
  width: min(1400px, calc(100% - 1.6rem));
  margin: 1rem auto 0;
  border-radius: 28px;
  min-height: min(86vh, 800px);
}
.page-hero {
  width: min(1400px, calc(100% - 1.6rem));
  margin: 1rem auto 0;
  border-radius: 28px;
  overflow: hidden;
}

/* Stat bar floats over the hero seam as a white card */
.stat-bar { background: transparent; border-top: none; padding: 0; }
.stat-bar .container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.9rem 1.4rem;
  margin-top: -3.2rem;
  position: relative;
  z-index: 5;
  box-shadow: 0 24px 60px rgba(16, 20, 31, 0.1);
}
.stat-item .stat-label { color: var(--ink-soft); }

/* Bento facility grid on desktop */
@media (min-width: 900px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .tile-grid .image-tile:nth-child(1),
  .tile-grid .image-tile:nth-child(4) { grid-column: span 2; }
}

/* CTA band becomes a framed card */
.cta-band {
  width: min(1240px, 94%);
  margin: 0 auto 6.5rem;
  border-radius: 28px;
}

/* Footer: rounded shoulders */
.site-footer { border-radius: 32px 32px 0 0; }

/* Blur fallback for the pill nav */
@supports not ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .nav-bar { background: var(--black); }
}

@media (max-width: 900px) {
  .section { padding: 4.8rem 0; }
}
@media (max-width: 520px) {
  .section { padding: 3.8rem 0; }
  .hero, .page-hero { width: calc(100% - 0.9rem); border-radius: 20px; }
  .stat-bar .container { margin-top: -2rem; padding: 1.4rem 1rem; }
  .cta-band { width: calc(100% - 0.9rem); margin-bottom: 4rem; border-radius: 20px; }
  .nav-bar { border-radius: 14px; }
}

/* Footer grows a Services column */
.footer-grid { grid-template-columns: 1.3fr 0.75fr 0.75fr 1.05fr 1fr; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Learn-more links under pricing card buttons */
.price-card .more-link { margin-top: 0.9rem; font-size: 0.85rem; text-align: center; color: var(--ink-soft); }
.price-card.featured .more-link { color: rgba(255, 255, 255, 0.6); }
.price-card.featured .more-link a { color: var(--orange); }
