﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --navy: #2a2522;
  --navy-soft: #3d3835;
  --coral: #d4633a;
  --coral-dark: #b8522a;
  --coral-light: #fdf0ea;
  --gold: #c9922a;
  --sage: #4a7c59;
  --sage-light: #e8f0ea;
  --hero-dark: #1f1a17;
  --hero-warm: #5c3d32;
  --cream: #f7f4ef;
  --white: #ffffff;
  --text: #2a2522;
  --muted: #6b6560;
  --border: #e8e0d6;
  --shadow: 0 8px 32px rgba(42, 37, 34, 0.08);
  --shadow-lg: 0 20px 50px rgba(42, 37, 34, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --header-offset: 80px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--header-offset);
}
img { max-width: 100%; display: block; }
a { color: var(--coral); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--coral-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER (açık, minimal) ── */
.header-shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
.header-shell.is-scrolled { box-shadow: var(--shadow); }
.header-accent { display: none; }
.site-header { background: transparent; }
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 80px;
}
.logo { flex-shrink: 0; }
.logo img { height: 44px; width: auto; max-width: min(220px, 50vw); }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; list-style: none; gap: 6px; }
.main-nav a {
  padding: 10px 16px; font-weight: 600; font-size: 0.88rem;
  color: var(--muted); border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--navy); background: var(--coral-light);
}
.nav-item { position: relative; }
.sub-menu { list-style: none; margin: 0; padding: 0; }
@media (hover: hover) and (min-width: 769px) {
  .nav-item .sub-menu {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 260px; background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 10px; list-style: none; opacity: 0; visibility: hidden;
    transition: all 0.25s var(--ease); box-shadow: var(--shadow-lg); z-index: 100;
  }
  .nav-item:hover .sub-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
}
.sub-menu a {
  display: block; padding: 10px 14px; font-size: 0.84rem; font-weight: 500;
  color: var(--muted); border-radius: 8px;
}
.sub-menu a:hover { background: var(--cream); color: var(--coral); }
.header-contact { display: flex; align-items: center; }
.header-phone {
  display: flex; align-items: center; gap: 8px; font-weight: 700;
  font-size: 0.88rem; color: var(--navy); white-space: nowrap;
}
.header-phone svg { color: var(--coral); flex-shrink: 0; }
.header-cta .btn { padding: 11px 22px; font-size: 0.84rem; }
.menu-toggle {
  display: none; background: var(--cream); border: 1px solid var(--border);
  cursor: pointer; padding: 10px; color: var(--navy);
  border-radius: var(--radius); margin-left: auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill); font-weight: 700;
  font-size: 0.9rem; border: 2px solid transparent; cursor: pointer;
  transition: all 0.25s var(--ease); font-family: var(--font);
}
.btn-primary {
  background: var(--coral); color: var(--white);
  box-shadow: 0 6px 20px rgba(232, 93, 44, 0.35);
}
.btn-primary:hover {
  background: var(--coral-dark); transform: translateY(-2px);
  color: var(--white); box-shadow: 0 10px 28px rgba(232, 93, 44, 0.4);
}
.btn-secondary {
  background: var(--navy); color: var(--white);
}
.btn-secondary:hover { background: var(--navy-soft); color: var(--white); }
.btn-outline {
  background: transparent; border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ── HERO — sıcak toprak tonları, lacivert yok ── */
.hero-split {
  position: relative; min-height: 88vh;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: linear-gradient(135deg, var(--hero-dark) 0%, var(--hero-warm) 55%, #4a3228 100%);
  overflow: hidden;
}
.hero-split::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 78% 25%, rgba(212, 99, 58, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(74, 124, 89, 0.22) 0%, transparent 50%),
    linear-gradient(100deg, rgba(31, 26, 23, 0.94) 0%, rgba(92, 61, 50, 0.65) 48%, rgba(31, 26, 23, 0.2) 100%);
}
.hero-split::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: var(--cream); clip-path: ellipse(55% 100% at 50% 100%); z-index: 4;
}
.hero-split-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 48px 120px max(24px, calc((100vw - 1200px) / 2 + 24px));
  color: var(--white);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #e8c87a; margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 32px; height: 3px; background: var(--coral); border-radius: 2px;
}
.hero-split h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15; margin-bottom: 20px; font-weight: 700; max-width: 560px;
  color: #faf6f2;
}
.hero-split .hero-lead {
  font-size: 1.02rem; color: rgba(250, 246, 242, 0.85); line-height: 1.8;
  margin-bottom: 28px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
}
.hero-actions .btn-outline:hover {
  background: var(--white); border-color: var(--white);
  color: var(--hero-dark); transform: translateY(-2px);
}
.hero-stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  max-width: 360px; margin-top: 28px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  padding: 16px 18px; border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.hero-stat-card strong {
  display: block; font-family: var(--font-display); font-size: 1.55rem;
  font-weight: 700; color: #f0a070; line-height: 1.2;
}
.hero-stat-card span { font-size: 0.74rem; color: rgba(250, 246, 242, 0.72); font-weight: 600; }

