/* index-page.css - page-specific styles for index.html */

.social-label {
  color: #fff !important;
  font-weight: 500;
  margin-right: 0.75rem;
}

/* Hero mobile fix - FORCE symmetric hero spacing for mobile */
/* Legacy hero mobile rules removed — cinematic homepage uses .hero-cin-section (index-cinematic.css). */

html {
  scroll-behavior: smooth;
}

.hero-below-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100% !important;
  margin: 0.9rem auto 0.2rem !important;
}

/* Hero CTA pulse lives in site.css (loads last) so it beats global button rules */
#search-box {
  scroll-margin-top: 90px;
}

.proof-strip {
  margin: 0 auto;
  padding: 0.85rem 0 0.35rem;
}

.proof-strip-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.proof-strip-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #365987;
}

.proof-strip-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.proof-tile {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7e2f1;
  border-radius: 14px;
  padding: 0.82rem 0.78rem 0.75rem;
  box-shadow: 0 8px 24px rgba(17, 46, 82, 0.12);
}

.proof-value {
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 800;
  color: #123860;
  line-height: 1.1;
}

.proof-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: #2e4969;
}

.proof-note {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #5d6f86;
}

.home-search-wrap.ds-section {
  padding-top: 0.8rem;
}

.home-video-preview-head h2,
.search-title {
  font-size: clamp(1.25rem, 2.5vw, 1.72rem);
  letter-spacing: -0.01em;
}

.home-video-preview-head p,
.search-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* Tour preview course shortcut buttons */
.home-preview-tour-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 0.75rem auto 1.4rem; /* bottom margin creates gap above video */
  width: min(100%, 760px);
  padding: 0 0.5rem;
  box-sizing: border-box;
}

/* Homepage preview video: force-fit and cap size regardless of later CSS */
.home-video-preview .home-video-frame {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  margin-top: 0.4rem !important; /* extra space from buttons into video */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.home-video-preview #homePreviewTour.home-preview-video-link {
  width: 100% !important;
  max-width: 760px !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  max-height: 430px !important;
  display: block !important;
}

.home-video-preview #homePreviewTour.home-preview-video-link .home-preview-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  background: #0b1f16 !important;
}

@media (max-width: 768px) {
  .home-video-preview .home-video-frame {
    max-width: 100% !important;
  }

  .home-video-preview #homePreviewTour.home-preview-video-link {
    height: clamp(180px, 34vh, 260px) !important;
    max-height: 260px !important;
    aspect-ratio: auto !important;
  }

  .home-video-preview #homePreviewTour.home-preview-video-link .home-preview-video {
    object-fit: cover !important;
  }
}

@media (max-width: 480px) {
  .home-video-preview #homePreviewTour.home-preview-video-link {
    height: clamp(165px, 30vh, 220px) !important;
    max-height: 220px !important;
  }

  .home-video-preview #homePreviewTour.home-preview-video-link .home-preview-video {
    object-fit: cover !important;
  }
}

/* Movie section course buttons: MUST match Search Near Me / View 3D / Google Map / Chat with AI.
   ID selector wins over any other rule; no ds-btn so no conflicting base styles. */
#home-movie-course-btns .movie-course-btn,
#home-movie-course-btns a.movie-course-btn,
.movie-course-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.62rem 1rem !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  background: #1f6a4f !important;
  background-color: #1f6a4f !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(31, 106, 79, 0.3) !important;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}
#home-movie-course-btns .movie-course-btn:hover,
#home-movie-course-btns a.movie-course-btn:hover,
.movie-course-btn:hover {
  background: #174d3a !important;
  background-color: #174d3a !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(31, 106, 79, 0.36) !important;
}

#home-movie-course-btns .movie-course-btn.movie-course-btn-multiline {
  white-space: normal !important;
  flex-direction: column !important;
  line-height: 1.25 !important;
  text-align: center !important;
  min-height: 52px !important;
}

/* Ensure icons inside buttons are always visible (View 3D, Google Map, Chat with AI, Search, tabs) */
.card-action-btn i,
.card-action-btn .fas,
.btn-ai i,
.btn-maps i,
.btn-view3d i,
.search-button i,
.tab-button i {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-right: 0.3em !important;
}

