/* ============================================
   BRAND TOKENS — edit this block to re-theme
   ============================================ */
@font-face {
  font-family: 'Berlingske Serif';
  src: url('../fonts/BerlingskeSerif-Bold.woff2') format('woff2'),
       url('../fonts/BerlingskeSerif-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Regular.woff2') format('woff2'),
       url('../fonts/Jost-Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
 
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Bold.woff2') format('woff2'),
       url('../fonts/Jost-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-primary: #0f4f42;
  --brand-primary-hover: #308675;
  --brand-accent: #fbba00;
  --brand-accent-hover: #e7ab00;
  --brand-text: #0f4f42;
  --brand-text-muted: #393939;
  --brand-bg: #ffffff;
  --brand-bg-alt: #cae2dd;
  --brand-border: #cae2dd;
  --brand-radius: 10px;
  --brand-radius-lg: 20px;
  --font-heading: 'Berlingske Serif', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --font-btn-case: uppercase;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--brand-text);
  background: var(--brand-bg);
  margin: 0;
  padding: 0;
  /* Bottom padding on mobile to clear the sticky CTA bar */
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body.has-sticky-cta {
    padding-bottom: 72px;
  }
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--brand-radius);
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--brand-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  line-height: 1.2;
  text-transform: var(--font-btn-case);
}
.btn-primary:hover { background: var(--brand-accent-hover); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary--full { width: 100%; }

/* ============================================
   SECTION LAYOUT HELPERS
   ============================================ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-alt { background: var(--brand-bg-alt); }

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

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-text);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.section-subhead {
  font-size: 1.125rem;
  color: var(--brand-text-muted);
  line-height: 1.6;
  margin: 0 0 2rem;
}

/* ============================================
   PLACEHOLDER BLOCKS (remove when real assets supplied)
   ============================================ */
.placeholder-block {
  background: #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  border-radius: var(--brand-radius);
  position: relative;
  overflow: hidden;
}
.placeholder-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.04) 10px,
    rgba(0,0,0,0.04) 20px
  );
}
.placeholder-block span { position: relative; z-index: 1; }

/* ============================================
   SITE NAV
   ============================================ */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  cursor: pointer;
}
.nav-logo-placeholder {
  height: 40px;
  width: 120px;
  background: var(--brand-bg-alt);
  border: 2px dashed var(--brand-border);
  border-radius: var(--brand-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-text-muted);
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-text);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--brand-radius);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--brand-primary); background: var(--brand-bg-alt); }
.nav-link:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

/* Hamburger button — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--brand-radius);
  flex-shrink: 0;
}
.nav-toggle:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--brand-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, width 0.25s;
  transform-origin: center;
}

/* Animated X state */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--brand-border);
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.nav-mobile.open {
  max-height: 400px;
  padding: 0.5rem 1.5rem 1rem;
}
.nav-mobile-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-text);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--brand-border);
  display: block;
  transition: color 0.15s;
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--brand-accent); }
.nav-mobile-link:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
}

/* Push page content below fixed nav */
body { padding-top: 64px; }

/* Scroll offset for anchor targets so nav doesn't cover headings */
#guide-contents, #parks, #stock, #pillars, #testimonial, #form {
  scroll-margin-top: 64px;
}

/* ============================================
   SECTION 1: HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
}

@media (min-width: 769px) {
  #hero { min-height: 95svh; }
}
@media (max-width: 768px) {
  #hero { min-height: 70vh; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2d4a3e 0%, #4a6741 40%, #6b8f5e 100%);
}
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

/* Hide fallback once video is playing */
.hero-bg-video:not([src=""]) ~ #hero-video-fallback,
.hero-bg-video:not(:paused) ~ #hero-video-fallback {
  display: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
}

.hero-logo-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 1.75rem 1.5rem;
}

.hero-logo-placeholder {
  height: 48px;
  width: 160px;
  background: rgba(255,255,255,0.15);
  border: 2px dashed rgba(255,255,255,0.4);
  border-radius: var(--brand-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* When a real logo <img> is dropped in, constrain its size */
.hero-logo-bar img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
  width: 100%;
}

@media (max-width: 768px) {
  .hero-content { text-align: center; padding: 2rem 1.25rem 2rem; }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  max-width: 700px;
}
@media (max-width: 768px) {
  .hero-headline { max-width: 100%; }
}

.hero-subhead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  margin: 0 0 2rem;
  color: rgba(255,255,255,0.9);
  max-width: 540px;
}
@media (max-width: 768px) {
  .hero-subhead { max-width: 100%; }
}

