/* ================================================
   GENESIS Pool and Spa — Stylesheet
   ================================================ */

:root {
  --primary:       #1565C0;
  --primary-dark:  #0D47A1;
  --primary-light: #42A5F5;
  --primary-xl:    #E3F2FD;
  --white:         #ffffff;
  --gray-50:       #F8FAFB;
  --gray-100:      #F0F4F8;
  --gray-200:      #E2E8F0;
  --gray-400:      #94A3B8;
  --gray-600:      #475569;
  --gray-800:      #1E293B;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 20px rgba(21,101,192,0.10);
  --shadow-lg:     0 10px 40px rgba(21,101,192,0.16);
  --transition:    0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 100px; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: #334155;
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Utility ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,101,192,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

.section-label {
  display: inline-block;
  background: var(--primary-xl);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  margin: 0 auto;
}
.section-header.light .section-label {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}
.section-header.light h2,
.section-header.light p { color: var(--white); }


/* ── PROMO BAR ───────────────────────────────── */
.promo-bar {
  background: #FFB300;
  color: #0D2A6B;
  text-align: center;
  padding: 10px 0;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  z-index: 1100;
  letter-spacing: 0.01em;
}
.promo-bar strong {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.promo-bar a, .promo-link {
  color: #0D2A6B;
  font-weight: 800;
  text-decoration: none;
}
.promo-link:hover { text-decoration: underline; }
.promo-bar a:hover { text-decoration: underline; }


/* ── NAVBAR ──────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar { padding: 20px 0; }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-genesis {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.logo-poolspa {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--transition);
}
#header.scrolled .logo-genesis { color: var(--primary-dark); }
#header.scrolled .logo-poolspa { color: var(--gray-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
#header.scrolled .nav-links a { color: var(--gray-600); }
#header.scrolled .nav-links a:hover {
  color: var(--primary);
  background: var(--primary-xl);
}

.nav-cta {
  background: var(--white) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 10px 20px !important;
  margin-left: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.nav-cta:hover {
  background: var(--primary-xl) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(21,101,192,0.2) !important;
}
#header.scrolled .nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
}
#header.scrolled .nav-cta:hover {
  background: var(--primary-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#header.scrolled .hamburger span { background: var(--gray-800); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://static.wixstatic.com/media/43c971_56df4ac135ec4337a61797214a7dd8e8~mv2.jpg') center top/cover no-repeat;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 45, 120, 0.68);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13,71,161,0.5), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 155px;
  padding-bottom: 100px;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}
.hero-content h1 .highlight {
  color: #90CAF9;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.75;
}
.hero-desc strong { color: var(--white); font-weight: 700; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wave-divider {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  line-height: 0;
  z-index: 2;
}
.wave-divider svg { width: 100%; height: auto; display: block; }


/* ── FEATURES ────────────────────────────────── */
.features {
  padding: 80px 0 60px;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-xl);
  background: var(--white);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-xl);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
}


/* ── WHAT'S INCLUDED BANNER ──────────────────── */
.included-banner {
  background: #FFB300;
  padding: 56px 0;
}

.included-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.included-tag {
  display: inline-block;
  background: rgba(0,0,0,0.12);
  color: #0D2A6B;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border-radius: 50px;
}

.included-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #0D2A6B;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.included-inner p {
  font-size: 1rem;
  color: rgba(13,42,107,0.8);
  line-height: 1.65;
}

.included-btn {
  background: #0D2A6B;
  color: #FFB300 !important;
  border-color: #0D2A6B;
  font-size: 1rem;
  padding: 16px 36px;
  margin-top: 6px;
}
.included-btn:hover {
  background: #0a1f52;
  border-color: #0a1f52;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .included-banner { padding: 44px 0; }
}


/* ── SERVICES ────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-xl), #BBDEFB);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.service-card > p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}
.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card ul li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding-left: 22px;
  position: relative;
}
.service-card ul li a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.service-card ul li a:hover {
  text-decoration: underline;
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}


/* ── BEFORE & AFTER ──────────────────────────── */
.before-after {
  padding: 100px 0;
  background: linear-gradient(160deg, #0D2A6B 0%, #1565C0 60%, #1976D2 100%);
}
.before-after .section-header .section-label {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 0.85rem;
}
.before-after .section-header h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.before-after .section-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}
.before-after .ba-photo-note {
  background: rgba(255,255,255,0.1);
  border: 1px dashed rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
}
.before-after .ba-photo-note strong { color: var(--white); }
.before-after .ba-caption {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-style: normal;
  font-size: 0.92rem;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.ba-pair {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ba-side {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.ba-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ba-pair:hover .ba-side img {
  transform: scale(1.04);
}

.ba-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 16px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
}
.ba-placeholder svg {
  width: 28px;
  height: 28px;
  opacity: 0.7;
}
.ba-placeholder span { font-weight: 600; line-height: 1.3; }
.ba-placeholder small { font-size: 0.65rem; opacity: 0.7; font-family: monospace; }

.before-ph { background: #607D8B; }
.after-ph  { background: var(--primary); }

.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}
.before-label {
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.9);
}
.after-label {
  background: var(--primary);
  color: var(--white);
}

.ba-caption {
  font-size: 0.88rem;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.5;
  font-style: italic;
}

.ba-photo-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-400);
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 24px;
  max-width: 560px;
  margin: 0 auto;
}
.ba-photo-note strong { color: var(--gray-600); }

