﻿/* =============================================================
   B&C Pool Products – Skimmer Shield
   Design System & Stylesheet
   ============================================================= */

/* 1. Reset & Base
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #1E3A5F;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* 2. Design Tokens
--------------------------------------------------------------- */
:root {
  --primary:        #0369A1;
  --primary-hover:  #0284C7;
  --primary-dark:   #0C4A6E;
  --primary-light:  #BAE6FD;
  --primary-bg:     #F0F9FF;
  --accent:         #F97316;
  --accent-hover:   #EA580C;
  --accent-light:   #FED7AA;
  --white:          #FFFFFF;
  --gray-50:        #F8FAFC;
  --gray-100:       #F1F5F9;
  --gray-200:       #E2E8F0;
  --gray-400:       #94A3B8;
  --gray-600:       #475569;
  --gray-800:       #1E293B;
  --text:           #0C4A6E;
  --text-body:      #334155;
  --text-muted:     #64748B;
  --border:         #E2E8F0;
  --success:        #16A34A;
  --success-bg:     #DCFCE7;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:         0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.08);
  --shadow-lg:      0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.08);
  --shadow-xl:      0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.08);
  --shadow-2xl:     0 25px 50px -12px rgba(0,0,0,.25);
  --transition:     0.25s cubic-bezier(.4,0,.2,1);
  --max-width:      1200px;
  --nav-height:     72px;
}

/* 3. Typography
--------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}
h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem,  2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
p  { color: var(--text-body); line-height: 1.75; }
p + p { margin-top: 0.875rem; }
strong { color: var(--text); }

/* 4. Layout
--------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section        { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-light  { background: var(--primary-bg); }
.section-dark   { background: var(--primary-dark); }
.section-white  { background: #fff; }
.text-center    { text-align: center; }
.text-white     { color: #fff !important; }
.text-muted     { color: var(--text-muted); }
.flex           { display: flex; }
.grid           { display: grid; }
.items-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-4          { gap: 1rem; }
.gap-6          { gap: 1.5rem; }
.gap-8          { gap: 2rem; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12{ margin-top: 3rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* 5. Section Header
--------------------------------------------------------------- */
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: 3rem; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: .875rem;
}
.section-label.on-dark {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.section-label.accent {
  background: var(--accent-light);
  color: var(--accent-hover);
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { font-size: 1.1rem; max-width: 600px; }
.section-header.center p { margin-inline: auto; }

/* 6. Buttons
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,.35);
}
.btn-blue {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-blue:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3,105,161,.35);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }
.btn-full { width: 100%; }

/* 7. Navigation
--------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-brand-logo {
  height: 48px;
  width: auto;
  border-radius: 8px;
}
.nav-brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-dark);
  line-height: 1.15;
}
.nav-brand-text em {
  font-style: normal;
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .875rem;
  color: var(--gray-800);
  padding: .5rem .875rem;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-bg);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-hamburger { display: flex; margin-left: auto; }
  .nav-actions { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    gap: .25rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; border-radius: 8px; }
  .nav-actions .btn { display: none; }
  .nav-search { display: none; }
  .nav-search-mobile { display: block !important; padding-top: .75rem; margin-top: .25rem; border-top: 1px solid var(--border); list-style: none; }
  .nav-brand-logo { height: 36px; }
  .nav-brand-text { font-size: .9rem; }
  .hero-bg { background-size: cover; background-position: 52% center; }
}

.nav-search-mobile { display: none; }

/* Nav search bar */
.nav-search {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3,105,161,.12);
}
.nav-search-input {
  background: none;
  border: none;
  outline: none;
  color: var(--gray-800);
  font-size: .82rem;
  font-family: 'Open Sans', sans-serif;
  padding: .42rem .5rem .42rem .9rem;
  width: 150px;
}
.nav-search-input::placeholder { color: var(--text-muted); }
.nav-search-btn {
  background: var(--primary);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: .42rem .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  border-radius: 0 22px 22px 0;
  margin: 0;
  height: 100%;
}
.nav-search-btn:hover { background: var(--primary-dark); }

/* 8. Hero
--------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/20180526_183724.jpg');
  background-size: cover;
  background-position: left center;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(7,29,53,.38) 0%,
    rgba(12,74,110,.28) 55%,
    rgba(7,29,53,.38) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 680px;
  padding-block: 3rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.5);
  color: #FDBA74;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  animation: fadeInDown .7s ease both;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  animation: fadeInUp .7s .15s ease both;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero h1 em {
  color: #7DD3FC;
  font-style: normal;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.95);
  margin-bottom: 2rem;
  animation: fadeInUp .7s .25s ease both;
  max-width: 540px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp .7s .35s ease both;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp .7s .45s ease both;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
}
.hero-trust-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.35);
}

/* 9. Problem / Pain Points
--------------------------------------------------------------- */
.problem-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .problem-intro { grid-template-columns: 1fr; gap: 2rem; }
}
.problem-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.problem-image img { width: 100%; height: 360px; object-fit: cover; }
.problem-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(220,38,38,.9);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  padding: .4rem .875rem;
  border-radius: 999px;
}
.pain-list { margin-top: 1.5rem; }
.pain-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.pain-item:last-child { border-bottom: none; }
.pain-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: #FEE2E2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.pain-item h5 { color: var(--primary-dark); margin-bottom: .2rem; }
.pain-item p { font-size: .9rem; margin: 0; }

