:root {
  --color-primary: #0b5fae;
  --color-primary-dark: #083d71;
  --color-primary-soft: #eaf4ff;
  --color-accent: #ffd24a;
  --color-accent-dark: #e0b52e;
  --color-danger: #d63b3b;
  --color-text: #12314f;
  --color-text-soft: #4f6881;
  --color-white: #ffffff;
  --color-bg: #f7fbff;
  --color-surface: #ffffff;
  --color-border: rgba(11, 95, 174, 0.12);
  --color-shadow: 0 18px 40px rgba(8, 61, 113, 0.12);
  --color-shadow-soft: 0 10px 24px rgba(8, 61, 113, 0.08);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --header-height: 84px;
  --transition: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #eef4fa;
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

main,
section,
.container {
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 9999;
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0b5fae 0%, #083d71 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  width: 148px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.desktop-nav a {
  position: relative;
  font-weight: 600;
  color: var(--color-white);
  transition: color var(--transition);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active,
.desktop-nav a[aria-current='page'] {
  color: var(--color-accent);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after,
.desktop-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header-call-btn {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background var(--transition), transform var(--transition);
}

.menu-toggle:hover {
  background: #dceeff;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid rgba(11, 95, 174, 0.08);
  background: var(--color-white);
}

.mobile-nav {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  padding: 1rem 0 1.25rem;
}

.mobile-nav ul {
  display: grid;
  gap: 0.35rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid rgba(11, 95, 174, 0.08);
}

.mobile-nav a.active,
.mobile-nav a[aria-current='page'] {
  color: var(--color-primary);
}

.mobile-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 800;
  box-shadow: var(--color-shadow-soft);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 6rem;
  background:
    url('../images/gallery/hero-problem.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(173, 216, 255, 0.72), rgba(108, 175, 235, 0.58)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(11, 95, 174, 0.22));
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  color: var(--color-primary);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-danger);
}

.hero-content h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 7vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 60ch;
  margin-bottom: 1.35rem;
  font-size: 1.04rem;
  color: var(--color-text-soft);
}

.hero-actions,
.section-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 14px 30px rgba(224, 181, 46, 0.28);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid rgba(11, 95, 174, 0.14);
  box-shadow: var(--color-shadow-soft);
}

.hero-features {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-features li {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 95, 174, 0.1);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.94rem;
}

.hero-wave {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -42px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-bg);
}

section {
  position: relative;
}

.section-light {
  padding: 4.4rem 0;
}

.services-preview {
  background:
    linear-gradient(180deg, rgba(234, 244, 255, 0.98), rgba(222, 239, 255, 0.96)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 38%),
    radial-gradient(circle at bottom right, rgba(173, 216, 255, 0.35), transparent 42%);
}

.section-dark {
  padding: 4.4rem 0;
  background: linear-gradient(180deg, #0d4f90 0%, #083d71 100%);
  color: var(--color-white);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.center,
.section-action.center {
  justify-content: center;
  text-align: center;
}

.section-heading h2,
.problem-content h2,
.cta-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-heading p,
.problem-content p,
.cta-box p {
  color: inherit;
}

.services-grid,
.reviews-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.review-card {
  padding: 1.4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--color-shadow-soft);
}

.service-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf4ff, #d6ebff);
  font-size: 1.55rem;
}

.service-card h3,
.review-card h3,
.footer-contact h3,
.footer-nav h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

.service-card p,
.review-card p {
  margin-bottom: 0;
  color: var(--color-text-soft);
}

.problem-grid {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}

.problem-image-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.problem-image-wrap img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.problem-image-wrap {
  position: relative;
}

.problem-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(173, 216, 255, 0.28), rgba(90, 160, 225, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(11, 95, 174, 0.18));
  pointer-events: none;
}

.problem-image-wrap img {
  position: relative;
  z-index: 0;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 600;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 800;
}

.review-card {
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.review-stars {
  margin-bottom: 0.8rem;
  color: #f0b90b;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.review-source {
  display: inline-block;
  margin-top: 0.95rem;
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

  50% {
    transform: translateY(-8px);
  }
}

.floating-call-btn:hover {
  background: var(--color-accent-dark);
}

@media (min-width: 640px) {
  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box {
    padding: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 3rem 0 5rem;
  }

  .hero-grid,
  .problem-grid,
  .cta-box,
  

  .problem-grid {
    gap: 2rem;
  }

  
}

@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }

  .header-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-weight: 700;
    box-shadow: var(--color-shadow-soft);
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.5rem;
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cta-box {
    grid-template-columns: 1.3fr auto;
    padding: 2.25rem 2.4rem;
  }
}

