/* ==========================================================================
   WOXGOLF — sections.css
   Page-section styles (header, hero, sections, footer).
   Depends on tokens defined in app.css.
   ========================================================================== */

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 241, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.brand__logo {
  height: 68px;
  width: auto;
  /* drop-shadow follows the gold-frame alpha contour (box-shadow would draw a rectangle) */
  filter: drop-shadow(0 5px 12px rgba(11, 46, 31, 0.38));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 6px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 6px;
  background: var(--surface);
}
.nav-lang__item {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-faint);
}
.nav-lang__item:hover { color: var(--brand-700); }
.nav-lang__item.is-active { background: var(--brand-900); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(30, 122, 68, 0.35), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(201, 162, 39, 0.16), transparent 55%),
    linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-block: 110px 130px;
}

.hero__copy .display-1 { color: #fff; margin-top: 18px; }
.hero__em { font-style: italic; color: var(--gold); }
.hero__sub {
  margin-top: 22px;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.0625rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__motto {
  margin-top: 40px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.9);
}

/* Decorative golf ball */
.hero__visual { position: relative; min-height: 320px; }
.hero__ball {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffff, #d9d9d2 60%, #b9bcb2);
  box-shadow:
    inset -14px -18px 40px rgba(11, 46, 31, 0.18),
    var(--shadow);
  transform: translate(-50%, -50%);
}
.hero__ball::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(rgba(11, 46, 31, 0.16) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: 0.55;
}
.hero__ball--small {
  width: 70px;
  height: 70px;
  top: 24%;
  left: 78%;
}
.hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-block: 28px;
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat__value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-700);
  line-height: 1.1;
}
.stat__label { font-size: 0.8125rem; color: var(--ink-soft); }

/* ---------- Studio section (home) ---------- */
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.studio-copy .lead { margin-top: 18px; }
.studio-copy .link-arrow { margin-top: 26px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.value-card__title {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--brand-800);
}
.value-card p { font-size: 0.9125rem; color: var(--ink-soft); }
.value-card--big { padding: 28px; }

/* ---------- Product cards ---------- */
.product-card { display: flex; flex-direction: column; padding: 26px; }
.product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.product-card__name { font-size: 1.35rem; margin-bottom: 8px; }
.product-card__name a { color: var(--ink); }
.product-card__name a:hover { color: var(--brand-700); }
.product-card__tagline { font-size: 0.9375rem; color: var(--ink-soft); flex-grow: 1; }
.product-card__features { margin-block: 18px; display: grid; gap: 6px; }
.product-card__features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.product-card__features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.product-card__site {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-500);
}
.product-card__site:hover { color: var(--brand-700); text-decoration: underline; }
.product-card__site span { font-size: 0.6875rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: 72px 24px;
  background: linear-gradient(180deg, var(--brand-100), transparent);
}
.page-hero .display-2 { margin-top: 10px; }
.page-hero--product { padding-bottom: 48px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-soft); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand-700); }

/* ---------- Product detail ---------- */
.product-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.product-head__badges { display: flex; gap: 10px; margin-bottom: 16px; }
.product-head .lead { margin-top: 14px; }

.product-side { padding: 26px; }
.product-side__meta { display: grid; gap: 16px; margin-bottom: 22px; }
.product-side .btn { width: 100%; }
.product-side .btn + .btn { margin-top: 10px; }
.product-side__meta dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.product-side__meta dd { font-weight: 500; }

.product-body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.product-body__copy p { margin-bottom: 18px; max-width: 68ch; }

.product-features { padding: 28px; position: sticky; top: 96px; }
.product-features__title {
  font-size: 1.125rem;
  margin-bottom: 14px;
  color: var(--brand-800);
}
.product-features ul { display: grid; gap: 10px; }
.product-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9125rem;
  color: var(--ink-soft);
}
.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-500);
  font-weight: 700;
}

