/* ==========================================================================
   Trust Golf AU — single-page store
   Palette: deep fairway green, warm gold (trust/premium), sand background
   Type: Sora (display) + Inter (body) + IBM Plex Mono (specs/stats)
   Signature: the "dimple row" divider — a line of small circles referencing
   a golf ball's dimple pattern — and a "flight arc" that draws itself under
   links/buttons on hover, echoing the "longer, stronger ball flight" idea.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  --green:      #163d2c;   /* deep fairway green */
  --green-2:    #0f2b1f;
  --sand:       #f6f3ea;   /* background */
  --sand-2:     #ece5d3;
  --ink:        #1c231e;
  --gold:       #c8971f;   /* premium/trust accent */
  --gold-2:     #a97b16;
  --white:      #ffffff;
  --line:       rgba(28,35,30,0.12);

  --display: 'Sora', 'Inter', sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --radius: 10px;
  --max: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

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

h1,h2,h3,.display{ font-family: var(--display); font-weight:700; line-height:1.12; margin:0 0 .4em; letter-spacing:-0.01em; }
h1{ font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight:800; }
h2{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3{ font-size:1.1rem; }
p{ margin:0 0 1em; }
.lede{ font-size:1.08rem; color: rgba(28,35,30,.75); max-width:56ch; }

.eyebrow{
  font-family: var(--mono); font-size:.72rem; letter-spacing:.14em;
  text-transform:uppercase; color: var(--gold-2);
}

/* ---------- dimple row (signature divider) ---------- */
.dimples{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin: 56px 0;
}
.dimples span{
  width:7px; height:7px; border-radius:50%;
  background: var(--green);
  opacity:.55;
}
.dimples span:nth-child(3n){ background: var(--gold); opacity:.9; }
.dimples.tight{ margin: 26px 0; }

/* ---------- flight-arc link underline ---------- */
.arc-link{ position:relative; padding-bottom:3px; }
.arc-link::after{
  content:""; position:absolute; left:0; bottom:-2px; width:100%; height:6px;
  background: none;
  border-bottom: 2px solid var(--gold);
  border-radius: 50%;
  transform: scaleX(0) translateY(4px);
  transform-origin: left;
  transition: transform .3s ease;
}
.arc-link:hover::after, .arc-link.active::after{ transform: scaleX(1) translateY(4px); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--display); font-weight:700; font-size:.92rem;
  padding: 14px 26px; border-radius: 100px; border:1px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--gold); color: var(--green-2); }
.btn-primary:hover{ background: var(--gold-2); }
.btn-ghost{ background: transparent; border-color: var(--white); color: var(--white); }
.btn-ghost:hover{ background: var(--white); color: var(--green); }
.btn-outline{ background: transparent; border-color: var(--green); color: var(--green); }
.btn-outline:hover{ background: var(--green); color:var(--white); }
.btn-sm{ padding:10px 18px; font-size:.82rem; }
.btn-block{ width:100%; justify-content:center; }

/* ---------- announcement bar ---------- */
.announce{
  background: var(--ink); color: var(--sand);
  font-family: var(--mono); font-size:.76rem; letter-spacing:.02em;
  padding: 9px 0; text-align:center;
}
.announce .wrap{ display:flex; justify-content:center; gap:22px; flex-wrap:wrap; }
.announce b{ color: var(--gold); font-weight:500; }

/* ---------- header ---------- */
.site-header{
  background: var(--sand); position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--line);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; padding: 16px 24px; }
.brand{ font-family: var(--display); font-weight:800; font-size:1.25rem; color: var(--green); }
.brand span{ color: var(--gold-2); }
.nav-links{ display:flex; gap:30px; align-items:center; }
.nav-links a{ font-family: var(--mono); font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color: var(--ink); }
.header-icons{ display:flex; align-items:center; gap:18px; }
.icon-btn{ background:none; border:none; font-size:1.05rem; color: var(--green); }
.nav-toggle{ display:none; background:none; border:none; font-size:1.4rem; color:var(--green); }

@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0; background: var(--sand);
    border-bottom:1px solid var(--line);
    flex-direction:column; align-items:flex-start; padding:20px 24px; gap:16px;
    display:none;
  }
  .nav-links.open{ display:flex; }
}

