/* ==========================================================
   GLEASON SAILS — styles.css
   Design System: Luxury Nautical Heritage
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   WCAG 2.2 AA compliant color contrasts throughout
   ========================================================== */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --navy-deep:   #071624;   /* Footer bg */
  --navy:        #0A2240;   /* Header, hero overlay */
  --navy-mid:    #163C6B;   /* Section accent */
  --ocean:       #1C5080;   /* Links on dark */
  --gold:        #B8893A;   /* Accent – 5.7:1 on navy */
  --gold-hover:  #C99A4A;
  --gold-dark:   #7A5A1E;   /* 7.1:1 on white */
  --cream:       #F8F4EE;   /* Warm section bg */
  --foam:        #EDF2F9;   /* Cool section bg */
  --white:       #FFFFFF;
  --text:        #111A24;   /* 16:1 on white */
  --text-muted:  #3E526A;   /* 7.2:1 on white */
  --text-hint:   #536073;   /* 5.1:1 on white */
  --border:      #6B87A5;   /* 3.4:1 on white – UI component contrast ≥3:1 */
  --error:       #8B1A1A;
  --success-bg:  #E8F5EE;
  --success:     #0F6B2E;
  --radius:      6px;
  --radius-lg:   12px;
  --radius-xl:   18px;
  --shadow-sm:   0 2px 8px rgba(7,22,36,.08);
  --shadow-md:   0 6px 24px rgba(7,22,36,.12);
  --shadow-lg:   0 16px 48px rgba(7,22,36,.18);
  --focus-ring:  0 0 0 3px #B8893A;
  --focus-color: #B8893A;
  --trans:       0.2s ease;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* offset for sticky header */
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
address { font-style: normal; }

/* ── Focus Styles (WCAG 2.4.7 / 2.4.11) ──────────────── */
*:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  border-radius: var(--radius);
}
*:focus:not(:focus-visible) { outline: none; }

/* ── Skip Link (WCAG 2.4.1) ───────────────────────────── */
.skip-link {
  position: absolute;
  top: -200px;
  left: 0;
  z-index: 99999;
  padding: .75rem 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  transition: top .15s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--navy); }

/* ── Screen Reader Only ────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Container ─────────────────────────────────────────── */
.container {
  width: min(1100px, 100% - 3rem);
  margin-inline: auto;
}

/* ── Typography ────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--trans), color var(--trans), transform var(--trans), border-color var(--trans);
  white-space: nowrap;
}
.btn:focus-visible { box-shadow: var(--focus-ring); outline: none; }
.btn:active { transform: scale(.98); }

.btn-gold   { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }

.btn-ghost  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-ghost-dark { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost-dark:hover { border-color: var(--navy); color: var(--navy); }

.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); }

/* ── Section Helpers ───────────────────────────────────── */
.section-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .4rem;
}
.section-eyebrow.light { color: var(--gold); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--navy);
}
.section-header h2[class] { color: var(--white); }
.section-sub { color: var(--text-muted); max-width: 560px; margin-inline: auto; }
.section-sub.light { color: rgba(255,255,255,.72); }

.section-rule {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: .75rem auto 1.25rem;
  border-radius: 2px;
}
.section-rule.light { background: var(--gold); }

/* ═══════════════════════════════════════════════════════
   COOKIE BANNER & MODAL
   ═══════════════════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--navy);
  border-top: 3px solid var(--gold);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
#cookie-banner:not([hidden]) { transform: translateY(0); }
#cookie-banner[hidden] { display: none; }

.cb-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}
.cb-text { flex: 1; min-width: 200px; }
.cb-title { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--white); font-weight: 600; margin-bottom: .25rem; }
.cb-text p { font-size: .82rem; color: rgba(255,255,255,.72); }
.cb-text a { color: #7EC8E3; text-decoration: underline; }
.cb-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cb-btn {
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
}
.cb-btn:focus-visible { outline: 3px solid #7EC8E3; outline-offset: 2px; }
.cb-accept { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.cb-accept:hover { background: var(--gold-hover); }
.cb-reject { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.cb-reject:hover { border-color: rgba(255,255,255,.6); }
.cb-manage { background: transparent; color: #7EC8E3; border-color: rgba(126,200,227,.35); }
.cb-manage:hover { background: rgba(126,200,227,.1); }

/* Overlay */
.cb-overlay {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(7,22,36,.6); backdrop-filter: blur(3px);
  display: none;
}
.cb-overlay.active { display: block; }

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  inset: auto 0 0 50%;
  transform: translateX(-50%) translateY(100%);
  width: min(540px, 100vw);
  z-index: 9200;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  max-height: 90vh;
  overflow-y: auto;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
