﻿/* ===================================================
   Clear H2O — Premium Pool Company Website
   Design System: Impeccable UI/UX Standards
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- Custom Properties ---- */
:root {
  --navy:        #0a1628;
  --navy-mid:    #112240;
  --blue:        #0a65b5;
  --blue-light:  #2ea8f5;
  --gold:        #c8a96e;
  --gold-light:  #e0c896;
  --white:       #ffffff;
  --off-white:   #f5f8fc;
  --gray:        #6b7280;
  --gray-mid:    #374151;
  --gray-light:  #e5e9ef;

  --font-head:   'Outfit', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-card: 0 4px 24px rgba(10,22,40,0.10);
  --shadow-hero: 0 8px 48px rgba(10,22,40,0.30);
  --shadow-btn:  0 4px 16px rgba(14,127,208,0.35);

  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width:   1200px;
  --nav-height:  80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-mid);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Utility ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-tag--gold { color: var(--gold); }
.section-tag--white { color: rgba(255,255,255,0.7); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title--white { color: var(--white); }

.section-sub {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.7;
}

.section-sub--white { color: rgba(255,255,255,0.75); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: #0d6fb8;
  border-color: #0d6fb8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,127,208,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ====================================================
   NAVIGATION
   ==================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.25);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  width: 38px;
  height: 38px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
  line-height: 1;
}

.nav__logo-mark sub {
  font-size: 0.5em;
  vertical-align: baseline;
  position: relative;
  top: 0.35em;
  line-height: 0;
  font-weight: 900;
}

.nav__logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1;
}

.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.active { color: var(--blue-light); }
.nav__link.active::after { transform: scaleX(1); }

.nav__phone {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__phone:hover {
  background: #0d6fb8;
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.18s ease;
  transform-origin: center center;
  pointer-events: none;
}

/* ---- Dropdown ---- */
.nav__item {
  position: relative;
}

.nav__link--has-dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
}

.nav__dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.7);
  margin-top: 2px;
  transition: transform var(--transition);
  vertical-align: middle;
}

.nav__item--dropdown:hover .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__item--dropdown:hover .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__item--dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 16px;
  background: transparent;
  z-index: 199;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 260px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
}

.nav__item--dropdown:hover .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--navy-mid);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  rotate: 45deg;
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: background var(--transition), color var(--transition);
}

.nav__dropdown-link:hover {
  background: rgba(14,127,208,0.15);
  color: var(--white);
}

.nav__dropdown-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

/* Mobile dropdown */
.nav__mobile-dropdown {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  border-left: 2px solid rgba(14,127,208,0.3);
  margin: 4px 0 8px;
}

.nav__mobile-dropdown.open {
  display: flex;
}

.nav__mobile-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}

.nav__mobile-dropdown-link:last-child { border-bottom: none; }
.nav__mobile-dropdown-link:hover { color: var(--blue-light); }

.nav__mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.nav__mobile-services-toggle .nav__mobile-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition);
  color: rgba(255,255,255,0.4);
}

.nav__mobile-services-toggle.open .nav__mobile-arrow {
  transform: rotate(180deg);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}

.nav__mobile-link:hover { color: var(--blue-light); }

.nav__mobile-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-light);
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(14,127,208,0.4) 100%),
    url('../assets/images/liners/Whitman/IMG_5089.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  will-change: transform;
}

.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero__wave svg { display: block; width: 100%; }

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-height);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
  opacity: 0;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--blue-light);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
  opacity: 0;
}

.hero__title em {
  font-style: normal;
  color: var(--blue-light);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ====================================================
   STATS BAR
   ==================================================== */
.stats {
  background: var(--navy-mid);
  padding: 48px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat__divider {
  display: none;
}

/* ====================================================
   SERVICES SECTION
   ==================================================== */
.services-section {
  padding: 100px 0;
  background: var(--off-white);
}

.services-section__header {
  text-align: center;
  margin-bottom: 64px;
}

.services-section__sub { margin: 0 auto; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  border-color: rgba(10,101,181,0.15);
  box-shadow: 0 12px 48px rgba(10,22,40,0.14);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleY(1); }

.service-card__body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(10,101,181,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.65;
}

.services-section__cta {
  text-align: center;
  margin-top: 52px;
}

/* ====================================================
   GALLERY PREVIEW
   ==================================================== */
.gallery-preview {
  padding: 100px 0;
  background: var(--white);
}

.gallery-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.gallery-preview__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-preview__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-md);
  opacity: 0;
  transform: scale(0.96);
}

.gallery-preview__item:first-child {
  grid-row: span 2;
}

.gallery-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-preview__item:first-child img { min-height: 496px; }

.gallery-preview__item:hover img { transform: scale(1.06); }

.gallery-preview__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-preview__item:hover .gallery-preview__overlay { opacity: 1; }

.gallery-preview__label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ====================================================
   WHY CHOOSE US
   ==================================================== */
