/* ============================================
   ISLAND JEWEL — TROPICAL LUXURY EDITION
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:         #0a1628;
  --navy-mid:     #112240;
  --navy-light:   #1a3a5c;
  --botanical:    #2d5a3d;
  --botanical-lt: #3d7a52;
  --gold:         #d4a843;
  --gold-lt:      #e8c270;
  --sand:         #e8d5b0;
  --sand-lt:      #f5eedc;
  --cream:        #faf8f3;
  --white:        #ffffff;
  --text-dark:    #0a1628;
  --text-mid:     #3d4f6b;
  --text-light:   #7a8fa6;
  --warm-line:    #ddd5c0;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', system-ui, sans-serif;
  --max-width:  1200px;
  --radius-sm:  4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(3rem, 6.5vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.25rem; }

.leaf-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--botanical);
  margin-bottom: 18px;
}
.leaf-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--botanical);
}
.leaf-tag.light { color: var(--gold-lt); }
.leaf-tag.light::before { background: var(--gold-lt); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 0;
}
.btn-sand {
  background: var(--sand);
  color: var(--navy);
}
.btn-sand:hover { background: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-lt); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.btn-botanical {
  background: var(--botanical);
  color: var(--white);
}
.btn-botanical:hover { background: var(--botanical-lt); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-brand span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99;
  padding: 110px 40px 40px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 28px; right: 40px;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-left {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 72px 80px 72px;
  position: relative;
  z-index: 2;
}
.hero-left::after {
  content: '';
  position: absolute;
  top: 0; right: -60px; bottom: 0;
  width: 120px;
  background: var(--navy);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  z-index: 3;
}
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.3) 0%, transparent 50%);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero-sub {
  color: var(--sand);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 420px;
  margin: 24px 0 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll-hint {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-scroll-hint::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-ph {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, var(--botanical) 0%, var(--navy-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.img-ph svg { width: 36px; height: 36px; opacity: 0.3; }

/* ============================================
   INTRO STRIP
   ============================================ */
.intro-strip {
  background: var(--botanical);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.intro-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.intro-strip-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.intro-strip-item span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-cream { background: var(--cream); padding: 96px 40px; }
.section-white { background: var(--white); padding: 96px 40px; }
.section-navy { background: var(--navy); padding: 96px 40px; }
.section-sand { background: var(--sand-lt); padding: 96px 40px; }
.container { max-width: var(--max-width); margin: 0 auto; }

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--warm-line);
  margin-top: 56px;
}
.feature-card {
  background: var(--white);
  padding: 52px 44px;
}
.feature-card-icon {
  width: 52px;
  height: 3px;
  background: var(--botanical);
  margin-bottom: 28px;
}
.feature-card h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================
   PRODUCT BENTO GRID
   ============================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  margin-top: 56px;
}
.bento-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.bento-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; min-height: 480px; }
.bento-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1; min-height: 480px; }
.bento-item:nth-child(3) { grid-column: 1 / 5; grid-row: 2; min-height: 320px; }
.bento-item:nth-child(4) { grid-column: 5 / 9; grid-row: 2; min-height: 320px; }
.bento-item:nth-child(5) { grid-column: 9 / 13; grid-row: 2; min-height: 320px; }
.bento-item:nth-child(6) { grid-column: 1 / 7; grid-row: 3; min-height: 360px; }
.bento-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-item:hover img { transform: scale(1.04); }
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.1) 55%, transparent 100%);
}
.bento-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
  z-index: 2;
}
.bento-label h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.2;
}
.bento-label p {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 14px;
}
.bento-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.bento-item:hover .bento-link { gap: 10px; }
.bento-placeholder {
  position: absolute;
  inset: 0;
}

/* ============================================
   PROCESS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.process-item {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.process-item:last-child { border-right: none; }
.process-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(212,168,67,0.25);
  line-height: 1;
  margin-bottom: 20px;
}
.process-item h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.process-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

/* ============================================
   IMMERSIVE SPLIT
   ============================================ */
.immersive-split {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 640px;
}
.immersive-img { position: relative; overflow: hidden; }
.immersive-img img { position: absolute; inset: 0; }
.immersive-content {
  background: var(--navy-mid);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.immersive-content h2 { color: var(--white); margin-bottom: 20px; }
.immersive-content p {
  color: var(--sand);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 14px;
  font-weight: 300;
}

/* ============================================
   STATS
   ============================================ */
.stats-strip {
  background: var(--botanical);
  padding: 56px 40px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
  max-width: var(--max-width);
  margin: 0 auto;
}
.stat-block {
  background: var(--botanical);
  padding: 40px 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   DEALER FINDER
   ============================================ */
.finder-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  border: 1px solid var(--warm-line);
  margin-top: 48px;
  overflow: hidden;
}
.finder-form {
  background: var(--white);
  padding: 44px 36px;
  border-right: 1px solid var(--warm-line);
}
.finder-form h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 6px;
}
.finder-form p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.fgroup { margin-bottom: 16px; }
.fgroup label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 7px;
}
.fgroup input, .fgroup select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--warm-line);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  border-radius: var(--radius-sm);
  appearance: none;
  transition: border-color 0.2s;
}
.fgroup input:focus, .fgroup select:focus {
  outline: none;
  border-color: var(--botanical);
}
.finder-map {
  background: var(--sand-lt);
  overflow: hidden;
  min-height: 480px;
}
.finder-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
  filter: sepia(20%) saturate(80%);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testi-card {
  background: var(--white);
  padding: 44px 36px;
  border-bottom: 3px solid var(--botanical);
}
.testi-quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 28px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--botanical);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testi-name { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.testi-loc { font-size: 0.78rem; color: var(--text-light); }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--navy);
  padding: 96px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,90,61,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p {
  color: var(--sand);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #070e1a;
  padding: 80px 40px 36px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.22);
}