#cookie-modal:not([hidden]) { transform: translateX(-50%) translateY(0); }
#cookie-modal[hidden] { display: none; }

.cm-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cm-header h2 { font-size: 1.2rem; }
.cm-close {
  background: none; border: none;
  color: rgba(255,255,255,.7); font-size: 1.5rem;
  cursor: pointer; padding: .2rem .4rem; border-radius: var(--radius);
  transition: color var(--trans); line-height: 1;
}
.cm-close:hover { color: var(--white); }
.cm-close:focus-visible { outline: 3px solid #7EC8E3; outline-offset: 2px; }
.cm-body { padding: 1.25rem 1.5rem; }
.cm-body > p { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid #D8E5F0; }
.cm-row { display: flex; align-items: flex-start; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #EEF3FA; }
.cm-row:last-child { border-bottom: none; }
.cm-info { flex: 1; }
.cm-info h3 { font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .15rem; }
.cm-info p { font-size: .8rem; color: var(--text-muted); }
.badge { font-size: .65rem; background: var(--foam); color: var(--text-muted); border: 1px solid var(--border); padding: .1rem .4rem; border-radius: 3px; text-transform: uppercase; letter-spacing: .04em; font-weight: 400; margin-left: .3rem; }

/* Toggle switch */
.toggle { position: relative; flex-shrink: 0; }
.toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.toggle-track {
  display: block; width: 44px; height: 24px;
  background: #B8C9D8; border-radius: 24px;
  position: relative; cursor: pointer; transition: background var(--trans);
}
.toggle-track::after {
  content: ''; position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; background: var(--white);
  border-radius: 50%; transition: transform var(--trans);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle input:checked + .toggle-track { background: var(--navy-mid); }
.toggle input:checked + .toggle-track::after { transform: translateX(20px); }
.toggle.disabled .toggle-track { cursor: not-allowed; background: var(--gold); opacity: .75; }
.toggle.disabled .toggle-track::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-track { outline: 3px solid var(--focus-color); outline-offset: 3px; border-radius: 24px; }

.cm-footer { padding: 1rem 1.5rem 1.5rem; display: flex; gap: .75rem; justify-content: flex-end; border-top: 1px solid #D8E5F0; flex-wrap: wrap; }
.cm-footer .cb-reject { color: var(--text); border-color: var(--border); }
.cm-footer .cb-reject:hover { border-color: var(--navy); color: var(--navy); }

/* ═══════════════════════════════════════════════════════
   PROMO BAR
   ═══════════════════════════════════════════════════════ */
.promo-bar {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: .55rem 1rem;
  font-size: .82rem;
  font-weight: 500;
}
.promo-bar a { font-weight: 700; text-decoration: underline; color: var(--navy); }
.promo-bar a:hover { opacity: .8; }

/* ═══════════════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 800;
  background: var(--navy);
  transition: box-shadow var(--trans);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(7,22,36,.4); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

.site-logo {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; letter-spacing: .02em;
}
.site-logo em { color: var(--gold); font-style: normal; }
.logo-anchor { font-size: 1.2rem; }
.site-logo:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
/* Logo image (replaces text logo once images/logo.svg is uploaded) */
.logo-img { height: 90px; width: auto; max-width: 260px; display: block; object-fit: contain; }
.logo-wordmark { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; color: var(--white); letter-spacing: .02em; }
.logo-wordmark em { color: var(--gold); font-style: normal; }
.logo-fallback { display: flex; align-items: center; gap: .5rem; }
.footer-logo-img { height: 40px; width: auto; max-width: 190px; display: block; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .9rem;
  padding: .45rem .8rem;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.site-nav a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--gold-hover) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius); padding: .4rem .55rem;
  cursor: pointer; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center; width: 42px; height: 42px;
}
.nav-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.burger, .burger::before, .burger::after {
  display: block; width: 20px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
  position: relative;
}
.burger::before, .burger::after { content: ''; position: absolute; }
.burger::before { top: -6px; }
.burger::after  { top:  6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] .burger::after  { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav */
.mobile-nav {
  background: var(--navy-mid);
  padding: .5rem 1.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav[hidden] { display: none; }
.mobile-link {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: .7rem 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--trans);
}
.mobile-link:hover { color: var(--gold); }
.mobile-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.mobile-cta { color: var(--gold) !important; font-weight: 700; }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-image: url('images/j29-and-hobie33-mp8v54rWOefj6GlW.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(7,22,36,.88) 0%, rgba(10,34,64,.75) 60%, rgba(7,22,36,.6) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 6rem 0 5rem;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .75rem;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-rule {
  width: 70px; height: 3px;
  background: var(--gold); border-radius: 2px; margin: 1rem 0 1.25rem;
}
.hero-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
  margin: -.25rem 0 .75rem;
  font-style: italic;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-sub strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  color: rgba(255,255,255,.72); font-size: .85rem;
}
.trust-item { display: flex; align-items: center; gap: .4rem; }
.trust-stars { color: var(--gold); letter-spacing: .05em; }
.hero-scroll-btn {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: 1.4rem;
  text-decoration: none;
  animation: bounce 2s ease infinite;
  border-radius: 50%;
  padding: .25rem .5rem;
}
.hero-scroll-btn:focus-visible { outline: 3px solid var(--gold); }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════
   FEATURES STRIP
   ═══════════════════════════════════════════════════════ */
.features-strip {
  background: var(--white);
  border-bottom: 1px solid #D8E6F2;
  padding: 1.75rem 0;
}
.features-grid {
  display: flex; flex-wrap: wrap;
  gap: 1.5rem; justify-content: center; align-items: center;
}
.feat {
  display: flex; align-items: center; gap: .6rem;
  flex-direction: column; text-align: center;
  min-width: 100px;
}
.feat-icon { font-size: 1.5rem; }
.feat strong { display: block; font-size: .9rem; color: var(--navy); }
.feat span:not(.feat-icon) { font-size: .78rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════
   ABOUT / MEET GARY
   ═══════════════════════════════════════════════════════ */
.about-section {
  background: var(--cream);
  padding: 5rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: .5rem;
}
.about-text p { color: var(--text-muted); margin-bottom: .9rem; }
.about-text strong { color: var(--text); }
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin: 2rem 0 2rem;
}
.stat { text-align: center; }
.stat strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--navy); line-height: 1; }
.stat span { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

.about-photo { position: relative; }
.about-photo img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover;
}
.photo-caption {
  position: absolute; bottom: -1rem; right: -1rem;
  background: var(--navy); color: rgba(255,255,255,.8);
  font-size: .75rem; padding: .4rem .8rem;
  border-radius: var(--radius);
}

/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */
.services-section {
  background: var(--navy);
  padding: 5rem 0;
}
.services-section .section-header h2 { color: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.service-card:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.service-img-wrap { aspect-ratio: 3/4; overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-img-wrap img { transform: scale(1.04); }
.service-body { padding: 1.25rem; }
.service-body h3 { font-size: 1.2rem; color: var(--white); margin-bottom: .5rem; }
.service-body p { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: .9rem; }
.service-link {
  color: var(--gold);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .25rem;
  transition: gap var(--trans);
}
.service-link:hover { gap: .5rem; }
.service-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ═══════════════════════════════════════════════════════
   MULTI-STEP QUOTE FORM
   ═══════════════════════════════════════════════════════ */
.quote-section {
  background: var(--foam);
  padding: 5rem 0;
}
.quote-section .section-header h2 { color: var(--navy); }

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 680px;
  margin-inline: auto;
}

/* Step header */
.step-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 1.5rem 2rem 1.25rem;
}
.step-progress-wrap { margin-bottom: .75rem; }
.step-dots {
  display: flex; align-items: center; gap: 0;
  margin-bottom: .5rem;
}
.sdot {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700;
  transition: all var(--trans); flex-shrink: 0;
}
.sdot.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.sdot.done   { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); color: var(--white); }
.sdot-line {
  flex: 1; height: 2px;
  background: rgba(255,255,255,.15);
}
.step-labels {
  display: flex; justify-content: space-between;
}
.step-labels span { font-size: .7rem; color: rgba(255,255,255,.55); text-align: center; flex: 1; }
.step-counter { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: .25rem; }

