/* Golf Carts Unlimited: Adrian, Michigan
   Provisional palette (fairway green + sunny cart yellow) until the owner supplies a logo/sign colours. */

@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* REPLACEABLE IMAGES */
  /* (none: every picture is an <img> in the HTML, listed in assets/manifest.json) */

  --green-950: #0d2417;
  --green-900: #12301f;
  --green-800: #174128;
  --green-700: #1d5c38;
  --green-600: #237045;
  --green-100: #e3efe6;
  --green-50: #f2f7f3;
  --sun-500: #f4c430;
  --sun-400: #f7d35f;
  --sun-100: #fdf3d0;
  --ink: #17221b;
  --ink-soft: #46544b;
  --line: #d5ded7;
  --white: #fff;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);

  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3rem, 2rem + 4vw, 5.5rem);

  --radius: 10px;
  --wrap: 1180px;
  --shadow: 0 10px 30px -12px rgba(13, 36, 23, .28);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--green-700); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .call-bar :focus-visible, .section.dark :focus-visible { outline-color: var(--sun-500); }
.cta-band :focus-visible { outline-color: var(--green-950); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; color: var(--green-900); letter-spacing: .005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun-500); color: var(--green-950); padding: .6rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons: one vocabulary, "Call" is always the primary action */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-call { background: var(--sun-500); color: var(--green-950); }
.btn-call:hover { background: var(--sun-400); color: var(--green-950); }
.btn-line { border-color: currentColor; color: var(--green-800); background: transparent; }
.btn-line:hover { background: var(--green-800); color: var(--white); border-color: var(--green-800); }
.on-dark .btn-line { color: var(--white); }
.on-dark .btn-line:hover { background: var(--white); color: var(--green-900); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green-900); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 6px 18px -10px rgba(0,0,0,.5); }
.header-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; min-height: 72px; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--white); line-height: 1; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; white-space: nowrap; }
@media (min-width: 400px) { .brand-name { font-size: 1.6rem; } }
.brand-name span { color: var(--sun-500); }
.brand-place { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #c9dccf; margin-top: .3rem; }
.header-call { padding: .5rem 1rem; min-height: 44px; font-size: 1rem; }
.header-call .long { display: none; }
.nav-toggle { display: none; }
.site-nav { order: 10; flex-basis: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.site-nav a { color: #e9f1eb; text-decoration: none; font-weight: 500; font-size: 1rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--sun-500); }

.js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 8px; background: transparent; border: 1px solid rgba(255,255,255,.35); color: var(--white); cursor: pointer; }
.js .nav-toggle svg { width: 24px; height: 24px; }
.js .site-nav { display: none; }
.js .site-nav.open { display: block; }
.js .site-nav ul { flex-direction: column; gap: 0; }
.js .site-nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.1rem; }
.js .site-nav li a[aria-current="page"] { color: var(--sun-500); }

@media (min-width: 560px) {
  .header-call .long { display: inline; }
  .header-call .short { display: none; }
}
@media (min-width: 1140px) {
  .header-bar { flex-wrap: nowrap; gap: 1rem; }
  .brand { margin-right: 0; }
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; order: 0; flex-basis: auto; margin-left: auto; }
  .site-nav ul, .js .site-nav ul { flex-direction: row; flex-wrap: nowrap; gap: 1.2rem; }
  .js .site-nav li a { display: inline; padding: .35rem 0; border-bottom: 2px solid transparent; font-size: 1rem; }
  .js .site-nav li a:hover, .js .site-nav li a[aria-current="page"] { color: var(--white); border-bottom-color: var(--sun-500); }
}

/* Hero (home) */
.hero { position: relative; background: var(--green-900); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; gap: 0; }
.hero-copy { padding: 1.5rem 0 var(--space-4); position: relative; z-index: 1; }
.hero-media { order: -1; }
.hero .kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: .03em; color: var(--sun-500); margin-bottom: .6rem; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--sun-500); }
.hero .lead { font-size: var(--step-1); color: #dfeae2; max-width: 36rem; }
.hero-facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .98rem; color: #cfe0d4; }
.hero-facts li { display: flex; align-items: center; gap: .45rem; }
.hero-facts svg { width: 1.1em; height: 1.1em; color: var(--sun-500); flex: none; }
.hero-media { margin: 0 -1.25rem; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 3rem; }
  .hero-copy { padding: var(--space-5) 0; }
  .hero-media { order: 0; }
  .hero-media { margin: var(--space-4) 0; }
  .hero-media img { border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
}

/* Request strip: sales · accessories · service, right under the hero */
.pillars { background: var(--green-50); padding: var(--space-5) 0; }
.section-head { max-width: 46rem; margin-bottom: var(--space-4); }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); }
.pillar-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pillar img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pillar-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pillar-body h3 { margin-bottom: .35rem; }
.pillar-body p { color: var(--ink-soft); }
.pillar-body ul { margin: 0 0 1.2rem; padding-left: 1.1rem; color: var(--ink-soft); }
.pillar-body .more-links { margin: auto 0 0; display: grid; gap: .35rem; }
.more { font-weight: 600; }
.more::after { content: " →"; }

