@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --navy: #0a1f5c;
  --navy-mid: #102b78;
  --pool-blue: #1e90ff;
  --pool-soft: #eaf4ff;
  --white: #ffffff;
  --dark: #07133b;
  --text: #2f426f;
  --line: rgba(10, 31, 92, 0.1);
  --transition: all 0.35s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: "Cormorant Garamond", serif; color: var(--navy); }
a { color: inherit; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(7, 19, 59, 0.35);
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand img { height: 48px; width: auto; display: block; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--pool-blue);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 34px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 10s ease forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 31, 92, 0.92), rgba(10, 31, 92, 0.5));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: min(700px, 100%);
  padding-top: 4rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b2d7ff;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #b2d7ff;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  margin: 0 0 1rem;
}
.hero h1 em { font-style: italic; color: #7fc1ff; }
.hero p { max-width: 560px; color: rgba(255, 255, 255, 0.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary { background: var(--pool-blue); color: #fff; border-color: var(--pool-blue); }
.btn-primary:hover { transform: translateY(-2px); background: #0c7de8; border-color: #0c7de8; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.section { padding: 5.2rem 0; }
.section-light { background: #f6f9ff; }
.section-label {
  color: var(--pool-blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0 0 1rem;
}
.section-subtitle { max-width: 640px; margin-bottom: 2.4rem; }

.trust-grid {
  margin-top: -2rem;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  border-radius: 12px;
  overflow: hidden;
}
.trust-item {
  text-align: center;
  padding: 1.8rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.trust-item:last-child { border-right: 0; }
.trust-number {
  font-family: "Cormorant Garamond", serif;
  color: #7fc1ff;
  font-size: 2.6rem;
  line-height: 1;
}
.trust-text { color: rgba(255,255,255,0.75); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.section-cta {
  margin-top: 1.4rem;
  text-align: center;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 42px rgba(10, 31, 92, 0.15);
}
.service-image {
  height: 205px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.service-body { padding: 1.25rem; }
.service-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.service-header h3 {
  margin: 0;
}
.icon-chip {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--pool-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-chip svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  stroke-width: 1.8;
  fill: none;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: 12px;
  max-height: 430px;
  object-fit: cover;
}

.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.gallery-filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  cursor: pointer;
}
.gallery-filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.gallery-pagination {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.gallery-page-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  min-width: 40px;
  height: 36px;
  padding: 0 0.7rem;
  cursor: pointer;
}
.gallery-page-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.gallery-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}
.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,31,92,.93), rgba(10,31,92,.5));
}
.page-hero .container { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}
.form-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .72rem;
  margin-bottom: .45rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: .75rem .9rem;
  font-family: inherit;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.contact-card {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  border-radius: 12px;
  padding: 1.6rem;
}
.contact-card h3 { color: #fff; margin-top: 0; }
.contact-card a { color: var(--pool-blue); }
.contact-card a:hover { color: #fff; }
.contact-map {
  margin-top: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}
.contact-map-link {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}
.contact-map-link a {
  color: rgba(255,255,255,.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-map-link a:hover { color: var(--pool-blue); }

.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 2rem;
}
.footer h4 {
  margin-top: 0;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .5rem; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  font-size: .82rem;
}

.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  z-index: 999;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7,19,59,.95);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: 0;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,.15);
  border: 0;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--navy);
    display: none;
    flex-direction: column;
    padding: 1.2rem 0;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: 90vh; }
  .services-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