/* View 3D button: flex + gap so cube icon and "View 3D" text always have a visible gap */
.golf-course-card .btn-view3d,
.results-grid .course-icon .btn-view3d,
.course-icon .btn-view3d {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

/* HARD GAP between cube and "View 3D" label for any View 3D button */
.btn-view3d i {
  margin-right: 6px !important;
}
.btn-view3d .btn-view3d-label {
  padding-left: 0 !important;
}

.empty-state {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid #d7e6dc;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
  box-shadow: 0 10px 24px rgba(16, 56, 35, 0.1);
}

.suggested-searches {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.suggested-search-btn {
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.top-courses-showcase {
  padding-top: 0.6rem;
}

.top-courses-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid #d8e8de;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
  padding: 1.1rem;
  box-shadow: 0 12px 30px rgba(20, 58, 38, 0.12);
}

.top-courses-head h2 {
  margin: 0;
  color: #123d29;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.top-courses-head p {
  margin: 0.35rem 0 0;
  color: #4a6658;
}

.top-courses-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.top-course-card {
  border: 1px solid #d3e5d9;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 170px;
}

.top-course-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #123d29;
}

.top-course-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4a6658;
}

.top-course-action {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 980px) {
  .top-courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .top-courses-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-below-cta {
    margin: 0.9rem auto 0.2rem !important;
  }
  /* Proof strip visibility: index-cinematic.css controls homepage proof strip. */
  .proof-strip-inner {
    width: calc(100% - 1.1rem);
  }
  .proof-strip-kicker {
    margin-left: 0.12rem;
  }
  .proof-strip-track {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0.05rem 0.08rem 0.32rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .proof-strip-track::-webkit-scrollbar {
    height: 6px;
  }
  .proof-strip-track::-webkit-scrollbar-thumb {
    background: #c6d4e8;
    border-radius: 999px;
  }
  .proof-tile {
    min-width: 210px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .gp-footer-cta {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    margin-top: 0.4rem;
    padding: 1rem 0.7rem !important;
    background: rgba(255, 255, 255, 0.06);
  }
  .gp-footer-cta .gp-btn-primary {
    min-height: 52px;
    width: min(92vw, 320px);
    font-size: 1rem;
    font-weight: 800;
  }
}

/* Mobile search text optimizations */
@media (max-width: 768px) {
  :root {
    --search-title-size: 1.1em !important;
    --search-title-margin: 0.5em !important;
    --try-text-size: 0.85rem !important;
    --try-text-margin: 0.7rem !important;
  }
  .search-title {
    font-size: 1.35em !important;
    margin-bottom: 0.3em !important;
  }
  .search-card div[style*="text-align: center"] {
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
    margin-top: 0.1rem !important;
  }
  div[style*="font-size:1.35em"] {
    font-size: 1.35em !important;
    margin-bottom: 0.3em !important;
  }
  div[style*="font-size: 0.95rem"] {
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
    margin-top: 0.1rem !important;
  }
  #searchTitle {
    font-size: 1.35em !important;
    margin-bottom: 0.3em !important;
  }
  #tryText {
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
    margin-top: 0.1rem !important;
  }
  #cta-banner h2 {
    font-size: 1.2rem !important;
  }
}

/* Homepage FAQ — visible section matches FAQPage JSON-LD in <head> */
.home-faq {
  margin: 0;
  padding: 2.75rem 0 3rem;
  background: linear-gradient(180deg, #eef3f9 0%, #e4ebf4 100%);
  border-top: 1px solid #d7e2f1;
}

.home-faq-inner {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
}

.home-faq-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #123860;
  text-align: center;
}

.home-faq-intro {
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #5d6f86;
  text-align: center;
}

.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-faq-item {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7e2f1;
  border-radius: 14px;
  padding: 1rem 1.15rem 1.05rem;
  box-shadow: 0 6px 20px rgba(17, 46, 82, 0.08);
}

.home-faq-question {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a3d63;
}

.home-faq-answer {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #42566f;
}