/* Generic sections */
.section { padding: var(--space-5) 0; }
.section.tint { background: var(--green-50); }
.section.dark { background: var(--green-900); color: #e3ece5; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark a:not(.btn) { color: var(--sun-400); }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.flip > :first-child { order: 2; } }
.split figure { margin: 0; }
.split figure img { border-radius: var(--radius); width: 100%; }
.prose { max-width: 42rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Brands we carry */
.brands { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.brands li { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; padding: .55rem 1.2rem; border: 2px solid var(--green-700); border-radius: 8px; color: var(--green-800); background: var(--white); }
.dark .brands li { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--sun-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312301f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Page header (inner pages) */
.page-hero { background: var(--green-900); color: #dfeae2; padding: var(--space-4) 0 var(--space-4); }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lead { font-size: var(--step-1); max-width: 40rem; }
.page-hero .kicker { color: var(--sun-500); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin-bottom: .5rem; display: block; }
.crumbs { font-size: .9rem; margin-bottom: 1rem; color: #b9cdbf; }
.crumbs a { color: #d5e4d9; }
.page-media { margin: 0 0 var(--space-4); }
.page-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.lift { margin-top: calc(-1 * var(--space-4) + 0px); }

/* Cards (services widget etc.) */
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.card p { color: var(--ink-soft); margin: 0; }
.tint .card { border-color: transparent; box-shadow: 0 2px 0 var(--line); }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--green-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-700); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .7rem 0 0; color: var(--ink-soft); }

/* Visit / hours */
.visit-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }
.hours { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.hours tr { border-bottom: 1px solid var(--line); }
.dark .hours tr { border-color: rgba(255,255,255,.15); }
.hours th, .hours td { text-align: left; padding: .65rem 0; font-weight: 500; vertical-align: top; }
.hours th { font-weight: 600; width: 40%; }
.hours [data-ss-field="close"]:not(:empty)::before { content: " – "; }
.hours .note { display: block; font-size: .9rem; color: var(--ink-soft); font-weight: 400; }
.dark .hours .note { color: #b9cdbf; }
.address { font-style: normal; font-size: var(--step-1); line-height: 1.5; margin-bottom: 1rem; }
.big-phone { font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 700; text-decoration: none; color: inherit; display: inline-block; line-height: 1.1; }
.dark .big-phone { color: var(--sun-500) !important; }

/* CTA band */
.cta-band { background: var(--sun-500); color: var(--green-950); padding: var(--space-4) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.cta-band h2 { color: var(--green-950); margin: 0 0 .25rem; font-size: var(--step-3); }
.cta-band p { margin: 0; font-size: var(--step-1); }
.cta-band .btn-call { background: var(--green-900); color: var(--white); }
.cta-band .btn-call:hover { background: var(--green-800); color: var(--white); }
.cta-band .btn-line { color: var(--green-950); }
.cta-band .btn-line:hover { background: var(--green-950); color: var(--sun-500); border-color: var(--green-950); }

/* Notice (e.g. "call to check stock") */
.note-box { background: var(--sun-100); border-left: 5px solid var(--sun-500); padding: 1.1rem 1.3rem; border-radius: 6px; margin: 1.5rem 0; }
.note-box p:last-child { margin: 0; }

/* Contact form */
.form { display: grid; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form label { font-weight: 600; display: block; margin-bottom: .3rem; }
.form input, .form textarea { width: 100%; font: inherit; padding: .75rem .85rem; border: 1.5px solid #a9b8ad; border-radius: 8px; background: var(--white); color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 3px solid var(--sun-500); outline-offset: 1px; border-color: var(--green-700); }
.form textarea { min-height: 9rem; resize: vertical; }
.form .btn { justify-self: start; }
.form-status { font-weight: 600; margin: 0; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #9b1c1c; }

/* Footer */
.site-footer { background: var(--green-950); color: #c6d6cb; padding: var(--space-5) 0 var(--space-3); font-size: .98rem; }
.site-footer a { color: #e9f1eb; }
.site-footer a:hover { color: var(--sun-400); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.3rem; color: var(--white); margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer address { font-style: normal; }
.footer-phone { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--sun-500) !important; text-decoration: none; }
.fine { border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--space-4); padding-top: var(--space-3); font-size: .85rem; color: #9fb4a6; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; }
.fine p { margin: 0; }
.fine a { color: #c6d6cb; }

/* Mobile call bar */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--green-950); box-shadow: 0 -6px 18px -8px rgba(0,0,0,.5); }
.call-bar .btn { flex: 1; min-height: 46px; padding: .5rem .75rem; font-size: 1rem; }
@media (max-width: 759px) { body { padding-bottom: 72px; } }
@media (min-width: 760px) { .call-bar { display: none; } }

/* 404 */
.notfound { padding: var(--space-5) 0; }
.notfound ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; list-style: none; }
