/* ================================================================
   MOOTHEDAN POOLS v2 — Shared Stylesheet
   Applies to: pools_v2.html, projects_v2.html, about_v2.html,
               process_v2.html, contact_v2.html
   ================================================================ */

/* ===================== DESIGN TOKENS ===================== */
:root {
  --white: #FFFFFF;
  --off-white: #F8FCFF;
  --seafoam: #EFF9FF;
  --water-light: #5BC8F5;
  --water-mid: #0EA5E9;
  --water-deep: #0369A1;
  --gold: #C8A84B;
  --gold-light: #E5C96B;
  --gold-dark: #A08530;
  --text-dark: #0C1A2E;
  --text-mid: #1E3A5F;
  --text-muted: #4A6FA5;
  --border: rgba(91, 200, 245, 0.25);
  --shadow-blue: 0 8px 32px rgba(3, 105, 161, 0.12);
  --shadow-gold: 0 4px 20px rgba(200, 168, 75, 0.25);
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(91, 200, 245, 0.3);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --ease-fluid: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-glass: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  cursor: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================== CUSTOM CURSOR ===================== */
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-fluid);
}

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--water-mid);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-fluid), width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover #cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--gold);
}

/* ===================== LOADER ===================== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s var(--ease-glass), visibility 0.6s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  position: relative;
}

.loader-sub {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.loader-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-top: 1rem;
  border-radius: 2px;
  animation: loader-sweep 1.8s var(--ease-glass) forwards;
}

@keyframes loader-sweep {
  to { width: 200px; }
}

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-glass), transform 0.6s var(--ease-glass);
}

.reveal.visible,
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.06s !important; }
.d2 { transition-delay: 0.12s !important; }
.d3 { transition-delay: 0.18s !important; }
.d4 { transition-delay: 0.24s !important; }
.d5 { transition-delay: 0.30s !important; }

/* ===================== NAVBAR ===================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: box-shadow 0.3s var(--ease-fluid);
}

#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-logo .logo-m {
  font-style: italic;
  color: var(--gold);
}

.nav-logo .logo-p {
  color: var(--text-mid);
  font-weight: 400;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease-fluid);
}

.nav-links a:hover::after { width: 100%; }

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white) !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(200, 168, 75, 0.4) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-top: 72px; /* clear fixed navbar */
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.6) 0%, rgba(12, 26, 46, 0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(91, 200, 245, 0.2);
  border: 1px solid rgba(91, 200, 245, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.page-eyebrow::before {
  content: '✦';
  color: var(--gold-light);
  font-size: 0.65rem;
}

.page-h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.page-h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.page-sub {
  font-family: var(--body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== SECTION UTILITIES ===================== */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--seafoam);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--water-mid);
  margin-bottom: 1rem;
}

.section-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-h2 em {
  font-style: italic;
  color: var(--gold);
}

.section-h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.section-body {
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 640px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===================== BUTTONS ===================== */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 168, 75, 0.45);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--water-mid);
  color: var(--water-deep);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn-outline:hover {
  background: var(--water-mid);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-glass {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

/* ===================== GLASS CARDS ===================== */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-blue);
  transition: transform 0.3s var(--ease-glass), box-shadow 0.3s;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(3, 105, 161, 0.18);
}

/* ===================== POOL CARDS (pools page) ===================== */
.pool-card {
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-blue);
  transition: transform 0.4s var(--ease-glass), box-shadow 0.4s;
}

.pool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(3, 105, 161, 0.18);
}

.pool-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.pool-card-img img {
  transition: transform 0.6s var(--ease-fluid);
}

.pool-card:hover .pool-card-img img {
  transform: scale(1.05);
}

.pool-card-body {
  padding: 1.75rem;
}

.pool-type-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.pool-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.pool-card-desc {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pool-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pool-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--seafoam);
  border: 1px solid var(--border);
  color: var(--water-deep);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.pool-link {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--water-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.pool-link:hover { gap: 0.6rem; }

/* Pool grid layouts */
.pool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pool-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ===================== PROJECT CARDS (projects page) ===================== */
.proj-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--text-dark);
}

.proj-card img {
  transition: transform 0.5s var(--ease-fluid);
  opacity: 0.92;
}

.proj-card:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 26, 46, 0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s;
}