/* ── ABOUT ───────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual-inner {
  aspect-ratio: 1;
  max-width: 420px;
  border-radius: 30px;
  background: linear-gradient(135deg, #1565C0 0%, #42A5F5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}
.about-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 22px
  );
}
.about-visual-inner::after {
  content: '💧';
  font-size: 7rem;
  opacity: 0.18;
  position: relative;
  z-index: 1;
}

.about-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--white);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.about-badge span:first-child {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.about-badge span:last-child {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

.about-content .section-label { display: block; }

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-lead {
  font-size: 1.08rem;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-content > p {
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}


/* ── SERVICE AREA ────────────────────────────── */
.service-area {
  padding: 100px 0;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1976D2 100%);
}

.area-placeholder {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.area-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}
.area-icon svg { width: 28px; height: 28px; }

.area-placeholder h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.area-note {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 1rem;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
.area-tag {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
}
.area-cta-note {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}
.area-cta-note a {
  color: #90CAF9;
  font-weight: 600;
  text-decoration: none;
}
.area-cta-note a:hover { text-decoration: underline; }


/* ── TESTIMONIALS ────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonials-placeholder {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  color: var(--gray-400);
}
.testimonials-placeholder svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--gray-400);
}
.testimonials-placeholder p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stars {
  color: #FFC107;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-card > p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-800);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-400);
}


/* ── CONTACT ─────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-label { display: block; margin-bottom: 16px; }
.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 20px;
}
.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 44px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-xl);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.contact-item a,
.contact-item span {
  font-size: 1rem;
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 500;
}
.contact-item a:hover { color: var(--primary); }

/* Form */
.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid var(--gray-100);
}
.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-success {
  margin-top: 16px;
  padding: 16px 20px;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: 10px;
  color: #2E7D32;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}


/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: #0F172A;
  color: rgba(255,255,255,0.65);
}

.footer-grid {
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.footer-logo { margin-bottom: 16px; display: inline-flex; }
.footer-logo .logo-genesis { color: var(--white); }
.footer-logo .logo-poolspa { color: rgba(255,255,255,0.5); }
.footer-brand > p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 240px;
}

.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--white); }
.footer-services ul li {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.footer-contact a {
  color: #90CAF9;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom .container {
  padding: 22px 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}


/* ── ANIMATIONS ──────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .ba-grid        { grid-template-columns: repeat(2, 1fr); }
  .about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .about-visual   { display: none; }
  .contact-grid   { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Promo bar */
  .promo-bar      { font-size: 0.82rem; padding: 8px 0; }
  .promo-sep      { display: none; }
  .promo-extra    { display: none; }

  /* Hamburger nav */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,71,161,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 999;
    padding: 80px 24px 40px;
  }
  .nav-links.open { display: flex; }
  .nav-links li   { width: 100%; text-align: center; }
  .nav-links a {
    font-size: 1.15rem !important;
    color: var(--white) !important;
    padding: 14px 32px !important;
    display: block;
    width: 100%;
    border-radius: 12px !important;
    background: transparent !important;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.1) !important; }
  .nav-cta {
    margin-left: 0 !important;
    background: var(--white) !important;
    color: var(--primary) !important;
    margin-top: 12px;
  }

  /* Hero */
  .hero-content   { padding-top: 135px; padding-bottom: 80px; }
  .hero-actions   { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Grids → single column */
  .features-grid      { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .services-grid      { grid-template-columns: 1fr; }
  .ba-grid            { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }

  /* Sections — reduce padding */
  .features   { padding: 60px 0 40px; }
  .services   { padding: 72px 0; }
  .before-after { padding: 72px 0; }
  .about      { padding: 72px 0; }
  .service-area { padding: 72px 0; }
  .testimonials { padding: 72px 0; }
  .contact    { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }

  /* About */
  .about-stats { gap: 20px; flex-wrap: wrap; }

  /* Service area */
  .area-placeholder { padding: 36px 20px; }

  /* Contact form */
  .contact-form-wrap { padding: 28px 20px; }
  .form-row          { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
}

@media (max-width: 480px) {
  /* Promo bar — hide phone number, it's already in the nav */
  .promo-phone { display: none; }
  .promo-bar   { font-size: 0.85rem; padding: 9px 0; }

  /* Hero */
  .hero-content h1 { font-size: 2.4rem; }
  .hero-content    { padding-top: 128px; padding-bottom: 72px; }
  .hero-label      { font-size: 0.78rem; }

  /* Features: stack to 1 column on small phones */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Before/after — tighten inner image pair gap */
  .ba-images { gap: 4px; }
  .ba-label  { font-size: 0.62rem; padding: 3px 8px; }

  /* Misc */
  .service-card      { padding: 26px 20px; }
  .contact-form-wrap { padding: 22px 16px; }
  .contact-grid      { gap: 36px; }

  /* Section header tweaks */
  .before-after .section-header h2 { font-size: 2rem; }
}
