:root {
  --ink: #0e4a7a;
  --stone: #1b3a6b;
  --muted: #5c7894;
  --bronze: #06b6d4;
  --bronze-dark: #0891b2;
  --blush: #a5e3ee;
  --cream: #f4fbfd;
  --sand: #dff1f7;
  --line: #c8e1ec;
  --white: #ffffff;
  --grad-hero: linear-gradient(135deg, #0e4a7a 0%, #0891b2 55%, #22d3ee 100%);
  --grad-dark: linear-gradient(135deg, #0e4a7a 0%, #1e88c7 100%);
  --grad-cta: linear-gradient(120deg, #0891b2 0%, #2563eb 100%);
  --grad-btn: linear-gradient(135deg, #06b6d4 0%, #1e88c7 100%);
  --grad-btn-hover: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
  --shadow-sm: 0 1px 2px rgba(14, 74, 122, 0.08);
  --shadow: 0 10px 30px rgba(14, 74, 122, 0.18);
  --radius: 2px;
  --nav-h: 84px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone);
  background: var(--cream);
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--bronze-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ink); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--bronze);
  vertical-align: middle;
  margin-right: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: var(--grad-btn);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--radius);
  line-height: 1;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}
.btn:hover { background: var(--grad-btn-hover); box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-outline:hover { background: var(--grad-btn); color: var(--white); border-color: transparent; box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4); }
.btn-bronze { background: var(--grad-btn); border-color: transparent; }
.btn-bronze:hover { background: var(--grad-btn-hover); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.7); backdrop-filter: blur(4px); box-shadow: none; }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 0 6px 20px rgba(255,255,255,0.3); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 249, 252, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 42px; height: 42px;
  display: inline-block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: var(--ink);
}
img.brand-mark { line-height: 0; }
.brand strong { font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  color: var(--stone);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--bronze);
}

.nav-cta { margin-left: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    padding: 20px 24px 32px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; width: 100%; }
}

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* Mobile hero adjustments */
@media (max-width: 760px) {
  .hero { min-height: 72vh; padding: 90px 0 60px; }
  .hero h1 { max-width: 18ch; }
  .hero-video { height: 100%; }
}
.section-sm { padding: 64px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

.bg-sand { background: var(--sand); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--grad-dark); color: rgba(255,255,255,0.88); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--grad-hero);
  color: var(--white);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,74,122,0.72) 0%, rgba(8,145,178,0.5) 55%, rgba(34,211,238,0.28) 100%);
  z-index: 1;
}
/* Decorative radial highlight removed — was causing a visible seam on mobile. */
.hero > .container { position: relative; z-index: 4; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero p.lead { font-size: 1.1rem; max-width: 52ch; color: rgba(255,255,255,0.82); margin-bottom: 2rem; }
.hero .eyebrow { color: var(--blush); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero {
  padding: calc(var(--nav-h) + 40px) 0 72px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.3em; }
.page-hero p { max-width: 58ch; margin: 0 auto; color: var(--muted); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
  transition: all 0.3s ease;
  border-radius: var(--radius);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blush); }
.card h3 { margin-bottom: 10px; }
.card .eyebrow { margin-bottom: 0.5rem; }

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
}
.service-card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  margin-bottom: 22px;
  border-radius: 50%;
}
.service-card .icon svg { width: 20px; height: 20px; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .card-link {
  margin-top: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.service-card .card-link::after {
  content: " →";
  transition: transform 0.2s ease;
  display: inline-block;
}
.service-card:hover .card-link::after { transform: translateX(4px); }

/* ---------- Feature row ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-list .dot {
  flex: 0 0 28px;
  height: 28px;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--bronze);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.9rem;
  margin-top: 2px;
}
.feature-list strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat .num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.stat .label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 1 / 1;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- Quote / Testimonial ---------- */
.quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
}
.quote::before, .quote::after { content: "\201C"; color: var(--bronze); }
.quote::after { content: "\201D"; }
.quote-attrib {
  margin-top: 18px;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Tables ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}
.price-table th, .price-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.price-table th {
  background: var(--sand);
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .price { color: var(--bronze-dark); font-weight: 600; }

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 22px;
  font-family: "Manrope", "Inter", sans-serif;
}
.form label {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input::placeholder, .form textarea::placeholder {
  color: #9aaabb;
  font-weight: 400;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}
.form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form .req { color: var(--bronze); margin-left: 2px; }

.checkbox {
  position: relative;
  display: block;
  padding: 8px 0 8px 36px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: 0;
  top: 11px; /* aligns box to the cap-height of the first line of text */
  width: 20px; height: 20px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0;
}
.checkbox input[type="checkbox"]:hover { border-color: var(--bronze); }
.checkbox input[type="checkbox"]:checked {
  background: var(--grad-btn);
  border-color: transparent;
}
.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox span { display: inline; }
.checkbox span strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--grad-cta);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip > .container { position: relative; z-index: 1; }
.cta-strip h2 { color: var(--white); margin-bottom: 14px; }
.cta-strip p { color: rgba(255,255,255,0.75); max-width: 52ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--grad-dark);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 28px;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
}
.footer > .container { position: relative; z-index: 1; }
.footer h4 {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer a { color: rgba(255,255,255,0.72); display: block; padding: 4px 0; }
.footer a:hover { color: var(--blush); }
.footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  margin-bottom: 14px;
  padding: 0;
  white-space: nowrap;
  line-height: 1;
}
.footer .brand span { display: inline-block; padding: 0; }
.footer .brand-mark { background: var(--white); box-shadow: 0 0 0 1px rgba(255,255,255,0.2); }
.footer .tagline { color: rgba(255,255,255,0.6); max-width: 34ch; margin-bottom: 18px; }
.footer .social { display: flex; gap: 12px; margin-top: 14px; }
.footer .social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  border-radius: 50%;
  padding: 0;
}
.footer .social a:hover { border-color: var(--bronze); color: var(--bronze); }
.footer .social svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }

/* ---------- Reveal on scroll (no-op fallback; content always visible) ---------- */
.reveal { opacity: 1; transform: none; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--ink);
  gap: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: var(--bronze);
  transition: transform 0.2s ease;
}
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin-top: 14px; color: var(--muted); }

/* GHL embedded form wrapper */
.ghl-form-wrap {
  position: relative;
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 840px;
}
.ghl-form-wrap iframe {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  min-height: 820px;
  border: 0;
  background: var(--white);
}
.ghl-form-fallback {
  position: absolute;
  inset: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 24px;
}
.ghl-form-fallback a { color: var(--bronze-dark); font-weight: 600; }

/* Contact block */
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
  display: grid;
  gap: 24px;
}
.info-card h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 6px;
}
.info-card .line { font-family: "Cormorant Garamond", serif; font-size: 1.25rem; color: var(--ink); }
.info-card .sub { color: var(--muted); font-size: 0.95rem; }