@media (max-width: 991.98px) {
  .header-inner {
    min-height: 78px;
  }

  .site-logo img {
    width: 132px;
    max-height: 72px;
  }
}

@media (max-width: 767.98px) {
  .header-inner {
    gap: 0.55rem;
  }

  .site-logo img {
    width: 112px;
    height: auto;
    max-height: 62px;
  }

  .page-hero h1,
  .hero-content h1 {
    overflow-wrap: anywhere;
  }

  .cta-box .btn {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .container {
    width: min(100% - 1.2rem, var(--container));
  }

  .service-card,
  .review-card,
  .cta-box {
    padding: 1.25rem;
  }

  .hero-actions .btn,
  .section-action .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.hero-content {
  max-width: 620px;
}

.hero-content h1,
.hero-text,
.hero-features li {
  color: var(--color-white);
}

.hero-features li {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

/* ===== Homepage polish to match approved preview ===== */

.hero-section {
  min-height: 620px;
  display: flex;
  align-items: center;
  background-position: center center;
}

.hero-content-wrap {
  min-height: 500px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(235, 244, 252, 0.78) 0%, rgba(212, 230, 247, 0.68) 36%, rgba(159, 200, 236, 0.38) 65%, rgba(118, 173, 224, 0.20) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(11, 95, 174, 0.10));
}

.hero-content h1 {
  max-width: 11ch;
  color: #15385f;
  text-shadow: none;
}

.hero-text {
  max-width: 60ch;
  color: #5a738c;
}

.hero-features li {
  color: #173b62;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 95, 174, 0.10);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(8, 61, 113, 0.08);
}

.hero-wave {
  left: -8%;
  right: -8%;
  bottom: -58px;
  height: 120px;
  background: #eef4fa;
}

.services-preview {
  position: relative;
  overflow: hidden;
  padding: 5.2rem 0 5rem;
  background:
    linear-gradient(180deg, rgba(244, 249, 254, 0.98), rgba(233, 243, 252, 0.98)),
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.95), transparent 26%),
    radial-gradient(circle at 84% 78%, rgba(193, 224, 248, 0.75), transparent 28%),
    radial-gradient(circle at 62% 12%, rgba(216, 236, 250, 0.65), transparent 22%);
}

.services-preview::before,
.services-preview::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  height: 96px;
  background: #eef4fa;
  border-radius: 50%;
  z-index: 0;
}

.services-preview::before {
  top: -56px;
}

.services-preview::after {
  bottom: -56px;
}

.services-preview .container {
  position: relative;
  z-index: 1;
}

.services-preview .section-heading {
  margin-bottom: 2.4rem;
}

.services-preview .section-heading h2 {
  color: #15385f;
}

.services-preview .section-kicker {
  justify-content: center;
}

.services-preview .service-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 85, 145, 0.10);
  box-shadow: 0 12px 24px rgba(12, 48, 86, 0.07);
}

.services-preview .service-card h3 {
  color: #173b62;
}

.services-preview .service-card p {
  color: #6c8097;
}

.services-preview .service-icon {
  background: linear-gradient(135deg, #e9f3ff, #dcebfb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.problem-solution {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0b56a0 0%, #083f78 100%);
}

.problem-solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(143, 205, 255, 0.16), transparent 20%);
  pointer-events: none;
}

.problem-grid {
  position: relative;
  z-index: 1;
  gap: 2.2rem;
}

.problem-image-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