/* ---------- Discipline cards ---------- */
.disc-card { padding: 28px; }
.disc-card__title {
  font-size: 1.25rem;
  color: var(--brand-800);
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.disc-card p { font-size: 0.9375rem; color: var(--ink-soft); }

/* ---------- News ---------- */
.news-list { display: grid; gap: 20px; max-width: 780px; }
.news-item { padding: 28px; }
.news-item__meta { margin-bottom: 10px; }
.news-item__meta time {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.news-item__title { font-size: 1.45rem; margin-bottom: 10px; }
.news-item__title a { color: var(--ink); }
.news-item__title a:hover { color: var(--brand-700); }
.news-item__excerpt { color: var(--ink-soft); margin-bottom: 16px; }

.post-card { padding: 26px; display: flex; flex-direction: column; }
.post-card__date {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.post-card__title { font-size: 1.25rem; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--brand-700); }
.post-card__excerpt { color: var(--ink-soft); font-size: 0.9125rem; flex-grow: 1; margin-bottom: 16px; }

.post-wrap { max-width: 760px; }
.post-head { margin-bottom: 32px; }
.post-head__date {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.post-head .lead { margin-top: 14px; }
.post-body p { margin-bottom: 20px; font-size: 1.0625rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.about-copy p { margin-top: 18px; color: var(--ink-soft); max-width: 66ch; }
.about-build { padding: 26px; margin-bottom: 20px; }
.about-build h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--brand-800); }
.about-build p { font-size: 0.9375rem; color: var(--ink-soft); }

.about-quote {
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-900);
}

.team-card { padding: 28px; text-align: center; }
.team-card__avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-900);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.team-card__name { font-size: 1.2rem; }
.team-card__role {
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.team-card__bio { margin-top: 12px; font-size: 0.875rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.contact-form-card { padding: 32px; }
.contact-aside__title { font-size: 1.35rem; margin-bottom: 14px; }
.contact-aside__email a { font-weight: 600; }
.contact-aside__note { margin-top: 10px; font-size: 0.875rem; color: var(--ink-soft); }
.contact-aside .about-quote { margin-top: 26px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 90% -20%, rgba(201, 162, 39, 0.2), transparent 60%),
    linear-gradient(140deg, var(--brand-900), var(--brand-800));
  color: #fff;
  padding-block: 72px;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band__text { margin-top: 12px; color: rgba(255, 255, 255, 0.8); max-width: 46ch; }

/* ---------- 404 ---------- */
.section-404 { padding-block: 120px; }
.section-404__inner { text-align: center; display: grid; justify-items: center; gap: 18px; }
.section-404__code {
  font-size: clamp(5rem, 14vw, 9rem);
  color: var(--brand-100);
  -webkit-text-stroke: 2px var(--brand-500);
  line-height: 1;
}
.section-404 .lead { justify-self: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(201, 162, 39, 0.25);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 64px 40px;
}
.brand--footer { display: inline-flex; margin-bottom: 16px; }
.footer-logo-chip {
  display: inline-flex;
  padding: 7px 9px;
  background: #fff;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.55);
}
.footer-logo-chip img { height: 64px; width: auto; }
.footer-blurb { font-size: 0.9125rem; max-width: 34ch; }
.footer-motto {
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-col a {
  display: block;
  padding-block: 4px;
  font-size: 0.9125rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer-col a:hover { color: var(--gold); }
.footer-title {
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer-title--gap { margin-top: 24px; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}
.footer-motto--bottom { margin-top: 0; color: rgba(201, 162, 39, 0.8); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding-block: 72px; }
  .hero__grid { grid-template-columns: 1fr; padding-block: 72px 88px; }
  .hero__visual { display: none; }
  .studio-grid, .about-grid, .product-head, .product-body, .contact-grid { grid-template-columns: 1fr; }
  .product-features { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-wrap { min-height: 68px; }
  .brand__logo { height: 52px; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-link { padding-block: 12px; font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 10px; }
  .nav-lang { align-self: flex-start; margin-top: 10px; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-band__inner { justify-content: center; text-align: center; }
}


