/* ============================================================
   GOOGLE ADS FOR FUNERAL HOMES — CASE STUDY MICROSITE
   PartingPro Branding
   ============================================================ */

/* ── Variables ── */
:root {
  --navy:        #1B2B4A;
  --navy-dark:   #111E33;
  --navy-light:  #243B63;
  --teal:        #1DB8A4;   /* PartingPro brand teal — update if needed */
  --teal-dark:   #13917F;
  --teal-bg:     #E8F8F6;
  --teal-border: #9FE0D8;
  --cta:         #E8A33D;   /* warm accent reserved for primary conversion CTAs */
  --cta-dark:    #C98A2A;
  --green:       #2A7D5A;
  --green-bg:    #D6EDE4;
  --bg:          #F4F6F8;
  --white:       #FFFFFF;
  --text:        #1A1A1A;
  --text-mid:    #555555;
  --text-light:  #8C8C8C;
  --border:      #E1E5EA;
  --card-bg:     #F9FAFB;
  --radius-lg:   14px;
  --radius-md:   8px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.14);
  --serif:       'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans:        'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:  0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

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

strong { font-weight: 600; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

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

.site-header {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}

.logo, .logo-img {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-img { height: 40px; width: auto; }

/* ── Full-Width Split Nav Bar ── */
.page-nav {
  display: flex;
  position: sticky;
  top: 64px;
  z-index: 99;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  text-decoration: none;
  background: var(--navy);
  transition: background 0.2s, border-color 0.2s;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.page-nav-item:hover {
  background: var(--navy-light);
  text-decoration: none;
  border-bottom-color: rgba(255,255,255,0.2);
}

.page-nav-item.active {
  background: var(--teal);
  border-bottom-color: var(--teal);
}

.page-nav-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}

.page-nav-item.active .page-nav-label {
  color: #fff;
  font-weight: 700;
}

.page-nav-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  font-weight: 400;
}

.page-nav-item.active .page-nav-desc {
  color: rgba(255,255,255,0.75);
}

.page-nav-item:hover .page-nav-label {
  color: #fff;
}

.page-nav-item:hover .page-nav-desc {
  color: rgba(255,255,255,0.6);
}

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

.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(29,184,164,0.10) 0%, transparent 70%),
    linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 26px;
  max-width: 680px;
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta);
  color: var(--navy-dark);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 32px;
  margin-bottom: 44px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: background var(--transition), transform 0.15s ease;
}

