/* ============================================================
   Connected Media Group — Static Site Stylesheet
   Design tokens + all component styles
   ============================================================ */

/* ---------- Google Fonts imported in HTML ---------- */

/* ---------- Design Tokens ---------- */
:root {
  --green:        #6ddc8b;
  --green-mid:    #4db870;
  --green-dark:   #3a9e5f;
  --green-deep:   #1a5c38;
  --charcoal:     #1a1f1e;
  --forest:       #2e3530;
  --forest-mid:   #242b29;
  --off-white:    #f2f4f2;
  --slate:        #8a9490;
  --light-text:   #c8d0cc;
  --muted:        #5a6560;
  --border-light: #d8dbd8;
  --bg-deep:      #111614;
  --font-display: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  color: #e0e8e4;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}
.page-content.is-leaving {
  animation: pageFadeOut 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}
@keyframes pageFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-content {
  animation: pageFadeUp 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---------- Layout shell ---------- */
.green-line { height: 3px; background: var(--green); width: 100%; }
.site-wrapper { width: 100%; }

/* ---------- Shared utilities ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.eyebrow--dark { color: var(--green-dark); }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  background: var(--charcoal);
  height: 76px;
  padding: 0 max(88px, calc((100% - 924px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 0.5px solid var(--forest);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-logo-wrap { display: flex; align-items: center; justify-self: start; }
.nav-logo { height: 72px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  color: var(--light-text);
  font-size: 16px;
  font-family: var(--font-display);
  transition: color 120ms;
}
.nav-link:hover { color: var(--green); }
.nav-cta-wrap { justify-self: end; }
.nav-cta {
  background: var(--green);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  padding: 8px 20px;
  border-radius: 5px;
  border: none;
}

/* ============================================================
   VIDEO HERO
   ============================================================ */
.vhero {
  position: relative;
  width: 100%;
  height: calc(100vh - 76px);
  min-height: 540px;
  max-height: 900px;
  overflow: hidden;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vhero-stage {
  position: absolute;
  inset: 0;
}
.vhero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.vhero-active { opacity: 1; }
.vhero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.18) 0%, rgba(26,31,30,0.72) 100%);
  z-index: 1;
}
.vhero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 max(48px, calc((100% - 840px) / 2));
  width: 100%;
}
.vhero-eyebrow {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.vhero-head {
  color: #fff;
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 500;
  line-height: 1.12;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.vhero-lede {
  font-size: 16px;
  color: #d8e4de;
  max-width: 500px;
  margin: 20px auto 0;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.vhero-cta {
  margin-top: 30px;
  background: var(--green);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  padding: 13px 34px;
  border-radius: 6px;
  border: none;
  display: inline-block;
  transition: transform 0.2s ease;
}
.vhero-cta:hover { transform: scale(1.05); }
.vhero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  z-index: 3;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--off-white); padding: 72px max(88px, calc((100% - 924px) / 2)); color: var(--charcoal); }
.services-section h2 { color: var(--charcoal); font-size: 30px; font-weight: 500; font-family: var(--font-display); line-height: 1.2; max-width: 640px; margin: 10px 0 32px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  background: #fff;
  border: 0.5px solid var(--border-light);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card-tag { color: var(--green-dark); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; }
.service-card-title { color: var(--charcoal); font-size: 18px; font-weight: 500; font-family: var(--font-display); }
.service-card-body { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--charcoal); padding: 72px max(88px, calc((100% - 924px) / 2)); }
.how-section h2 { color: #fff; font-size: 30px; font-weight: 500; font-family: var(--font-display); margin: 10px 0 32px; }
.how-rows { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.how-row { display: flex; gap: 16px; align-items: flex-start; }
.how-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: var(--charcoal);
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.how-step-title { color: #fff; font-size: 16px; font-weight: 500; font-family: var(--font-display); }
.how-step-body { color: var(--slate); font-size: 14px; margin-top: 4px; line-height: 1.6; max-width: 520px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { background: var(--off-white); padding: 72px max(88px, calc((100% - 924px) / 2)); color: var(--charcoal); }
.pricing-section h2 { color: var(--charcoal); font-size: 30px; font-weight: 500; font-family: var(--font-display); margin: 10px 0 32px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pricing-card {
  background: #fff;
  border: 0.5px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing-card--featured {
  background: var(--charcoal);
  border: 2px solid var(--green);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}
.pricing-name { color: var(--green-dark); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; }
.pricing-card--featured .pricing-name { color: var(--green); }
.pricing-amt { font-size: 28px; font-weight: 500; font-family: var(--font-display); color: var(--charcoal); }
.pricing-card--featured .pricing-amt { color: #fff; }
.pricing-scope { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.pricing-card--featured .pricing-scope { color: var(--green); }
.pricing-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pricing-item { font-size: 13px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; color: var(--charcoal); }
.pricing-card--featured .pricing-item { color: var(--light-text); }
.pricing-plus { color: var(--green-dark); flex-shrink: 0; font-family: var(--font-display); font-weight: 500; }
.pricing-card--featured .pricing-plus { color: var(--green); }
.pricing-note { font-size: 11px; color: var(--slate); font-style: italic; padding-top: 10px; border-top: 0.5px solid var(--border-light); margin-bottom: 8px; }
.pricing-cta {
  margin-top: auto;
  background: transparent;
  color: var(--charcoal);
  border: 0.5px solid var(--charcoal);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  padding: 9px 16px;
  border-radius: 5px;
}
.pricing-cta--featured {
  margin-top: auto;
  background: var(--green);
  color: var(--charcoal);
  border: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  padding: 9px 16px;
  border-radius: 5px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: var(--charcoal); padding: 72px max(88px, calc((100% - 924px) / 2)); text-align: center; border-top: 3px solid var(--green); }
.cta-section h2 { color: #fff; font-size: 30px; font-weight: 500; font-family: var(--font-display); max-width: 540px; margin: 10px auto 0; line-height: 1.2; }
.cta-btn {
  margin-top: 24px;
  background: var(--green);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 6px;
  border: none;
  display: inline-block;
}
.cta-note { color: var(--slate); font-size: 12px; margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0c100e;
  padding: 20px max(88px, calc((100% - 924px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid var(--forest);
}
.footer-copy { color: var(--muted); font-size: 12px; }
.footer-tag { color: var(--green); font-size: 12px; font-family: var(--font-display); letter-spacing: 0.04em; display: flex; gap: 6px; }
.footer-word { display: inline-block; transition: transform 0.2s ease; cursor: pointer; }
.footer-word:hover { transform: scale(1.05); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #8a9490;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms, transform 200ms;
  pointer-events: none;
  z-index: 50;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: #c8d0cc;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalBoxIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  animation: modalFadeIn 300ms ease-in-out both;
}
.modal-backdrop[hidden] { display: none; }
.modal-box {
  background: var(--charcoal);
  border: 0.5px solid var(--forest);
  border-radius: 14px;
  width: 90vw !important;
  max-width: 1000px !important;
  min-width: 800px !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.modal-head {
  padding: 20px 24px;
  border-bottom: 0.5px solid var(--forest);
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-eyebrow { color: var(--green); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; }
.modal-title { color: #fff; font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-top: 4px; }
.modal-close { background: transparent; color: var(--slate); border: none; font-size: 22px; line-height: 1; }
.modal-body { padding: 0; display: flex; flex-direction: column; gap: 0; }
.modal-body iframe { width: 100% !important; min-width: 760px !important; min-height: 700px !important; display: block !important; border: none !important; }
.modal-field { display: flex; flex-direction: column; gap: 6px; }
.modal-field-label { color: var(--slate); font-family: var(--font-display); font-size: 11px; letter-spacing: 0.04em; }
.modal-input {
  background: var(--forest-mid); color: #fff;
  border: 0.5px solid var(--forest); border-radius: 8px;
  padding: 10px 14px; font-family: var(--font-body); font-size: 14px;
  outline: none; width: 100%;
}
.modal-input:focus { border-color: var(--green); }
.modal-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.modal-slot {
  background: var(--forest-mid); color: var(--light-text);
  border: 0.5px solid var(--forest); border-radius: 6px;
  padding: 8px 0; font-family: var(--font-display); font-size: 12px;
}
.modal-slot.active {
  background: var(--green); color: var(--charcoal);
  border: none; font-weight: 500;
}
.modal-submit {
  background: var(--green); color: var(--charcoal);
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  padding: 12px 0; border-radius: 6px; border: none;
  margin-top: 4px; width: 100%;
}
.modal-note { color: var(--muted); font-size: 11px; text-align: center; margin-top: 2px; }
.modal-confirm { color: var(--light-text); font-size: 14px; line-height: 1.6; margin: 0; }
/* Modal states */
.modal-state-booked { display: none; }
.modal-box.is-booked .modal-state-form { display: none; }
.modal-box.is-booked .modal-state-booked { display: flex; flex-direction: column; gap: 16px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-inner { max-width: 680px; margin: 0 auto; }

.about-hero { background: var(--charcoal); padding: 80px max(88px, calc((100% - 924px) / 2)) 64px; border-bottom: 3px solid var(--green); }
.about-hero h1 { color: #fff; font-size: 44px; font-weight: 500; line-height: 1.15; font-family: var(--font-display); letter-spacing: 0.01em; margin: 0 0 24px; }
.about-hero-body { color: var(--light-text); font-size: 16px; line-height: 1.7; margin: 0 0 24px; max-width: 640px; }
.about-green-rule { height: 1px; background: var(--forest); margin: 8px 0 24px; }

.stat-bar { background: var(--bg-deep); padding: 36px max(88px, calc((100% - 924px) / 2)); display: flex; align-items: center; border-bottom: 0.5px solid var(--forest); }
.stat { flex: 1; padding: 0 32px; }
.stat-num { color: var(--green); font-size: 40px; font-weight: 500; font-family: var(--font-display); line-height: 1; margin-bottom: 8px; }
.stat-label { color: var(--slate); font-size: 13px; line-height: 1.5; max-width: 200px; }
.stat-divider { width: 0.5px; height: 64px; background: var(--forest); flex-shrink: 0; }

.pillars-section { background: var(--off-white); padding: 72px max(88px, calc((100% - 924px) / 2)); }
.pillars-section h2 { color: var(--charcoal); font-size: 30px; font-weight: 500; font-family: var(--font-display); line-height: 1.2; margin: 10px 0 36px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar-card { background: #fff; border: 0.5px solid var(--border-light); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pillar-label { color: var(--green-dark); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; }
.pillar-body { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }

.values-section { background: var(--charcoal); padding: 72px max(88px, calc((100% - 924px) / 2)); }
.values-section h2 { color: #fff; font-size: 30px; font-weight: 500; font-family: var(--font-display); line-height: 1.2; margin: 10px 0 0; }
.values-list { display: flex; flex-direction: column; gap: 28px; max-width: 640px; margin-top: 36px; }
.value-row { display: flex; gap: 24px; align-items: flex-start; }
.value-num { color: var(--green); font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; flex-shrink: 0; padding-top: 2px; width: 28px; }
.value-title { color: #fff; font-size: 17px; font-weight: 500; font-family: var(--font-display); margin-bottom: 6px; }
.value-body { color: var(--slate); font-size: 14px; line-height: 1.65; }

.about-cta { background: var(--charcoal); padding: 72px max(88px, calc((100% - 924px) / 2)); text-align: center; border-top: 3px solid var(--green); }
.about-cta h2 { color: #fff; font-size: 30px; font-weight: 500; font-family: var(--font-display); max-width: 480px; margin: 10px auto 0; line-height: 1.2; }
.about-cta-note { color: var(--slate); font-size: 12px; margin-top: 14px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero { background: var(--charcoal); padding: 80px max(88px, calc((100% - 924px) / 2)) 56px; border-bottom: 3px solid var(--green); }
.contact-hero h1 { color: #fff; font-size: 40px; font-weight: 500; line-height: 1.15; font-family: var(--font-display); letter-spacing: 0.01em; margin: 0 0 20px; max-width: 640px; }
.contact-hero p { color: var(--light-text); font-size: 16px; line-height: 1.7; max-width: 560px; margin: 0 0 24px; }
.contact-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-book-btn { background: transparent; color: var(--green); font-family: var(--font-display); font-weight: 500; font-size: 13px; padding: 0; border: none; letter-spacing: 0.02em; }
.contact-divider { color: var(--forest); font-size: 16px; }
.contact-email-link { color: var(--light-text); font-size: 13px; border-bottom: 0.5px solid var(--slate); padding-bottom: 1px; }

.contact-body { background: var(--charcoal); }
.contact-body-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; min-height: 500px; }
.contact-form-col { padding: 56px 88px; border-right: 0.5px solid var(--forest); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-label { color: var(--slate); font-family: var(--font-display); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.form-optional { color: var(--muted); font-style: italic; letter-spacing: 0; text-transform: none; }
.form-input {
  background: var(--forest-mid); color: #fff;
  border: 0.5px solid var(--forest); border-radius: 8px;
  padding: 11px 14px; font-family: var(--font-body); font-size: 14px;
  outline: none; width: 100%;
}
.form-input:focus { border-color: var(--green); }
textarea.form-input { resize: vertical; line-height: 1.6; }
.form-submit {
  background: var(--green); color: var(--charcoal);
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  padding: 12px 32px; border-radius: 6px; border: none;
  align-self: flex-start; margin-top: 4px;
}
.form-note { color: var(--muted); font-size: 12px; margin-top: -8px; }
.form-error { color: #e06c6c; font-size: 13px; margin-top: 8px; }

/* Form states */
.form-state { display: block; }
.thanks-state { display: none; }
.contact-form-col.is-submitted .form-state { display: none; }
.contact-form-col.is-submitted .thanks-state {
  display: flex; flex-direction: column; gap: 16px; max-width: 480px;
}
.thanks-eyebrow { color: var(--green); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; }
.thanks-head { color: #fff; font-family: var(--font-display); font-size: 28px; font-weight: 500; }
.thanks-body { color: var(--light-text); font-size: 15px; line-height: 1.65; margin: 0; }

.contact-aside { padding: 56px 48px; display: flex; flex-direction: column; gap: 28px; }
.aside-block { display: flex; flex-direction: column; gap: 6px; }
.aside-label { color: var(--green); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; }
.aside-value { color: var(--light-text); font-size: 14px; line-height: 1.5; }
.aside-divider { height: 0.5px; background: var(--forest); }
.aside-quote { color: var(--slate); font-size: 13px; line-height: 1.6; font-style: italic; }

/* ============================================================
   BUTTON HOVER EFFECTS
   ============================================================ */
.nav-cta,
.cta-btn,
.modal-submit,
.modal-slot,
.form-submit,
.contact-book-btn,
.pricing-cta,
.pricing-cta--featured { transition: transform 0.2s ease; }

.nav-cta:hover,
.cta-btn:hover,
.modal-submit:hover,
.modal-slot:hover,
.form-submit:hover,
.contact-book-btn:hover,
.pricing-cta:hover,
.pricing-cta--featured:hover { transform: scale(1.05); }

/* ============================================================
   BOOKING MODAL — GHL iframe sizing overrides
   At end of file to win on cascade order.
============================================================ */
.modal-box {
  width: 940px !important;
  max-width: 95vw !important;
  min-width: 940px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.modal-body {
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.modal-body iframe {
  width: 900px !important;
  min-width: 900px !important;
  height: 850px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* ============================================================
   DISCLAIMER FOOTER
   ============================================================ */
.disclaimer-footer {
  background: #1f1f1d;
  padding: 12px 20px;
  text-align: justify;
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.2;
  color: #888888;
}
.disclaimer-inner p {
  margin: 0;
}
.disclaimer-inner p:last-child {
  margin-bottom: 0;
}
.disclaimer-inner a {
  color: #6ddc8b;
  text-decoration: none;
}
.disclaimer-inner a:hover {
  text-decoration: none;
}
