/* ============================================
   POOLTASTIC - Premium Immersive Stylesheet
   ============================================ */

/* --- Animated Water Surface --- */
.hero-water-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.water-wave {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  opacity: 0.08;
  border-radius: 40%;
  background: radial-gradient(ellipse at center, #38bdf8 0%, transparent 70%);
}

.water-wave-1 {
  animation: waterRotate 12s linear infinite;
}

.water-wave-2 {
  animation: waterRotate 16s linear infinite reverse;
  opacity: 0.05;
  background: radial-gradient(ellipse at center, #0891b2 0%, transparent 60%);
}

.water-wave-3 {
  animation: waterRotate 20s linear infinite;
  opacity: 0.04;
  width: 250%;
  height: 250%;
  top: -75%;
  left: -75%;
  background: radial-gradient(ellipse at center, #6b21a8 0%, transparent 65%);
}

.water-caustics {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80px 60px at 20% 30%, rgba(56,189,248,0.12) 0%, transparent 100%),
    radial-gradient(ellipse 120px 80px at 70% 60%, rgba(8,145,178,0.1) 0%, transparent 100%),
    radial-gradient(ellipse 60px 90px at 50% 80%, rgba(56,189,248,0.08) 0%, transparent 100%),
    radial-gradient(ellipse 100px 50px at 80% 20%, rgba(107,33,168,0.06) 0%, transparent 100%);
  animation: causticShift 8s ease-in-out infinite alternate;
}

@keyframes waterRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes causticShift {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(15px, -10px) scale(1.05); opacity: 0.7; }
  100% { transform: translate(-10px, 15px) scale(0.95); opacity: 1; }
}

/* --- Spline 3D Embed --- */
.hero-spline {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-spline spline-viewer {
  opacity: 0.25;
  mix-blend-mode: screen;
}

/* --- Hero Logo --- */
.hero-logo {
  animation: logoFloat 6s ease-in-out infinite;
}

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

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

/* --- Custom Properties --- */
:root {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --dark: #0c1a2a;
  --dark-lighter: #132238;
  --purple: #6b21a8;
  --light: #f8fafc;
  --white: #ffffff;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
  --glass-strong: rgba(255,255,255,0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* --- Selection & Scrollbar --- */
::selection {
  background: var(--primary);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  z-index: 10000;
  transition: width 0.05s linear;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* --- Noise/Grain Overlay --- */
.grain-overlay {
  position: relative;
}

.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 0.6rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.nav.scrolled .nav-logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
}

.nav.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(8,145,178,0.3);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(8,145,178,0.4);
  background: var(--primary-dark) !important;
}

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav.scrolled .nav-hamburger span {
  background: var(--dark);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--white);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--white);
}

/* Mobile Fullscreen Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-overlay a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.mobile-nav-overlay a:hover {
  color: var(--primary);
}

.mobile-nav-overlay .nav-cta {
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(8,145,178,0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8,145,178,0.4);
  background: var(--primary-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

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

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/pools/pool-hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,26,42,0.7) 0%, rgba(12,26,42,0.85) 60%, rgba(12,26,42,0.95) 100%);
}

/* Animated Gradient Mesh on Hero */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(8,145,178,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(107,33,168,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(8,145,178,0.08) 0%, transparent 50%);
  animation: meshShift 12s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

@keyframes meshShift {
  0% {
    background:
      radial-gradient(ellipse at 20% 50%, rgba(8,145,178,0.15) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 20%, rgba(107,33,168,0.1) 0%, transparent 50%),
      radial-gradient(ellipse at 50% 80%, rgba(8,145,178,0.08) 0%, transparent 50%);
  }
  50% {
    background:
      radial-gradient(ellipse at 40% 30%, rgba(107,33,168,0.12) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 60%, rgba(8,145,178,0.18) 0%, transparent 50%),
      radial-gradient(ellipse at 20% 70%, rgba(107,33,168,0.06) 0%, transparent 50%);
  }
  100% {
    background:
      radial-gradient(ellipse at 60% 40%, rgba(8,145,178,0.1) 0%, transparent 50%),
      radial-gradient(ellipse at 30% 70%, rgba(107,33,168,0.14) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 50%, rgba(8,145,178,0.12) 0%, transparent 50%);
  }
}

/* Floating 3D Letters */
.hero-3d-letters {
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 1000px;
  pointer-events: none;
  overflow: hidden;
}

.hero-3d-letter {
  position: absolute;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  user-select: none;
}

.hero-3d-letter:nth-child(1) {
  font-size: 20vw;
  top: 5%;
  left: -2%;
  transform: rotate(15deg) perspective(500px) rotateY(10deg);
  opacity: 0.08;
  animation: float3d1 8s ease-in-out infinite;
}

.hero-3d-letter:nth-child(2) {
  font-size: 18vw;
  top: 15%;
  right: 5%;
  transform: rotate(-10deg) perspective(500px) rotateY(-15deg);
  opacity: 0.06;
  animation: float3d2 10s ease-in-out infinite;
}

.hero-3d-letter:nth-child(3) {
  font-size: 22vw;
  bottom: 10%;
  left: 20%;
  transform: rotate(5deg) perspective(500px) rotateX(10deg);
  opacity: 0.07;
  animation: float3d3 9s ease-in-out infinite;
}

.hero-3d-letter:nth-child(4) {
  font-size: 16vw;
  bottom: 5%;
  right: -3%;
  transform: rotate(-8deg) perspective(500px) rotateY(20deg);
  opacity: 0.05;
  animation: float3d4 11s ease-in-out infinite;
}

@keyframes float3d1 {
  0%, 100% { transform: rotate(15deg) perspective(500px) rotateY(10deg) translateY(0); }
  50% { transform: rotate(15deg) perspective(500px) rotateY(10deg) translateY(-30px); }
}

@keyframes float3d2 {
  0%, 100% { transform: rotate(-10deg) perspective(500px) rotateY(-15deg) translateY(0); }
  50% { transform: rotate(-10deg) perspective(500px) rotateY(-15deg) translateY(-25px); }
}

@keyframes float3d3 {
  0%, 100% { transform: rotate(5deg) perspective(500px) rotateX(10deg) translateY(0); }
  50% { transform: rotate(5deg) perspective(500px) rotateX(10deg) translateY(-35px); }
}

@keyframes float3d4 {
  0%, 100% { transform: rotate(-8deg) perspective(500px) rotateY(20deg) translateY(0); }
  50% { transform: rotate(-8deg) perspective(500px) rotateY(20deg) translateY(-20px); }
}

/* Water Ripple */
.water-ripple {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(8,145,178,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(8,145,178,0.2) 0%, transparent 60%);
  animation: ripple 6s ease-in-out infinite;
}

@keyframes ripple {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.15; }
  50% { transform: translateX(-50%) scaleX(1.1); opacity: 0.25; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
  margin-top: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.hero h1 span {
  display: block;
}

.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 1.5rem 0;
}

.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.trust-item svg {
  width: 20px;
  height: 20px;
}

.trust-item .count {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* --- Sections Common --- */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
  position: relative;
}

.section-light {
  background: var(--light);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  color: #64748b;
  max-width: 600px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.6);
}

/* --- Bento Grid (Services) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.bento-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  transform-style: preserve-3d;
}

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

.bento-card-lg {
  grid-column: span 2;
  min-height: 300px;
}

.bento-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
}

.bento-card:hover .bento-card-img {
  transform: scale(1.05);
}

.bento-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12,26,42,0.9) 100%);
}

.bento-card-content {
  position: relative;
  z-index: 2;
}

.bento-card-content h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.bento-card-content p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.bento-card-icon {
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.bento-card-icon.purple {
  background: var(--purple);
}

.bento-card-icon.teal {
  background: linear-gradient(135deg, var(--primary), #06b6d4);
}

.bento-card-icon svg {
  width: 36px;
  height: 36px;
  margin-bottom: 0.75rem;
  opacity: 0.9;
  color: var(--white);
}

.bento-card-icon h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.bento-card-icon p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

/* --- Gallery --- */
.gallery-section {
  overflow: hidden;
}

.gallery-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1.5rem 2rem;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex: 0 0 350px;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-caption {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  padding: 0 1.5rem;
  font-style: italic;
}

/* --- Why Cards (Glassmorphism) --- */
.why-section {
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), rgba(8,145,178,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: #64748b;
  font-size: 0.9rem;
}

/* --- Reviews --- */
.review-featured {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.review-featured .quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
}

.review-featured blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.review-featured .review-author {
  font-weight: 700;
  color: var(--dark);
}

.review-featured .review-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.reviews-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.5rem 1.5rem;
  scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 320px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-card .review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.review-card .review-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

/* --- Service Areas --- */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.area-pill {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}

.area-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.areas-cta {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

.areas-cta a {
  color: var(--primary);
  font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  background: var(--dark);
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-section .hero-3d-letters {
  opacity: 0.4;
}

.cta-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(8,145,178,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(107,33,168,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 3;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* --- Mobile Bottom Nav --- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark);
  z-index: 999;
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
  color: var(--primary);
}

.mobile-bottom-nav svg {
  width: 22px;
  height: 22px;
}

/* --- Fade-in Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* --- About Page --- */
.about-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
}

.about-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.about-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h2 {
  margin-bottom: 1rem;
}

.story-text p {
  color: #475569;
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
}

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Team Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}

.team-card > * {
  position: relative;
  z-index: 1;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.team-card.teal:hover { border-color: var(--primary); box-shadow: 0 12px 40px rgba(8,145,178,0.2); }
.team-card.purple:hover { border-color: var(--purple); box-shadow: 0 12px 40px rgba(107,33,168,0.2); }
.team-card.amber:hover { border-color: #f59e0b; box-shadow: 0 12px 40px rgba(245,158,11,0.2); }
.team-card.green:hover { border-color: #10b981; box-shadow: 0 12px 40px rgba(16,185,129,0.2); }

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}

.team-avatar.teal { background: linear-gradient(135deg, var(--primary), #06b6d4); }
.team-avatar.purple { background: linear-gradient(135deg, var(--purple), #a855f7); }
.team-avatar.amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.team-avatar.green { background: linear-gradient(135deg, #10b981, #34d399); }

.team-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-card .team-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card p:last-child {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.value-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: #64748b;
  font-size: 0.88rem;
}

/* Stats Bar */
.stats-bar {
  background: var(--dark);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .team-grid,
  .values-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-3d-letter {
    font-size: 30vw !important;
  }

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

  .bento-card-lg {
    grid-column: span 1;
  }

  .why-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-card {
    flex: 0 0 280px;
    height: 220px;
  }

  .review-featured {
    padding: 2rem 1.5rem;
  }

  .mobile-bottom-nav {
    display: block;
  }

  .footer {
    padding-bottom: 5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .trust-bar-inner {
    gap: 1.5rem;
  }

  .trust-item {
    font-size: 0.85rem;
  }

  .review-card {
    flex: 0 0 280px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .about-hero {
    min-height: 45vh;
  }
}

@media (max-width: 480px) {
  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
  }

  .trust-item {
    justify-content: center;
    font-size: 0.8rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }
}