/* Form steps */
.form-step { padding: 2rem; }
.form-step[hidden] { display: none !important; }
.step-title { font-size: 1.4rem; color: var(--navy); margin-bottom: 1.5rem; }

/* Form groups */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ✅ WCAG 3.3.2 – Explicit labels */
.form-group label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--text); margin-bottom: .35rem; cursor: pointer;
}
.req { color: var(--error); margin-left: .1rem; }

/* ✅ WCAG 1.4.11 – border contrast ≥3:1 */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .7rem .9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; color: var(--text);
  background: var(--white);
  -webkit-appearance: none; appearance: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,34,64,.15);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.has-error input, .has-error select, .has-error textarea {
  border-color: var(--error);
  background: #FFF5F5;
}
.field-err {
  display: none;
  font-size: .8rem; color: var(--error); font-weight: 600;
  margin-top: .3rem;
}
.field-err:not(:empty) { display: block; }
.field-err::before { content: '⚠ '; }
.field-hint { font-size: .78rem; color: var(--text-hint); margin-top: .25rem; display: block; }

/* Checkbox group */
.check-group {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: 1rem;
}
.check-group input[type="checkbox"] {
  width: 1.1rem; height: 1.1rem;
  accent-color: var(--navy);
  flex-shrink: 0; margin-top: .15rem; cursor: pointer;
}
.check-group label {
  font-size: .85rem; color: var(--text-muted);
  cursor: pointer; font-weight: 400;
}
.check-group label a { color: var(--ocean); text-decoration: underline; }
.check-group .field-err { margin-top: 0; }