.why-us {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,127,208,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.why-us__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(14,127,208,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item__title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.feature-item__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.why-us__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateX(40px);
}

.why-us__image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.why-us__badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.why-us__badge-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.why-us__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(10,22,40,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ====================================================
   CTA BANNER
   ==================================================== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue) 0%, #0a5fa8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}



.cta-banner__inner { position: relative; }

.cta-banner__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-banner__phone {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition);
}

.cta-banner__phone:hover { opacity: 0.85; }

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: var(--navy);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 240px;
}

.footer__heading {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--blue-light); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer__contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.footer__hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__hours-row:last-child { border-bottom: none; }

.footer__hours-day { font-weight: 500; color: rgba(255,255,255,0.75); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer__bottom-link:hover { color: rgba(255,255,255,0.6); }

/* ====================================================
   SERVICES PAGE
   ==================================================== */
.page-hero {
  min-height: 380px;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(14,127,208,0.25) 0%, transparent 65%);
}

.page-hero__content { position: relative; }

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--blue-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

.services-full {
  padding: 80px 0 100px;
  background: var(--off-white);
}

.services-full__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.service-full-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 40px;
}

.service-full-card--reverse .service-full-card__img-wrap { order: 2; }
.service-full-card--reverse .service-full-card__content  { order: 1; }

.service-full-card__img-wrap {
  overflow: hidden;
  min-height: 340px;
}

.service-full-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-full-card:hover .service-full-card__img {
  transform: scale(1.04);
}

.service-full-card__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-full-card__icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(10,101,181,0.1) 0%, rgba(56,182,255,0.1) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(10,101,181,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.service-full-card__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.service-full-card__desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-full-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-full-card__list li {
  font-size: 0.9rem;
  color: var(--navy);
  padding-left: 20px;
  position: relative;
}

.service-full-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 100px 0;
  background: var(--navy);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonial-card__source {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ====================================================
   GALLERY PAGE
   ==================================================== */
.gallery-full {
  padding: 80px 0 100px;
  background: var(--off-white);
}

.gallery-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: 100px;
  border: 2px solid var(--gray-light);
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(14,127,208,0.06);
}

.gallery-masonry {
  columns: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}

.lightbox__close:hover { background: rgba(255,255,255,0.2); }

/* ====================================================
   CONTACT PAGE
   ==================================================== */
.contact-section {
  padding: 80px 0 100px;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail__label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-detail__value a {
  color: var(--navy);
  transition: color var(--transition);
}

.contact-detail__value a:hover { color: var(--blue); }

.hours-table { margin-top: 32px; }

.hours-table__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.92rem;
  color: var(--gray-mid);
}

.hours-row:last-child { border-bottom: none; }
.hours-row__day { font-weight: 500; }

/* Holiday Hours */
.holiday-hours {
  margin-top: 24px;
  background: #fff8e7;
  border: 1.5px solid #f0c040;
  border-radius: var(--radius);
  padding: 16px 20px;
}

.holiday-hours__title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #8a6200;
  margin: 0 0 8px 0;
}

.holiday-hours__text {
  font-size: 0.9rem;
  color: #6b4f00;
  margin: 0;
  line-height: 1.6;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.contact-form__title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form__sub {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--off-white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,127,208,0.12);
  background: var(--white);
}

textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 12px;
}

.map-wrap {
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 400px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ====================================================
   ABOUT PAGE
   ==================================================== */

/* Story */
.about-story {
  padding: 96px 0;
  background: var(--white);
}
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-story__body {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-story__image-wrap {
  position: relative;
}
.about-story__image {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}
.about-story__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(10,101,181,0.35);
}
.about-story__badge-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.about-story__badge-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}

/* Stats bar */
.about-stats {
  background: var(--navy);
  padding: 56px 0;
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.about-stat__number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Values */
.about-values {
  padding: 96px 0;
  background: var(--off-white);
}
.about-values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.about-value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--blue);
}
.about-value-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.about-value-card__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.about-value-card__body {
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 1.7;
}

/* Offer */
.about-offer {
  padding: 96px 0;
  background: var(--white);
}
.about-offer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-offer__body {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-offer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-offer__list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.5;
}
.about-offer__list-icon {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.about-offer__images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.about-offer__img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-card);
}
.about-offer__img--top  { aspect-ratio: 16 / 9; }
.about-offer__img--bottom { aspect-ratio: 16 / 7; }

/* Review */
.about-review {
  padding: 80px 0;
  background: var(--navy);
}
.about-review__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-review__stars {
  font-size: 1.5rem;
  color: #f5b402;
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.about-review__quote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  margin: 0 0 20px;
  font-style: italic;
}
.about-review__cite {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  display: block;
  margin-bottom: 16px;
}
.about-review__context {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}
.about-review__context strong {
  color: var(--blue-light);
}