@media (max-width: 768px) {
  .home-faq {
    padding: 2rem 0 2.25rem;
  }

  .home-faq-inner {
    width: calc(100% - 1.25rem);
  }

  .home-faq-item {
    padding: 0.9rem 0.95rem;
  }

  .home-faq-question {
    font-size: 0.96rem;
  }

  .home-faq-answer {
    font-size: 0.9rem;
  }
}

/* =================================================================
   BOLD CINEMATIC REDESIGN — dark forest-green theme for homepage
   Scoped to body.home-page to avoid affecting any other page.
   ================================================================= */

/* 1. Dark page background */
body.home-page,
body.home-page.ds-page {
  background: #071310 !important;
}

/* 2. Nav — darker header */
body.home-page .header,
body.home-page .ds-nav {
  background: #091a11 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Nav CTA button — bright green, hidden on mobile */
.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  background: #22c55e;
  color: #071310 !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  border: none;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.nav-cta:hover,
.nav-cta:focus {
  background: #16a34a !important;
  color: #fff !important;
  transform: translateY(-1px);
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
body.home-page .nav-cta {
  display: none !important;
}

/* 3. Hero — 2-column cinematic layout (background on contained wrap, not full width) */
.home-page .hero-cin-section,
.home-page .hero-cin-section.ds-hero {
  text-align: left !important;
  padding: 0.85rem 1.5rem 0.35rem !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  overflow: visible !important;
  background: #071310 !important;
}

.hero-cin-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(5, 14, 9, 0.28) 0%, rgba(9, 22, 14, 0.20) 50%, rgba(5, 14, 9, 0.15) 100%),
    url("/images/hero_desktop.png") center 40% / cover no-repeat;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .hero-cin-wrap {
    background:
      linear-gradient(130deg, rgba(5, 14, 9, 0.28) 0%, rgba(9, 22, 14, 0.20) 50%, rgba(5, 14, 9, 0.15) 100%),
      url("/images/hero_cellphone.png") center center / cover no-repeat;
  }
}

.hero-cin-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
  text-align: left;
}

/* Override the aggressive center-align from components.css */
.home-page .hero-cin-section .hero-cin-left .hero-title,
.home-page .hero-cin-section .hero-cin-left h1 {
  text-align: left !important;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.55) !important;
}

.home-page .hero-cin-headline .hero-title,
.home-page .hero-cin-headline .hero-desc {
  text-align: center !important;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.9),
    0 0 1px rgba(0, 0, 0, 0.85) !important;
}

.home-page .hero-cin-section .hero-cin-left p:not(.hero-desc) {
  text-align: left !important;
  font-size: 1.1rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4) !important;
}

.home-page .hero-cin-headline .hero-desc,
.home-page .hero-cin-section .hero-cin-left .hero-desc {
  text-align: center !important;
  font-size: 1.1rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0.35rem auto 0 !important;
  line-height: 1.5 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4) !important;
  max-width: 100% !important;
  width: 100% !important;
}

.home-page .hero-cin-headline .hero-desc {
  color: #ffffff !important;
}

/* <br> line-break visible only on desktop */
.hero-desktop-br {
  display: none;
}
@media (min-width: 901px) {
  .hero-desktop-br {
    display: block;
  }
}

/* Hero course buttons — semi-transparent dark pill style */
.home-page .hero-cin-left .home-preview-tour-links {
  margin: 0 !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}
.home-page .hero-cin-left #home-movie-course-btns .movie-course-btn,
.home-page .hero-cin-left #home-movie-course-btns a.movie-course-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  font-size: 0.82rem !important;
  backdrop-filter: blur(6px);
}
.home-page .hero-cin-left #home-movie-course-btns .movie-course-btn:hover,
.home-page .hero-cin-left #home-movie-course-btns a.movie-course-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  transform: translateY(-1px) !important;
}

/* "Explore in 3D" play link */
.hero-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.18s ease;
  margin-top: 0.15rem;
}
.hero-explore-link:hover,
.hero-explore-link:focus {
  color: #4ade80 !important;
  text-decoration: none !important;
}
.hero-explore-play {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  font-size: 0.7rem;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.hero-explore-link:hover .hero-explore-play {
  background: rgba(74, 222, 128, 0.2);
  border-color: rgba(74, 222, 128, 0.5);
}

@media (min-width: 901px) {
  .home-page .hero-cin-left .home-preview-tour-links {
    justify-content: center !important;
    width: 100% !important;
  }

  .home-page .hero-cin-section .hero-cin-left .hero-social-row-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0.6rem auto 0 !important;
  }

  .home-page .hero-cin-section .hero-cin-left .hero-social-media {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }
}

