/* ========================================================
   YachtWatchers Stylesheet (cleaned + organized)
   - Fixed mobile overflow (removed hard min-width locks)
   - Fixed broken media query brace issues
   - Closed unclosed @media blocks
   - Removed duplicate rules
   - Fixed Firefox vs Edge font-size mismatch by locking root sizing
   ======================================================== */

/* -------------------------
   0) Baseline typography + text scaling
   ------------------------- */
html {
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 1rem/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(140deg, #0f4c75, #0c1533);
}

/* -------------------------
   1) Variables / Reset
   ------------------------- */
:root {
  --bg: #fff;
  --paper: #fff;
  --ink: #222;
  --muted: #555;
  --brand: #0daaf9;

  --navy: #0b132b;
  --navyDeep: #061824;
}

* { box-sizing: border-box; }

/* Keep images responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Basic links */
a { color: inherit; }

li {overflow-wrap: break-word;}
/* -------------------------
   2) Layout Helpers
   ------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.page {
  background: #fff;
  /* removed min-width:667px (was breaking mobile) */
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  position: relative;
  z-index: 2;
  padding-bottom: 10px; /* leaves room above footer on mobile */
}

.note-blue { color: #1b98e0; }

/* -------------------------
   3) Header / Banner
   ------------------------- */
.banner {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  color: #010140;

  /* removed min-width:667px (was breaking mobile) */
  border-radius: 0 0 24px 24px;
  margin-bottom: -24px;
}

.banner a {
  padding: 0;
  font: 12px/normal system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.banner-inner {
  height: 50px;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0px 8px 0px 8px;
}

.banner-menu { margin: 0 0 0 auto; }

.brand {
  font-weight: 700;
  letter-spacing: .2px;
  color: #010140;
  text-decoration: none;
}

/* Top menu links */
.menu a {
  color: #ffffff;
  opacity: .9;
  text-decoration: none;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(8px, 4vw, 1rem);
 }

.menu a:hover,
.menu a.active {
  opacity: 1;
  text-decoration: underline;
}

.main-menu-box {
  background: var(--brand);
  height: 42px;
  border-radius: 0 0 20px 20px;
  margin:0 auto;
  padding: 0 10px 6px 10px;
  display: flex;
  align-items: center;
}

.main-menu-bar {
  display: flex;
  align-items: center;
  gap: 1vw;
}

/* -------------------------
   4) Main menu dropdown (Services)
   ------------------------- */
.menu-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 0.05rem;
}

/* "Services" link + caret inline */
.menu-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.mainmenudropdown {
  display: block;
  margin: 0;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
}

.menu-caret {
  line-height: 1;
  font-size: clamp(8px, 4vw, 24px);
  color: #ffffff;
}

/* The dropdown panel */
.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-25%);
  min-width: 230px;
  padding: 0.3rem 0;
  background: var(--brand);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  display: none;
  z-index: 30;
}

.menu-dropdown a {
  display: block;
  margin: 0;
  padding: 0.3rem 0.9rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
}