.problem-image-overlay {
  background:
    linear-gradient(135deg, rgba(119, 185, 235, 0.20), rgba(84, 148, 210, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(11, 95, 174, 0.10));
}

.problem-content h2 {
  color: #ffffff;
}

.problem-content p {
  color: rgba(255, 255, 255, 0.86);
}

.check-list li {
  color: #ffffff;
}

.reviews-section {
  position: relative;
  padding: 5rem 0 4.4rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(32, 178, 200, 0.35) 0%, transparent 45%),
    radial-gradient(ellipse at 75% 65%, rgba(0, 140, 180, 0.28) 0%, transparent 40%),
    radial-gradient(ellipse at 55% 90%, rgba(8, 80, 120, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #0d7a9e 0%, #0a5c7a 35%, #084d6e 70%, #063c58 100%);
  overflow: hidden;
}

.reviews-section .section-heading h2 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.reviews-section .section-kicker {
  color: #7fd8f0;
}

.reviews-section .section-kicker::before {
  background: #7fd8f0;
}

.review-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  color: #ffffff;
}

.cta-section {
  padding: 3.6rem 0 4.8rem;
  background: #eef4fa;
  border-top: 1px solid rgba(11, 95, 174, 0.10);
}

.cta-box {
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 20%, rgba(255, 210, 74, 0.20), transparent 28%),
    linear-gradient(135deg, #0c5dac 0%, #0a4e94 48%, #1e5d7f 100%);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 3.6rem 0 5rem;
    background-position: 68% center;
  }

  .hero-content-wrap {
    min-height: auto;
  }

  .hero-content h1 {
    max-width: 13ch;
  }
}

@media (max-width: 767.98px) {
  .services-preview {
    padding: 4.4rem 0 4.2rem;
  }

  .services-preview::before,
  .services-preview::after {
    height: 76px;
  }

  .problem-grid {
    gap: 1.5rem;
  }
}

/* ===== Underwater sections + footer mascot refinements ===== */

.services-preview,
.reviews-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.services-preview {
  background:
    linear-gradient(180deg, rgba(230, 242, 252, 0.96), rgba(214, 232, 247, 0.97)),
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.85), transparent 18%),
    radial-gradient(circle at 78% 72%, rgba(170, 212, 244, 0.55), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(145, 198, 240, 0.20), transparent 35%);
}

/* reviews-section pool water bg is set above — no override needed here */

.services-preview::before,
.services-preview::after,
.reviews-section::before,
.reviews-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.services-preview::before,
.reviews-section::before {
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,0.38) 0 1.5%, transparent 2.2%),
    radial-gradient(circle at 26% 68%, rgba(255,255,255,0.24) 0 1.2%, transparent 2%),
    radial-gradient(circle at 42% 34%, rgba(255,255,255,0.30) 0 1.4%, transparent 2.2%),
    radial-gradient(circle at 58% 18%, rgba(255,255,255,0.20) 0 1.1%, transparent 1.9%),
    radial-gradient(circle at 76% 62%, rgba(255,255,255,0.28) 0 1.3%, transparent 2.1%),
    radial-gradient(circle at 90% 28%, rgba(255,255,255,0.22) 0 1%, transparent 1.8%);
  opacity: 0.75;
  animation: underwaterBubbles 18s linear infinite;
}

.services-preview::after,
.reviews-section::after {
  background:
    repeating-linear-gradient(
      175deg,
      rgba(255,255,255,0.00) 0px,
      rgba(255,255,255,0.00) 14px,
      rgba(255,255,255,0.08) 22px,
      rgba(255,255,255,0.00) 34px
    ),
    repeating-linear-gradient(
      6deg,
      rgba(111, 180, 235, 0.00) 0px,
      rgba(111, 180, 235, 0.00) 18px,
      rgba(111, 180, 235, 0.09) 28px,
      rgba(111, 180, 235, 0.00) 42px
    );
  mix-blend-mode: screen;
  opacity: 0.95;
  animation: underwaterRipples 14s ease-in-out infinite alternate;
}

.services-preview .container,
.reviews-section .container {
  position: relative;
  z-index: 1;
}

.services-preview .service-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow:
    0 12px 28px rgba(8, 61, 113, 0.09),
    inset 0 1px 0 rgba(255,255,255,0.55);
}

.reviews-section .review-card {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.reviews-section .review-card h3 {
  color: #ffffff;
}

.reviews-section .review-card p {
  color: rgba(210, 240, 255, 0.90);
}

.reviews-section .review-card .review-source {
  color: #7fd8f0;
}

.services-preview .service-icon {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.75), rgba(229,241,255,0.92) 42%, rgba(202,228,251,0.95) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 10px 18px rgba(11, 95, 174, 0.10);
}

.services-preview .section-heading h2,
.reviews-section .section-heading h2 {
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
}

@keyframes underwaterRipples {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.82;
  }
  50% {
    transform: translate3d(-8px, 4px, 0) scale(1.02);
    opacity: 0.98;
  }
  100% {
    transform: translate3d(10px, -5px, 0) scale(1.03);
    opacity: 0.88;
  }
}

@keyframes underwaterBubbles {
  0% {
    transform: translateY(16px);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-8px);
    opacity: 0.78;
  }
  100% {
    transform: translateY(-18px);
    opacity: 0.58;
  }
}

