/* =========================================================
   GolfSimsVA — Design Tokens
   Palette: Navy #101A33, Gold #F2A71B
   Type: Newsreader (display/serif) + Work Sans (body/sans)
   Motif: seven-ball arc — the brand mark, reused as a
   structural device (section dividers, list markers, hero)
   ========================================================= */

:root {
  --navy: #101A33;
  --navy-soft: #1B2745;
  --navy-tint: #E7EAF2;
  --gold: #F2A71B;
  --gold-soft: #F7C56B;
  --paper: #F6F4EF;
  --ink: #171C2A;
  --ink-muted: #4A5169;
  --line: #D8DCE6;
  --white: #FFFFFF;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1140px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Skip link / focus ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(242,167,27,0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand svg { height: 26px; width: auto; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}
.brand-name strong { color: var(--gold); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius);
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--gold-soft); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(242,167,27,0.25);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 32px 20px;
  }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-cta { display: inline-block; margin-top: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.12s ease, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 88px 0 56px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.05rem;
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 22px;
  font-weight: 500;
}
.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Quick-lead capture form (low-friction, embedded in hero) ---------- */
.quick-lead {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 460px;
}
.quick-lead p.ql-note {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.quick-lead .form-row { margin-bottom: 14px; }
.quick-lead .form-row label {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  margin-bottom: 5px;
}
.quick-lead input {
  background: rgba(255,255,255,0.95);
}
.quick-lead .btn { width: 100%; text-align: center; }
.quick-lead-more {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
}
.quick-lead-more:hover { color: var(--gold-soft); }

/* Light-background variant, used on interior page-hero sections */
.page-hero .quick-lead { margin-top: 30px; }

/* ---------- Progressive disclosure for optional detail fields ---------- */
details.detail-toggle {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 4px 18px;
  margin: 6px 0 24px;
  background: var(--paper);
}
details.detail-toggle > summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.96rem;
  list-style: none;
}
details.detail-toggle > summary::-webkit-details-marker { display: none; }
details.detail-toggle > summary::before {
  content: "+ ";
  color: var(--gold);
  font-weight: 700;
}
details.detail-toggle[open] > summary::before { content: "– "; }
details.detail-toggle[open] { padding-bottom: 14px; }
.hero-arc-frame {
  position: relative;
}
.hero-arc-frame svg { width: 100%; height: auto; }

/* ---------- Hero photo (replaces arc illustration) ---------- */
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(242,167,27,0.35);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-arc-frame { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-photo { order: -1; margin-bottom: 8px; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
  border-bottom: 4px solid var(--gold);
}
.page-hero .wrap { max-width: 780px; }
.page-hero .hero-eyebrow { margin-bottom: 10px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  margin: 0 0 16px;
  font-weight: 500;
}
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 60ch; margin: 0; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.tight { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-tint { background: var(--navy-tint); }

.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin: 0 0 10px;
}
.section-navy .kicker { color: var(--gold-soft); }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  line-height: 1.2;
}
.section-head p { color: var(--ink-muted); font-size: 1.05rem; margin: 0; }
.section-navy .section-head p { color: rgba(255,255,255,0.78); }

/* ---------- Arc divider (brand motif as structural device) ---------- */
.arc-divider {
  display: flex;
  justify-content: center;
  margin: 0 0 40px;
}
.arc-divider svg { height: 20px; width: auto; }

/* ---------- Trajectory steps (process, uses arc motif as sequence marker) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step .ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.22rem;
  margin: 0 0 10px;
}
.step p { color: var(--ink-muted); margin: 0; font-size: 0.98rem; }

@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Feature grid (three markets) ---------- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.market-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.market-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.market-photo {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 60%, var(--gold) 165%);
  position: relative;
  overflow: hidden;
}
.market-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.market-photo .ph-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--sans);
}
.market-body { padding: 22px 22px 26px; }
.market-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.market-body p { color: var(--ink-muted); font-size: 0.96rem; margin: 0 0 14px; }
.market-link { color: var(--navy); font-weight: 600; font-size: 0.92rem; }
.market-card:hover .market-link { color: var(--gold); }

@media (max-width: 860px) {
  .market-grid { grid-template-columns: 1fr; }
}

/* ---------- Photo placeholder blocks ---------- */
.photo-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, var(--gold) 180%);
  border-radius: var(--radius);
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.photo-block .ph-tag {
  background: rgba(16,26,51,0.65);
  color: var(--white);
  font-size: 0.8rem;
  padding: 7px 12px;
  border-radius: var(--radius);
  font-family: var(--sans);
}

/* ---------- Two column (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 0 0 16px; }
.split p { color: var(--ink-muted); margin: 0 0 16px; }
.split ul { margin: 0 0 22px; padding-left: 20px; color: var(--ink-muted); }
.split li { margin-bottom: 8px; }

@media (max-width: 860px) {
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .split { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  margin: 0 0 6px;
}
.stat-label { font-size: 0.92rem; color: rgba(255,255,255,0.75); }

@media (max-width: 700px) {
  .stat-row { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- Portfolio grid ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.portfolio-item .photo-block { min-height: 200px; border-radius: 0; }
.portfolio-caption { padding: 16px 18px 20px; }
.portfolio-caption h3 { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; margin: 0 0 4px; }
.portfolio-caption p { margin: 0; color: var(--ink-muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  margin: 0 0 20px;
  color: var(--navy);
}
.testimonial cite { font-style: normal; color: var(--ink-muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 68px 0;
}
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 16px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 52ch; margin: 0 auto 30px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.98rem;
  background: var(--paper);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Contact info list ---------- */
.contact-info { list-style: none; margin: 0; padding: 0; }
.contact-info li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .ci-label { font-weight: 600; color: var(--navy); min-width: 110px; }
.contact-info .ci-value { color: var(--ink-muted); }

/* ---------- Service area chips (for hidden city landing pages later) ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  background: var(--white);
}

/* ---------- Build options (permanent vs retractable, side by side) ---------- */
.build-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 46px;
}
.build-option {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.build-option .photo-block {
  min-height: 230px;
  border-radius: 0;
}
.build-option-body { padding: 26px 26px 30px; }
.build-option-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 10px;
}
.build-option-body > p {
  color: var(--ink-muted);
  font-size: 0.98rem;
  margin: 0 0 16px;
}
.build-option-body ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.build-option-body li { margin-bottom: 7px; }

.build-shared {
  border-top: 1px solid var(--line);
  padding-top: 38px;
}
.build-shared h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 18px;
  text-align: center;
}
.build-shared ul {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.build-shared li {
  color: var(--ink-muted);
  font-size: 0.97rem;
  padding-left: 22px;
  position: relative;
}
.build-shared li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 860px) {
  .build-options { grid-template-columns: 1fr; }
  .build-shared ul { grid-template-columns: 1fr; }
}

/* ---------- Full-width section photo ---------- */
.section-photo {
  margin: 0 auto 38px;
  max-width: 860px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.section-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Simple gold-dot bullet list ---------- */
.build-shared-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
}
.build-shared-list li {
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  padding-left: 26px;
  margin-bottom: 16px;
  position: relative;
}
.build-shared-list li:last-child { margin-bottom: 0; }
.build-shared-list li strong { color: var(--navy); font-weight: 600; }
.build-shared-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.7); font-size: 0.93rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center-text { text-align: center; }
