/* Major's Golf Cart Rentals. Two families: Fraunces (headings), Inter (body). Six font sizes. 4px spacing grid. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ivory: #fbf8f1;
  --white: #ffffff;
  --sand: #f2ecdd;
  --ocean: #0b3c5d;
  --ocean-deep: #072a42;
  --turq: #3fb8af;
  --turq-ink: #17706b;
  --turq-soft: #e3f4f2;
  --gold: #c9a96a;
  --gold-deep: #8a6b2e;
  --ink: #12303f;
  --muted: #4b6270;
  --line: #e4dcc8;
  --danger: #a3302a;
  --ok: #1d6b45;

  --t-1: 0.875rem;
  --t-2: 1rem;
  --t-3: 1.25rem;
  --t-4: 1.75rem;
  --t-5: 2.5rem;
  --t-6: 3.5rem;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  --r: 16px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(7, 42, 66, 0.06), 0 8px 24px rgba(7, 42, 66, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1160px;
  --bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font-body); font-size: var(--t-2); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--turq-ink); }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--ocean); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 var(--s-4); }
h1 { font-size: var(--t-6); letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: var(--t-5); }
h3 { font-size: var(--t-4); line-height: 1.2; }
p { margin: 0 0 var(--s-4); }
.lead { font-size: var(--t-3); color: var(--muted); }
.eyebrow { font-size: var(--t-1); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--turq-ink); margin: 0 0 var(--s-3); }
.muted { color: var(--muted); }
.small { font-size: var(--t-1); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-4); }
.section { padding: var(--s-16) 0; }
.section--tight { padding: var(--s-10) 0; }
.section--sand { background: var(--sand); }
.section--ocean { background: var(--ocean); color: var(--ivory); }
.section--ocean h2, .section--ocean h3 { color: var(--white); }
.section--ocean .eyebrow { color: var(--gold); }
.section-head { max-width: 640px; margin-bottom: var(--s-10); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ocean); color: var(--white); padding: var(--s-3) var(--s-4); z-index: 100; }
.skip:focus { left: var(--s-2); top: var(--s-2); }

/* Buttons: default, hover, focus, active, disabled */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-8); border-radius: 999px; border: 2px solid transparent;
  font: 600 var(--t-2)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--ocean); color: var(--white); }
.btn--primary:hover { background: var(--ocean-deep); color: var(--white); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--ocean-deep); }
.btn--gold:hover { background: #d8bb7e; color: var(--ocean-deep); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn--ghost:hover { background: var(--ocean); color: var(--white); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--light:hover { background: var(--white); color: var(--ocean); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 var(--s-6); font-size: var(--t-1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s-4); }
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; line-height: 1.1; }
.brand b { font-family: var(--font-head); font-size: var(--t-3); color: var(--ocean); letter-spacing: -0.02em; }
.brand span { font-size: var(--t-1); color: var(--muted); letter-spacing: 0.04em; }
.nav { display: none; }
.nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--t-1); border-radius: 999px; }
.nav a:hover { color: var(--turq-ink); background: var(--turq-soft); }
.nav a[aria-current="page"] { color: var(--ocean); background: var(--turq-soft); }
.header-cta .btn { white-space: nowrap; }
.header-cta { display: none; gap: var(--s-2); align-items: center; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; color: var(--ocean); cursor: pointer; }
.menu-btn:hover { background: var(--turq-soft); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--ivory); padding: var(--s-2) 0 var(--s-4); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--s-2); color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--turq-ink); }
@media (min-width: 1180px) {
  .nav, .header-cta { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: var(--s-2); padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom)); background: rgba(251,248,241,0.98); border-top: 1px solid var(--line); }
.action-bar .btn { min-height: 48px; padding: 0 var(--s-2); font-size: var(--t-1); }
body { padding-bottom: var(--bar-h); }
@media (min-width: 1180px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* Hero */
.hero { position: relative; background: var(--ocean-deep); color: var(--white); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,42,66,0.55) 0%, rgba(7,42,66,0.35) 45%, rgba(7,42,66,0.85) 100%); }
.hero-in { position: relative; padding-top: var(--s-16); padding-bottom: var(--s-8); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lead { color: rgba(255,255,255,0.9); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-6) 0 var(--s-8); }
.hero--inner .hero-in { padding-top: var(--s-12); padding-bottom: var(--s-12); }
.hero--inner h1 { font-size: var(--t-5); max-width: none; }

/* Search widget */
.search { background: var(--white); color: var(--ink); border-radius: var(--r); padding: var(--s-4); box-shadow: var(--shadow); display: grid; gap: var(--s-3); }
.search label { display: block; font-size: var(--t-1); font-weight: 600; color: var(--muted); margin-bottom: var(--s-1); }
.field, .search select, .search input { width: 100%; min-height: 48px; padding: 0 var(--s-3); border: 1.5px solid var(--line); border-radius: var(--s-3); background: var(--white); font: 500 var(--t-2)/1.2 var(--font-body); color: var(--ink); }
.search input:hover, .search select:hover, .field:hover { border-color: var(--turq); }
@media (min-width: 760px) { .search { grid-template-columns: 1.2fr 1.2fr 1fr auto; align-items: end; padding: var(--s-5); } .search .btn { min-height: 48px; } }