/* PREMIUM FOOTER FINAL */

.footer-premium {
  position: relative;
  background: linear-gradient(180deg, #11497c 0%, #0a355b 100%);
  color: #ffffff;
  padding: 26px 0 10px;
  overflow: visible;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr 260px;
  align-items: center;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left h3 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.footer-left p,
.footer-center p {
  margin: 6px 0;
  line-height: 1.35;
  color: rgba(255,255,255,0.94);
}

.footer-left p {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  max-width: 26ch;
}

.footer-center {
  text-align: center;
}

.footer-center p {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.footer-center strong {
  font-weight: 800;
}

.footer-right {
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
}

.footer-illustration {
  width: 250px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.24));
  transform: translateY(-18px);
  animation: footerFloat 3.8s ease-in-out infinite;
}

@keyframes footerFloat {
  0%, 100% { transform: translateY(-18px); }
  50% { transform: translateY(-28px); }
}

.footer-bottom {
  margin-top: 2px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 36px;
  font-size: 13px;
  opacity: 0.9;
}

.footer-bottom a {
  color: #ffd24a;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .footer-premium {
    padding: 22px 0 10px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }

  .footer-left p {
    max-width: none;
  }

  .footer-right {
    justify-content: center;
    min-height: 140px;
  }

  .footer-illustration {
    width: 160px;
    margin: 0 auto;
    transform: translateY(0);
    animation: footerFloatMobile 3.8s ease-in-out infinite;
  }

  @keyframes footerFloatMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    min-height: 44px;
  }
}

/* ===== Pool Water Light Rays – Reviews Section ===== */

.reviews-section::before {
  background:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,0.45) 0 1.2%, transparent 2%),
    radial-gradient(circle at 28% 72%, rgba(255,255,255,0.30) 0 1%, transparent 1.8%),
    radial-gradient(circle at 45% 38%, rgba(255,255,255,0.38) 0 1.3%, transparent 2.1%),
    radial-gradient(circle at 62% 15%, rgba(255,255,255,0.28) 0 1%, transparent 1.9%),
    radial-gradient(circle at 78% 58%, rgba(255,255,255,0.35) 0 1.2%, transparent 2%),
    radial-gradient(circle at 92% 30%, rgba(255,255,255,0.25) 0 0.9%, transparent 1.7%);
  opacity: 0.8;
  animation: underwaterBubbles 22s linear infinite;
}

/* Pool light caustics layer */
.reviews-section .pool-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-conic-gradient(
      from 0deg at 30% 0%,
      transparent 0deg,
      rgba(127, 216, 240, 0.06) 2deg,
      transparent 4deg,
      transparent 12deg
    ),
    repeating-conic-gradient(
      from 20deg at 70% 0%,
      transparent 0deg,
      rgba(100, 200, 230, 0.05) 2.5deg,
      transparent 5deg,
      transparent 14deg
    );
  animation: poolRays 9s ease-in-out infinite alternate;
}

@keyframes poolRays {
  0% {
    opacity: 0.55;
    transform: skewX(-1deg) scale(1.01);
  }
  50% {
    opacity: 0.85;
    transform: skewX(1.5deg) scale(1.03);
  }
  100% {
    opacity: 0.60;
    transform: skewX(-0.5deg) scale(1.00);
  }
}

/* Shimmer / caustics wave across the whole reviews section */
.reviews-section::after {
  background:
    repeating-linear-gradient(
      172deg,
      rgba(255,255,255,0.00) 0px,
      rgba(255,255,255,0.00) 20px,
      rgba(127, 216, 240, 0.10) 30px,
      rgba(255,255,255,0.00) 44px
    ),
    repeating-linear-gradient(
      8deg,
      rgba(50, 160, 200, 0.00) 0px,
      rgba(50, 160, 200, 0.00) 24px,
      rgba(50, 160, 200, 0.12) 36px,
      rgba(50, 160, 200, 0.00) 52px
    );
  mix-blend-mode: screen;
  opacity: 0.90;
  animation: underwaterRipples 12s ease-in-out infinite alternate;
}

/* ===== 1. Hero Scroll Indicator ===== */

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity var(--transition);
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.scroll-arrow {
  display: block;
  width: 26px;
  height: 26px;
  border-right: 3px solid rgba(255,255,255,0.85);
  border-bottom: 3px solid rgba(255,255,255,0.85);
  border-radius: 3px;
  transform: rotate(45deg);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0);   opacity: 0.55; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1;    }
}