/* Option cards (sail type & use) */
.option-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; margin-bottom: 1.5rem;
}
.option-grid.three { grid-template-columns: repeat(3, 1fr); }

.option-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 1.25rem .75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
  position: relative; gap: .3rem;
  background: var(--white);
}
.option-card:hover { border-color: var(--navy); background: var(--foam); }
.option-card:focus-within { box-shadow: 0 0 0 3px var(--focus-color); border-color: var(--navy); }
.option-card input[type="radio"] {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.option-card.is-selected {
  border-color: var(--navy);
  background: rgba(10,34,64,.05);
  box-shadow: var(--shadow-sm);
}
.oc-icon { font-size: 1.75rem; }
.oc-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.oc-desc { font-size: .75rem; color: var(--text-muted); line-height: 1.4; }
.oc-check {
  position: absolute; top: .5rem; right: .5rem;
  width: 20px; height: 20px;
  background: var(--navy); color: var(--white);
  border-radius: 50%; font-size: .75rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--trans);
}
.option-card.is-selected .oc-check { opacity: 1; }

/* Step nav */
.step-nav { display: flex; justify-content: flex-end; margin-top: 1.5rem; }
.step-nav.two { justify-content: space-between; }

/* Form status */
#form-status {
  margin-top: 1rem; padding: .75rem 1rem;
  border-radius: var(--radius); font-size: .875rem; font-weight: 600;
  display: none;
}
#form-status.err { display: block; background: #FFF0F0; color: var(--error); border: 1px solid #F5BABA; }

/* Success */
.form-success {
  padding: 3rem 2rem;
  text-align: center;
}
.form-success[hidden] { display: none; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--success-bg); color: var(--success);
  font-size: 1.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: .75rem; }