/* ============================================
   TRUST STRIP
   ============================================ */
#trust-strip {
  background: var(--brand-primary);
  color: #fff;
  padding: 1rem 0;
}

.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  white-space: nowrap;
}

.trust-icon {
  font-size: 1.1rem;
  color: var(--brand-accent);
}

@media (max-width: 480px) {
  .trust-strip-inner { gap: 1rem; flex-direction: column; align-items: center; }
}

/* ============================================
   SECTION 2: GUIDE CONTENTS
   ============================================ */
#guide-contents {
  padding: 5rem 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.guide-cover {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.guide-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 1rem;
  line-height: 1.5;
}

.guide-bullet-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.guide-bullet-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   SECTION 3: PARKS CAROUSEL
   ============================================ */
#parks {
  padding: 5rem 0;
}

.parks-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 1.5rem 1.5rem;
  cursor: grab;
}

@media (min-width: 769px) {
  .parks-scroll-wrapper {
    justify-content: safe center;
  }
}
.parks-scroll-wrapper:active { cursor: grabbing; }
.parks-scroll-wrapper::-webkit-scrollbar { height: 4px; }
.parks-scroll-wrapper::-webkit-scrollbar-track { background: var(--brand-border); border-radius: 2px; }
.parks-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--brand-accent); border-radius: 2px; }

.park-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.park-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.park-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--brand-radius-lg) var(--brand-radius-lg) 0 0;
}
.park-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.park-card-body {
  padding: 1.25rem;
}
.park-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}
.park-card-region {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  margin: 0 0 0.625rem;
}
.park-card-meta {
  list-style: none;
  padding: 0;
  margin: 0.625rem 0 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.park-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-text-muted);
}

.park-meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--brand-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.park-card-hook {
  font-size: 0.9rem;
  color: var(--brand-text-muted);
  margin: 0;
  line-height: 1.5;
}

.parks-scroll-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  padding: 0 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.parks-scroll-hint svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.parks-cta-wrap { text-align: center; padding: 0 1.5rem; }

/* ============================================
   SECTION 4: FEATURED STOCK
   ============================================ */
#stock {
  padding: 5rem 0;
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .stock-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

.stock-card {
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
  background: var(--brand-bg);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  position: relative;
}
.stock-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.stock-card--featured {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 2px var(--brand-accent);
}

.stock-tier-badge {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  background: var(--brand-primary);
  color: var(--brand-accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.625rem;
  border-radius: 100px;
  z-index: 1;
}

/* ============================================
   STOCK CARD SLIDER
   ============================================ */
.stock-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000;
}

.stock-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.stock-slide {
  flex: 0 0 100%;
  height: 100%;
}

.stock-slide .placeholder-block,
.stock-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.stock-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  padding: 0;
}
.stock-slider-btn:hover { background: #fff; }
.stock-slider-btn:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.stock-slider-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-text);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stock-slider-btn[disabled] { opacity: 0.35; cursor: default; }

.stock-slider-prev { left: 0.5rem; }
.stock-slider-next { right: 0.5rem; }

.stock-slider-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.375rem;
}

.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s, transform 0.2s;
}
.stock-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.stock-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stock-tier-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  margin: 0 0 0.375rem;
}
.stock-model-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}
.stock-location {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
  margin: 0 0 0.75rem;
}
.stock-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--brand-primary);
  margin: 0 0 0.875rem;
}
.stock-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.stock-spec {
  font-size: 0.875rem;
  color: var(--brand-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stock-spec::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-accent);
  flex-shrink: 0;
}
.stock-card-cta { margin-top: auto; }

/* ============================================
   SECTION 5: THREE PILLARS
   ============================================ */
#pillars {
  padding: 5rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
}
.pillar-image img, .pillar-image .placeholder-block {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.pillar-heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}
.pillar-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--brand-text-muted);
  margin: 0;
}

/* ============================================
   SECTION 6: VIDEO TESTIMONIAL
   ============================================ */