/* ===== 2. Service Card — hover blue border + icon fill ===== */

.service-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(8, 61, 113, 0.14);
  border-color: rgba(11, 95, 174, 0.28);
}

.service-card .service-icon {
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover .service-icon {
  background:
    radial-gradient(circle at 30% 30%, rgba(173,216,255,0.9), rgba(11,95,174,0.85) 80%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 12px 24px rgba(11, 95, 174, 0.22);
  transform: scale(1.08) rotate(-4deg);
  filter: brightness(1.1);
}

/* ===== 3. Stats sekcija ===== */

.stats-section {
  background: linear-gradient(135deg, #0b5fae 0%, #083d71 100%);
  padding: 3.2rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255,210,74,0.12), transparent 35%),
    radial-gradient(circle at 85% 50%, rgba(173,216,255,0.10), transparent 35%);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: 1.4rem 0.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform var(--transition), background var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-accent);
  vertical-align: super;
  line-height: 1;
}

.stat-label {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  line-height: 1.3;
}

/* ===== 4. Floating CTA — pulsing ring ===== */

.floating-call-btn {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  right: auto;
}

.floating-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0;
  animation: floatPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes floatPulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  70%  { transform: scale(1.55); opacity: 0;    }
  100% { transform: scale(1.55); opacity: 0;    }
}

@media (max-width: 900px) {
    

    
}

/* ===== Contrast and CTA polish ===== */
.page-hero .section-kicker {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.page-hero .section-kicker::before {
  background: var(--color-accent);
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.page-hero .breadcrumb span[aria-current="page"] {
  color: rgba(255, 255, 255, 0.86);
}

.btn.btn-primary,
.btn.btn-accent,
.mobile-call-btn,
.floating-call-btn,
.header-call-btn {
  font-weight: 800;
}

/* Animirani elementi – will-change za GPU layer */
.reviews-section::before,
.reviews-section::after,
.services-preview::before,
.services-preview::after,
.reviews-section .pool-rays,
.footer-illustration,
.floating-pulse,
.scroll-arrow,
.hero-scroll-indicator {
  will-change: transform, opacity;
}

/* Prefers-reduced-motion – sve animacije van originalnog bloka */
@media (prefers-reduced-motion: reduce) {
  .reviews-section::before,
  .reviews-section::after,
  .services-preview::before,
  .services-preview::after,
  .reviews-section .pool-rays,
  .footer-illustration,
  .floating-pulse,
  .scroll-arrow {
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }
}


/* ===== UX fixes: spacing, contrast, floating CTA ===== */
.services-preview .section-action {
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1rem;
}

.seo-copy-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 95, 174, 0.1);
  border-radius: 28px;
  box-shadow: var(--color-shadow-soft);
  padding: 2rem;
  color: var(--color-text);
}

.seo-copy-card h3 {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.seo-copy-card .why-us-list {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 1.6rem;
}

.seo-copy-card .why-us-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--color-text);
  font-weight: 700;
}

.seo-copy-card .why-us-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #f0b90b;
  font-weight: 800;
}

.floating-call-btn {
  position: fixed;
  right: 1rem;
  left: auto;
  bottom: 1rem;
  z-index: 1400;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(8, 61, 113, 0.28), 0 0 0 4px rgba(255, 210, 74, 0.18);
  font-weight: 800;
}

.floating-call-btn:hover {
  background: var(--color-accent-dark);
  color: var(--color-primary-dark);
}

.floating-call-btn > span:last-child {
  color: var(--color-primary-dark);
}

.floating-call-btn > span:nth-child(2) {
  font-size: 1.1rem;
  line-height: 1;
}

.floating-pulse {
  background: rgba(255, 210, 74, 0.55);
}

@media (max-width: 767.98px) {
  .services-preview .section-action {
    margin-top: 2.2rem;
    padding-top: 1.1rem;
  }

  .services-preview .section-action .btn {
    min-width: 240px;
  }

  .seo-copy-card {
    padding: 1.6rem;
  }

  .floating-call-btn {
    right: 0.85rem;
    bottom: 0.85rem;
    min-height: 54px;
    padding: 0.82rem 1rem;
  }
}


/* CTA readability above footer */
.cta-box {
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(10, 53, 91, 0.22);
}