/* Phones/tablets: stack social above feedback in the flattened hero order */
@media (max-width: 900px) {
  .home-page .hero-cin-section .hero-social-row-wrap {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.55rem !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .home-page .hero-cin-section .hero-social-media {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: auto !important;
    margin: 0 !important;
    justify-content: center !important;
    gap: 0.6rem !important;
  }
}

/* 4. Right column — video frame */
.hero-cin-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-page .hero-cin-section .hero-cin-right .home-video-frame {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  margin-top: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 2px solid rgba(74, 222, 128, 0.22) !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.65) !important;
  background: #0b1f16 !important;
  display: block !important;
}
.home-page .hero-cin-section #homePreviewTour.home-preview-video-link {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  background: #0b1f16 !important;
}
.home-page .hero-cin-section #homePreviewTour .home-preview-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  background: #0b1f16 !important;
}

/* 5. Proof strip — dark cinematic tiles */
.home-page .proof-strip {
  background: transparent !important;
  padding: 1.75rem 0 1.5rem !important;
  display: block !important;
}
.home-page .proof-tile {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}
.proof-tile-icon {
  font-size: 1.25rem;
  color: #4ade80;
  display: block;
  margin-bottom: 0.45rem;
}
.home-page .proof-value {
  color: #ffffff !important;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem) !important;
}
.home-page .proof-label {
  color: rgba(255, 255, 255, 0.85) !important;
}
.home-page .proof-note {
  color: rgba(255, 255, 255, 0.48) !important;
}

a.proof-tile.proof-tile--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.proof-tile.proof-tile--link:hover,
a.proof-tile.proof-tile--link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.45) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42) !important;
  outline: none;
}

/* 6. Search section — full dark */
.home-page .home-search-wrap,
.home-page .home-search-wrap.ds-section {
  background: #071310 !important;
  padding-top: 0.35rem !important;
  padding-bottom: 0.85rem !important;
}
.home-page .home-search-wrap::before {
  background: none !important;
}
.home-page .home-search-wrap .search-card {
  background: rgba(12, 30, 20, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55) !important;
}
.home-page .home-search-wrap .search-title {
  color: #ffffff !important;
}
.home-page .home-search-wrap .search-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Search tab buttons — dark glass */
.home-page .home-search-wrap .ds-btn-secondary,
.home-page .home-search-wrap .tab-button {
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  background-image: none !important;
  color: rgba(255, 255, 255, 0.76) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}
.home-page .home-search-wrap .tab-button:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  transform: none !important;
}
.home-page .home-search-wrap .tab-button.active {
  background: #22c55e !important;
  background-image: none !important;
  color: #071310 !important;
  border-color: #22c55e !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.28) !important;
}

/* Labels and helper text on dark background */
.home-page .home-search-wrap .ds-label,
.home-page .home-search-wrap label {
  color: rgba(255, 255, 255, 0.8) !important;
}
.home-page .home-search-wrap .form-helper {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Input fields */
.home-page .home-search-wrap .ds-input,
.home-page .home-search-wrap input[type="text"],
.home-page .home-search-wrap input[type="search"] {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}
.home-page .home-search-wrap .ds-input::placeholder,
.home-page .home-search-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.36) !important;
}
.home-page .home-search-wrap .ds-input:focus,
.home-page .home-search-wrap input:focus {
  border-color: rgba(34, 197, 94, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Primary search action buttons */
.home-page .home-search-wrap .search-button,
.home-page .home-search-wrap button[type="submit"],
.home-page #nearMeButton {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  background-image: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #071310 !important;
  font-weight: 700 !important;
  border-color: #16a34a !important;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.28) !important;
}
.home-page .home-search-wrap .search-button:hover,
.home-page .home-search-wrap button[type="submit"]:hover,
.home-page #nearMeButton:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  background-image: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #fff !important;
}