/* 10. Solution / Product
--------------------------------------------------------------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .product-showcase { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-showcase .product-media { order: -1; }
}
.product-media { position: relative; }
.product-media-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}
.product-media-img img { width: 100%; height: 460px; object-fit: cover; }
.product-media-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 90px;
  height: 90px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: .7rem;
  box-shadow: 0 4px 16px rgba(249,115,22,.4);
  animation: pulse-badge 2.5s infinite;
  z-index: 1;
}
.product-media-badge strong { font-size: 1.3rem; display: block; }
.product-features { margin: 1.75rem 0 2rem; }
.product-feature {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  margin-bottom: 1.125rem;
}
.pf-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pf-check::after {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: .75rem;
}
.pf-text h5 { color: var(--primary-dark); font-size: .95rem; margin-bottom: .15rem; }
.pf-text p  { font-size: .875rem; margin: 0; }

/* 11. Benefits (dark band)
--------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.benefit-card:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,.2);
}
.benefit-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}
.benefit-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .625rem; }
.benefit-card p  { color: rgba(255,255,255,.72); margin: 0; font-size: .95rem; }

/* 12. Before/After Comparison
--------------------------------------------------------------- */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
@media (max-width: 500px) {
  .before-after { grid-template-columns: 1fr; }
}
.ba-item { position: relative; }
.ba-item img { width: 100%; height: 280px; object-fit: cover; }
.ba-label {
  position: absolute;
  top: .875rem;
  left: .875rem;
  padding: .35rem .875rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  color: #fff;
}
.ba-label.before { background: rgba(220,38,38,.85); }
.ba-label.after  { background: rgba(22,163,74,.9); }

/* 13. How It Works Steps
--------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
}
.step-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}
.step-img {
  height: 155px;
  overflow: hidden;
  background: var(--primary-bg);
}
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-body { padding: 1.375rem 1.25rem 1.625rem; }
.step-num {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  margin: 0 auto .875rem;
  box-shadow: 0 4px 10px rgba(3,105,161,.3);
}
.step-body h4 { color: var(--primary-dark); font-size: .925rem; line-height: 1.35; }

/* 14. Gallery Preview
--------------------------------------------------------------- */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-preview-grid .g-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 768px) {
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview-grid .g-item:first-child { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 480px) {
  .gallery-preview-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid .g-item:first-child { grid-column: span 1; }
}
.g-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  min-height: 160px;
}
.g-item:first-child img { min-height: 320px; }
.g-item:hover img { transform: scale(1.06); }
.g-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,74,110,.45);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
}
.g-item:hover .g-item-overlay { opacity: 1; }