.form-success p { color: var(--text-muted); }
.form-success a { color: var(--ocean); font-weight: 700; }

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials-section {
  background: var(--white);
  padding: 5rem 0;
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.tcard {
  background: var(--foam);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-left: 4px solid var(--gold);
  display: flex; flex-direction: column; gap: .75rem;
}
.tcard-stars { color: var(--gold); letter-spacing: .1em; font-size: 1.1rem; }
.tcard blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}
.tcard-attribution { display: flex; flex-direction: column; }
.tcard-attribution cite { font-style: normal; font-weight: 700; font-size: .875rem; color: var(--navy); }
.tcard-attribution span { font-size: .78rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer { background: var(--navy-deep); }
.footer-upper { padding: 3.5rem 0 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; color: var(--white); margin-bottom: .5rem;
}
.footer-logo em { color: var(--gold); font-style: normal; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: .3rem; }
.footer-legal-name { font-size: .75rem !important; color: rgba(255,255,255,.3) !important; }

.footer-col h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: .85rem;
}
.footer-col a, .footer-col span {
  display: block; font-size: .85rem;
  color: rgba(255,255,255,.6); text-decoration: none;
  margin-bottom: .4rem;
  transition: color var(--trans);
}
.footer-col a:hover { color: var(--gold); }
.footer-col a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.footer-lower {
  background: rgba(0,0,0,.25);
  padding: 1.1rem 0;
}
.footer-legal-bar {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: .75rem;
}
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-links {
  display: flex; flex-wrap: wrap; gap: .25rem;
  list-style: none; align-items: center;
}
.footer-links li { display: flex; align-items: center; }
.footer-links li + li::before { content: '·'; color: rgba(255,255,255,.2); margin: 0 .5rem; }
.footer-links a { font-size: .75rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color var(--trans); }
.footer-links a:hover { color: var(--gold); text-decoration: underline; }
.footer-links a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
/* ⚠️ CCPA REQUIRED: Do Not Sell link must be visually distinct */
.dns-link {
  color: #7EC8E3 !important; font-weight: 700 !important;
  border: 1px solid rgba(126,200,227,.3) !important;
  padding: .15rem .45rem !important; border-radius: 3px !important;
}
.dns-link:hover { color: var(--white) !important; background: rgba(126,200,227,.12) !important; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo   { order: -1; }
  .photo-caption { right: 0; bottom: -1.2rem; }
  .about-stats   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .site-nav    { display: none; }
  .nav-toggle  { display: flex; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .option-grid.three { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal-bar { flex-direction: column; align-items: flex-start; }
  .step-header { padding: 1.25rem 1.25rem 1rem; }
  .form-step   { padding: 1.5rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-content { padding-top: 5rem; }
  .cb-inner { flex-direction: column; }
  .cb-actions { width: 100%; }
  .cb-btn { flex: 1; text-align: center; }
  .option-grid { grid-template-columns: 1fr; }
  .features-grid { gap: 1.25rem; }
  .feat { flex-direction: row; text-align: left; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced motion – no parallax/antigravity animations (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ═══════════════════════════════════════════════════════
   BOAT BRANDS SECTION
   ═══════════════════════════════════════════════════════ */
.boats-section { background: var(--foam); padding: 5rem 0; }

/* Brand card grid */
.bcard-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.bcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  transition: box-shadow var(--trans), transform var(--trans);
}
.bcard:hover {
  box-shadow: 0 6px 20px rgba(10,34,64,.1);
  transform: translateY(-2px);
}
.bcard-more {
  border-top-color: var(--gold);
  background: rgba(184,137,58,.05);
}
.bcard-name { font-weight: 700; font-size: .95rem; color: var(--navy); }
.bcard-more .bcard-name { color: var(--gold-dark); }
.bcard-models { font-size: .72rem; color: var(--text-muted); line-height: 1.5; }

/* Search chips */
.boats-chips-wrap { text-align: center; margin-bottom: 2.5rem; }
.boats-chips-label {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .75rem;
}
.boats-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.bchip {
  display: inline-block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: .35rem 1rem;
  font-size: .82rem;
  color: var(--ocean);
  text-decoration: none;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.bchip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.bchip:focus-visible { outline: 3px solid var(--focus-color); outline-offset: 3px; border-radius: 99px; }

/* CTA */
.boats-cta {
  text-align: center; padding: 2rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); max-width: 560px; margin-inline: auto;
}
.boats-cta p { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.boats-cta strong { color: var(--text); }
.boats-cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

@media (max-width: 900px) { .bcard-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px) {
  .bcard-grid { grid-template-columns: repeat(2, 1fr); }
  .boats-cta-btns .btn { flex: 1; justify-content: center; }
}
/* ── GDPR Compliance additions ─────────────────────────────── */
/* "Manage Cookies" footer button — styled to match footer links */
.footer-cookie-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color var(--trans);
  line-height: 1;
}
.footer-cookie-btn:hover  { color: var(--gold); text-decoration: underline; }
.footer-cookie-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Acknowledgment text below quote submit button */
.form-acknowledge {
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .6rem;
  line-height: 1.5;
}
.form-acknowledge a { color: var(--ocean); text-decoration: underline; }
