:root{
  --bg: #eef9f8;
  --text: #0f172a;

  --blue: #2563eb;
  --blue2: #1d4ed8;

  --green: #10b981;
  --green2: #059669;

  --card: rgba(255,255,255,0.96);
  --border: rgba(15,23,42,0.10);

  --shadow: 0 18px 40px rgba(15,23,42,0.10);
  --shadow2: 0 26px 60px rgba(15,23,42,0.16);

  --radius: 18px;
  --max: 1100px;

  --header-h: 108px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  padding-top: var(--header-h);
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }

.btnPrimary{
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37,99,235,0.28);
}
.btnPrimary:hover{ background: var(--blue2); }

.btnSecondary{
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(16,185,129,0.22);
}
.btnSecondary:hover{ background: var(--green2); }

.btnGhostLight{
  background: rgba(255,255,255,0.65);
  border-color: rgba(15,23,42,0.10);
  color: rgba(15,23,42,0.85);
}
.btnGhostLight:hover{
  background: rgba(255,255,255,0.78);
  border-color: rgba(15,23,42,0.14);
}

/* HEADER */
.siteHeader{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 3000;
  height: var(--header-h);
  overflow: hidden;
}

.headerBanner{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      to right,
      rgba(17,24,39,0.00) 0%,
      rgba(17,24,39,0.08) 30%,
      rgba(17,24,39,0.34) 68%,
      rgba(17,24,39,0.54) 100%
    ),
    url("/assets/img/web-banner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}

.headerInner{
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brandLink{
  width: 220px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.16);
  flex: 0 0 auto;
}

.brandImg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Desktop nav */
.navLinks{
  display: flex;
  align-items: center;
  gap: 12px;
}

.navLinks a{
  position: relative;
  color: rgba(255,255,255,0.92);
  font-weight: 750;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 160ms ease, transform 160ms ease;
}

.navLinks a:hover{
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.navLinks a::after{
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: rgba(56,189,248,0.95);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.navLinks a:hover::after{ transform: scaleX(1); }
.navCta{ margin-left: 6px; }

/* Mobile toggle */
.navToggle{
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}
.navToggle span{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.92);
  margin: 5px auto;
  border-radius: 99px;
}

.mobileNav{
  position: absolute;
  left: 0; right: 0;
  top: var(--header-h);
  background: rgba(15,23,42,0.86);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.mobileNavInner{
  padding: 14px 0 18px;
  display: grid;
  gap: 10px;
}

.mobileNav a{
  color: rgba(255,255,255,0.94);
  text-decoration: none;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}
.mobileNav a:hover{ background: rgba(255,255,255,0.12); }

.mobileCta{
  justify-content: center;
  margin-top: 6px;
}

/* HERO BACKGROUND */
.heroWithImage{
  background-image:
    linear-gradient(to bottom, rgba(238,249,248,0.12), rgba(238,249,248,0.08)),
    url("/assets/img/hero-swimmer.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 0 62px;
}

.heroCopy{
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  font-weight: 800;
  color: rgba(15,23,42,0.70);
  margin: 0 auto 14px;
}

.heroCopy h1{
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}

.heroCopy .lead{
  font-size: 18px;
  color: rgba(15,23,42,0.65);
  margin: 0 0 22px;
}

.heroCtas{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 26px;
}

/* TRUST CARDS */
.trustRow{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 18px;
}

.trustCard{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.trustIcon{
  font-size: 20px;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.16);
  border-radius: 12px;
  padding: 10px;
}

.trustTitle{ font-weight: 900; }
.trustText{ font-size: 14px; color: rgba(15,23,42,0.62); }

/* WHAT TO EXPECT */
.expectWrap{
  display: flex;
  justify-content: center;
  margin: 14px auto 0;
  padding: 0 16px;
}

.expectGlass{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 22px;
  padding: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow2);
}

.expectInteractive{
  position: relative;
  display: inline-block;
}

.expectImg{
  max-width: 520px;
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* BUBBLE HOTSPOTS + PREVIEW */
.bubbleHotspot{
  position: absolute;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
  overflow: hidden;
  outline: none;
}

.bubbleHotspot::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35), rgba(255,255,255,0.08) 55%, rgba(255,255,255,0.02));
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 24px rgba(15,23,42,0.16);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.bubbleHotspot:hover::before,
.bubbleHotspot:focus-visible::before{
  opacity: 1;
  transform: scale(1.02);
}

.bubblePreview{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.bubbleHotspot.isPreviewing .bubblePreview{
  opacity: 1;
  transform: scale(1);
}

/* Tap hint only for mobile */
.bubbleHint{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,0.95);
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  opacity: 0;
  pointer-events: none;
}

/* ✅ FIX: true circular hotspots positioned by center points */
.bubbleLeft,
.bubbleCenter,
.bubbleRight{
  width: 32%;
  aspect-ratio: 1 / 1;
  height: auto;
  transform: translate(-50%, -50%);
}

/* Center points of each bubble */
.bubbleLeft   { left: 23%; top: 62%; }
.bubbleCenter { left: 50%; top: 44%; }
.bubbleRight  { left: 77%; top: 62%; }

/* Sections */
.section{ padding: 66px 0; }

.sectionAlt{
  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(15,23,42,0.06);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.sectionHead{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.sectionHead h2{
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.2px;
}

.sectionHead p{
  margin: 0;
  color: rgba(15,23,42,0.62);
  font-weight: 700;
}

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

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.18);
  font-weight: 900;
  font-size: 12px;
}

.card h3{ margin: 8px 0 6px; font-size: 18px; }
.card p{ margin: 0; color: rgba(15,23,42,0.62); }

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

.faq{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.faq summary{ cursor: pointer; font-weight: 900; }
.faq p{ margin-top: 10px; color: rgba(15,23,42,0.62); }

.contactCard{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.lead2{ margin: 8px 0 0; color: rgba(15,23,42,0.62); font-size: 17px; }

.contactInfo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.contactItem{
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: var(--shadow);
}

.contactLabel{
  color: rgba(15,23,42,0.55);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 6px;
}

.form{
  display: grid;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}

label{
  display: grid;
  gap: 6px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(15,23,42,0.62);
}

input, textarea{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.98);
  color: var(--text);
  outline: none;
}

input:focus, textarea:focus{
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.10);
}

.quoteCard{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.quoteHeader{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.quoteAvatar{
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(16,185,129,.35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(37,99,235,.35), transparent 60%),
    rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,0.08);
}

.quoteName{ font-weight: 950; }
.quoteSub{ font-size: 13px; font-weight: 750; color: rgba(15,23,42,0.55); }
.quoteText{ margin: 0 0 10px; color: rgba(15,23,42,0.62); }

.ctaRow{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.formNote{
  margin: 0;
  color: rgba(15,23,42,0.55);
  font-size: 12px;
}

/* MOBILE MODAL ONLY */
body.modalOpen{ overflow: hidden; }

.mediaModal{
  position: fixed;
  inset: 0;
  z-index: 6000;
}

.mediaBackdrop{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mediaPanel{
  position: relative;
  width: min(860px, calc(100% - 26px));
  margin: 88px auto 0;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  overflow: hidden;
}

.mediaHeader{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15,23,42,0.10);
}

.mediaTitle{
  font-weight: 950;
  font-size: 18px;
}

.mediaClose{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(15,23,42,0.04);
  cursor: pointer;
  font-size: 18px;
}

.mediaBody{
  padding: 14px;
}

.modalVideo{
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #000;
  outline: none;
}

/* Responsive */
@media (max-width: 980px){
  .grid3{ grid-template-columns: 1fr; }
  .faqGrid{ grid-template-columns: 1fr; }
  .contactCard{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  :root{ --header-h: 92px; }

  .navLinks{ display: none; }
  .navToggle{ display: block; }

  .brandLink{
    width: 160px;
    height: 58px;
  }

  .trustRow{ grid-template-columns: 1fr; }

  .bubbleHint{ opacity: 1; }

  .mediaPanel{
    margin-top: 76px;
  }
}