/* 15. Where To Buy (homepage teaser)
--------------------------------------------------------------- */
.buy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.buy-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
}
.buy-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.buy-card-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.buy-card-logo.amazon { color: #FF9900; }
.buy-card-logo.walmart { color: #0071CE; }
.buy-card-logo.ebay { color: #E53238; }
.buy-card-logo.local { color: var(--primary); font-size: 1.1rem; }
.buy-card p { font-size: .875rem; margin: 0; }
.buy-card .btn { width: 100%; }

/* 16. Retailer CTA Strip
--------------------------------------------------------------- */
.retailer-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 4.5rem 0;
  text-align: center;
  color: #fff;
}
.retailer-cta h2 { color: #fff; margin-bottom: .875rem; }
.retailer-cta p  { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 2rem; }
.retailer-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* 17. Footer
--------------------------------------------------------------- */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
}
.footer-main {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-main { grid-template-columns: 1fr; }
}
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.78); margin-top: .875rem; line-height: 1.7; }
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-logo em { font-style: normal; color: #7DD3FC; }
.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  transition: all var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-col h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col a,
.footer-col span {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  padding: .3rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: #7DD3FC; }
.footer-col address { font-style: normal; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.375rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #7DD3FC; }

/* 18. Page Header (inner pages)
--------------------------------------------------------------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 6rem 5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 10 Q25 0 50 10 Q75 20 100 10 L100 20 L0 20Z" fill="rgba(255,255,255,0.04)"/></svg>') repeat-x bottom / 200px;
}
.page-header h1 { color: #fff; font-size: clamp(1rem, 2vw, 2.25rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .08em; margin-bottom: 1rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: .875rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
}
.breadcrumb a { color: #7DD3FC; transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: .4; }

/* 19. How It Works Page
--------------------------------------------------------------- */
.hiw-steps { counter-reset: step-counter; }
.hiw-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step.reverse { direction: rtl; }
.hiw-step.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .hiw-step, .hiw-step.reverse { grid-template-columns: 1fr; gap: 1.75rem; direction: ltr; }
  .hiw-step.reverse .hiw-step-media { order: -1; }
}
.hiw-step-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hiw-step-media img { width: 100%; height: 300px; object-fit: cover; }
.hiw-step-media video {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.hiw-step-num {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .875rem;
}
.hiw-step-num-badge {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(3,105,161,.3);
  flex-shrink: 0;
}
.hiw-step-num span { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .85rem; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; }
.hiw-step-content h3 { margin-bottom: .625rem; }
.hiw-step-content p { font-size: 1.05rem; }
.hiw-tip {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: .875rem 1rem;
  margin-top: 1.25rem;
  font-size: .9rem;
}
.hiw-tip-icon { color: var(--primary); font-size: 1.1rem; margin-top: 1px; }
.hiw-tip p { margin: 0; color: var(--text-body); font-size: .9rem; }

/* 20. Gallery Page
--------------------------------------------------------------- */
.gallery-filter {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .875rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.gallery-masonry {
  columns: 4;
  column-gap: 1rem;
}
@media (max-width: 1000px) { .gallery-masonry { columns: 3; } }
@media (max-width: 680px)  { .gallery-masonry { columns: 2; } }
@media (max-width: 400px)  { .gallery-masonry { columns: 1; } }
.gm-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: block;
}
.gm-item img { width: 100%; height: auto; display: block; transition: transform .45s ease; }
.gm-item:hover img { transform: scale(1.04); }
.gm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,74,110,.5);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}
.gm-item:hover .gm-overlay { opacity: 1; }

/* 21. Where To Buy Page
--------------------------------------------------------------- */
.online-retailers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 700px) {
  .online-retailers { grid-template-columns: 1fr; }
}
.retailer-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.retailer-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.retailer-card-logo { font-size: 2.25rem; font-weight: 800; font-family: 'Poppins', sans-serif; line-height: 1; }
.retailer-card-logo.amazon  { color: #FF9900; }
.retailer-card-logo.walmart { color: #0071CE; }
.retailer-card-logo.ebay    { color: #E53238; }
.retailer-card h4 { color: var(--primary-dark); font-size: 1.05rem; }
.retailer-card p  { font-size: .875rem; margin: 0; }
.retailer-card .btn { width: 100%; }
.stores-section { margin-top: 4rem; }
.state-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  padding: .4rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}
.store-card {
  background: var(--primary-bg);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--transition);
}
.store-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.store-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}
.store-info h4 { color: var(--primary-dark); margin-bottom: .375rem; }
.store-info p { font-size: .9rem; margin: 0; line-height: 1.6; }
.store-info a { color: var(--primary); font-weight: 600; }
.become-retailer {
  background: linear-gradient(135deg, var(--primary-bg), #E0F2FE);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
}
.become-retailer h3 { margin-bottom: .75rem; }
.become-retailer p { max-width: 560px; margin-inline: auto; margin-bottom: 1.75rem; }

/* 22. Contact Page
--------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-sidebar {
  background: var(--primary-bg);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--primary-light);
}
.contact-sidebar h3 { margin-bottom: 1.5rem; }
.ci-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--border);
}
.ci-item:last-child { border-bottom: none; padding-bottom: 0; }
.ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.ci-text h5 {
  color: var(--primary-dark);
  font-size: .825rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .2rem;
}
.ci-text p, .ci-text a { font-size: .95rem; color: var(--text-muted); margin: 0; display: block; }
.ci-text a:hover { color: var(--primary); }
.contact-social { margin-top: 1.5rem; }
.contact-social h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .825rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--primary-dark);
  margin-bottom: .875rem;
}
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.contact-form-card h3 { margin-bottom: 1.625rem; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.125rem; }
.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  color: var(--primary-dark);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: all var(--transition);
  outline: none;
  appearance: none;
}
.form-control:hover  { border-color: #94A3B8; }
.form-control:focus  { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(3,105,161,.12); }
.form-control.error  { border-color: #EF4444; }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-error { color: #EF4444; font-size: .8rem; margin-top: .35rem; display: none; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--success-bg);
  border-radius: var(--radius);
  margin-top: 1rem;
}
.form-success.show { display: block; }
.form-success h4 { color: #15803D; margin-bottom: .5rem; }
.form-success p  { color: #16A34A; margin: 0; }

/* 23. Lightbox
--------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.94);
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lb-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  color: rgba(255,255,255,.7);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color var(--transition);
  z-index: 10;
}
.lb-close:hover { color: #fff; }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }
.lb-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}

/* 23b. Drag-to-Compare Slider
--------------------------------------------------------------- */
.cs-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  user-select: none;
  touch-action: none;
  cursor: default;
}
.cs-before-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
/* After image — auto-animates width, JS can override */
.cs-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 3%;
  animation: cs-ping-pong 6s ease-in-out infinite alternate;
}
.cs-after img {
  position: absolute;
  inset: 0;
  width: var(--cs-full-w, 100%);
  max-width: none;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* Handle — same duration/easing as cs-after so they stay in sync */
.cs-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3%;
  transform: translateX(-50%);
  width: 4px;
  background: rgba(255,255,255,.92);
  z-index: 4;
  pointer-events: none;
  animation: cs-handle-ping-pong 6s ease-in-out infinite alternate;
}
.cs-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.2rem;
  box-shadow: 0 2px 14px rgba(0,0,0,.28);
}
.cs-label {
  position: absolute;
  bottom: 1.25rem;
  padding: .5rem 1.125rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cs-label-before { left: 1.25rem;  background: rgba(16,130,70,.9);  }
.cs-label-after  { right: 1.25rem; background: rgba(180,30,30,.85); }
.cs-hint {
  text-align: center;
  margin-top: .875rem;
  font-size: .85rem;
  color: var(--text-muted);
}
/* Synchronized ping-pong keyframes */
@keyframes cs-ping-pong        { from { width: 3%; } to { width: 97%; } }
@keyframes cs-handle-ping-pong { from { left:  3%; } to { left:  97%; } }

/* When JS pauses/overrides, remove animation */
.cs-after.cs-manual,
.cs-handle.cs-manual {
  animation: none;
}

/* 24. Scroll Reveal
--------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(0.93); }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* 25. Keyframes
--------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 4px 16px rgba(249,115,22,.4); }
  50%       { box-shadow: 0 4px 28px rgba(249,115,22,.7); }
}
@keyframes wave {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 26. Utilities
--------------------------------------------------------------- */
.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;
}
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--text-muted);
  font-size: .75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* 27. Responsive Helpers
--------------------------------------------------------------- */
@media (max-width: 480px) {
  .hide-mobile { display: none !important; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-bg { background-size: cover; background-position: 52% center; }
  .become-retailer .btn { font-size: .75rem; padding: .5rem .875rem; white-space: normal; line-height: 1.3; }
  .retailer-cta-actions { flex-direction: column; }
  .retailer-cta-actions .btn { width: 100%; }
}

/* 28. Print
--------------------------------------------------------------- */
@media print {
  .nav, footer, .hero-scroll, .lightbox { display: none !important; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero-bg, .hero-overlay { display: none; }
  .hero h1, .hero p { color: #000; }
}