/* Cards */
.grid { display: grid; gap: var(--s-6); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(7,42,66,0.04); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; gap: var(--s-2); }
.card-body h3 { font-size: var(--t-3); margin: 0; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s-3); border-radius: 999px; background: var(--turq-soft); color: var(--turq-ink); font-size: var(--t-1); font-weight: 600; }
.tag--gold { background: #f6ecd6; color: var(--gold-deep); }
.price { font-family: var(--font-head); font-size: var(--t-4); color: var(--ocean); font-weight: 600; letter-spacing: -0.02em; }
.price small { font: 500 var(--t-1)/1 var(--font-body); color: var(--muted); letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); font-size: var(--t-1); color: var(--muted); }
.ticks li { padding-left: var(--s-6); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 6px; border-left: 2px solid var(--turq-ink); border-bottom: 2px solid var(--turq-ink); transform: rotate(-45deg); }
.card-foot { margin-top: auto; padding-top: var(--s-3); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }

.feature { padding: var(--s-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.feature h3 { font-size: var(--t-3); }
.feature p { margin: 0; color: var(--muted); }
.num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ocean-deep); font-family: var(--font-head); font-weight: 600; margin-bottom: var(--s-3); }

.split { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-6); margin: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.quote p { margin: 0; font-family: var(--font-head); font-size: var(--t-3); line-height: 1.4; color: var(--ocean); }
.quote cite { font-style: normal; font-size: var(--t-1); color: var(--muted); }
.stars { color: var(--gold-deep); letter-spacing: 2px; font-size: var(--t-2); }

details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: var(--s-3); }
summary { cursor: pointer; list-style: none; min-height: 56px; padding: var(--s-4) var(--s-5); font-weight: 600; color: var(--ocean); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: var(--t-4); line-height: 1; color: var(--turq-ink); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 var(--s-5) var(--s-5); color: var(--muted); }
details > div p:last-child { margin-bottom: 0; }

.cta-band { text-align: center; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }

/* Forms */
.form { display: grid; gap: var(--s-4); }
.form .row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form .row--2 { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-size: var(--t-1); font-weight: 600; color: var(--ink); margin-bottom: var(--s-1); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: var(--s-3); border: 1.5px solid var(--line); border-radius: var(--s-3); background: var(--white); font: 400 var(--t-2)/1.4 var(--font-body); color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--turq); }
.form input[aria-invalid="true"], .form select[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: var(--t-1); margin: var(--s-1) 0 0; min-height: 0; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; }
.check input { width: 24px; min-height: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--ocean); }
.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); border: 1px solid var(--line); background: var(--white); }
.notice--ok { border-color: #b9dcc9; background: #eef8f2; color: var(--ok); }
.notice--warn { border-color: #e8d29d; background: #fbf3de; color: #6b5214; }
.notice--bad { border-color: #e7b9b5; background: #fbeceb; color: var(--danger); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-6); box-shadow: 0 1px 2px rgba(7,42,66,0.04); }

/* Booking flow */
.steps { display: flex; gap: var(--s-2); margin: 0 0 var(--s-8); padding: 0; list-style: none; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-1); font-weight: 600; color: var(--muted); }
.steps li span { width: 28px; height: 28px; border-radius: 50%; background: var(--line); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.steps li[aria-current="step"] { color: var(--ocean); }
.steps li[aria-current="step"] span { background: var(--ocean); color: var(--white); }
.steps li.done span { background: var(--turq); color: var(--ocean-deep); }
.opt { display: grid; gap: var(--s-4); padding: var(--s-5); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: var(--s-4); }
@media (min-width: 640px) { .opt { grid-template-columns: 160px 1fr auto; align-items: center; } }
.opt.is-off { opacity: 0.65; }
.opt .thumb { aspect-ratio: 4 / 3; border-radius: var(--s-3); overflow: hidden; background: var(--sand); }
.opt .thumb img { width: 100%; height: 100%; object-fit: cover; }
.opt h3 { font-size: var(--t-3); margin: 0 0 var(--s-1); }
.opt .side { text-align: left; display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .opt .side { text-align: right; justify-items: end; } }
.summary { display: grid; gap: var(--s-2); }
.summary div { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-2) 0; border-bottom: 1px dashed var(--line); }
.summary div:last-child { border-bottom: 0; font-weight: 600; color: var(--ocean); font-size: var(--t-3); }
.ref { font-family: var(--font-head); font-size: var(--t-5); color: var(--ocean); letter-spacing: -0.02em; }
.hidden { display: none !important; }

table.simple { width: 100%; border-collapse: collapse; font-size: var(--t-1); }
table.simple th, table.simple td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
table.simple td a { display: inline-flex; align-items: center; min-height: 44px; }
table.simple th { color: var(--muted); font-weight: 600; width: 38%; }

/* Footer */
.site-footer { background: var(--ocean-deep); color: rgba(255,255,255,0.82); padding: var(--s-16) 0 var(--s-8); }
.site-footer h3 { color: var(--white); font-size: var(--t-3); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; gap: var(--s-8); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-1); }
.foot-list a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.18); margin-top: var(--s-10); padding-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--t-1); }

.stage-bar { background: #fbf3de; color: #6b5214; border-bottom: 1px solid #e8d29d; text-align: center; font-size: var(--t-1); font-weight: 600; padding: var(--s-2) var(--s-4); }
.ph-label { position: absolute; left: var(--s-2); top: var(--s-2); background: #fbf3de; color: #6b5214; border: 1px solid #e8d29d; border-radius: 6px; font-size: var(--t-1); font-weight: 600; padding: 2px 8px; z-index: 2; }
.map { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--sand); }

@media (max-width: 639px) {
  h1 { font-size: var(--t-5); }
  h2 { font-size: var(--t-4); }
  .section { padding: var(--s-12) 0; }
  .hero-in { padding-top: var(--s-10); padding-bottom: var(--s-6); }
  .hero--inner h1 { font-size: var(--t-4); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