/* ============================================
   PAGE HERO (interior)
   ============================================ */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 72px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  position: absolute;
  inset: 0;
  opacity: 0.45;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.4) 60%, rgba(10,22,40,0.3) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding-top: 120px;
}
.page-hero-content h1 { color: var(--white); }
.page-hero-content p {
  color: var(--sand);
  font-size: 1.1rem;
  max-width: 560px;
  margin-top: 16px;
  font-weight: 300;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.gallery-mosaic-main { grid-column: 1 / -1; height: 520px; overflow: hidden; position: relative; }
.gallery-mosaic-main img { position: absolute; inset: 0; }
.gallery-thumb { height: 280px; overflow: hidden; position: relative; }
.gallery-thumb img { position: absolute; inset: 0; }

/* ============================================
   SPECS
   ============================================ */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--warm-line); }
.specs-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--sand-lt);
  width: 38%;
}
.specs-table td { padding: 14px 16px; font-size: 0.9rem; color: var(--text-dark); }

/* ============================================
   FORMS
   ============================================ */
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { margin-bottom: 16px; }
.fgroup label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 7px;
}
.fgroup input, .fgroup select, .fgroup textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--warm-line);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  border-radius: var(--radius-sm);
  appearance: none;
  transition: border-color 0.2s;
}
.fgroup textarea { min-height: 110px; resize: vertical; }
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus {
  outline: none;
  border-color: var(--botanical);
}

/* ============================================
   DEALER PORTAL
   ============================================ */