.hero-split-visual {
  position: relative; z-index: 0; min-height: 100%; overflow: hidden;
}
.hero-split-visual::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--hero-dark) 0%, rgba(31,26,23,0.4) 30%, transparent 55%);
}
.hero-split-visual img {
  width: 100%; height: 100%; min-height: 88vh;
  object-fit: cover; object-position: center;
  filter: saturate(1.08) contrast(1.04);
}
.hero-badge {
  position: absolute; bottom: 32px; left: 32px; z-index: 2;
  background: var(--white); padding: 18px 22px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border-left: 5px solid var(--coral);
  max-width: calc(100% - 48px);
}
.hero-badge strong { display: block; font-size: 0.95rem; color: var(--hero-dark); font-weight: 700; }
.hero-badge span { font-size: 0.78rem; color: var(--muted); }

/* ── STATS BAND ── */
.stats-band {
  background: var(--white); padding: 0; margin-top: -40px;
  position: relative; z-index: 5;
}
.stats-band .container { padding-bottom: 40px; }
.stats-scroll-hint { display: none; }
.stats-band-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--white); padding: 28px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.stat-box {
  text-align: center; padding: 16px 12px;
  border-right: 1px solid var(--border);
}
.stat-box:last-child { border-right: none; }
.stat-box strong {
  display: block; font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 700; color: var(--navy); margin-bottom: 6px;
}
.stat-box span { font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* ── SECTIONS ── */
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-warm { background: var(--cream); }
.section-header { margin-bottom: 48px; max-width: 640px; }
.section-header .label {
  display: inline-block; color: var(--coral); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 12px; padding-left: 16px;
  border-left: 4px solid var(--coral);
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 14px; color: var(--navy); font-weight: 700; line-height: 1.2;
}
.section-header p { color: var(--muted); font-size: 1.02rem; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center .label { border-left: none; padding-left: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--white); padding: 32px 28px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.feature::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 800;
  color: var(--coral-light); -webkit-text-stroke: 1px var(--coral);
  line-height: 1; margin-bottom: 12px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 10px; font-weight: 700; color: var(--navy); }
.feature p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.pool-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pool-type {
  background: var(--white); padding: 28px 22px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.pool-type:hover {
  border-color: var(--coral); box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pool-type-icon { font-size: 2rem; margin-bottom: 14px; }
.pool-type h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.pool-type p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--coral));
  z-index: 0;
}
.process-step {
  background: transparent; padding: 0 16px 24px; text-align: center;
  position: relative; z-index: 1;
}
.process-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin: 0 auto 20px;
  background: var(--white); border: 3px solid var(--coral);
  border-radius: 50%; font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; color: var(--coral);
  box-shadow: var(--shadow);
}
.process-steps { counter-reset: step; }
.process-step h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.process-step p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.equip-card {
  display: flex; gap: 16px; padding: 22px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.equip-card:hover { border-color: var(--coral); }
.equip-icon { font-size: 1.6rem; flex-shrink: 0; }
.equip-card h3 { font-size: 0.94rem; color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.equip-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; overflow: hidden; aspect-ratio: 4/5; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover img { transform: scale(1.08); }
.service-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,26,23,0.95) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: var(--white);
}
.service-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.service-card span { font-size: 0.8rem; color: var(--gold); margin-top: 6px; font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img img {
  width: 100%; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split-content h2 {
  font-family: var(--font-display); font-size: 2rem;
  margin-bottom: 16px; color: var(--navy); font-weight: 700; line-height: 1.25;
}
.split-content .tag {
  color: var(--coral); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px;
}
.split-content p { color: var(--muted); margin-bottom: 14px; }

/* CHECK-LIST — SVG tik, encoding sorunu yok */
.check-list { list-style: none; margin: 22px 0 28px; }
.check-list li {
  padding: 10px 0 10px 36px; position: relative;
  font-weight: 500; font-size: 0.92rem; color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 20px; height: 20px;
  background: var(--coral);
  border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

.region-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.region-tag {
  padding: 8px 18px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 0.84rem; font-weight: 600; color: var(--navy);
  transition: all 0.2s var(--ease);
}
.region-tag:hover { background: var(--coral); color: var(--white); border-color: var(--coral); }

/* ── PAGE HERO (iç sayfalar) ── */
.page-hero {
  background: linear-gradient(135deg, var(--hero-dark) 0%, var(--hero-warm) 100%);
  padding: 100px 0 70px;
  text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(212, 99, 58, 0.25), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 124, 89, 0.15), transparent 40%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px; font-weight: 700;
}
.page-hero p { opacity: 0.85; max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.breadcrumb {
  padding: 14px 0; font-size: 0.84rem; color: var(--muted);
  background: var(--white); border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--coral); }

.prose { max-width: 720px; }
.prose h2 { font-family: var(--font-display); color: var(--navy); margin: 32px 0 14px; font-size: 1.5rem; }
.prose h3 { color: var(--navy-soft); margin: 24px 0 10px; font-size: 1.15rem; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul, .prose ol { margin: 12px 0 20px 24px; color: var(--muted); }
.prose li { margin-bottom: 6px; }

/* ── İLETİŞİM (yeni modern tasarım) ── */
.contact-page { padding: 0 0 88px; }
.contact-hero-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: -50px; position: relative; z-index: 10; padding-bottom: 56px;
}
.contact-quick-card {
  background: var(--white); padding: 28px 22px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  text-align: center; transition: transform 0.3s var(--ease);
}
.contact-quick-card:hover { transform: translateY(-6px); }
.contact-quick-card .icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  background: var(--coral-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.contact-quick-card h4 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 8px; font-weight: 700;
}
.contact-quick-card p, .contact-quick-card a {
  font-weight: 700; color: var(--navy); font-size: 0.92rem; word-break: break-word;
}
.contact-quick-card a:hover { color: var(--coral); }

.contact-main {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start;
  max-width: 640px; margin: 0 auto;
}
.contact-info-panel {
  background: var(--navy); color: var(--white);
  padding: 40px 36px; border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.contact-info-panel::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(232,93,44,0.2);
}
.contact-info-panel h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  margin-bottom: 12px; position: relative;
}
.contact-info-panel > p {
  opacity: 0.8; margin-bottom: 28px; font-size: 0.95rem; position: relative;
}
.contact-info-list { list-style: none; position: relative; }
.contact-info-list li {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.1); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info-list strong {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.06em; opacity: 0.65; margin-bottom: 4px;
}
.contact-info-list span, .contact-info-list a { color: var(--white); font-weight: 600; font-size: 0.95rem; }
.contact-info-list a:hover { color: var(--gold); }
.contact-info-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; position: relative; }