.hero-cta-btn:hover {
  background: var(--cta-dark);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.hero-stat {
  padding: 0 40px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-stat:first-child { padding-left: 0; }

.hero-stat.visible { opacity: 1; transform: translateY(0); }
.hero-stat:nth-child(1) { transition-delay: 0.05s; }
.hero-stat:nth-child(3) { transition-delay: 0.18s; }
.hero-stat:nth-child(5) { transition-delay: 0.31s; }

.stat-value {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 7px;
}

.stat-label {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.45;
  max-width: 160px;
}

.divider-v {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.14);
  flex-shrink: 0;
}

/* ============================================================
   HOW WE WORK
   ============================================================ */

.approach {
  background: var(--white);
  padding: 88px 0;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.visible { opacity: 1; transform: translateY(0); }
.step:nth-child(1) { transition-delay: 0s; }
.step:nth-child(2) { transition-delay: 0.13s; }
.step:nth-child(3) { transition-delay: 0.26s; }

.step-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 18px;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */

.case-studies {
  background: var(--bg);
  padding: 88px 0;
}

/* ── Case Study Card ── */
.case-study {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 52px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.case-study:hover { box-shadow: var(--shadow-lg); }
.case-study:last-child { margin-bottom: 0; }

/* ── Case Header ── */
.case-header {
  background: var(--navy);
  background-image: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 28px 40px;
}

.case-location {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* ── Case Body ── */
.case-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.case-left {
  padding: 36px 40px;
  border-right: 1px solid var(--border);
}

.case-right {
  padding: 36px 36px;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Narrative Blocks ── */
.case-block { margin-bottom: 26px; }
.case-block:last-of-type { margin-bottom: 0; }

.case-block h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.case-block p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ── Screenshot Slot ── */
.screenshot-slot {
  margin-top: 28px;
}

.screenshot-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.screenshot-empty {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
}

.screenshot-icon { font-size: 1.2rem; }

.screenshot-text {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ── Metrics Grid ── */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.metric.visible { opacity: 1; transform: translateY(0); }
.metric:nth-child(1) { transition-delay: 0.04s; }
.metric:nth-child(2) { transition-delay: 0.09s; }
.metric:nth-child(3) { transition-delay: 0.14s; }
.metric:nth-child(4) { transition-delay: 0.19s; }
.metric:nth-child(5) { transition-delay: 0.24s; }
.metric:nth-child(6) { transition-delay: 0.29s; }

/* Metric color variants */
.metric.navy {
  background: var(--navy);
  border-color: var(--navy);
}
.metric.navy .metric-val { color: var(--white); }
.metric.navy .metric-lbl { color: rgba(255,255,255,0.60); }

.metric.gold {
  background: var(--teal);
  border-color: var(--teal);
}
.metric.gold .metric-val,
.metric.gold .metric-lbl { color: var(--white); }
.metric.gold .metric-lbl { color: rgba(255,255,255,0.82); }

.metric.green {
  background: var(--green);
  border-color: var(--green);
}
.metric.green .metric-val,
.metric.green .metric-lbl { color: var(--white); }
.metric.green .metric-lbl { color: rgba(255,255,255,0.75); }

.metric-val {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 5px;
}

.metric-lbl {
  font-size: 0.76rem;
  color: var(--text-mid);
  line-height: 1.35;
  font-weight: 500;
}

.metric-prev {
  font-size: 0.70rem;
  color: rgba(0,0,0,0.4);
  text-decoration: line-through;
  margin-top: 3px;
}

/* ── Growth Callout (Nashville) ── */
.growth-callout {
  background: var(--teal-bg);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease 0.35s, transform 0.42s ease 0.35s;
}

.growth-callout.visible { opacity: 1; transform: translateY(0); }

.growth-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.growth-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.growth-item { text-align: center; }

.growth-before, .growth-after {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.growth-before { color: var(--text-mid); }
.growth-after  { color: var(--navy); }

.growth-desc {
  font-size: 0.72rem;
  color: var(--text-mid);
  font-weight: 500;
}

.growth-arrow {
  font-size: 1.4rem;
  color: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   WHY PARTINGPRO
   ============================================================ */

.why-us {
  background: var(--navy);
  background-image: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 88px 0;
  color: var(--white);
}

.why-us .section-heading { color: var(--white); }
.why-us .section-sub { color: rgba(255,255,255,0.65); }

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

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background var(--transition);
}

.why-card:hover { background: rgba(255,255,255,0.10); }

.why-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
  line-height: 1;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  background: var(--bg);
  padding: 88px 0;
}

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

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 1;
  color: var(--teal);
  font-family: Georgia, serif;
  position: absolute;
  top: 16px;
  left: 24px;
  opacity: 0.35;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  padding-top: 24px;
}

.testimonial-attr {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-location {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 2px;
}

.testimonials.testimonial-single .testimonials-grid {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 40px auto 0;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-section {
  background: var(--white);
  padding: 80px 0;
}

.faq-list {
  max-width: 760px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
}

.faq-q {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.faq-a {
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.faq-a strong {
  color: var(--navy);
}

/* ============================================================
   CALL TO ACTION
   ============================================================ */

.cta {
  background: var(--navy);
  background-image: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}

.cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

/* ── HubSpot Form Overrides ── */
.hs-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

/* Layout: 2 columns */
.hs-form-wrapper .hs-form fieldset {
  max-width: 100% !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hs-form-wrapper .hs-form fieldset.form-columns-1 {
  grid-template-columns: 1fr;
}

/* Field groups */
.hs-form-wrapper .hs-form-field {
  margin-bottom: 0;
}

/* Labels */
.hs-form-wrapper .hs-form-field label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

/* Inputs */
.hs-form-wrapper input.hs-input,
.hs-form-wrapper select.hs-input,
.hs-form-wrapper textarea.hs-input {
  font-family: var(--sans) !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: var(--radius-md) !important;
  color: var(--white) !important;
  padding: 12px 16px !important;
  box-sizing: border-box !important;
  transition: border-color var(--transition), background var(--transition);
  outline: none !important;
  box-shadow: none !important;
}

.hs-form-wrapper input.hs-input::placeholder { color: rgba(255,255,255,0.28) !important; }

.hs-form-wrapper input.hs-input:focus,
.hs-form-wrapper textarea.hs-input:focus {
  border-color: var(--teal) !important;
  background: rgba(255,255,255,0.12) !important;
}

/* Submit button */
.hs-form-wrapper .hs-button {
  font-family: var(--sans) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  width: 100% !important;
  background: var(--teal) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 15px 32px !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.hs-form-wrapper .hs-button:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px);
}

/* Error messages */
.hs-form-wrapper .hs-error-msg,
.hs-form-wrapper .hs_error_rollup {
  color: #ff8080 !important;
  font-size: 0.8rem !important;
  margin-top: 4px !important;
}

/* Remove HubSpot's default white background on the form */
.hs-form-wrapper .hs-form { background: transparent !important; }

/* Required asterisk */
.hs-form-wrapper .hs-form-required { color: var(--teal) !important; }

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

footer {
  background: var(--navy-dark);
  padding: 22px 0;
  text-align: center;
}

footer p {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.30);
}

/* ============================================================
   STICKY FORECAST QUIZ BAR
   ============================================================ */

.forecast-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  font-family: var(--sans);
}

.forecast-teaser {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--cta);
  color: var(--navy-dark);
  border: none;
  padding: 22px 24px calc(22px + env(safe-area-inset-bottom, 0px));
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-family: var(--sans);
  cursor: pointer;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
  transition: background var(--transition), transform 0.15s ease;
  animation: forecast-teaser-pulse 1.8s ease-out 3;
}

.forecast-teaser:hover { background: var(--cta-dark); transform: translateY(-2px); }

@keyframes forecast-teaser-pulse {
  0%, 100% { box-shadow: 0 -6px 24px rgba(0,0,0,0.18), 0 0 0 0 rgba(232,163,61,0.55); }
  50% { box-shadow: 0 -6px 24px rgba(0,0,0,0.18), 0 0 0 12px rgba(232,163,61,0); }
}

.forecast-teaser-arrow {
  font-size: 1.2rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.forecast-bar.open .forecast-teaser-arrow { transform: rotate(180deg); }

.forecast-panel {
  position: relative;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.forecast-bar.open .forecast-panel { max-height: 480px; overflow-y: auto; }

.forecast-panel-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 24px calc(26px + env(safe-area-inset-bottom, 0px));
  position: relative;
}

.forecast-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.forecast-close:hover { color: #fff; }

.forecast-progress-track {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  margin-right: 28px;
}

.forecast-progress-dot {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.14);
  transition: background 0.3s ease, transform 0.15s ease;
  cursor: default;
}

.forecast-progress-dot.reachable { cursor: pointer; }
.forecast-progress-dot.reachable:hover { background: rgba(255,255,255,0.32); transform: scaleY(1.5); }
.forecast-progress-dot.done.reachable:hover { background: var(--teal-dark); }

.forecast-progress-dot.done { background: var(--teal); }

.forecast-viewport { overflow: hidden; }

.forecast-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.forecast-step {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

.forecast-q {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.3;
}

.forecast-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.forecast-options.single-col { grid-template-columns: 1fr; }

.forecast-opt {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.forecast-opt:hover { background: rgba(255,255,255,0.12); border-color: var(--teal); }
.forecast-opt.selected { background: var(--teal); border-color: var(--teal); }

.forecast-input-row { display: flex; gap: 10px; }

.forecast-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--sans);
  outline: none;
  box-sizing: border-box;
  width: 100%;
}

.forecast-input::placeholder { color: rgba(255,255,255,0.28); }
.forecast-input:focus { border-color: var(--teal); background: rgba(255,255,255,0.13); }

.forecast-name-row { display: flex; gap: 10px; margin-bottom: 12px; }
.forecast-name-row .forecast-input { flex: 1; }

.forecast-next, .forecast-submit {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  margin-top: 14px;
}

.forecast-next:hover, .forecast-submit:hover { background: var(--teal-dark); }
.forecast-submit { width: 100%; }
.forecast-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.forecast-back {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-family: var(--sans);
  cursor: pointer;
  margin-top: 16px;
  display: block;
  padding: 0;
}

.forecast-back:hover { color: #fff; }

.forecast-estimate {
  background: rgba(29,184,164,0.12);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

.forecast-estimate strong { color: var(--teal); }

.forecast-thanks { text-align: center; padding: 10px 0 4px; }

.forecast-thanks h4 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.forecast-thanks p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}

.forecast-error {
  color: #ff8080;
  font-size: 0.8rem;
  margin-top: 10px;
  display: none;
}

@media (max-width: 640px) {
  .forecast-panel-inner { padding: 24px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .forecast-options { grid-template-columns: 1fr; }
  .forecast-name-row { flex-direction: column; }
  .forecast-q { font-size: 1.1rem; }
  .forecast-bar.open .forecast-panel { max-height: 70vh; }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================================ */

@media (max-width: 960px) {
  .steps-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }

  .case-body { grid-template-columns: 1fr; }

  .case-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 28px;
  }

  .case-right { padding: 28px 28px; }
  .case-header { padding: 24px 28px; }

  .hero-stats { gap: 0; }
  .hero-stat  { padding: 0 28px; }
  .hero-stat:first-child { padding-left: 0; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .hero { padding: 64px 0 72px; }
  .approach, .why-us, .testimonials, .case-studies, .cta { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero-stat { padding: 0 !important; }

  .divider-v {
    width: 52px;
    height: 1px;
    background: rgba(255,255,255,0.15);
  }

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

  .contact-card { padding: 24px 28px; }

  .contact-details { flex-direction: column; gap: 6px; }
  .dot { display: none; }
}

/* Legacy .site-nav kept for backward compat — prefer .site-header-nav */

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  /* Force color output */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body { background: white; font-size: 10.5pt; }

  /* Remove sticky header */
  .site-header { position: static; }

  /* Collapse spacing */
  .hero { padding: 48px 0 52px; }
  .approach, .case-studies, .cta { padding: 44px 0; }

  /* No hover shadows */
  .case-study,
  .case-study:hover { box-shadow: none !important; border: 0.75pt solid #d5d0c8; }

  /* Page breaks */
  .case-study { page-break-inside: avoid; margin-bottom: 28px; }
  .approach   { page-break-after: avoid; }
  .case-header { page-break-after: avoid; }
  .case-body  { page-break-inside: avoid; }

  /* Reveal animated elements */
  .hero-stat,
  .step,
  .metric,
  .growth-callout {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Remove transitions */
  * { transition: none !important; }

  /* Links */
  a { color: inherit !important; text-decoration: none !important; }

  /* Hide decorative gradient orbs */
  .hero::before { display: none; }

  /* Screenshot placeholders */
  .screenshot-empty { page-break-inside: avoid; }
}
