/* Wakehive — Utah boat rentals */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --link: #0066cc;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --on-accent: #ffffff;
  --nav-bg: rgba(250, 250, 252, 0.8);
  --localnav-bg: rgba(255, 255, 255, 0.72);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --radius: 28px;
  --gutter: max(22px, env(safe-area-inset-left));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101012;
    --card: #1d1d1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #424245;
    --link: #2997ff;
    --accent: #0071e3;
    --nav-bg: rgba(22, 22, 23, 0.8);
    --localnav-bg: rgba(22, 22, 23, 0.72);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(0, 125, 250, 0.6); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
sup { font-size: 0.6em; line-height: 0; }
sup a { color: inherit; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.container { width: min(1024px, 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - var(--gutter) * 2); }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 22px;
  border: 1px solid transparent; border-radius: 980px;
  background: var(--accent); color: var(--on-accent);
  font: inherit; font-size: 17px; font-weight: 400; letter-spacing: -0.022em;
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 28px; padding: 4px 12px; font-size: 12px; letter-spacing: -0.01em; }
.btn--lg { min-height: 52px; padding: 14px 28px; }
.btn--ghost { background: transparent; color: var(--link); border-color: var(--link); }
.btn--ghost:hover { background: var(--link); color: var(--bg); }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; }
.link-more svg { width: 10px; height: 10px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover { text-decoration: underline; }

/* Global nav */
.globalnav {
  position: relative; z-index: 30;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.globalnav__inner { display: flex; align-items: center; gap: 24px; height: 44px; width: min(1024px, 100% - var(--gutter) * 2); margin-inline: auto; font-size: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand img { border-radius: 5px; }
.brand:hover { text-decoration: none; }
.globalnav__list { display: flex; gap: 28px; margin-left: auto; }
.globalnav__list a, .globalnav__phone { color: var(--text); opacity: .8; transition: opacity .2s; }
.globalnav__list a:hover, .globalnav__phone:hover { opacity: 1; text-decoration: none; }

/* Local nav */
.localnav {
  position: sticky; top: 0; z-index: 20;
  background: var(--localnav-bg);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.localnav__inner { display: flex; align-items: center; gap: 20px; height: 52px; width: min(1024px, 100% - var(--gutter) * 2); margin-inline: auto; }
.localnav__title { color: var(--text); font-size: 21px; font-weight: 600; letter-spacing: .011em; margin-right: auto; }
.localnav__title:hover { text-decoration: none; }
.localnav__menu { display: flex; gap: 24px; font-size: 12px; }
.localnav__menu a { color: var(--text); opacity: .8; }
.localnav__menu a[aria-current="true"] { opacity: .5; pointer-events: none; }
.localnav__toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.localnav__toggle svg { transform: rotate(90deg); transition: transform .3s; }
.localnav__toggle[aria-expanded="true"] svg { transform: rotate(-90deg); }

/* Hero */
.hero { padding-top: 64px; text-align: center; overflow: hidden; }
.hero__icon { margin: 0 auto 18px; border-radius: 26px; box-shadow: 0 10px 30px rgba(10, 92, 255, .25); }
.eyebrow { font-size: 21px; font-weight: 600; color: var(--muted); letter-spacing: .011em; }
.hero__title { margin-top: 6px; font-size: clamp(48px, 8vw, 96px); line-height: 1.04; letter-spacing: -0.015em; font-weight: 700; }
.hero__lead { max-width: 640px; margin: 22px auto 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--muted); letter-spacing: .009em; }
.hero__ctas { display: flex; gap: 28px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.hero__art { margin: 56px auto 0; width: min(1200px, 100%); }
.hero__art svg { width: 100%; height: auto; aspect-ratio: 1200 / 520; }

/* Sections */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 44px; }
.headline { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.009em; font-weight: 700; }
.headline--center { text-align: center; }
.section__lead { max-width: 660px; margin-top: 18px; font-size: 21px; line-height: 1.38; color: var(--muted); letter-spacing: .011em; }
.section__lead--center { margin-inline: auto; text-align: center; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.stats li { border-top: 1px solid var(--line); padding-top: 22px; }
.stat__num {
  display: block; font-size: clamp(48px, 6vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0a84ff, #5ac8fa); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { display: block; margin-top: 12px; font-size: 17px; color: var(--muted); }

/* Gallery (horizontal scroll) */
.gallery { position: relative; }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(372px, 82vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 10px max(var(--gutter), calc((100vw - 1024px) / 2)) 30px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1024px) / 2));
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline-offset: -4px; }
.gallery__nav { display: flex; justify-content: flex-end; gap: 14px; width: min(1024px, 100% - var(--gutter) * 2); margin: 6px auto 0; }
.gallery__btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); cursor: pointer; transition: background .2s, opacity .2s;
}
.gallery__btn:hover { background: color-mix(in srgb, var(--text) 14%, transparent); }
.gallery__btn:disabled { opacity: .35; cursor: default; }

.card {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.25,.1,.25,1), box-shadow .35s;
}
.card:hover { transform: scale(1.012); box-shadow: 0 8px 36px rgba(0,0,0,.12); }
.card__art { width: 100%; height: auto; aspect-ratio: 240 / 140; background: var(--tile); padding: 18px 8px 0; }
.card__body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__kicker { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card__title { font-size: 28px; line-height: 1.14; letter-spacing: .007em; }
.card__body > p:not(.card__kicker):not(.card__price) { color: var(--muted); }
.card__price { margin-top: auto; padding-top: 10px; font-size: 17px; }

.lake-art { aspect-ratio: 16 / 10; background: linear-gradient(180deg, var(--sky), #ffffff 140%); }
.lake-art svg { width: 100%; height: 100%; }

/* Feature modules */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 72px; }
.feature--rev .feature__art { order: 2; }
.feature__art { aspect-ratio: 1; border-radius: var(--radius); background: var(--tile); display: grid; place-items: center; }
.feature__art svg { width: 55%; height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.15)); }
.feature__text h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: 0; }
.feature__text p { margin-top: 16px; font-size: 19px; line-height: 1.42; color: var(--muted); }
.feature__text .link-more { margin-top: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 34px 30px 38px; box-shadow: var(--shadow); }
.step__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(160deg, #1fb6ff, #0a5cff); color: #fff; font-weight: 700; font-size: 21px;
}
.step h3 { margin-top: 22px; font-size: 24px; line-height: 1.17; }
.step p { margin-top: 10px; color: var(--muted); }