/* Google Review Cards */
.google-reviews {
  padding: 80px 0 96px;
  background: var(--off-white);
}
.google-reviews__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.google-reviews__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.google-reviews__logo svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.google-reviews__overall {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--gray);
}
.google-reviews__overall strong {
  font-size: 1.2rem;
  color: var(--navy);
}
.google-reviews__overall-stars {
  color: #fbbc04;
  letter-spacing: 1px;
}
.google-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.g-review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(60,64,67,0.15), 0 2px 8px rgba(60,64,67,0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.g-review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
  background: #4285f4;
}
.g-review-card__avatar--green  { background: #34a853; }
.g-review-card__avatar--red    { background: #ea4335; }
.g-review-card__avatar--yellow { background: #fbbc04; color: #202124; }
.g-review-card__avatar--blue   { background: #4285f4; }
.g-review-card__meta {
  flex: 1;
  min-width: 0;
}
.g-review-card__name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-review-card__reviews-count {
  font-size: 0.78rem;
  color: #70757a;
  margin-top: 1px;
}
.g-review-card__stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.g-review-card__stars {
  color: #fbbc04;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.g-review-card__date {
  font-size: 0.78rem;
  color: #70757a;
}
.g-review-card__text {
  font-size: 0.9rem;
  color: #3c4043;
  line-height: 1.6;
  flex: 1;
}
.g-review-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid #f1f3f4;
  font-size: 0.75rem;
  color: #70757a;
}
.g-review-card__footer svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .google-reviews__grid { grid-template-columns: 1fr; }
  .google-reviews__overall { display: none; }
}

/* ====================================================
   OWNERS SECTION (about.html)
   ==================================================== */
.about-owners {
  padding: 80px 0 100px;
  background: var(--white);
}

.owners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.owner-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10,101,181,0.08);
}

.owner-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.owner-card__avatar--green { background: #1a8a4a; }

.owner-card__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.owner-card__role {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.owner-card__bio {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ====================================================
   HOME REVIEWS GRID (index.html — dark navy background)
   ==================================================== */
.home-reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .home-reviews__grid { grid-template-columns: 1fr; }
}

.home-reviews__grid .g-review-card {
  background: rgba(255,255,255,0.96);
}

/* About page responsive */
@media (max-width: 900px) {
  .about-story__grid,
  .about-offer__grid  { grid-template-columns: 1fr; gap: 48px; }
  .about-story__image-wrap { order: -1; }
  .about-story__badge { bottom: -16px; left: 16px; }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about-values__grid { grid-template-columns: 1fr; }
  .owners-grid { grid-template-columns: 1fr; max-width: 440px; }
}
@media (max-width: 540px) {
  .about-stats__grid { grid-template-columns: 1fr 1fr; }
}

/* ====================================================
   RENOVATIONS PAGE
   ==================================================== */
.renovations-section {
  padding: 80px 0 100px;
  background: var(--off-white);
}

.renovation-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.renovation-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(32px);
}

.renovation-item__header {
  padding: 36px 40px 28px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.renovation-item__num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.renovation-item__title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.renovation-item__desc {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.65;
}

.renovation-item__tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(10,101,181,0.08);
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Before/After Comparison Slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  background: var(--navy);
}

.ba-slider.is-dragging {
  cursor: grabbing;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider__after {
  z-index: 1;
}

.ba-slider__before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  width: 100%;
  clip-path: inset(0 50% 0 0);
  transition: none;
  will-change: clip-path;
}

.ba-slider__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  transition: none;
}

.ba-slider__button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.ba-slider__arrow {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.ba-slider__arrow--left {
  border-right: 9px solid var(--navy);
}

.ba-slider__arrow--right {
  border-left: 9px solid var(--navy);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  z-index: 4;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10,22,40,0.65);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.ba-label--before { left: 16px; }
.ba-label--after { right: 16px; }

/* ====================================================
   BACK TO TOP
   ==================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(14,127,208,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 900;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover { background: #0d6fb8; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .why-us__inner { grid-template-columns: 1fr; gap: 48px; }
  .why-us__image-wrap { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: block; }

  .hero__title { font-size: clamp(2.2rem, 7vw, 3.2rem); }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

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

  .gallery-preview__grid {
    grid-template-columns: 1fr;
  }
  .gallery-preview__item:first-child { grid-row: span 1; }
  .gallery-preview__item { display: none; }
  .gallery-preview__item:first-child,
  .gallery-preview__item:nth-child(2) { display: block; }

  .gallery-preview__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-full__grid { grid-template-columns: 1fr; }
  .service-full-card { grid-template-columns: 1fr; }
  .service-full-card--reverse .service-full-card__img-wrap { order: 0; }
  .service-full-card--reverse .service-full-card__content  { order: 0; }
  .service-full-card__img-wrap { min-height: 220px; }
  .service-full-card__content { padding: 28px 24px; }
  .testimonials__grid { grid-template-columns: 1fr; }

  .gallery-masonry { columns: 2; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .why-us__features { grid-template-columns: 1fr; }

  .cta-banner__actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

/* ====================================================
   REDUCED MOTION
   ==================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ====================================================
   ANIMATIONS (JS-driven initial states)
   ==================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
}

.fade-in {
  opacity: 0;
}

.slide-right {
  opacity: 0;
  transform: translateX(-40px);
}