/* Eski contact-wrap uyumluluğu */
.contact-wrap { display: none; }
.info-card, .form-card { display: none; }

.cta {
  background: linear-gradient(120deg, var(--hero-dark) 0%, var(--hero-warm) 55%, #6b4538 100%);
  padding: 72px 0; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 14px; font-weight: 700; }
.cta p { opacity: 0.9; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── FOOTER ── */
.footer-cta-band {
  background: var(--coral); padding: 48px 0; color: var(--white);
}
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.footer-cta-inner h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.footer-cta-inner p { opacity: 0.9; font-size: 0.95rem; margin-top: 6px; }
.footer-cta-inner .btn-primary { background: var(--white); color: var(--coral); box-shadow: none; }
.footer-cta-inner .btn-primary:hover { background: var(--navy); color: var(--white); }
.footer-cta-inner .btn-secondary { background: transparent; border: 2px solid var(--white); color: var(--white); }

.site-footer { background: var(--navy); color: rgba(255,255,255,0.65); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding: 56px 0 40px;
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--gold); font-size: 0.78rem; margin-bottom: 18px;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  font-size: 0.82rem; text-align: center; color: rgba(255,255,255,0.45);
}

.fab-dock {
  position: fixed; bottom: 24px; right: 20px; z-index: 900;
  display: flex; flex-direction: column; gap: 10px;
}
.fab-btn {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-radius: var(--radius-pill); color: var(--white); font-weight: 700;
  font-size: 0.86rem; box-shadow: var(--shadow-lg); transition: transform 0.2s var(--ease);
}
.fab-btn:hover { transform: translateY(-3px); color: var(--white); }
.fab-call { background: var(--coral); }
.fab-wa { background: #25d366; }
.back-top {
  position: fixed; bottom: 24px; left: 20px; width: 46px; height: 46px;
  background: var(--navy); color: var(--white); border: none;
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: all 0.3s var(--ease); z-index: 900;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; border-radius: 50%; box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--coral); }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  margin-bottom: 12px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--coral); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 22px; background: none; border: none;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--navy);
}
.faq-q::after {
  content: '+'; font-size: 1.4rem; color: var(--coral); flex-shrink: 0;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--coral-light); border-radius: 50%; font-weight: 400;
}
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-item.open .faq-q { background: var(--coral-light); }