.menu-dropdown a:hover {
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

.menu-item-dropdown:hover .menu-dropdown,
.menu-item-dropdown:focus-within .menu-dropdown {
  display: block;
}

/* Dropdown mobile adjustments */
@media (max-width: 768px) {
  .menu-item-dropdown {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0;
  }

  .menu-dropdown {
    left: 0;
    transform: none;
    border-radius: 18px;
    min-width: 180px;
    top: 100%;
    margin-top: 0.4rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .menu-dropdown a {
    font-size: 0.9rem;
    padding: 0.35rem 0.6rem;
  }
}

/* =========================================================
   Other Services: make dropdown toggle a BUTTON (not a link)
   ========================================================= */

/* Match your existing .menu-item-dropdown > a styling for a button */
.menu-item-dropdown > button{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Reset global button styling for the desktop dropdown toggle */
.menu-item-dropdown .mainmenudropdown{
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  color: #ffffff;
  line-height: 1;
}

.menu-item-dropdown .mainmenudropdown:hover{ text-decoration: underline; }
.menu-item-dropdown .mainmenudropdown:focus{
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 2px;
}
.menu-item-dropdown .mainmenudropdown.active{ text-decoration: underline; }

/* =========================================================
   Mobile: accordion inside the existing mobile nav panel
   ========================================================= */

.menu .mobile-nav-panel .mobile-accordion-toggle{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 1;
}

.menu .mobile-nav-panel .mobile-accordion-toggle:hover{
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

.menu .mobile-nav-panel .mobile-accordion-toggle.active{
  text-decoration: underline;
}

.menu .mobile-nav-panel .mobile-accordion-toggle .menu-caret{
  transition: transform 0.15s ease;
}

.menu .mobile-nav-panel .mobile-accordion-toggle.is-open .menu-caret{
  transform: rotate(180deg);
}

.menu .mobile-nav-panel .mobile-submenu[hidden]{ display: none; }

/* Indent the submenu links */
.menu .mobile-nav-panel .mobile-submenu a{
  padding-left: 28px;
}


/* -------------------------
   3A) Mobile Menu (toggle + drop panel)
   - Desktop: shows inline links (unchanged)
   - Mobile: shows "Menu" button; opens a vertical panel
   ------------------------- */

/* Anchor the panel to the menu bar */
.main-menu-box { position: relative; }

/* Button is hidden by default (desktop) */
.mobile-menu-toggle{
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  padding: 6px 12px;
  line-height: 1;
  cursor: pointer;
  font: inherit;
  align-items: center;
  gap: 8px;
}

.mobile-menu-toggle:hover { background: rgba(255,255,255,0.12); }
.mobile-menu-toggle:focus { outline: 2px solid rgba(255,255,255,0.9); outline-offset: 2px; }

/* The mobile drop-down panel */
.mobile-nav-panel{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--brand);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  z-index: 30;
  padding: 6px 0;
}

/* Hidden attribute support */
.mobile-nav-panel[hidden]{ display: none; }

/* Make links vertical inside the panel */
.mobile-nav-panel a{
  display: block;
  margin: 0;              /* overrides .menu a margins */
  padding: 10px 14px;
  text-decoration: none;
  opacity: 1;             /* keep them readable */
}

.mobile-nav-panel a:hover{
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

/* Switch behavior on mobile */
@media (max-width: 784px){
  /* Hide desktop inline links (we’re reusing your existing .menu-links class) */
  .menu-links{ display: none; }

  /* Show the menu button */
  .mobile-menu-toggle{ display: inline-flex; }

  /* Align the button nicely */
  .main-menu-bar{
    width: 100%;
    justify-content: flex-end;
  }
}

/* -------------------------
   5) Hero  (FULL REPLACEMENT)
   - Background video stays behind content
   - Prevents mobile "fullscreen takeover" taps
   - Proper cover sizing + clipping
   ------------------------- */
.hero {
  height: 15rem;
  max-height: 300px;
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden; /* critical: keeps video from visually escaping */
}

/* Video wrapper fills hero */
.hero-video {
  position: absolute;
  inset: 0;              /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  z-index: 0;            /* ensure it's behind overlays */
}

/* The actual background media */
.hero-video video,
.hero-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* true background behavior */
  object-position: center;
  display: block;

  /* critical: stops taps from promoting video to fullscreen player */
  pointer-events: none;
}

/* Keep a sane stacking order (no negative z-index needed) */
.hero-video video { z-index: 0; }
.hero-video img   { z-index: -1; } /* poster/fallback behind video */

/* Foreground overlay container */
.hero-overlay-box {
  height: 300px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  position: relative;
  z-index: 2;            /* above background */
  text-align: center;
  color: #fff;
}

/* Main overlay panel */
.hero-overlay {
  width: 80%;
  height: 250px;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  text-align: center;
  background-color: rgba(177, 177, 177, 0.4);
  margin-top: 50px;
  margin-left: 50px;
  margin-right: 70px;
}

/* Side areas */
.hero-overlay-left,
.hero-overlay-right {
  min-width: 100px;
  height: 185px;
  border-radius: 0 0 24px 24px;
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000000;
  background-color: #ffffff00;
}

.hero-overlay-left { width: 30%; }
.hero-overlay-right { width: 30%; }

.hero-overlay-left img {
  margin: 0;
  max-width: 100%;
  height: auto;
}

/* Typography */
.hero-overlay h1 {
  margin: 10px;
  font-size: clamp(20px, 7vw, 36px);
  color: #fff;
  text-shadow: 2px 4px 2px #000000;
}

.hero-banner {
  margin: 10px;
  font-size: clamp(1.0rem, 3vw, 1.9rem);
  color: #fff;
  text-shadow: 2px 4px 2px #000000;
}

.hero-overlay p {
  margin: 1px;
  font-size: clamp(14px, 2.6vw, 20px);
  color: #ffffff;
  text-shadow: 0px 0px 4px #000000;
}

.logo-image { max-height: 40px; }

/* -------------------------
   6) Buttons
   ------------------------- */
.become-member-btn {
  display: inline-block;
  padding: 10px 22px;
  background-color: var(--brand);
  box-shadow: 2px 4px 5px #000000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-shadow: none;
}
.become-member-btn:hover { background-color: #0056b3; }

button {
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
}
button:hover { filter: brightness(.95); }

.button-primary {
  display: inline-block;
  text-decoration: none;
}

/* -------------------------
   7) Cards / Lists
   ------------------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card,
.topcard {
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 16px;
}

.card h3,
.topcard h3 { margin-top: 0; }

.card .price,
.topcard .price {
  font-weight: 700;
  margin: 8px 0 0;
}

.list { padding-left: 18px; }
.list li + li { margin-top: 6px; }

.service-list { padding-left: 18px; }
.service-list li + li { margin-top: 6px; }

/* -------------------------
   8) Forms / Notices
   ------------------------- */
label { display: block; margin: 12px 0 6px; font-weight: 600; }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font: inherit;
}

textarea { resize: vertical; }

.notice {
  padding: 10px 12px;
  border-radius: 10px;
  background: #e7f5ff;
  border: 1px solid #cfe9ff;
  margin: 12px 0;
}

.notice.error {
    background: #ed9ca6;
    border-color: #c40420;
}

.notice.success {
    background: #9af197;
    border-color: #051d04;
}
/* -------------------------
   9) Footer (legacy simple footer)
   ------------------------- */
.footer {
  /* removed min-width:667px (was breaking mobile) */
  background: var(--navy);
  color: #fff;
  padding: 18px 20px;
  font-size: 15px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left { align-items: center; }

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-link {
  color: #1b98e0;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover { text-decoration: underline; }

.icon {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  transform: translateY(1px);
}

.divider {
  opacity: .4;
  font-weight: 300;
}

/* Sticky "Call Now" bar for mobile */
.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: none;
}
.mobile-call-button {
  display: block;
  text-align: center;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,.25);
}

/* -------------------------
   10) Home page sections
   ------------------------- */
.home-section {
  margin-bottom: 28px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.home-section--light {
  background: #ffffff;
  color: var(--ink);
}

.home-section--dark {
  background: var(--navy);
  color: #ffffff;
}

.home-section--band { border-radius: 16px; }

.home-section-inner { padding: 24px 20px; }

.home-section-title {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 32px);
}

.home-section-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.home-section--dark .home-section-subtitle { color: rgba(255,255,255,0.7); }

.home-section p { margin: 0 0 12px; line-height: 1.6; }
.home-section ul { margin: 0 0 12px 18px; padding: 0; }
.home-section li + li { margin-top: 6px; }

/* simple responsive grids */
.home-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: flex-start;
  margin-top: 12px;
}

.home-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.home-membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

@media (max-width: 800px) {
  .home-grid-2 { grid-template-columns: 1fr; }
  .home-grid-3 { grid-template-columns: 1fr; }
}

.home-section .topcard {
  border-radius: 14px;
  background: #10162b;
  color: #ffffff;
}

.home-section .card {
  border-radius: 14px;
  background: var(--brand);
  color: #ffffff;
}

.home-memberships { margin-top: 24px; }

.home-memberships-title {
  margin: 0 0 10px;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

.home-memberships-note {
  margin: 0 auto 16px;
  width: 100%;
  text-align: center;
}

.home-policy-note {
  margin: 0 auto 16px;
  width: 100%;
  text-align: left;
}

.home-memberships-cta { margin-top: 16px; text-align: center; }

.home-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.home-btn-primary {
  background: #1b98e0;
  color: #ffffff;
  border-color: #1b98e0;
}
.home-btn-primary:hover {
  background: #1479b0;
  border-color: #1479b0;
}

.home-btn-outline {
  background: transparent;
  color: #1b98e0;
  border-color: #1b98e0;
}
.home-section--dark .home-btn-outline {
  color: #a9d4ff;
  border-color: #a9d4ff;
}
.home-btn-outline:hover {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

/* CTA row in dark section */
.home-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.home-cta-text h3 { margin: 0 0 6px; font-size: 18px; }
.home-cta-text p { margin: 0; font-size: 14px; }

.home-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 700px) {
  .home-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Map iframe */
.home-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Misc helpers */
.ABYC,
.home-bottom-cta { text-align: center; }

.home-bottom-cta h2 { margin: 0 0 8px; }
.home-bottom-cta p { margin: 0 0 16px; font-size: 15px; }

/* -------------------------
   11) Social icon band (top right)
   ------------------------- */
.menu-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Make the menu container an anchor for absolute positioning */
.menu-links{ position: relative; }

/* Review CTA: far-right within the menu bar */
.yw-menu-review{
  position: absolute;
  right: var(--yw-menu-review-right, 10px); /* adjust to clear your social box */
  top: 40%;
  transform: translateY(-50%);
  white-space: nowrap;
}

/* Make it look like a menu link */
.yw-menu-review-link{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font: inherit;     /* matches menu link sizing */
  color: inherit;    /* matches menu link color */
  line-height: 1;
}

/* Stars row */
.yw-menu-review-stars{
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* IMPORTANT: override your global .yw-social-link svg sizing rules */
.yw-menu-review-link svg{
  width: 0.95em;
  height: 0.95em;
  display: block;
}

/* Hover: keep it subtle like menu links */
.yw-menu-review-link:hover{ opacity: 0.85; }

/* Hide on smaller screens so it doesn't collide with the menu */
@media (max-width: 850px){
  .yw-menu-review{ display: none; }
}


.yw-social-box {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #ffffff;
  margin: 0 25px 0 auto;
  padding: 24px 5px 20px 5px;
  border-radius: 0 0 25px 25px;
  display: flex;
  align-items: center;
}

/* Top social: 2 rows x 3 */
.yw-social-bar{
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  align-items: center;
  gap: 4px 0px; /* row gap / column gap */
}

.yw-social-link {
  width: clamp(16px, 2vw, 32px);
  height: clamp(16px, 2vw, 32px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #356193;
}

/* FOOTER layout: 3 wide x 2 rows */
.footer-social{
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-items: start;
  align-items: center;
  margin: 10px;
  gap: 8px 22px; /* row / column gap */
}

/* FOOTER sizing: override only in footer (independent from top) */
.footer-social .yw-social-link{
  width: clamp(22px, 2.4vw, 44px);
  height: clamp(22px, 2.4vw, 44px);
  color: #fff; /* white icons in footer */
}

.footer-social .yw-social-link:hover{
  opacity: 0.85;
}

/* Optional: make the Google review star a tad larger */
.footer-social .yw-social-link--review{
  width: clamp(26px, 2.6vw, 50px);
  height: clamp(26px, 2.6vw, 50px);
}


.yw-social-box.yw-social-bar{
  font-size: clamp(16px, 1.2vw, 24px); /* icon size basis */
}

/* Make SVG follow the container font-size */
.yw-social-link svg {
  width: 80%;
  height: 80%;
  display: block;
}

.yw-social-link:hover { color: #1b98e0; }

.yw-social-review .yw-social-link--review{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

/* Wrapper so you can place it cleanly */
.yw-social-review{
  margin-top: 10px;           /* adjust as needed */
  display: flex;
  justify-items: start;    /* or flex-start / flex-end */
}

/* One big Google Reviews link */
.yw-google-review-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;                /* footer white */
}

/* Stars row */
.yw-google-review-cta .yw-review-stars{
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* Override the global 80% svg sizing */
.yw-google-review-cta .yw-review-stars svg{
  width: clamp(12px, 1.2vw, 16px);
  height: clamp(12px, 1.2vw, 16px);
  display: block;
}

/* Text */
.yw-google-review-cta .yw-review-text{
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.yw-google-review-cta:hover{
  opacity: 0.85;
}

/* -------------------------
   12) Rewards page
   ------------------------- */

.rewards-cta-box {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1rem;
  margin: 10px 0;
  background: linear-gradient(140deg, #0f4c75, #0c1533);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35);
}

.rewards-cta-box h2 {
  margin: 0px;
}


.rewards-heading {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1rem;
  background: #ffffff;
  color: #2c2424;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35);
}

.rewards-heading h3 {
  text-align: center;
  margin: 2px;
}

.rewards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.rewards-grid p {
    text-align: left;
}

.rewards-heading p {
    text-align: center;
}

.rewards-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.rewards-page-body-full {
  width: 100%;
  margin: 0;
}

.rwSharedEmails {
  width: 100%;
  margin: 0;
}

.reward-label {
    width: 100%;
}

/* -------------------------
   12) Memberships page
   ------------------------- */
.yw-page-title { margin-top: 1.5rem; margin-bottom: 0.3rem; }

.yw-page-intro {
  margin-bottom: 2rem;
  max-width: 48rem;
  line-height: 1.5;
}

.yw-plan-section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}
.yw-plan-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.yw-plan-heading { font-size: 1.5rem; margin-bottom: 0.25rem; }

.yw-plan-tagline {
  font-style: italic;
  margin-bottom: 0.75rem;
  color: #555555;
}

.yw-plan-list { list-style: none; padding-left: 0; margin: 0; }
.yw-plan-list li { margin-bottom: 0.35rem; line-height: 1.4; }

.yw-checkmark { color: #2eaef1; font-weight: bold; margin-right: 0.35rem; }

.yw-plans-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.yw-plans-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.yw-plans-table th,
.yw-plans-table td {
  border: 1px solid #e0e0e0;
  padding: 0.6rem 0.8rem;
  text-align: center;
  vertical-align: top;
  font-size: 0.95rem;
  width: 50px;
}

.yw-plans-table th {
  background-color: #f7f9fb;
  font-weight: 600;
}

.yw-plans-table th.yw-feature-name,
.yw-plans-table td.yw-feature-name {
  text-align: left;
  font-weight: 500;
  width: 30%;
}

.yw-reporting-highlight td {
  text-align: center;
  font-weight: 500;
  padding: .05rem;
  background-color: var(--brand);
  color: #ffffff;
  border:2px solid #9aa3ad;
}


.yw-reporting-table-highlight td {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  padding: .05rem;
  background-color: var(--brand);
  color: #ffffff;
  border:2px solid #9aa3ad;
}

.yw-plans-table tbody tr:nth-child(even) { background-color: #fafbfc; }

.yw-dash { color: #cccccc; font-size: 1rem; }

.yw-plan-info {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #2eaef1;
  color: #2eaef1;
  font-size: 0.8rem;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  margin-left: 4px;
  vertical-align: middle;
  cursor: pointer;
}

.yw-plan-info:hover {
  background-color: #2eaef1;
  color: #ffffff;
}

.yw-pricing-note {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  max-width: 48rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

.yw-plans-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid #2eaef1;
  background-color: #f7f9fb;
  font-size: 0.95rem;
  line-height: 1.5;
  width: 100%;
}

.yw-plans-cta-wrapper { margin-top: 2.5rem; text-align: center; }

.yw-btn-member {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background-color: #2eaef1;
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.yw-btn-member:hover {
  background-color: #238ac0;
  transform: translateY(-1px);
}

.yw-btn-member:active { transform: translateY(0); }

#basic-check,
#keep-it-floating,
#keep-it-running,
#keep-it-ready,
#keep-it-pristine { scroll-margin-top: 100px; }

#topofresources { scroll-margin-top: 100px; }

@media (max-width: 768px) {
  .yw-plans-table { font-size: 0.9rem; }
}

/* Contact sidebar */
.yw-contact-page-sidebar {
  float: right;
  max-width: 320px;
  margin: 0 0 1.5rem 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

.yw-contact-page-sidebar h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.yw-contact-page-sidebar ul {
  padding-left: 1.2rem;
  margin: 0.25rem 0 0;
}

@media (max-width: 768px) {
  .yw-contact-page-sidebar {
    float: none;
    max-width: none;
    margin: 1rem 0;
  }
}

/* -------------------------
   13) Become Member page
   ------------------------- */
.become-member-wrapper {
  max-width: 1100px;
  margin: 2.5rem auto 3.5rem;
  padding: 0 1.25rem;
}

.become-member-card {
  background: var(--bg);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.04);
  padding: 1rem 0;
}

.become-member-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1.1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .become-member-card { padding: 1.75rem 1.25rem 2rem; }
  .become-member-layout { grid-template-columns: 1fr; gap: 1.75rem; }
}

.become-member-main { min-width: 0; }

.become-member-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.become-member-intro {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.become-member-alt-contact {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.become-member-alt-contact a {
  font-weight: 600;
  text-decoration: none;
}

.become-member-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.become-member-steps li strong {
  color: var(--brand);
  margin-right: 0.15rem;
}

.become-member-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.become-member-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.become-member-field {
  flex: 1 1 20px;
  min-width: 0;
}

.become-member-field-full { flex-basis: 100%; }

.become-member-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.become-member-required { color: #d64545; }

.become-member-help {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.become-member-field input,
.become-member-field select,
.become-member-field textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #d6d8e0;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.become-member-field textarea {
  resize: vertical;
  min-height: 2.5rem;
}

.become-member-field input::placeholder,
.become-member-field textarea::placeholder {
  color: #a2a5b3;
}

.become-member-field input:focus,
.become-member-field select:focus,
.become-member-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(27, 152, 224, 0.15);
  background: #fbfdff;
}

.become-member-hp-wrapper {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

.become-member-actions { margin-top: 0.75rem; }

.become-member-submit {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 25px rgba(27, 152, 224, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.become-member-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(27, 152, 224, 0.3);
}

.become-member-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(27, 152, 224, 0.25);
}

.become-member-smallprint {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.become-member-trust {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.become-member-benefits { min-width: 0; }

.become-member-benefits-inner {
  border-radius: 14px;
  background: linear-gradient(140deg, #0f4c75, #0c1533);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35);
  padding: 1rem;
}

.become-member-benefits-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.become-member-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.become-member-benefits-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
}

.become-member-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  line-height: 1;
}

.become-member-benefits-list strong { font-weight: 600; }
.become-member-benefits-footer { margin: 0.25rem 0 0; font-size: 0.85rem; }

@media (max-width: 600px) {
  .become-member-row { flex-direction: column; }
}

/* -------------------------
   14) FAQ Page
   ------------------------- */
.faq-wrapper {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.faq-title {
  margin: 0 0 0.4rem;
  font-size: clamp(24px, 3vw, 32px);
}

.faq-tagline {
  margin: 0 0 1.5rem;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-contact-note {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-contact-note a {
  font-weight: 600;
  text-decoration: none;
}

.faq-contact-note a:hover { text-decoration: underline; }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-category {
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  padding: 1.3rem 1.3rem 1rem;
}

.faq-category-title {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
}

.faq-item + .faq-item {
  border-top: 1px solid #e5e7f0;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}

.faq-question {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.faq-answer {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.faq-answer p { margin: 0 0 0.5rem; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-pill {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: #e8f5ff;
  color: #136da3;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.faq-note {
  margin-top: 0.6rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem;
  border-left: 3px solid var(--brand);
  background: #f5f8fb;
  color: var(--muted);
}

/* -------------------------
   15) Main Page Layout (shared)
   ------------------------- */
.main-page-header {
  max-width: 1100px;
  display: flex;
  margin: 0 0 10px 0;
  text-align: left;
}

.main-page-header p { margin: 1em 0 0 0; }

.main-page-header-left { width: 65%; }
.main-page-header-right { width: 35%; padding-left: 1rem; }

.main-page-body-full {
  width: 100%;
  margin: 2rem 0 0 0;
}

.main-page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 0.25rem 0;
}

.main-page-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem 0;
}

.main-page-cta-box-right {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1rem;
  background: linear-gradient(140deg, #0f4c75, #0c1533);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35);
}

.main-page-cta-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 1.2rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 0;
}

/* Stack header columns on smaller screens */
@media (max-width: 900px) {
  .main-page-header {
    flex-direction: column;
    gap: 16px;
  }
  .main-page-header-left,
  .main-page-header-right {
    width: 100%;
    padding-left: 0;
  }
}

/* -------------------------
   16) Locations Page (map/list)
   ------------------------- */
.locations-page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.locations-page-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.locations-page-map-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.locations-page-map-panel {
  width: 100%;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.locations-page-map {
  width: 100%;
  min-height: 320px;
}

.locations-page-map-hint {
  margin: 0;
  padding: 0.75rem 1.25rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.locations-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 480px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.locations-page-location-card {
  cursor: pointer;
  background: var(--paper);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease, background 0.12s ease;
}

.locations-page-location-card:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.locations-page-location-card--active {
  border-color: var(--brand);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  background: rgba(27, 152, 224, 0.04);
}

.locations-page-location-name { margin: 0 0 0.25rem 0; font-size: 1rem; }
.locations-page-location-meta { margin: 0; font-size: 0.85rem; color: var(--muted); }
.locations-page-location-type { margin: 0.25rem 0 0; font-size: 0.8rem; color: var(--muted); }

#locations-page-map .leaflet-control-attribution { font-size: 0.7rem; }

/* Larger screens - FIXED (this block is now properly closed) */
@media (min-width: 960px) {
  .locations-page-wrapper { padding-inline: 0; }

  .locations-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 2rem;
  }

  .locations-page-map-panel,
  .locations-page-map {
    min-height: 380px;
  }

  .locations-page-list { max-height: 100%; }
}

/* -------------------------
   17) Location hero image (service/location pages)
   ------------------------- */
.location-hero {
  margin: 16px 0 28px;
  max-width: 100%;
  overflow: hidden;
}

.location-hero-image {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  border-radius: 16px;
}

/* Optional: consistent crop on small screens */
@media (max-width: 640px) {
  .location-hero-image {
    object-fit: cover;
  }
}

.location-hero-caption {
  margin-top: 10px;
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 70ch;
}

/* -------------------------
   18) Mega Footer (YachtWatchers)
   ------------------------- */
.footer.footer--mega {
  margin-top: 80px;
  padding: 56px 0 24px;
  background: var(--footer-bg, var(--navyDeep));
  color: var(--footer-text, rgba(255, 255, 255, 0.88));
}

.footer.footer--mega a {
  color: inherit;
  text-decoration: none;
}
.footer.footer--mega a:hover { text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1.25fr 1.25fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo img {
  display: block;
  max-width: 210px;
  height: auto;
  margin-bottom: 25px;
}

.footer-tagline {
  margin: 12px 0 14px;
  opacity: 0.9;
  line-height: 1.5;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.footer-badge {
  font-size: 0.82rem;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  opacity: 0.95;
}

.footer.footer--mega .footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

/* Note: mega footer uses .footer-link too; scope it so legacy footer isn't impacted */
.footer.footer--mega .footer-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
}

.footer-area {
  margin: 6px 0 0;
  opacity: 0.8;
  line-height: 1.4;
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 650;
  text-decoration: none;
}
.footer-cta:hover { background: rgba(255, 255, 255, 0.18); text-decoration: none; }
.footer-cta--ghost { background: transparent; }

.footer-heading {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin: 4px 0 14px;
  color: rgba(255, 255, 255, 0.95);
}

.footer-subheading {
  font-size: 0.95rem;
  margin: 18px 0 10px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin: 0 0 10px; }

.footer-links a { opacity: 0.9; }
.footer-links a:hover { opacity: 1; }

/* wide single-column lists */
.footer-links--wide li { margin-bottom: 10px; }
.footer-links--wide a { line-height: 1.35; }

.footer-social a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  width: 100%;
  margin: 0;
  font-size: 0.86rem;
  opacity: 0.8;
}

.footer-backtotop { text-decoration: none; }
.footer-backtotop:hover { text-decoration: underline; }

/* ===========================
   Main Page Layout (RESTORED)
   =========================== */

.main-page-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.main-page-body {
  max-width: 1100px;
  display: flex;
  margin: 0 0 10px 0;
  text-align: left;
}

.main-page-body-left { width: 65%; }
.main-page-body-right { width: 35%; padding-left: 1rem; }

.main-page-element {
  width: 100%;
  margin-top: 1rem;
}

.main-page-intro-left {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- Full-width dark band (you called this out) --- */
.main-page-body-full-dark {
  width: 100%;
  margin: 2rem 0 0 0;
  margin-bottom: 28px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  background: #0b132b;
  color: #ffffff;
  padding: 24px;
  text-align: center;
}

.main-page-body-full-dark h3 {
  margin: .5rem 0 .5rem 0;
}

/* --- CTA box styles (you called these out) --- */
.main-page-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.75rem;
  background: linear-gradient(140deg, var(--brand), #367ba9);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35);
}

.main-page-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 255, 255, 0.18),
    transparent 55%
  );
  opacity: 0.9;
  pointer-events: none;
}

.main-page-cta-box h3 {
  text-align: center;
  color: #142949;
  position: relative;
  margin: 0 auto 0.6rem;
  font-size: 1.25rem;
}

.main-page-cta-box p {
  position: relative;
  margin: 0 0 0.5rem 0;
}

/* --- Quote variant (you called this out) --- */
.main-page-cta-box-quote {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.75rem;
  background: linear-gradient(140deg, var(--brand), #367ba9);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35);
  font-style: italic;
}

.main-page-cta-box-quote h3 {
  text-align: center;
  color: #142949;
  position: relative;
  margin: 0 auto 0.6rem;
  font-size: 1.25rem;
}

.main-page-cta-box-quote p {
  position: relative;
  margin: 0 0 0.5rem 0;
}

/* --- White CTA box variant (was in your original cluster) --- */
.main-page-cta-box-white {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.75rem;
  background: #ffffff;
  color: #000000;
}

.main-page-cta-box-white h3 {
  text-align: center;
  color: #142949;
  position: relative;
  margin: 0 auto 0.6rem;
  font-size: 1.25rem;
}

.main-page-cta-box-white ul {
  position: relative;
  margin: 0 0 0.5rem 0;
  text-align: center;
  list-style-type: none;
  padding-left: 0;
}

/* --- CTA pill button link (was in your original cluster) --- */
.main-page-cta-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0f4c75;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
}

.main-page-cta-link::after {
  content: "→";
  font-size: 0.9rem;
}

.main-page-cta-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}



/* =========================================================
   YachtWatchers - Membership Estimate Calculator (v5)
   - Theme: YachtWatchers light blue (#0daaf9)
   - Output: 3 columns (Labels | Monthly | Yearly)
   - Data color unified (except green savings)
   ========================================================= */

/* -------------------------
   1) Calculator Shell
   ------------------------- */
.yw-calculator {
  margin-top: 18px;
  border: 2px solid #9aa3ad;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

#yw-estimate-calculator {
    scroll-margin-top: 50px;
}

.yw-calc-header {
  background: #0daaf9; /* brand light blue */
  color: #fff;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.yw-calc-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
  color: #fff;
}

.yw-calc-sub {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.yw-calc-body {
  padding: 14px;
}

/* -------------------------
   2) Inputs Grid
   ------------------------- */
.yw-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px 12px;
  margin: 0 0 10px;
}

.yw-calc-field label {
  display: block;
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 6px;
}

.yw-calc-field input,
.yw-calc-field select {
  width: 100%;
  border: 1px solid #9aa3ad;
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  background: #fff;
}

.yw-calc-field select option:disabled {
  color: #8a8f98;
}

.yw-calc-field small {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #666;
}

/* -------------------------
   3) Actions
   ------------------------- */
.yw-calc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 8px;
}

.yw-calc-btn {
  display: inline-block;
  padding: 10px 22px;
  background-color: var(--brand);
  box-shadow: 2px 4px 5px #000000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-shadow: none;
}

.yw-calc-btn span {
    display: inline-block;
}

.yw-calc-btn:hover {
  background-color: #0056b3;
}

.yw-calc-btn-annual {
  display: inline-block;
  padding: 10px 22px;
  background-color: var(--brand);
  box-shadow: 2px 4px 5px #000000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-shadow: none;
}

.yw-calc-btn-annual:hover {
  background-color: #0056b3;
}

.yw-calc-note {
  font-size: 0.82rem;
  color: #666;
}

/* -------------------------
   4) Results Visibility
   ------------------------- */
.yw-calc-results {
  display: none; /* shown after clicking "Get estimate" */
  margin-top: 10px;
  border-top: 1px solid #e2e5e8;
  padding-top: 10px;
}

.yw-calc-results.is-visible {
  display: block;
}

/* -------------------------
   5) 3-Column Compare Table
   ------------------------- */
.yw-calc-compare {
  border: 1px solid #e2e5e8;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.yw-calc-compare-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0;
}

.yw-calc-compare-row > div {
  padding: 10px 2px;
  border-top: 1px solid #eef1f4;
}

.yw-calc-compare-row:first-child > div {
  border-top: none;
}

.yw-calc-compare-head > div {
  background: #fbfcfd;
  font-weight: 800;
  color: #0b132b;
  border-top: none;
}

.yw-calc-compare-head .yw-calc-col-yearly {
  background: rgba(31, 138, 58, 0.08);
}

.yw-calc-label {
  color: #333;
  font-weight: 600;
}

/* All data the same color; only savings row turns green */
.yw-calc-val {
  text-align: right;
  color: #222;
  font-weight: 500;
}

.yw-calc-val-strong {
  text-align: right;
  color: #222;
  font-weight: 800;
}

.yw-calc-savings {
  text-align: right;
  color: #2c8c44;
  font-weight: 600;
}

/* -------------------------
   6) Annual CTA + Disclaimer
   ------------------------- */
.yw-calc-paybar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.yw-calc-disclaimer {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.35;
  text-align: right;
}

/* -------------------------
   X) Calculator CTA Row (Monthly / Annual)
   ------------------------- */
.yw-calc-compare-cta > div {
  background: #fff;
}

.yw-calc-cta-cell {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 140px;
}

.yw-calc-cta-btn {
  width: 100%;
  max-width: 240px;
}


/* -------------------------
   7A) Custom Pricing Display Override
   ------------------------- */
.yw-calc-savings.is-custom {
  color: #222;      /* same as other data */
  font-weight: 800; /* match .yw-calc-val */
}



/* Mobile stacking for body columns */
@media (max-width: 900px) {
  .main-page-body {
    flex-direction: column;
    gap: 16px;
  }
  .main-page-body-left,
  .main-page-body-right {
    width: 100%;
    padding-left: 0;
  }
  .main-page-intro-left {
    width: 100%;
  }
}

/* NAP block (moved OUT of the media query so it applies everywhere) */
.yw-nap { line-height: 1.4; }
.yw-nap__name { font-weight: 700; margin-bottom: 0.25rem; }
.yw-nap__line { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.yw-nap__sep { opacity: 0.6; }
.yw-nap a { text-decoration: none; }
.yw-nap a:hover { text-decoration: underline; }
.yw-nap__service-area { margin-top: .25rem; opacity: 0.9; }

/* -------------------------
   19) Responsiveness (fixed)
   ------------------------- */
@media (max-width: 680px) {
  .banner-inner {
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto;
    padding: 0 12px;
  }

  .menu {
    width: 100%;
    //display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .menu a {
    margin-left: 5px;
    margin-right: 5px;
  }

  .cards { grid-template-columns: 1fr; }
}

@media (min-width: 667px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile-specific: show call bar and prevent overlap */
@media (max-width: 784px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 60px; }
}

@media screen and (max-width: 600px) {
 .hero {
   height: 12rem;
 }
 .hero-overlay {
  margin-left: 5px; 
}
}

/* =========================
   Mobile menu: show button + panel, hide desktop links
   Paste at the VERY BOTTOM of style.css so it overrides earlier rules
   ========================= */

/* Keep mobile toggle hidden on desktop by default */
.mobile-menu-toggle{
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  padding: 6px 12px;
  line-height: 1;
  cursor: pointer;
  font: inherit;
  align-items: center;
  gap: 8px;
}

/* Make sure the panel can position relative to the bar */
.main-menu-box{ position: relative; }

/* Mobile panel styling (matches your existing dropdown vibe: var(--brand), rounded, shadow) */
.mobile-nav-panel{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--brand);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  z-index: 30;
  padding: 6px 0;
}

.mobile-nav-panel[hidden]{ display: none; }

/* Stronger selector so later ".menu a { ... }" rules don’t override it */
.menu .mobile-nav-panel a{
  display: block;
  margin: 0;              /* overrides your .menu a margins */
  padding: 10px 14px;
  text-decoration: none;
  opacity: 1;
}

.menu .mobile-nav-panel a:hover{
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

/* Mobile behavior */
@media (max-width: 784px){
  /* Hide the desktop nav links container */
  #ywDesktopNavLinks{ display: none; }

  /* Show the hamburger button */
  .mobile-menu-toggle{ display: inline-flex; }

  /* Optional: push the button to the right nicely */
  .main-menu-bar { 
      justify-content: flex-start; 
      padding-top:2px
    }

}

/* Mobile-only estimate CTA for memberships page top copy */
.mobile-estimate-cta {
  display: none;              /* hidden by default (desktop/tablet) */
  margin: 0.9rem 0 1rem;
}

/* Make anchor scroll land nicely if you have a sticky header */
#membership-estimator {
  scroll-margin-top: 95px;    /* adjust to your header height */
}

/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-estimate-cta {
    display: block;
  }

  .mobile-estimate-cta a {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
  }
}

/* Optional smooth scrolling (sitewide) */
html {
  scroll-behavior: smooth;
}

/* =========================================================
   Membership Table — Mobile Plan Switcher (Option B) — CLEANED
   - Default: switcher hidden (desktop/tablet)
   - Switcher mode: enabled ONLY when JS adds .yw-plans-mobile
   - Requires HTML:
       .yw-plan-switcher
         .yw-plan-tabs-note (optional)
         .yw-plan-tabs-window
            .yw-plan-tabs
            .yw-scroll-track (optional)
         .yw-plan-hint-row
            .yw-plan-tabs-hint
            .yw-expand-toggle (checkbox)
   - Scoped to .yw-plans-compare so nothing else is affected
   ========================================================= */

/* -------------------------
   1) Switcher base (hidden by default)
   ------------------------- */
.yw-plans-compare .yw-plan-switcher{
  display: none;
  margin: 0.75rem 0;
}

.yw-plans-compare .yw-plan-tabs-note,
.yw-plans-compare .yw-plan-tabs-hint{
  margin: 0;
  font-size: 0.82rem;
  color: #555;
}

/* Hint row (Viewing + Expand Table on same line) */
.yw-plans-compare .yw-plan-hint-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Plan buttons (scoped so it won't affect other buttons) */
.yw-plans-compare .yw-plan-tab{
  background: #fff;
  color: #0b132b;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: none;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.yw-plans-compare .yw-plan-tab:hover{
  filter: none;
  border-color: rgba(15, 23, 42, 0.35);
}

.yw-plans-compare .yw-plan-tab.is-active{
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

/* -------------------------
   2) Switcher mode ON
   ------------------------- */
.yw-plans-compare.yw-plans-mobile{
  overflow-x: hidden; /* stop wrapper horizontal scroll in switcher mode */
}

.yw-plans-compare.yw-plans-mobile .yw-plan-switcher{
  display: grid;
  gap: 6px;
}

/* -------------------------
   2A) Vertical selector window (border + sharp fades + optional track)
   ------------------------- */
.yw-plans-compare.yw-plans-mobile .yw-plan-tabs-window{
  position: relative;
  overflow: hidden;          /* clips list + keeps fades fixed */
  max-height: 100px;         /* current working height */
  background: #fff;

  border: 1px solid #9aa3ad;
  border-radius: 12px;
}

/* Scrolling list */
.yw-plans-compare.yw-plans-mobile .yw-plan-tabs{
  display: flex;
  flex-direction: column;
  gap: 8px;

  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;

  /* top/right/bottom/left — right includes room for track */
  padding: 8px 18px 8px 2px;

  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scroll-snap-type: y mandatory;
}

/* Buttons: full width + snap */
.yw-plans-compare.yw-plans-mobile .yw-plan-tab{
  width: 100%;
  text-align: left;
  scroll-snap-align: center;
}

/* Native scrollbar (some mobile OS hide it, but desktop/webkit shows) */
.yw-plans-compare.yw-plans-mobile .yw-plan-tabs::-webkit-scrollbar{ width: 6px; }
.yw-plans-compare.yw-plans-mobile .yw-plan-tabs::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
}

/* Sharp fades anchored to the NON-scrolling window */
.yw-plans-compare.yw-plans-mobile .yw-plan-tabs-window::before,
.yw-plans-compare.yw-plans-mobile .yw-plan-tabs-window::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  pointer-events: none;
  z-index: 3;
}

.yw-plans-compare.yw-plans-mobile .yw-plan-tabs-window::before{
  top: 0;
  background: linear-gradient(to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.6) 35%,
    rgba(255,255,255,0) 100%
  );
}

.yw-plans-compare.yw-plans-mobile .yw-plan-tabs-window::after{
  bottom: 0;
  background: linear-gradient(to top,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.6) 35%,
    rgba(255,255,255,0) 100%
  );
}

/* Always-visible track on the right side (requires .yw-scroll-track element) */
.yw-plans-compare.yw-plans-mobile .yw-scroll-track{
  position: absolute;
  top: 8px;                  /* matches .yw-plan-tabs padding-top */
  bottom: 8px;               /* matches .yw-plan-tabs padding-bottom */
  right: 6px;
  width: 6px;
  border-radius: 999px;
  background: rgba(107,114,128,0.22);
  pointer-events: none;
  z-index: 4;
}

/* -------------------------
   3) Table behavior in switcher mode
   ------------------------- */

/* Hide the column-group subheading row (colspan row) */
.yw-plans-compare.yw-plans-mobile .yw-plans-table thead tr.yw-reporting-table-highlight{
  display: none;
}

/* Mobile table frame (override inline left/bottom borders) */
.yw-plans-compare.yw-plans-mobile .yw-plans-table{
  width: 100%;
  min-width: 0;
  table-layout: auto;

  border: 2px solid #9aa3ad !important; /* overrides inline border-left/bottom */
  border-radius: 12px;
  overflow: hidden;
  background: #fff;

  border-collapse: separate;
  border-spacing: 0;
}

.yw-plans-compare.yw-plans-mobile .yw-plans-table th,
.yw-plans-compare.yw-plans-mobile .yw-plans-table td{
  width: auto;
  font-size: 0.92rem;
  padding: 0.55rem 0.65rem;
}

/* Feature column width in mobile mode */
.yw-plans-compare.yw-plans-mobile .yw-plans-table th.yw-feature-name,
.yw-plans-compare.yw-plans-mobile .yw-plans-table td.yw-feature-name{
  width: 68%;
}

/* Hide all plan columns by default (2–6), then show exactly one via data-plan */
.yw-plans-compare.yw-plans-mobile .yw-plans-table tr > :nth-child(2),
.yw-plans-compare.yw-plans-mobile .yw-plans-table tr > :nth-child(3),
.yw-plans-compare.yw-plans-mobile .yw-plans-table tr > :nth-child(4),
.yw-plans-compare.yw-plans-mobile .yw-plans-table tr > :nth-child(5),
.yw-plans-compare.yw-plans-mobile .yw-plans-table tr > :nth-child(6){
  display: none;
}

.yw-plans-compare.yw-plans-mobile[data-plan="basic"]    .yw-plans-table tr > :nth-child(2){ display: table-cell; }
.yw-plans-compare.yw-plans-mobile[data-plan="floating"] .yw-plans-table tr > :nth-child(3){ display: table-cell; }
.yw-plans-compare.yw-plans-mobile[data-plan="running"]  .yw-plans-table tr > :nth-child(4){ display: table-cell; }
.yw-plans-compare.yw-plans-mobile[data-plan="ready"]    .yw-plans-table tr > :nth-child(5){ display: table-cell; }
.yw-plans-compare.yw-plans-mobile[data-plan="pristine"] .yw-plans-table tr > :nth-child(6){ display: table-cell; }

/* Lock plan header row height so the table doesn't "jump" */
.yw-plans-compare.yw-plans-mobile .yw-plans-table thead tr:last-child th{
  height: 110px;
  vertical-align: middle;
  line-height: 1.15;
}

.yw-plans-compare.yw-plans-mobile .yw-plans-table thead tr:last-child th small{
  display: block;
  margin-top: 3px;
}

.yw-plans-compare.yw-plans-mobile .yw-plans-table thead tr:last-child th .yw-plan-info{
  vertical-align: middle;
}

/* -------------------------
   4) Expand Table toggle (radio-style checkbox)
   ------------------------- */
.yw-plans-compare .yw-expand-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #555;
  user-select: none;
  cursor: pointer;
  white-space: nowrap;
}

.yw-plans-compare .yw-expand-input{
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #9aa3ad;
  border-radius: 999px;
  background: #fff;
  display: inline-grid;
  place-items: center;
}

.yw-plans-compare .yw-expand-input::after{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.yw-plans-compare .yw-expand-input:checked{
  border-color: #6b7280;
}

.yw-plans-compare .yw-expand-input:checked::after{
  background: #6b7280;
}

/* -------------------------
   5) Expanded mode: show full table + horizontal scroll
   ------------------------- */
.yw-plans-compare.yw-plans-mobile.yw-plans-expanded{
  overflow-x: auto;                  /* override overflow-x:hidden */
  -webkit-overflow-scrolling: touch;
}

/* Show the column-group subheading row again */
.yw-plans-compare.yw-plans-mobile.yw-plans-expanded .yw-plans-table thead tr.yw-reporting-table-highlight{
  display: table-row;
}

/* Ensure the table can overflow so the user can scroll */
.yw-plans-compare.yw-plans-mobile.yw-plans-expanded .yw-plans-table{
  min-width: 720px;
}

/* Show all plan columns (override hiding) */
.yw-plans-compare.yw-plans-mobile.yw-plans-expanded .yw-plans-table tr > :nth-child(2),
.yw-plans-compare.yw-plans-mobile.yw-plans-expanded .yw-plans-table tr > :nth-child(3),
.yw-plans-compare.yw-plans-mobile.yw-plans-expanded .yw-plans-table tr > :nth-child(4),
.yw-plans-compare.yw-plans-mobile.yw-plans-expanded .yw-plans-table tr > :nth-child(5),
.yw-plans-compare.yw-plans-mobile.yw-plans-expanded .yw-plans-table tr > :nth-child(6){
  display: table-cell !important;
}

/* -------------------------
   20) Optional Dark Mode (fixed comment)
   ------------------------- */
/*
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1115;
    --ink: #e6e6e6;
    --muted: #aaa;
  }
  body { background: #0b0e12; }
  .page { background: var(--paper); }
}
*/
