/* ============================================================
   UNIQUE POOLS — Light editorial system (Wix wh-1250 style)
   Manrope display + Inter body. Light warm-neutral canvas.
   Navy kept ONLY as restrained accent + footer. No gold.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #0B2E59;        /* restrained brand accent + footer */
  --navy-d: #0e3a6e;
  --ink: #1a2332;         /* headings — near-black w/ navy tint */
  --text: #4a5563;        /* body */
  --muted: #8a93a0;       /* labels */
  --bg: #ffffff;
  --bg-soft: #f6f4f0;     /* warm greige (template feel) */
  --border: #e9e6e0;
  --maxw: 1200px;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --font-head: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --wa: #0B2E59;          /* WhatsApp FAB = navy */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-d); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1rem; color: var(--text); }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 0.95rem 2.1rem;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover { background: var(--navy-d); color: #fff; text-decoration:none; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Header / Nav (light, navy text, no uppercase) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0.85rem var(--pad);
}
.brand { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: 0.01em; text-transform: uppercase; }
.brand span { color: var(--navy); opacity: 0.55; }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-family: var(--font-head); font-weight: 600;
  font-size: 0.95rem; position: relative; padding: 0.25rem 0;
}
.nav-links a:hover { color: var(--navy); text-decoration: none; }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- Hero (photo + navy scrim, light feel) ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(11,46,89,0.78) 0%, rgba(11,46,89,0.45) 45%, rgba(11,46,89,0.12) 100%); }
.hero-inner { padding: 0 var(--pad); max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { font-size: 1.2rem; max-width: 46ch; color: rgba(255,255,255,0.92); }

/* ---------- Section rhythm ---------- */
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; color: var(--navy); font-weight: 700; margin-bottom: 0.9rem; display: block; font-family: var(--font-body); }

/* ---------- Two-column feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; }
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2rem; text-align: center; }
.stat .figure { font-family: var(--font-head); font-size: 3rem; color: var(--ink); font-weight: 800; line-height: 1; }
.stat .label { text-transform: uppercase; letter-spacing: 0.1em; font-size: .72rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }

/* ---------- Why-pool section: pool photo background ---------- */
.why-pool { position: relative; overflow: hidden; }
.why-pool::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../img/why-pool-bg.jpg") center/cover no-repeat fixed;
}
.why-pool::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(246,244,240,0.92) 0%, rgba(246,244,240,0.82) 100%);
}
.why-pool .container { position: relative; z-index: 1; }
.why-pool .reason { background: rgba(255,255,255,0.92); backdrop-filter: blur(2px); }

/* ---------- Why-pool cards ---------- */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.reason { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 2rem 1.75rem; transition: transform .2s ease, box-shadow .2s ease; }
.reason:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,46,89,0.10); }
.reason .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.reason h3 { margin-bottom: 0.5rem; color: var(--ink); }
.reason p { margin: 0; font-size: 0.98rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 2rem 1.75rem; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,46,89,0.10); }
.card h3 { margin-bottom: 0.5rem; color: var(--ink); }
.card .num { font-family: var(--font-head); font-size: 0.85rem; color: var(--navy); font-weight: 700; letter-spacing: .1em; display: block; margin-bottom: .8rem; }

/* ---------- Portfolio grid ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; }
.gallery img { width: 100%; height: 320px; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; background: linear-gradient(180deg, transparent, rgba(11,46,89,0.85)); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.4rem 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--navy); font-size: 1.5rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0.9rem 0 0; font-family: var(--font-body); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-map { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); min-height: 320px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { margin-bottom: 1.3rem; font-size: 1.05rem; }
.contact-info strong { color: var(--muted); display: block; font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: .25rem; font-weight: 600; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: .5rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }

/* ---------- Testimonials ---------- */
.quote { font-family: var(--font-body); font-size: 1.4rem; color: var(--ink); font-weight: 300; line-height: 1.45; border-left: 3px solid var(--navy); padding-left: 1.5rem; margin: 0 0 1rem; }
.quote-by { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--muted); font-weight: 600; }

/* ---------- Footer (NAVY — Astra-style 4-col + bottom bar) ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.4rem; font-size: .92rem; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1fr; gap: 2.4rem; }
.foot-brand .foot-logo { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; display: inline-block; margin-bottom: .9rem; }
.foot-brand .foot-logo span { opacity: .55; }
.foot-brand p { margin: 0 0 .7rem; max-width: 34ch; color: rgba(255,255,255,0.92); }
.foot-contact a { color: #fff; text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 .9rem; }
.site-footer a { color: rgba(255,255,255,0.72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer .foot-group { color: #fff; font-weight: 600; margin-top: .3rem; }
.site-footer .foot-group ul { margin: .4rem 0 0; padding-left: .8rem; }
.site-footer .foot-group ul li { font-weight: 400; color: rgba(255,255,255,0.72); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 2.4rem; padding-top: 1.2rem; font-size: .78rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-family: var(--font-body); color: rgba(255,255,255,0.55); }
.footer-bottom .foot-legal a { color: rgba(255,255,255,0.55); }
.footer-bottom .foot-legal a:hover { color: #fff; }

/* ---------- Floating WhatsApp (navy circle, white logo) ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px;
  background: var(--wa); border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  z-index: 100; transition: transform .2s ease; box-shadow: 0 6px 18px rgba(11,46,89,0.35);
}
.whatsapp-float:hover { transform: scale(1.08); text-decoration: none; }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .feature, .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 280px; }
  .feature.reverse { direction: ltr; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 1rem var(--pad) 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--border); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .site-footer .container { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}
@media (max-width: 640px) {
  .contact-grid { gap: 2.2rem; }
  .field input, .field textarea { font-size: 16px; padding: 0.85rem 0.9rem; }
  .btn, button.btn { width: 100%; text-align: center; padding: 1rem; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
  .gallery img { height: 180px; }
  .cards, .reasons { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  section { padding: 3rem 0; }
  .nav { padding: 0.7rem var(--pad); }
  .brand { font-size: 1.15rem; }
}
