:root {
  --primary: #0f6e8c;
  --primary-dark: #0a4f66;
  --accent: #69d0ff;
  --bg: #f4fbff;
  --text: #17323d;
  --soft: #eaf6fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.custom-navbar,
.page-header,
.hero-section {
  background: linear-gradient(135deg, #062f40 0%, #0f6e8c 45%, #33b8e0 100%);
}

.navbar-brand img { width: auto; }
.nav-link {
  font-weight: 600;
  color: rgba(255,255,255,.88) !important;
}
.nav-link.active,
.nav-link:hover { color: #fff !important; }

.hero-section { position: relative; overflow: hidden; }
.hero-section::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  filter: blur(5px);
}

.min-vh-75 { min-height: 75vh; }
.hero-badge {
  display: inline-block;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 700;
  letter-spacing: .03em;
}

.card-glass,
.feature-card,
.product-card,
.form-card,
.image-panel,
.gallery-card,
.media-frame {
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(10, 53, 71, 0.10);
}

.pool-visual {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
}
.water-surface {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 20%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.2), transparent 18%),
    linear-gradient(180deg, #8ee7ff 0%, #2dc1f0 35%, #117ea1 100%);
  border-radius: 24px;
}
.floating-card {
  position: absolute;
  left: 30px;
  bottom: 30px;
  right: 30px;
  background: rgba(255,255,255,.94);
  color: var(--text);
  padding: 1.4rem;
  border-radius: 20px;
}

.hero-stats .stat-card {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.hero-stats strong { color: #fff; font-size: 1.05rem; }
.hero-stats span { color: rgba(255,255,255,.88); }

.section-title span,
.small-label,
.product-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
}
.section-title h2 { font-weight: 800; margin-top: .5rem; }

.feature-card,
.product-card,
.form-card {
  padding: 1.75rem;
  height: 100%;
}
.feature-card h3,
.product-card h3,
.gallery-body h3 { font-size: 1.35rem; font-weight: 700; }
.icon-bubble {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.bg-soft { background: var(--bg); }
.image-panel {
  min-height: 340px;
  padding: 1rem;
  background: linear-gradient(160deg, #d8f7ff, #8cdcf4, #0f6e8c);
}
.image-panel-inner {
  min-height: 100%;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.18));
}

.check-list,
.spec-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.check-list li,
.spec-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: .8rem;
}
.check-list li::before,
.spec-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.page-header { padding: 2rem 0 1rem; }
.mini-box {
  background: var(--bg);
  border: 1px solid #d5edf7;
  border-radius: 16px;
  padding: .95rem 1rem;
  text-align: center;
  font-weight: 600;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid #e6f2f7;
}
.product-tag { display: inline-block; }
.form-control,
.form-select {
  border-radius: 14px;
  padding: .85rem 1rem;
  border: 1px solid #d5e8f0;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(105, 208, 255, .18);
}
.btn {
  border-radius: 14px;
  font-weight: 700;
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.site-footer {
  border-top: 1px solid #e9f2f5;
  background: #fff;
}

.color-card {
  background: #fff;
  border: 1px solid #e1eef4;
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  box-shadow: 0 12px 30px rgba(10, 53, 71, 0.06);
  height: 100%;
}
.swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  flex: 0 0 auto;
}
.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.color-list span {
  background: var(--bg);
  border: 1px solid #d8eaf2;
  border-radius: 999px;
  padding: .55rem .9rem;
  font-weight: 600;
  font-size: .95rem;
}
.image-note {
  border-radius: 24px;
  padding: 2rem;
  min-height: 100%;
  background: linear-gradient(135deg, #0b4660, #1391ba);
  color: #fff;
  box-shadow: 0 18px 50px rgba(10, 53, 71, 0.12);
}

.gallery-card {
  overflow: hidden;
  border: 1px solid #e5f0f4;
  height: 100%;
}
.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.gallery-body {
  padding: 1.25rem;
}
.media-frame {
  overflow: hidden;
  border: 1px solid #d8ebf3;
  background: #fff;
}
.video-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 991.98px) {
  .min-vh-75 { min-height: auto; }
  .pool-visual { min-height: 320px; }
  .video-frame iframe { height: 320px; }
}

@media (max-width: 575.98px) {
  .display-4 { font-size: 2.2rem; }
  .display-5 { font-size: 2rem; }
  .feature-card,
  .product-card,
  .form-card { padding: 1.25rem; }
  .floating-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .gallery-card img { height: 220px; }
  .video-frame iframe { height: 240px; }
}