.dealer-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 56px;
}
.dealer-benefit {
  background: var(--navy-mid);
  padding: 44px 40px;
}
.dealer-benefit-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}
.dealer-benefit h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.dealer-benefit p { font-size: 0.875rem; color: var(--sand); line-height: 1.75; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 140px 40px 72px; min-height: 70vh; }
  .hero-left::after { display: none; }
  .hero-right { min-height: 50vh; }
  .feature-row { grid-template-columns: 1fr; }
  .bento-item:nth-child(1) { grid-column: 1 / -1; }
  .bento-item:nth-child(2) { grid-column: 1 / -1; min-height: 280px; }
  .bento-item:nth-child(3),
  .bento-item:nth-child(4),
  .bento-item:nth-child(5),
  .bento-item:nth-child(6) { grid-column: 1 / -1; min-height: 280px; }
  .immersive-split { grid-template-columns: 1fr; }
  .immersive-img { min-height: 360px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .finder-wrap { grid-template-columns: 1fr; }
  .finder-map { min-height: 300px; }
  .dealer-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section-cream, .section-white, .section-navy, .section-sand { padding: 64px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero-left { padding: 120px 24px 60px; }
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gallery-mosaic-main { height: 300px; }
  .gallery-thumb { height: 220px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .intro-strip { gap: 24px; padding: 20px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .form-pair { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   MOBILE -- COMPREHENSIVE FIX
   ============================================ */

/* Add 480px breakpoint for small phones */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  .section-cream, .section-white, .section-navy, .section-sand { padding: 48px 16px; }
  .hero-left { padding: 100px 16px 48px; }
  .btn { padding: 13px 20px; font-size: 0.78rem; }
  .stat-num { font-size: 2rem; }
  .intro-strip { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 16px; }
  .finder-form { padding: 28px 16px; }
  .testi-card { padding: 28px 20px; }
  .footer { padding: 40px 16px 20px; }
  .footer-top { gap: 28px; }
  .process-item { padding: 28px 16px; }
  .dealer-benefit { padding: 28px 20px; }
  .immersive-content { padding: 48px 20px; }
}

@media (max-width: 768px) {

  /* HERO: stack vertically */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    min-height: 100svh;
    padding: 110px 24px 56px;
  }
  .hero-left::after { display: none; }
  .hero-right {
    min-height: 56vw;
    max-height: 420px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scroll-hint { display: none; }

  /* NAV mobile */
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* INTRO STRIP */
  .intro-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }

  /* WHY SECTION two-col */
  .two-col {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .two-col > div:last-child {
    height: 260px;
    overflow: hidden;
    position: relative;
  }

  /* FEATURE CARDS */
  .feature-row { grid-template-columns: 1fr; }
  .feature-card { padding: 36px 28px; }

  /* BENTO GRID -- all full width on mobile */
  .bento {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .bento-item {
    grid-column: unset !important;
    grid-row: unset !important;
    min-height: 240px !important;
  }
  .bento2 {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .bento2-item { height: 140px; }

  /* PROCESS */
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 32px 24px; }

  /* IMMERSIVE SPLIT */
  .immersive-split {
    grid-template-columns: 1fr;
  }
  .immersive-img { min-height: 320px; }
  .immersive-content { padding: 48px 28px; }

  /* STATS */
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-block { padding: 28px 16px; }
  .stat-num { font-size: 2.2rem; }

  /* DEALER FINDER */
  .finder-wrap { grid-template-columns: 1fr; }
  .finder-form { padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--warm-line); }
  .finder-map { min-height: 280px; }
  .finder-map iframe { min-height: 280px; }

  /* TESTIMONIALS */
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }

  /* DEALER BENEFITS */
  .dealer-benefits { grid-template-columns: 1fr; }
  .dealer-benefit { padding: 36px 28px; }

  /* POOL PRODUCT LINE SPLITS */
  div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
  }
  div[style*="grid-template-columns:1fr 1fr"] > div[style*="overflow:hidden;position:relative"] {
    min-height: 280px !important;
    order: -1;
  }
  div[style*="grid-template-columns:1fr 1fr"] > div[style*="padding:60px 52px"] {
    padding: 40px 24px !important;
  }
  div[style*="grid-template-columns:1fr 1fr"] > div[style*="background:var(--navy)"] {
    padding: 40px 24px !important;
  }
  div[style*="grid-template-columns:1fr 1fr"] > div[style*="background:var(--botanical)"] {
    padding: 40px 24px !important;
  }

  /* PAGE HERO */
  .page-hero { min-height: 50vh; }
  .page-hero-content { padding: 0 20px; padding-top: 100px; }
  .page-hero-content h1 { font-size: 2.2rem; }

  /* GALLERY */
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gallery-mosaic-main { height: 280px; }
  .gallery-thumb { height: 200px; }

  /* FOOTER */
  .footer { padding: 48px 20px 24px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* CONTACT two-col */
  div[style*="grid-template-columns:1fr 1fr;gap:80px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  /* CTA BAND */
  .cta-band { padding: 64px 20px; }
  .cta-band h2 { font-size: 1.8rem; }
  .cta-band .btn { width: 100%; justify-content: center; max-width: 320px; }

  /* FORM PAIRS */
  .form-pair { grid-template-columns: 1fr; gap: 0; }

  /* SPECS TABLE */
  .specs-table th, .specs-table td { padding: 10px 12px; font-size: 0.82rem; }

  /* Touch target sizing -- all buttons min 44px tall */
  .btn { min-height: 44px; }
  .fgroup input, .fgroup select, .fgroup textarea { font-size: 16px; } /* Prevents iOS zoom on focus */
}

/* Tablet fixes */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-left { padding: 120px 48px 72px; }
  .bento-item:nth-child(1) { grid-column: 1 / -1; min-height: 360px; }
  .bento-item:nth-child(2) { grid-column: 1 / -1; min-height: 260px; }
  .bento-item:nth-child(3),
  .bento-item:nth-child(4),
  .bento-item:nth-child(5),
  .bento-item:nth-child(6) { grid-column: span 6; min-height: 260px; }
  .bento2 { grid-template-columns: repeat(4, 1fr); }
  .immersive-split { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .dealer-benefits { grid-template-columns: 1fr 1fr; }
  .finder-wrap { grid-template-columns: 320px 1fr; }
  div[style*="grid-template-columns:1fr 1fr"] > div[style*="padding:60px 52px"] {
    padding: 40px 32px !important;
  }
}

/* Safe area insets for iPhone notch */
@supports (padding: max(0px)) {
  .nav {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .footer {
    padding-bottom: max(36px, env(safe-area-inset-bottom));
  }
}

/* Smooth scrolling and tap highlight */
html { -webkit-tap-highlight-color: transparent; }
* { -webkit-font-smoothing: antialiased; }
img { -webkit-user-drag: none; }


/* ============================================
   POOL PRODUCT LINE CARDS
   ============================================ */
.product-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  margin-bottom: 12px;
}
.product-line-img {
  overflow: hidden;
  position: relative;
  min-height: 320px;
}
.product-line-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-line-content {
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-line-content ul {
  list-style: none;
  margin-bottom: 32px;
}
.product-line-content ul li {
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  gap: 12px;
  align-items: center;
}
.product-line-content ul li:last-child { border-bottom: none; }
.product-line-content.light ul li { border-bottom-color: var(--warm-line); color: var(--text-mid); }
.check-botanical { color: var(--botanical); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.check-gold { color: var(--gold); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.check-gold-lt { color: var(--gold-lt); font-weight: 700; font-size: 1rem; flex-shrink: 0; }

@media (max-width: 768px) {
  .product-line {
    grid-template-columns: 1fr;
  }
  .product-line-img {
    min-height: 280px;
    order: -1;
  }
  .product-line-content {
    padding: 40px 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .product-line-content { padding: 40px 32px; }
}