/* 7. Results section — dark */
.home-page .results-section,
.home-page #search-container,
.home-page .home-search-loading-section {
  background: #071310 !important;
}
.home-page #search-container {
  padding-top: 0 !important;
}

/* Course cards on dark */
.home-page #search-container .golf-course-card {
  background: rgba(12, 30, 20, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.home-page #search-container .golf-course-card:hover {
  border-color: rgba(34, 197, 94, 0.4) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}
.home-page #search-container .course-name {
  color: #ffffff !important;
}
.home-page #search-container .cin-card-info .course-location:not(:last-child)::after,
.golf-course-card .cin-card-info .course-location:not(:last-child)::after {
  content: "";
  display: block;
  width: 82%;
  max-width: none;
  height: 0;
  margin: 0.22rem auto 0.14rem;
  border: 0;
  border-top: 4px solid #fff9c4;
  box-shadow: 0 0 14px rgba(255, 248, 180, 0.95), 0 0 5px rgba(255, 255, 255, 0.75);
  box-sizing: border-box;
  opacity: 1;
}

.golf-course-card .course-card-meta-row,
.golfapedia-map-card .course-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0.02rem 0 0.06rem;
  padding: 0;
  line-height: 1.35;
}

.home-page #search-container .course-meta-sep,
.golf-course-card .course-meta-sep,
.golfapedia-map-card .course-meta-sep {
  margin: 0 0.35rem;
  padding: 0;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(187, 247, 208, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  line-height: 1.35;
  opacity: 0.95;
}

.home-page #search-container .course-club-type,
.home-page #search-container .course-hole-count,
.golf-course-card .course-club-type,
.golf-course-card .course-hole-count,
.golfapedia-map-card .course-club-type,
.golfapedia-map-card .course-hole-count {
  margin: 0;
  padding: 0;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(187, 247, 208, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  line-height: 1.35;
}

.home-page #search-container .course-location,
.home-page #search-container .course-city,
.home-page #search-container .course-state,
.home-page #search-container .course-country {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* 8. FAQ — dark */
.home-page .home-faq {
  background: #0a1a12 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.home-page .home-faq-title {
  color: #ffffff !important;
}
.home-page .home-faq-intro {
  color: rgba(255, 255, 255, 0.58) !important;
}
.home-page .home-faq-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
.home-page .home-faq-question {
  color: #ffffff !important;
}
.home-page .home-faq-answer {
  color: rgba(255, 255, 255, 0.66) !important;
}

/* 9. Proof strip — show 2×3 grid on mobile (was hidden) */
@media (max-width: 768px) {
  .home-page .proof-strip {
    display: block !important;
    padding: 1.5rem 0 1.25rem !important;
  }
  .home-page .proof-strip-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto !important;
    gap: 0.65rem !important;
    padding-bottom: 0 !important;
  }
  .home-page .proof-tile {
    min-width: 0 !important;
    flex: none !important;
    scroll-snap-align: none !important;
  }
}

/* 10. Hero — stack to single column below 900px */
@media (max-width: 900px) and (min-width: 768px) {
  .home-page .hero-cin-section,
  .home-page .hero-cin-section.ds-hero {
    padding: 2.5rem 0 2rem !important;
    min-height: auto !important;
  }
  .hero-cin-wrap {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  .hero-cin-left {
    align-items: center !important;
    text-align: center !important;
  }
  .home-page .hero-cin-section .hero-cin-left .hero-title,
  .home-page .hero-cin-section .hero-cin-left h1 {
    text-align: center !important;
    font-size: clamp(1.9rem, 6vw, 2.8rem) !important;
  }
  .home-page .hero-cin-section .hero-cin-left .hero-desc,
  .home-page .hero-cin-section .hero-cin-left p {
    text-align: center !important;
    max-width: 100% !important;
  }
  .home-page .hero-cin-left .home-preview-tour-links {
    justify-content: center !important;
  }
  .hero-explore-link {
    justify-content: center;
  }
  .home-page .hero-cin-section .hero-social-media {
    justify-content: center !important;
  }
  .hero-cin-right .home-video-frame {
    max-width: 600px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .home-page .proof-strip-track {
    grid-template-columns: 1fr 1fr !important;
  }
}