.proj-card:hover .proj-overlay { opacity: 1; }

.proj-overlay-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.proj-overlay-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}

.proj-view-btn {
  margin-top: 0.75rem;
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  width: fit-content;
  transition: background 0.2s;
}

.proj-view-btn:hover { background: var(--gold-dark); }

/* Projects grid */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proj-grid .proj-card {
  height: 320px;
}

/* Project filter bar */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover {
  border-color: var(--water-mid);
  color: var(--water-deep);
}

.filter-btn.active {
  background: var(--water-mid);
  border-color: var(--water-mid);
  color: #fff;
}

/* Draggable gallery track (used on homepage + projects) */
.gallery-track-wrap { overflow: hidden; }

.gallery-track {
  display: flex;
  gap: 1.25rem;
  padding-right: 2rem;
  cursor: grab;
  user-select: none;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging { cursor: grabbing; }

/* ===================== ABOUT PAGE ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(200, 168, 75, 0.35);
  box-shadow: var(--shadow-blue);
}

.about-img-wrap.ratio-4-3 { aspect-ratio: 4 / 3; }
.about-img-wrap.ratio-3-4 { aspect-ratio: 3 / 4; }
.about-img-wrap.ratio-16-9 { aspect-ratio: 16 / 9; }

/* Feature chips */
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--seafoam);
  border: 1px solid var(--border);
  color: var(--water-deep);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}

.chip-drop {
  color: var(--water-mid);
  font-size: 0.9rem;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-blue);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-glass);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.team-card-img img {
  transition: transform 0.5s var(--ease-fluid);
}

.team-card:hover .team-card-img img {
  transform: scale(1.04);
}

.team-card-body {
  padding: 1.25rem 1rem 1.5rem;
}

.team-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Timeline (about page) */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.75rem;
  top: 0.2rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--water-mid);
  transition: border-color 0.3s, background 0.3s;
}

.timeline-item:hover .timeline-dot {
  background: var(--gold);
  border-color: var(--gold);
}

.timeline-year {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--water-mid);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.timeline-body {
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Awards / certifications row */
.awards-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-blue);
  transition: transform 0.2s;
}

.award-badge:hover {
  transform: translateY(-3px);
}

.award-icon {
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
}

.award-text strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.award-text span {
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===================== PROCESS PAGE ===================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.process-step {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-blue);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-glass);
}

.process-step:hover {
  transform: translateY(-4px);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--water-mid), var(--water-light));
}

.step-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  color: var(--water-mid);
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.step-body {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Process flow connector */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 39px;
  top: 64px;
  width: 2px;
  height: calc(100% - 32px);
  background: var(--border);
}

.flow-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--water-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--water-deep);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  transition: background 0.3s, color 0.3s;
}

.flow-step:hover .flow-num {
  background: var(--water-mid);
  color: #fff;
}

.flow-content {
  padding-top: 0.75rem;
  padding-bottom: 2.5rem;
}

.flow-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.flow-body {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  gap: 1rem;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--water-deep);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--seafoam);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--water-mid);
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--water-mid);
  color: #fff;
  border-color: var(--water-mid);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-glass);
}

.faq-item.open .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding-bottom: 1.25rem;
}

/* ===================== CONTACT PAGE ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-blue);
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}

.contact-info-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--seafoam);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--water-mid);
  flex-shrink: 0;
}

.contact-item-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-item-value {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Contact form */
.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-blue);
  border: 1px solid var(--border);
}

.form-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--water-mid);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
  background: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A6FA5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ===================== STATS / COUNTERS ===================== */
.stats-bar {
  background: var(--white);
  padding: 4rem 2rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 3px solid var(--water-light);
  background: var(--off-white);
  border-radius: 12px;
  transition: transform 0.3s var(--ease-glass), box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}