/* ---------- hero ---------- */
.hero{ padding: 64px 0 40px; }
.hero-inner{ display:grid; grid-template-columns: 1.05fr .95fr; gap:48px; align-items:center; }
@media (max-width: 880px){ .hero-inner{ grid-template-columns:1fr; } }
.hero-ball-wrap{ display:flex; align-items:center; justify-content:center; }

/* ---------- trust stats bar ---------- */
.stats-bar{ background: var(--green); color: var(--sand); padding: 36px 0; }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align:center; }
.stats-grid .num{ font-family: var(--mono); font-size:1.6rem; color: var(--gold); }
.stats-grid .label{ font-size:.82rem; color: rgba(246,243,234,.75); }
@media (max-width: 760px){ .stats-grid{ grid-template-columns: 1fr 1fr; } }

/* ---------- section ---------- */
.section{ padding: 72px 0; }
.section-head{ margin-bottom: 36px; max-width: 70ch; }
.section-alt{ background: var(--sand-2); }

/* ---------- product grid ---------- */
.grid{ display:grid; gap: 26px; }
.grid.cols-3{ grid-template-columns: repeat(3,1fr); }
@media (max-width: 980px){ .grid.cols-3{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid.cols-3{ grid-template-columns: 1fr; } }

.product-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 30px rgba(22,61,44,.12); }
.product-media{
  aspect-ratio: 4/3; background: var(--green); position:relative;
  display:flex; align-items:center; justify-content:center;
}
.badge{
  position:absolute; top:12px; left:12px;
  font-family: var(--mono); font-size:.68rem; letter-spacing:.06em; text-transform:uppercase;
  background: var(--gold); color: var(--green-2); padding:4px 10px; border-radius: 100px;
}
.product-body{ padding: 20px 22px 24px; flex:1; display:flex; flex-direction:column; }
.product-spec{ font-family: var(--mono); font-size:.72rem; letter-spacing:.04em; color: var(--gold-2); text-transform:uppercase; margin-bottom:6px; }
.product-title{ font-family: var(--display); font-weight:700; font-size:1.1rem; margin-bottom:8px; }
.product-desc{ font-size:.88rem; color: rgba(28,35,30,.72); flex:1; }
.product-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:16px; }
.price{ font-family: var(--mono); font-weight:500; font-size:1.05rem; }

/* ---------- golf ball svg dimple pattern (decorative, used in hero + media placeholders) ---------- */
.dimple-fill{ opacity:.9; }

/* ---------- two-col ---------- */
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; }
@media (max-width: 880px){ .two-col{ grid-template-columns: 1fr; } }

.panel{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* ---------- testimonials ---------- */
.testimonial{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display:flex; flex-direction:column; gap:12px;
}
.stars{ color: var(--gold); font-size:.9rem; letter-spacing:2px; }
.testi-name{ font-family: var(--mono); font-size:.75rem; color: rgba(28,35,30,.6); }

/* ---------- faq accordion ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; background:none; border:none; text-align:left;
  padding: 20px 0; display:flex; justify-content:space-between; align-items:center;
  font-family: var(--display); font-weight:700; font-size:1rem; color: var(--ink);
}
.faq-q .plus{ font-family: var(--mono); font-size:1.2rem; color: var(--gold-2); transition: transform .2s ease; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height .25s ease;
  font-size:.92rem; color: rgba(28,35,30,.75);
}
.faq-item.open .faq-a{ max-height: 220px; padding-bottom: 20px; }

/* ---------- contact ---------- */
.field{ margin-bottom:18px; }
label{ display:block; font-family: var(--mono); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:6px; color: var(--green); }
input, textarea{
  width:100%; padding: 12px 14px; font-family: var(--body); font-size:.95rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink);
}
input:focus, textarea:focus{ outline: 2px solid var(--gold); outline-offset:1px; }
textarea{ min-height:130px; resize:vertical; }

/* ---------- footer ---------- */
.site-footer{ background: var(--green-2); color: rgba(246,243,234,.8); padding: 52px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:32px; }
.footer-grid h4{ font-family: var(--mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color: var(--gold); margin-bottom:14px; }
.footer-grid li{ margin-bottom:8px; font-size:.9rem; }
.footer-grid a:hover{ color: var(--gold); }
.footer-bottom{
  margin-top:36px; padding-top:20px; border-top:1px solid rgba(246,243,234,.15);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-family: var(--mono); font-size:.7rem; color: rgba(246,243,234,.5);
}
@media (max-width: 720px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
