/* ============================================================================
   PHG Boat Protection & Wash Kit — Landing Page Stylesheet
   Mobile-first. No framework. Shared by both Size B and Size C pages.
   ============================================================================ */

:root {
  --navy-900: #0b2545;
  --navy-800: #123a68;
  --navy-700: #17498a;
  --blue-500: #1f7ae0;
  --blue-100: #eaf3ff;
  --white: #ffffff;
  --ink: #16233a;
  --ink-soft: #4a5a72;
  --border: #dbe4ef;
  --surface: #f6f9fc;
  --cta: #e8531f;
  --cta-dark: #c84315;
  --success: #1c8a4b;

  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius: 14px;
  --sticky-bar-height: 68px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: calc(var(--sticky-bar-height) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-500); text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 4vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.brand__mark--alt { color: #9fd0ff; }
.brand__x { color: #7f97b8; }
.site-header__size-switch a {
  color: #cfe4ff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.notice-banner {
  background: #fff4e5;
  border-bottom: 1px solid #f3cf9a;
  color: #7a4a00;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
}
.notice-banner a { color: #7a4a00; font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  cursor: pointer;
  min-height: 52px;
  text-align: center;
}
.btn--buy {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(232, 83, 31, 0.35);
}
.btn--buy:hover, .btn--buy:active { background: var(--cta-dark); }
.btn--disabled, .btn--disabled:hover {
  background: #b8c2cf;
  color: #eef2f6;
  box-shadow: none;
  cursor: not-allowed;
}
.btn--block { display: flex; width: 100%; }
.btn--secondary {
  background: var(--white);
  color: var(--navy-900);
  border: 2px solid var(--navy-900);
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--blue-100) 0%, var(--white) 65%);
  padding: 24px 0 32px;
}
.hero__grid {
  display: grid;
  gap: 24px;
}
.hero__media picture, .hero__media img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.15);
}
.hero__eyebrow {
  display: inline-block;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero__tagline { font-size: 1.05rem; color: var(--navy-800); font-weight: 600; }
.hero__included {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.hero__included li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--ink);
}
.hero__included li::before {
  content: "\2713";
  color: var(--success);
  font-weight: 800;
  flex: none;
}
.hero__price-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 18px 0;
}
.hero__price-main { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--navy-900); }
.hero__price-sub { color: var(--ink-soft); font-size: 0.95rem; margin-top: 2px; }
.hero__price-total { margin-top: 8px; font-size: 0.92rem; color: var(--ink-soft); }
.hero__price-total strong { color: var(--navy-900); }
.hero__disclaimer { font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; }

/* ---------------------------------------------------------------------- */
/* Generic section rhythm                                                  */
/* ---------------------------------------------------------------------- */
section { padding: 40px 0; }
.section--alt { background: var(--surface); }
.section__intro { max-width: 62ch; margin-bottom: 24px; }
.section__intro.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Why this bundle */
.reasons-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.reason-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.reason-card__icon { font-size: 1.6rem; margin-bottom: 8px; }

/* What's included */
.included-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.included-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.included-card__media { background: var(--blue-100); }
.included-card__body { padding: 18px; }
.included-card__eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--blue-500);
  text-transform: uppercase;
}
.spec-list { list-style: none; padding: 0; margin: 10px 0 0; }
.spec-list li {
  padding: 6px 0;
  border-top: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--ink);
}
.spec-list li:first-child { border-top: none; }

/* Fit / size section */
.fit-callout {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center;
}
.fit-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.fit-fact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.fit-fact__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); display: block; }
.fit-fact__value { font-family: var(--font-head); font-weight: 800; color: var(--navy-900); font-size: 1.15rem; }
.fit-media {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.fit-media picture {
  display: block;
  width: auto;
  max-width: 100%;
}
.fit-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
}
.fit-note {
  background: var(--blue-100);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 0.92rem;
}
.size-switch-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-weight: 600;
}

/* Protect-your-passion lifestyle banner */
section[aria-label="Protect your passion"] picture,
section[aria-label="Protect your passion"] img {
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.12);
}

/* Benefits gallery */.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.gallery-item picture, .gallery-item img { border-radius: var(--radius); }
.gallery-item__caption { margin-top: 10px; font-weight: 600; color: var(--navy-800); text-align: center; }

/* Final CTA */
.final-cta {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: #c8d6ea; }
.final-cta__price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; margin: 10px 0; }
.final-cta__price small { display: block; font-size: 0.95rem; font-weight: 500; color: #c8d6ea; }

/* ---------------------------------------------------------------------- */
/* Sticky mobile buy bar                                                   */
/* ---------------------------------------------------------------------- */
.sticky-buy-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 18px rgba(11, 37, 69, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  min-height: var(--sticky-bar-height);
}
.sticky-buy-bar__price { line-height: 1.2; }
.sticky-buy-bar__price strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); display: block; }
.sticky-buy-bar__note { font-size: 0.68rem; color: var(--ink-soft); }
.sticky-buy-bar__btn { padding: 12px 22px; font-size: 0.95rem; min-height: 44px; white-space: nowrap; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #c8d6ea;
  padding: 32px 0 18px;
}
.site-footer__inner {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-footer strong { color: var(--white); display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.03em; }
.site-footer a { color: #cfe4ff; }
.site-footer p { color: #b7c6de; margin: 0; }
.site-footer__legal { padding-top: 14px; }
.site-footer__legal p { font-size: 0.78rem; color: #8fa3c2; margin: 0; }

/* ---------------------------------------------------------------------- */
/* Breakpoints                                                             */
/* ---------------------------------------------------------------------- */
@media (min-width: 640px) {
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-facts { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-buy-bar { display: none; }

  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .hero__content { order: 1; }
  .hero__media { order: 2; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; }
  .final-cta__inner .btn { flex: none; }
}

@media (min-width: 1000px) {
  .included-card--reverse .included-card__media { order: 2; }
}

/* Reduced motion / print hygiene */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