.cta-box .section-kicker,
.cta-box h2,
.cta-box p {
  color: #ffffff;
}

.cta-box .section-kicker::before {
  background: #ffd24a;
}

.cta-box p {
  max-width: 60ch;
  color: rgba(255,255,255,0.9);
}

/* Premium footer refinement */
.footer-premium {
  padding: 34px 0 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(255,255,255,0.06), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(120,205,255,0.12), transparent 24%),
    linear-gradient(135deg, #0f4b82 0%, #0b3d69 48%, #082d4e 100%);
}

.footer-content {
  grid-template-columns: 1.1fr 1fr 250px;
  gap: 28px;
  align-items: center;
}

.footer-left h3 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  color: #ffffff;
}

.footer-left p {
  max-width: 34ch;
  color: rgba(255,255,255,0.9);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin-top: 1rem;
}

.footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 600;
}

.footer-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  text-align: left;
}

.footer-column h4 {
  margin: 0 0 0.85rem;
  color: #ffd24a;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a,
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffd24a;
}

.footer-contact p,
.footer-column p {
  margin: 0.35rem 0;
  color: rgba(255,255,255,0.92);
}

.footer-center strong {
  color: #ffffff;
}

.footer-right {
  min-height: 220px;
}

.footer-illustration {
  width: 265px;
}

.footer-bottom {
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);
}

.footer-bottom-inner {
  min-height: 48px;
  font-size: 0.94rem;
}

.footer-bottom a {
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-left p {
    max-width: none;
  }

  .footer-trust {
    justify-content: center;
  }

  .footer-center {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
    min-height: 150px;
  }
}


/* ===== Final polish before deploy ===== */
section + section {
  margin-top: 0;
}

.section-light,
.section-dark,
.seo-copy,
.reviews-section,
.cta-section,
.contact-section,
.contact-hero,
.gallery-hero,
.about-story,
.about-values,
.services-detailed,
.gallery-grid-section {
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}

.section-action.center {
  margin-top: 2rem;
}

.btn,
.btn-primary,
.btn-secondary,
.usluga-cta,
.floating-call-btn,
.footer-contact a,
.footer-bottom a,
.footer-links a,
.mobile-call-btn,
.header-call-btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.2s ease, opacity 0.2s ease;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.mobile-call-btn:hover,
.header-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.btn-primary:hover,
.mobile-call-btn:hover,
.floating-call-btn:hover {
  background: #ffda5c;
}

.btn-secondary:hover {
  background: #f7fbff;
}

.usluga-cta:hover,
.footer-contact a:hover,
.footer-bottom a:hover,
.header-call-btn:hover {
  color: #ffd24a;
}

.cta-section {
  padding: 3.9rem 0 5.1rem;
}

.cta-box {
  padding: 3rem 3rem;
}

.cta-box .section-kicker,
.cta-box .section-kicker::before,
.cta-box h2,
.cta-box p {
  color: #ffffff;
}

.cta-box p {
  color: rgba(255,255,255,0.92);
}

.footer-premium {
  padding: 30px 0 0;
}

.footer-content {
  grid-template-columns: 1.3fr 1fr 240px;
  gap: 32px;
  align-items: center;
}

.footer-center {
  display: block;
}

.footer-column {
  max-width: 340px;
}

.footer-column h4 {
  margin-bottom: 0.9rem;
}

.footer-contact p {
  margin: 0.5rem 0;
}

.footer-illustration {
  width: 250px;
}

.floating-call-btn {
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 10px 28px rgba(4, 30, 52, 0.34);
}

.floating-call-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(4, 30, 52, 0.4);
}

@media (max-width: 991.98px) {
  .section-light,
  .section-dark,
  .seo-copy,
  .reviews-section,
  .cta-section,
  .contact-section,
  .contact-hero,
  .gallery-hero,
  .about-story,
  .about-values,
  .services-detailed,
  .gallery-grid-section {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-column {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .cta-box {
    padding: 2.15rem 1.4rem;
  }

  .section-light,
  .section-dark,
  .seo-copy,
  .reviews-section,
  .cta-section,
  .contact-section,
  .contact-hero,
  .gallery-hero,
  .about-story,
  .about-values,
  .services-detailed,
  .gallery-grid-section {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .section-action.center {
    margin-top: 1.5rem;
  }
}


.reviews-proof {
  margin-top: 0.75rem;
}

.reviews-proof a {
  color: #0a4f82;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-proof a:hover {
  color: #06365a;
}