#testimonial {
  padding: 5rem 0;
  text-align: center;
}

.testimonial-header { margin-bottom: 2.5rem; }
.testimonial-header .section-heading,
.testimonial-header .section-subhead { max-width: 640px; margin-left: auto; margin-right: auto; }
.testimonial-header .section-subhead { margin-bottom: 0; }

.video-container {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  border-radius: var(--brand-radius-lg);
  overflow: hidden;
  background: #000;
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.video-container video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: #fff;
}
.video-play-icon {
  width: 72px;
  height: 72px;
  background: var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 4px;
}
.video-placeholder-label {
  font-size: 0.85rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonial-attribution {
  font-size: 0.9rem;
  color: var(--brand-text-muted);
  margin-bottom: 2.5rem;
}
.testimonial-attribution strong { color: var(--brand-text); }

/* ============================================
   SECTION 7: FORM
   ============================================ */
#form {
  padding: 5rem 0;
  background: var(--brand-primary);
  color: #fff;
}

.form-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.form-inner .section-heading { color: #fff; margin-bottom: 0.75rem; }
.form-inner .section-subhead { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

.lead-form {
  text-align: left;
  background: #fff;
  color: var(--brand-text);
  border-radius: var(--brand-radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.form-group:last-of-type { margin-bottom: 0; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-bg-alt);
  text-align: left;
}
.form-label .required { color: var(--brand-accent); margin-left: 2px; }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--brand-border);
  border-radius: var(--brand-radius);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--brand-text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}
.form-input.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.2); }

.field-error {
  font-size: 0.8rem;
  color: #dc2626;
  display: none;
}
.field-error.visible { display: block; }

.form-reassurance {
  font-size: 0.8rem;
  color: #fff;
  margin-top: 0.25rem;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
  text-align: left;
}
.form-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--brand-accent);
  cursor: pointer;
}
.form-checkbox-label {
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.5;
  text-align: left;
}
.form-checkbox-label a {
  color: var(--brand-accent);
  text-decoration: underline;
}

.form-submit-wrap { text-align: center; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: var(--brand-radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  min-height: 56px;
  text-transform: var(--font-btn-case);
}
.btn-submit:hover:not(:disabled) { background: var(--brand-accent-hover); }
.btn-submit:active:not(:disabled) { transform: scale(0.98); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-submit:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: var(--brand-radius-lg);
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  background: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.form-success-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.form-error-msg {
  display: none;
  background: #fee2e2;
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: var(--brand-radius);
  font-size: 0.875rem;
  margin-top: 1rem;
  text-align: center;
}
.form-error-msg.visible { display: block; }

/* Honeypot — must remain hidden */
.hp-field { display: none !important; visibility: hidden !important; }

/* ============================================
   SECTION 8: DISCLAIMER STRIP
   ============================================ */
#disclaimer {
  background: #f0f0eb;
  border-top: 1px solid var(--brand-border);
  padding: 1.5rem 0;
}
.disclaimer-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  color: var(--brand-text-muted);
  line-height: 1.6;
}

/* ============================================
   SECTION 9: FOOTER
   ============================================ */
#footer {
  background: var(--brand-primary);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-call-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-accent);
}

.footer-contact a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-contact a:hover { color: var(--brand-accent); text-decoration: underline; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); text-decoration: underline; }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ============================================
   STICKY MOBILE CTA BAR
   ============================================ */
#sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
  padding: 0.875rem 1.25rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#sticky-cta.visible { transform: translateY(0); }
#sticky-cta.hidden { transform: translateY(100%); }

@media (min-width: 769px) {
  #sticky-cta { display: none; }
}

.sticky-cta-btn {
  display: block;
  width: 100%;
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--brand-radius);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  min-height: 48px;
  transition: background 0.2s;
  text-transform: var(--font-btn-case);
}
.sticky-cta-btn:hover { background: var(--brand-accent-hover); }
.sticky-cta-btn:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }

/* ============================================
   SECTION SPACING OVERRIDES — mobile
   ============================================ */
@media (max-width: 768px) {
  #guide-contents,
  #parks,
  #stock,
  #pillars,
  #testimonial,
  #form { padding: 3.5rem 0; }
}