/* ===================== TESTIMONIAL CARDS ===================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testi-card {
  background: var(--white);
  border-top: 4px solid var(--water-light);
  border-radius: 0 0 20px 20px;
  padding: 2rem;
  box-shadow: var(--shadow-blue);
  transition: transform 0.3s var(--ease-glass);
}

.testi-card:hover { transform: translateY(-4px); }

.testi-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testi-quote {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.testi-quote::before {
  content: '\201C';
  color: var(--water-light);
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.2rem;
}

.testi-client {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--seafoam);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--water-deep);
}

.testi-name {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testi-loc {
  font-family: var(--body);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ===================== WHY-US CARDS ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border-left: 4px solid var(--water-mid);
  border-radius: 0 16px 16px 0;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-blue);
  transition: transform 0.3s var(--ease-glass);
  position: relative;
}

.why-card:hover { transform: translateY(-4px); }

.why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--water-mid);
}

.why-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.why-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.why-desc {
  font-family: var(--body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ===================== LINK GOLD ===================== */
.link-gold {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.link-gold:hover { gap: 0.7rem; }

/* ===================== WAVE DIVIDER ===================== */
.wave-divider {
  position: relative;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* Wave between sections */
.wave-down {
  /* white wave — use at the top of seafoam sections */
}

.wave-up {
  /* seafoam wave — use at the bottom of seafoam sections */
}

/* ===================== WARRANTY / CALLOUT BANNER ===================== */
.callout-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 2rem;
}

.callout-bg {
  position: absolute;
  inset: 0;
}

.callout-bg img {
  filter: brightness(0.45) saturate(0.8);
}

.callout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 46, 0.65);
}

.callout-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.callout-big {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 4px 30px rgba(200, 168, 75, 0.4);
}

.callout-tagline {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 600;
  color: #fff;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

.callout-sub {
  font-family: var(--body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 1.25rem auto;
  max-width: 480px;
}

/* ===================== WHATSAPP FLOAT ===================== */
#wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-wa 2s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.2s;
}

#wa-float:hover { transform: scale(1.1); }

#wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes pulse-wa {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.12);
  }
}

/* ===================== FOOTER ===================== */
#footer,
footer {
  background: var(--white);
  border-top: 1px solid rgba(91, 200, 245, 0.15);
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  /* first column in footer-grid */
}

.footer-brand-logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.footer-brand-logo .logo-m {
  font-style: italic;
  color: var(--gold);
}

.footer-brand-logo .logo-p {
  color: var(--text-mid);
  font-weight: 400;
}

.footer-brand-desc {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 168, 75, 0.06);
}

.footer-col h4,
.footer-col-title {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--water-deep);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul li a {
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.footer-contact-icon {
  color: var(--water-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(91, 200, 245, 0.15);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-cert {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--water-mid);
  font-weight: 500;
}

/* ===================== CTA SECTION ===================== */
.cta-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--seafoam) 100%);
  padding: 6rem 2rem;
  text-align: center;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-sub {
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 1.25rem 0 2.5rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cta-badges {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cta-badge-icon { color: var(--water-mid); }

/* ===================== MAP / EMBED ===================== */
.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-blue);
  border: 1px solid var(--border);
  height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--water-mid);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb-sep {
  color: var(--border);
}

/* ===================== PAGE-SPECIFIC OVERRIDES ===================== */

/* Pools page — category tabs */
.category-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
  margin-bottom: 3rem;
}

.tab-btn {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.tab-btn:hover { color: var(--water-deep); }
.tab-btn:hover::after { width: 100%; }

.tab-btn.active {
  color: var(--gold);
}

.tab-btn.active::after { width: 100%; }

/* Full-width image banner */
.img-banner {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.img-banner img {
  object-position: center;
}

.img-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.55) 0%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

/* Two-column info layout */
.info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* ===================== UTILITY CLASSES ===================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.pt-2 { padding-top: 1rem; }
.pb-2 { padding-bottom: 1rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.text-gold { color: var(--gold); }
.text-blue { color: var(--water-mid); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================== RESPONSIVE ===================== */

/* Tablet */
@media (max-width: 1024px) {
  .pool-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Hide desktop nav, show hamburger */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Section spacing */
  .section { padding: 4rem 0; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }

  /* Grids collapse to 1 col */
  .pool-grid { grid-template-columns: 1fr; }
  .pool-grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid.reverse { direction: ltr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .info-cols { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Hero */
  .page-hero { height: 300px; }

  /* Misc */
  .awards-row { flex-direction: column; }
}

/* Small mobile */
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .page-hero { height: 260px; }
  .contact-form-card { padding: 1.5rem; }
  .contact-info-card { padding: 1.5rem; }
}