.content-block { max-width: 820px; margin: 0 auto; }
.content-block h2 { font-family: var(--font-display); color: var(--navy); margin-bottom: 14px; font-size: 1.6rem; }
.content-block p { color: var(--muted); margin-bottom: 14px; }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-item {
  overflow: hidden; cursor: pointer; aspect-ratio: 1;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.photo-item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 9999; background: rgba(31,26,23,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.12); border: none;
  color: var(--white); width: 48px; height: 48px; cursor: pointer;
  font-size: 1.3rem; border-radius: 50%;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; } .lightbox-next { right: 16px; }
.lightbox-counter { position: absolute; bottom: 24px; color: rgba(255,255,255,0.7); font-size: 0.88rem; }

.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 1098;
  background: rgba(31,26,23,0.5); opacity: 0; visibility: hidden;
  transition: all 0.3s var(--ease);
}
.nav-overlay.open { opacity: 1; visibility: visible; }
html.menu-open, body.menu-open { overflow: hidden; touch-action: none; }
body.lightbox-open { overflow: hidden; }

/* ── BLOG ── */
.blog-intro { max-width: 820px; margin-bottom: 40px; }
.blog-intro p { color: var(--muted); margin-bottom: 12px; font-size: 1rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit;
}
.blog-card-thumb {
  height: 160px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: flex; align-items: flex-end; padding: 16px;
}
.blog-card-tag {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold); background: rgba(0,0,0,0.25);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.blog-card-body h3 {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--navy);
  margin-bottom: 10px; line-height: 1.35; font-weight: 700;
}
.blog-card-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.blog-card-link {
  font-size: 0.82rem; font-weight: 800; color: var(--coral);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.blog-card:hover .blog-card-link { color: var(--coral-dark); }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.blog-tag-pill {
  padding: 6px 14px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 600; color: var(--navy);
}

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.product img { width: 100%; height: 220px; object-fit: cover; }
.product-body { padding: 18px; flex: 1; }
.product-body h3 { font-size: 0.92rem; font-weight: 700; color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features, .services { grid-template-columns: repeat(2, 1fr); }
  .pool-types, .process-steps, .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-split-content { padding: 60px 32px 100px max(24px, calc((100vw - 1200px) / 2 + 24px)); }
  .contact-hero-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-main { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-box { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-box:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --header-offset: 72px; }

  .header-inner { height: 72px; gap: 12px; }
  .header-contact, .header-cta { display: none; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; flex-shrink: 0;
  }
  .nav-overlay { display: block; }

  .main-nav {
    display: block;
    position: fixed; top: 0; right: 0; left: auto;
    width: min(320px, 90vw); height: 100dvh;
    background: var(--white); padding: calc(var(--header-offset) + 16px) 20px 48px;
    transform: translateX(105%); opacity: 1; visibility: visible;
    transition: transform 0.35s var(--ease);
    overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -12px 0 40px rgba(42,37,34,0.15);
    border-left: 4px solid var(--coral);
    justify-content: flex-start;
    z-index: 1101;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav a {
    display: flex; padding: 15px 12px; font-size: 0.95rem;
    border-bottom: 1px solid var(--border); border-radius: 0;
    color: var(--navy);
  }
  .main-nav a:hover, .main-nav a.active { background: var(--coral-light); }
  .main-nav > ul > .nav-item { width: 100%; max-width: 100%; overflow: hidden; }
  .nav-item.has-children > a {
    justify-content: space-between; align-items: center; width: 100%;
  }
  .nav-item .sub-menu {
    position: static; transform: none !important; opacity: 1;
    box-shadow: none; border: none; background: var(--cream);
    padding: 0; margin: 0; border-radius: 0;
    min-width: 0; left: auto; width: 100%; max-width: 100%;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.35s var(--ease), visibility 0.2s;
  }
  .nav-item.open .sub-menu {
    max-height: min(48vh, 360px);
    overflow-y: auto; overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 8px; border-bottom: 1px solid var(--border);
    visibility: visible;
  }
  .nav-item:not(.open):hover .sub-menu,
  .nav-item:not(.open) .sub-menu {
    max-height: 0 !important; visibility: hidden !important;
    transform: none !important; padding-top: 0 !important; padding-bottom: 0 !important;
  }
  .nav-item.has-children > a::after {
    content: '+'; font-size: 1.2rem; color: var(--coral); margin-left: 12px;
    flex-shrink: 0; width: 24px; text-align: center;
  }
  .nav-item.has-children.open > a::after { content: '\2212'; }
  .nav-item.has-children.open > a { background: var(--coral-light); }
  .nav-item.has-children:not(.open) > a:hover { background: transparent; }
  .sub-menu a {
    color: var(--muted); padding: 11px 16px 11px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 0.88rem;
    display: block; width: 100%; box-sizing: border-box;
    white-space: normal; word-break: break-word;
  }
  .sub-menu li:last-child a { border-bottom: none; }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-split::before {
    background: linear-gradient(180deg, rgba(31,26,23,0.9) 0%, rgba(92,61,50,0.75) 45%, rgba(31,26,23,0.94) 100%);
  }
  .hero-split-visual {
    position: absolute; inset: 0; z-index: 0; min-height: 100%;
  }
  .hero-split-visual::after {
    background: linear-gradient(180deg, rgba(31,26,23,0.55) 0%, rgba(74,50,40,0.35) 40%, rgba(31,26,23,0.88) 100%);
  }
  .hero-split-visual img {
    min-height: 100%; height: 100%; object-position: center 30%;
  }
  .hero-badge { display: none; }
  .hero-split-content {
    position: relative; z-index: 3;
    min-height: min(88vh, 720px);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 48px 20px 88px;
  }
  .hero-split h1 { font-size: 1.85rem; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
  .hero-split .hero-lead { font-size: 0.9rem; }
  .hero-actions .btn { flex: 1; min-width: 140px; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); max-width: 100%; }

  .stats-band { margin-top: -30px; overflow: hidden; }
  .stats-band .container { padding-left: 20px; padding-right: 20px; overflow: hidden; }
  .stats-band-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
    overflow: visible; padding: 0;
  }
  .stat-box {
    flex: unset; min-width: 0; width: 100%;
    text-align: center; padding: 18px 12px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stat-box:nth-child(2n) { border-right: none; }
  .stat-box:nth-last-child(-n+2) { border-bottom: none; }
  .stat-box strong { font-size: 0.92rem; line-height: 1.3; }
  .stat-box span { font-size: 0.76rem; line-height: 1.35; }

  .split, .footer-cta-inner { grid-template-columns: 1fr; }
  .footer-cta-inner { text-align: center; justify-content: center; }
  .features, .services, .pool-types, .process-steps, .equip-grid, .footer-grid, .products { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .page-hero { padding: 80px 0 50px; }
  .fab-btn span { display: none; }
  .fab-btn { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .cta-actions .btn { width: 100%; max-width: 300px; }
  .contact-hero-cards { grid-template-columns: 1fr; margin-top: -30px; }
  .contact-info-panel { padding: 28px 22px; }
  .blog-grid { grid-template-columns: 1fr; }
}