/* Pricing */
.table-wrap { margin-top: 44px; overflow-x: auto; border-radius: var(--radius); background: var(--bg-alt); }
.pricing { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 520px; }
.pricing th, .pricing td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.pricing thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.pricing tbody tr:last-child > * { border-bottom: 0; }
.pricing tbody th { font-weight: 600; }
.pricing td { font-variant-numeric: tabular-nums; }
.included { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; color: var(--muted); }
.included li { display: inline-flex; align-items: center; gap: 8px; }
.included svg { color: #30a46c; }

/* Booking form */
.booking { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; background: var(--card); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, .2); }
.field [aria-invalid="true"] { border-color: #e30000; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; }
.booking__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.is-ok { color: #1f8a4c; }
.form-status.is-err { color: #e30000; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-size: 21px; font-weight: 600; letter-spacing: .011em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 30px; line-height: 1; color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); font-size: 17px; }

/* Closing CTA */
.cta { padding: 120px 0 100px; text-align: center; background: var(--bg-alt); }
.cta__icon { margin: 0 auto 22px; border-radius: 17px; }
.cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta__mail { margin-top: 22px; font-size: 19px; }
.social { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); transition: background .2s; }
.social a:hover { background: color-mix(in srgb, var(--text) 16%, transparent); }

/* Footnotes & footer */
.footnotes { background: var(--bg-alt); padding: 0 0 26px; }
.footnotes .container { border-top: 1px solid var(--line); padding-top: 22px; }
.footnotes ol { list-style: decimal; padding-left: 18px; font-size: 12px; line-height: 1.5; color: var(--muted); display: grid; gap: 8px; }
.footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; line-height: 1.33; padding: 6px 0 30px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.breadcrumbs { border-bottom: 1px solid var(--line); padding: 14px 0; }
.breadcrumbs ol { display: flex; align-items: center; gap: 10px; }
.breadcrumbs li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.breadcrumbs li + li::before { content: "›"; color: var(--muted); font-size: 16px; }
.breadcrumbs img { border-radius: 3px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0 10px; }
.footer__cols h3 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer__cols li { margin-bottom: 9px; }
.footer__more { padding: 16px 0 10px; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; border-top: 1px solid var(--line); padding-top: 14px; }
.footer__legal ul { display: flex; gap: 0; }
.footer__legal ul li + li { border-left: 1px solid var(--line); margin-left: 10px; padding-left: 10px; }
.footer__locale { margin-left: auto; color: var(--text); }

/* Consent banner */
.consent {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50;
  width: min(640px, 100% - 32px); display: flex; gap: 18px; align-items: center;
  padding: 16px 20px; border-radius: 18px; font-size: 14px;
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 10px 40px rgba(0,0,0,.18); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.consent[hidden] { display: none; }
.consent__buttons { display: flex; gap: 8px; flex: none; }

/* Legal pages */
.doc { padding: 72px 0 110px; }
.doc h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.07; }
.doc .updated { margin-top: 12px; color: var(--muted); }
.doc h2 { margin-top: 44px; font-size: 28px; }
.doc p, .doc ul { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li + li { margin-top: 6px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* Responsive */
@media (max-width: 1068px) {
  .globalnav__list { gap: 20px; }
}
@media (max-width: 833px) {
  .globalnav__list { display: none; }
  .globalnav__phone { margin-left: auto; }
  .localnav__toggle { display: block; order: 2; }
  .localnav .btn { order: 3; }
  .localnav__menu {
    position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); box-shadow: 0 12px 24px rgba(0,0,0,.08);
    padding: 6px var(--gutter) 18px; font-size: 17px;
    border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .localnav__menu.is-open { visibility: visible; opacity: 1; transform: none; }
  .localnav__menu a { display: block; padding: 12px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--rev { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .feature--rev .feature__art { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 44px; }
  .hero__icon { width: 88px; height: 88px; border-radius: 20px; }
  .hero__art { margin-top: 40px; }
  .hero__art svg { aspect-ratio: 4 / 3; }
  .booking { grid-template-columns: 1fr; padding: 24px 20px; }
  .faq summary { font-size: 19px; }
  .footer__locale { margin-left: 0; }
  .consent { flex-direction: column; align-items: stretch; text-align: left; }
  .consent__buttons .btn { flex: 1; min-height: 40px; }
}
