/* ============================================
   ELEVATED LANDSCAPES DUBLIN - v3 Premium
   Cinematic animations, luxury organic design
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Forest Greens - deeper, muted, sophisticated */
  --green-900: #012550;
  --green-800: #022f66;
  --green-700: #0a3d7a;
  --green-600: #1a5294;
  --green-500: #2a6aad;
  --green-400: #4a8ac7;
  --green-300: #7aafda;
  --green-200: #adc1dc;
  --green-100: #d4e3f0;
  --green-50: #edf3f9;
  /* Earthy warm tones */
  --earth-900: #3D2B1F;
  --earth-700: #5C4033;
  --earth-500: #8B6F47;
  --earth-300: #C4A97D;
  --earth-100: #f0e6d3;
  /* Neutral backgrounds */
  --white: #FFFFFF;
  --cream: #fdfaf5;
  --cream-dark: #f8f5f0;
  --gray-50: #fafaf8;
  --gray-100: #f3f2ef;
  --gray-200: #e5e3de;
  --gray-300: #d0cdc6;
  --gray-500: #7a7568;
  --gray-700: #454038;
  --gray-900: #2d2d2d;
  /* Accent - blue CTA */
  --accent: #1a5294;
  --accent-hover: #0a3d7a;
  --accent-light: #7aafda;
  /* Blue accents */
  --gold: #1a5294;
  --gold-light: #4a8ac7;
  --gold-dark: #0a3d7a;
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.12);
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  /* Typography - modern sans-serif system stack */
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  --container: 1200px;
}

/* --- Custom Selection --- */
::selection { background: rgba(42,106,173,0.2); color: var(--green-900); }

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--green-400); border-radius: 3px; }

/* --- Keyframes --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px) rotate(-2deg); }
  to { opacity: 1; transform: translateX(0) rotate(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px) rotate(2deg); }
  to { opacity: 1; transform: translateX(0) rotate(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(5deg); }
  75% { transform: translateY(6px) rotate(-3deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  10% { transform: translate(-5%,-10%); }
  30% { transform: translate(3%,-15%); }
  50% { transform: translate(12%,9%); }
  70% { transform: translate(9%,4%); }
  90% { transform: translate(-1%,7%); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes borderGlow {
  0%, 100% { border-color: rgba(26,82,148,0.3); }
  50% { border-color: rgba(26,82,148,0.7); }
}
@keyframes revealMask {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes parallaxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-180deg) scale(0); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-800); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* --- Film Grain Overlay --- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--gray-900); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); letter-spacing: -0.015em; font-weight: 700; }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--gray-700); font-size: 1.05rem; line-height: 1.75; }
.lead { font-size: 1.1rem; color: var(--gray-500); line-height: 1.7; }

/* --- Container & Sections --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 6rem 0; position: relative; }
.section--green { background: var(--green-900); color: var(--white); }
.section--green h2, .section--green h3, .section--green h4 { color: var(--white); }
.section--green p, .section--green .lead { color: var(--green-200); }
.section--light { background: var(--cream-dark); }
.section--earth { background: var(--earth-100); }
.section--dark { background: var(--gray-900); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--gray-300); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header .label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green-600);
  margin-bottom: 0.75rem;
  position: relative;
  padding: 0 0 0.25rem;
}
.label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.section--green .section-header .label { color: var(--gold); }
.section--dark .section-header .label { color: var(--gold); }

/* --- Scroll-Triggered Animations --- */
/* Only hide when JS is confirmed working */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.js-reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal-ready .reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.js-reveal-ready .reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.js-reveal-ready .reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.js-reveal-ready .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.js-reveal-ready .reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.js-reveal-ready .reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
/* Stagger delays for children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  min-width: 180px;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(100%); }
.btn--primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(10,61,122,0.2);
}
.btn--primary:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(10,61,122,0.25);
}
.btn--secondary {
  background: var(--white);
  color: var(--green-800);
  border: 2px solid var(--green-600);
}
.btn--secondary:hover {
  background: var(--green-50);
  color: var(--green-900);
  transform: translateY(-3px);
}
.btn--gold {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(26,82,148,0.25);
}
.btn--gold:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(26,82,148,0.35);
}
.btn--white {
  background: var(--white);
  color: var(--green-800);
}
.btn--white:hover {
  background: var(--green-50);
  transform: translateY(-3px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn--lg { padding: 1.15rem 2.75rem; font-size: 1.05rem; border-radius: var(--radius-lg); min-width: 220px; }
.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- Magnetic Button Effect --- */
.magnetic-btn {
  transition: transform 0.2s ease;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fdfaf5;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 16px rgba(0,0,0,0.04);
  border-bottom: 1px solid var(--gray-200);
  transition: transform 0.35s var(--ease-out-expo);
}
.site-header.scrolled {
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(1,37,80,0.08);
}





.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--green-900);
  text-decoration: none;
  z-index: 2;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--green-600);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Desktop Nav */
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 0.25rem; align-items: center; }
.nav-desktop a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-desktop a:hover { color: var(--green-700); background: rgba(1,37,80,0.05); }
.nav-desktop a.active { color: var(--green-700); font-weight: 600; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  min-width: 260px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.dropdown:hover .dropdown-menu {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--gray-700) !important;
}
.dropdown-menu a:hover { background: var(--green-50); color: var(--green-700) !important; }

/* Header CTA */
.header-cta { display: none; }
.header-cta .btn { border-radius: 50px; }

/* Hamburger */
.hamburger {
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 10;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* Mobile Nav */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(1,37,80,0.5); z-index: 998;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-mobile {
  position: fixed; top: 0; right: 0; width: 300px; height: 100vh;
  background: var(--white); z-index: 999; padding: 5rem 1.5rem 2rem;
  transform: translateX(100%); transition: transform 0.4s var(--ease-out-expo);
  display: flex; flex-direction: column; gap: 0.25rem;
  overflow-y: auto;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a { padding: 0.75rem 0; font-size: 1.05rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.nav-mobile-close { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 1.5rem; color: var(--gray-500); }
.submenu { display: flex; flex-direction: column; padding-left: 1rem; }
.submenu a { font-size: 0.95rem; }
.mobile-cta { margin-top: auto; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .hero-img-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s ease-out forwards;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,122,0.88) 0%, rgba(10,61,122,0.55) 50%, rgba(10,61,122,0.82) 100%);
  z-index: 1;
}
/* Clean bottom edge */
.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(1,37,80,1) 0%, transparent 100%);
  z-index: 2;
}
.hero .container {
  position: relative;
  z-index: 3;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content { max-width: 640px; }
.hero-content .label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--accent-light);
  backdrop-filter: blur(8px);
  animation: fadeDown 0.8s var(--ease-out-expo) 0.2s both;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.4s both;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 520px;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.6s both;
}
.hero-content .btn-group {
  animation: fadeUp 0.9s var(--ease-out-expo) 0.8s both;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeUp 0.9s var(--ease-out-expo) 1s both;
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--white);
  font-family: var(--font-display);
}
.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}
/* Floating badge on hero */
.hero-floating-badge {
  position: absolute;
  bottom: 140px;
  right: 2rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.6rem;
  color: var(--white);
  z-index: 4;
  animation: fadeLeft 0.9s var(--ease-out-expo) 1.2s both, parallaxFloat 6s ease-in-out infinite 2s;
  display: none;
}
.hero-floating-badge .badge-rating { font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); }
.hero-floating-badge .badge-stars { color: var(--gold); font-size: 0.9rem; }
.hero-floating-badge .badge-text { font-size: 0.75rem; opacity: 0.7; margin-top: 0.25rem; }

/* --- Horizontal Scrolling Marquee --- */
.marquee-section {
  background: var(--green-900);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
  display: flex;
  animation: marquee 40s linear infinite;
  width: max-content;
  gap: 0;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1.5rem;
  white-space: nowrap;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marquee-item .dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ==================== SERVICES ==================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.service-card {
  padding: 2rem 1.75rem;
  border-radius: 16px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--green-200) 60%, var(--gold-light) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(1,37,80,0.1), 0 0 0 1px rgba(42,106,173,0.06);
}
/* Ambient glow on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(42,106,173,0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(145deg, var(--green-50), var(--green-100));
  border-radius: 14px;
  margin-bottom: 1.25rem;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}
.service-card:hover .service-card-icon {
  background: linear-gradient(145deg, var(--green-600), var(--green-500));
  box-shadow: 0 8px 24px rgba(26,82,148,0.25);
  transform: scale(1.05) rotate(-3deg);
}
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.service-card p { font-size: 0.92rem; color: var(--gray-500); margin-bottom: 1rem; }
.service-card .link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition);
}
.service-card .link::after {
  content: '→';
  transition: transform var(--transition);
}
.service-card:hover .link::after {
  transform: translateX(4px);
}

/* --- IMAGE CARD (new component) --- */
.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.image-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out-expo);
}
.image-card:hover .card-bg { transform: scale(1.08); }
.image-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,37,80,0.9) 0%, rgba(1,37,80,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}
.image-card .card-overlay h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.25rem; }
.image-card .card-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }

/* ==================== FEATURES SECTION ==================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.feature-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.feature-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-item:hover { 
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}
.feature-item:hover::before { opacity: 1; }
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.feature-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.9rem; margin: 0; }
/* White-background features variant */
.features-light .feature-item {
  background: var(--white);
  border-color: var(--gray-200);
}
.features-light .feature-item:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-lg);
}
.features-light .feature-item h3 { color: var(--green-900); }
.features-light .feature-item p { color: var(--gray-500); }

/* ==================== BENTO GRID ==================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 250px;
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.bento-item .bento-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out-expo);
}
.bento-item:hover .bento-bg { transform: scale(1.06); }
.bento-item .bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(1,37,80,0.9) 0%, rgba(1,37,80,0.4) 60%, transparent 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-out-expo);
}
.bento-item:hover .bento-overlay {
  opacity: 1;
  transform: translateY(0);
}
.bento-item .bento-overlay h4 { color: var(--white); margin-bottom: 0.25rem; }
.bento-item .bento-overlay span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ==================== BEFORE & AFTER ==================== */
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.ba-item { text-align: center; }
.ba-item p { margin-top: 1rem; font-weight: 600; color: var(--green-900); }
/* ==================== BEFORE & AFTER SLIDER (clip-path) ==================== */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: var(--shadow-lg);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.ba-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ba-after { z-index: 1; }
.ba-before { z-index: 2; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: white;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}
.ba-handle-circle {
  position: relative;
  width: 44px;
  height: 44px;
  background: var(--green-700);
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, background 0.2s;
  z-index: 4;
}
.ba-slider:active .ba-handle-circle { transform: scale(1.15); background: var(--green-600); }
.ba-tag {
  position: absolute;
  top: 1rem;
  z-index: 5;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.ba-tag--before { left: 1rem; background: rgba(0,0,0,0.55); color: white; backdrop-filter: blur(4px); }
.ba-tag--after { right: 1rem; background: rgba(255,255,255,0.9); color: var(--green-900); }


/* ==================== TESTIMONIALS ==================== */
.testimonial-carousel { overflow: hidden; position: relative; }
.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease-out-expo);
}
.testimonial-card {
  min-width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}
.testimonial-card-inner {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.testimonial-card-inner::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-family: var(--font-display);
  color: var(--green-100);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.testimonial-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(1,37,80,0.08);
  border-color: var(--green-200);
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial-text { font-size: 1rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-name { font-weight: 600; color: var(--green-900); font-size: 0.95rem; }
.testimonial-location { font-size: 0.8rem; color: var(--gray-500); }
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  transition: all var(--transition);
  cursor: pointer;
}
.carousel-dot.active {
  background: var(--green-600);
  width: 28px;
  border-radius: 5px;
}

/* ==================== STATS ==================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--green-300);
  margin-top: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ==================== GALLERY GRID ==================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item .gallery-img,
.gallery-item .gallery-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out-expo);
}
.gallery-item:hover .gallery-img,
.gallery-item:hover .gallery-placeholder { transform: scale(1.08); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,37,80,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.2rem; }
.gallery-item .gallery-overlay span { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

/* ==================== QUOTE CALCULATOR ==================== */
.quote-calculator {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.quote-calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--gold), var(--green-400));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
.quote-progress {
  height: 4px;
  background: var(--gray-100);
  border-radius: 2px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.quote-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--gold));
  border-radius: 2px;
  transition: width 0.5s var(--ease-out-expo);
}
.quote-step-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-500);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}
.step-indicator.active {
  background: var(--green-600);
  color: var(--white);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(26,125,94,0.2);
}
.step-indicator.done {
  background: var(--green-400);
  color: var(--white);
}
.step-indicator.done::after {
  content: '✓';
  font-size: 0.9rem;
}
.step-indicator.done { font-size: 0; }
.quote-step { display: none; }
.quote-step.active { display: block; animation: fadeUp 0.5s var(--ease-out-expo); }
.quote-step h3 { margin-bottom: 0.5rem; }
.step-desc { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 1.5rem; }
.service-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: all 0.3s var(--ease-out-expo);
}
.service-check input { display: none; }
.service-check:hover { border-color: var(--green-400); background: var(--green-50); }
.service-check.selected { border-color: var(--green-600); background: var(--green-100); box-shadow: 0 0 0 3px rgba(26,125,94,0.15); }
.check-box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.service-check.selected .check-box {
  background: var(--green-600);
  border-color: var(--green-600);
}
.service-check.selected .check-box::after {
  content: '✓';
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}
.check-label { font-weight: 500; font-size: 0.95rem; }
.size-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.size-option {
  padding: 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}
.size-option:hover { border-color: var(--green-400); }
.size-option.selected { border-color: var(--green-600); background: var(--green-50); }
.size-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.size-option strong { display: block; margin-bottom: 0.25rem; color: var(--green-900); }
.size-option span { font-size: 0.8rem; color: var(--gray-500); line-height: 1.4; }
.quote-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.option-pill {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.option-pill:hover { border-color: var(--green-400); }
.option-pill.selected { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.additional-q { margin-bottom: 1rem; }
.additional-q label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--gray-700); }
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(26,82,148,0.1); }
.quote-result { text-align: center; padding: 1rem 0; }
.price-range {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--green-700);
  margin: 1rem 0;
}
.price-note { color: var(--gray-500); font-size: 0.9rem; }
.confirmation {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.confirmation h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ==================== PROCESS / HOW IT WORKS ==================== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-left: 4.5rem;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-display);
  box-shadow: 0 4px 15px rgba(26,82,148,0.3);
}
.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { color: var(--gray-500); font-size: 0.92rem; margin: 0; }
/* Vertical connecting line */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 60px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(to bottom, var(--green-400), var(--green-100));
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 50%, var(--green-800) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,82,148,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42,106,173,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-banner p { color: var(--green-200); margin-bottom: 2rem; position: relative; }
.cta-banner .btn-group { justify-content: center; position: relative; }

/* ==================== MAP SECTION ==================== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

/* ==================== FAQ ==================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  width: 100%;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-900);
  cursor: pointer;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green-500);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after { content: '−'; transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s;
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--green-900);
  color: var(--green-200);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--green-300); font-size: 0.9rem; padding: 0.25rem 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.9rem; color: var(--green-300); }
.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; align-items: flex-start; }
.footer-contact-item span { font-size: 1.1rem; }
.footer-contact-item div { font-size: 0.9rem; }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.8rem;
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--green-600); transform: translateY(-2px); }
.footer-areas-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-areas-list span {
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  color: var(--green-300);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: var(--green-400);
}

/* ==================== FLOATING ELEMENTS ==================== */
.whatsapp-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 100;
  transition: all 0.3s var(--ease-out-expo);
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }

/* Mobile Footer Bar */
.mobile-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
}
.mobile-footer-bar a {
  flex: 1;
  text-align: center;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.mfb-call { background: var(--green-600); color: var(--white) !important; }
.mfb-quote { background: var(--accent); color: var(--white) !important; }

/* ==================== LIGHTBOX ==================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-content {
  max-width: 900px;
  max-height: 80vh;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ==================== GALLERY PAGE FILTER ==================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-700);
  border: none;
  transition: all var(--transition);
  cursor: pointer;
}
.filter-btn:hover { background: var(--green-50); color: var(--green-700); }
.filter-btn.active { background: var(--green-600); color: var(--white); }

/* ==================== PARALLAX SCROLL ==================== */
.parallax-section {
  position: relative;
  overflow: hidden;
}
.parallax-bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ==================== TEXT REVEAL ==================== */
.text-reveal {
  overflow: hidden;
}
.text-reveal-inner {
  transform: translateY(100%);
  transition: transform 0.8s var(--ease-out-expo);
}
.text-reveal.visible .text-reveal-inner {
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-calculator { padding: 2.5rem; }
}

@media (min-width: 768px) {
  .testimonial-card { min-width: 50%; }
  .hero-floating-badge { display: block; }
}

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .header-cta { display: block; }
  .hamburger { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; min-height: 400px; }
  .testimonial-card { min-width: 33.333%; }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .process-step { padding-left: 0; padding-top: 5rem; text-align: center; }
  .process-step::before { left: 50%; transform: translateX(-50%); top: 0; }
  .process-step:not(:last-child)::after {
    top: 28px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: linear-gradient(to right, var(--green-400), var(--green-100));
  }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .quote-calculator { padding: 3rem; }
}

@media (min-width: 1024px) {
  .mobile-footer-bar { display: none; }
  .whatsapp-btn { bottom: 2rem; }
}
@media (max-width: 1023px) {
  body { padding-bottom: 60px; }
}

/* ==================== UTILITY ==================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }

/* ==================== ADVANCED ENHANCEMENTS ==================== */

/* --- Custom Cursor Glow --- */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,106,173,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  display: none;
}

/* --- Horizontal Rule with Diamond --- */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem auto;
  max-width: 300px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}
.divider .diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- Animated Underline for Links --- */
.link-underline {
  position: relative;
  display: inline;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}
.link-underline:hover::after { width: 100%; }

/* --- Glassmorphism Card --- */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(1,37,80,0.08);
}

/* --- Pulse Ring on CTA --- */
.pulse-ring {
  position: relative;
}
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--gold);
  animation: pulseRing 2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* --- Number Badge --- */
.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green-600);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- Testimonial Card Enhanced --- */
.testimonial-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Smooth Image Reveal --- */
.img-reveal {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.img-reveal .img-reveal-inner {
  transform: scale(1.15);
  transition: transform 1.2s var(--ease-out-expo);
}
.img-reveal.visible .img-reveal-inner {
  transform: scale(1);
}

/* --- Hero Enhanced --- */
.hero-content h1 em {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Service Card Image Background --- */
.service-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
  z-index: 0;
}
.service-card:hover .service-card-img { opacity: 0.08; }
.service-card > * { position: relative; z-index: 1; }

/* --- Bento Item Labels --- */
.bento-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* --- Section Divider Shapes --- */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* --- Quote Calculator Enhanced --- */
.quote-calculator {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 60px rgba(1,37,80,0.12), 0 1px 3px rgba(1,37,80,0.08);
  border: 1px solid rgba(1,37,80,0.06);
  position: relative;
  overflow: hidden;
}

/* --- Animated Background Blobs --- */
.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--green-300);
  top: -200px;
  right: -100px;
  animation: parallaxFloat 8s ease-in-out infinite;
}
.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--gold);
  bottom: -150px;
  left: -100px;
  animation: parallaxFloat 10s ease-in-out infinite 2s;
}

/* --- Badge Ribbon --- */
.badge-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gold);
  color: var(--green-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 2.5rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* --- Enhanced Stats --- */
.stat-item {
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.stat-item:hover::after { opacity: 1; }

/* --- Service Card Counter --- */
.service-card { counter-increment: svc; }
.service-card::after {
  content: '0' counter(svc);
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-200);
  letter-spacing: 0.1em;
  font-family: var(--font-body);
}
.services-grid { counter-reset: svc; }

/* --- Smooth Section Transitions --- */
.section {
  transition: background-color 0.5s ease;
}

/* --- Better Process Steps (Desktop) --- */
@media (min-width: 1024px) {
  .process-step {
    transition: all 0.4s var(--ease-out-expo);
  }
  .process-step:hover {
    transform: translateY(-4px);
  }
  .process-step:hover::before {
    box-shadow: 0 8px 25px rgba(26,82,148,0.4);
    transform: translateX(-50%) scale(1.1);
  }
}

/* --- Cursor Trail Dot --- */
@media (min-width: 1024px) {
  .cursor-glow { display: block; }
}


/* ==================== MOBILE OPTIMIZATIONS ==================== */

/* ==================== MOBILE-FIRST OVERHAUL ==================== */

/* Text alignment */
.section-header, .section-header h2, .section-header p, .section-header .label, .section-header .lead { text-align: center; }
.hero-content { text-align: center; max-width: 700px; margin: 0 auto; }
.hero-content h1, .hero-content p { text-align: center; }
.hero-content .btn-group { justify-content: center; }
.hero-stats { justify-content: center; }

/* --- Horizontal Scroll Containers (Mobile) --- */
.scroll-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* --- Mobile Compact Feature Chips --- */
.features-compact {
  display: none;
}

/* --- Scroll Indicator Dots --- */
.scroll-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
}
.scroll-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: all 0.3s;
}
.scroll-dots span.active {
  width: 20px;
  border-radius: 3px;
  background: var(--green-500);
}

@media (max-width: 768px) {
  /* === GLOBAL MOBILE === */
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
  .section-header .lead { font-size: 0.92rem; margin-bottom: 0; }
  .container { padding: 0 1.25rem; }
  
  /* === HERO MOBILE === */
  .hero { min-height: 85vh; }
  .hero .container { padding-top: 5.5rem; padding-bottom: 3rem; }
  .hero-content h1 { font-size: 2rem; line-height: 1.15; }
  .hero-content p { font-size: 0.95rem; line-height: 1.6; }
  .hero-content .btn-group { flex-direction: column; gap: 0.6rem; }
  .hero-content .btn-group .btn { width: 100%; justify-content: center; padding: 12px 20px; }
  .hero-floating-badge { display: none; }
  
  /* Hero stats: compact inline strip */
  .hero-stats {
    display: flex;
    gap: 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.25rem;
  }
  .hero-stat {
    flex: 1;
    text-align: center;
    padding: 0 0.25rem;
    border-right: 1px solid rgba(255,255,255,0.1);
  }
  .hero-stat:last-child { border-right: none; }
  .hero-stat strong { font-size: 1.2rem; display: block; }
  .hero-stat span { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; }
  
  /* === MARQUEE MOBILE === */
  .marquee-item { padding: 0 0.8rem; font-size: 0.68rem; }
  .marquee-section { padding: 0.6rem 0; }
  
  /* === SERVICES: Horizontal Scroll Cards === */
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    grid-template-columns: none !important;
  }
  .services-grid::-webkit-scrollbar { display: none; }
  .service-card {
    min-width: 260px;
    max-width: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 1.25rem;
  }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.85rem; }
  .service-card::after { display: none; }
  .service-card-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 1rem; }
  
  /* Swipe hint on services */
  .services-grid::after {
    content: '';
    min-width: 1px;
    flex-shrink: 0;
  }
  
  /* === FEATURES: Compact 2x2 Grid === */
  .features-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem;
  }
  .feature-item {
    padding: 1.1rem;
    text-align: center;
  }
  .feature-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
  .feature-item h3 { font-size: 0.85rem; margin-bottom: 0.25rem; }
  .feature-item p { font-size: 0.75rem; line-height: 1.4; }
  
  /* === BA SLIDERS MOBILE === */
  .ba-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .ba-slider { aspect-ratio: 4/3; }
  .ba-handle-circle { width: 40px; height: 40px; }
  .ba-handle-circle svg { width: 16px; height: 16px; }
  .ba-item p { font-size: 0.9rem; margin-top: 0.6rem; }
  
  /* === PROCESS: Horizontal Scroll Strip === */
  .process-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding-bottom: 0.5rem;
    flex-direction: row !important;
  }
  .process-steps::-webkit-scrollbar { display: none; }
  .process-step {
    min-width: 200px;
    max-width: 220px;
    scroll-snap-align: start;
    flex-shrink: 0;
    text-align: center;
    padding: 0.75rem;
    padding-left: 0.75rem;
    min-height: auto;
  }
  .process-step::before {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 0.75rem;
    display: flex;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .process-step h3 { font-size: 0.9rem; margin-bottom: 0.25rem; }
  .process-step p { font-size: 0.78rem; line-height: 1.4; }
  /* Hide connecting line on mobile */
  .process-step::after { display: none !important; }
  
  /* === QUOTE CALCULATOR MOBILE === */
  .qc-inner { padding: 1.25rem !important; }
  .qc-card { border-radius: 16px; }
  .qc-body h3 { font-size: 1.2rem !important; }
  .qc-nav { padding: 0 1.25rem 1.25rem !important; }
  
  /* === TESTIMONIALS: Horizontal Scroll === */
  .testimonial-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }
  .testimonial-track::-webkit-scrollbar { display: none; }
  .testimonial-card {
    min-width: 280px;
    max-width: 300px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .testimonial-card-inner {
    padding: 1.25rem;
    height: 100%;
  }
  .testimonial-text { font-size: 0.88rem; }
  .testimonial-name { font-size: 0.85rem; }
  .testimonial-location { font-size: 0.72rem; }
  .carousel-controls { display: none; }
  
  /* === STATS: Compact Inline === */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem;
  }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.6rem; letter-spacing: 0.03em; }
  .stat-item::after { display: none; }
  
  /* === BENTO GALLERY: Horizontal Scroll === */
  .bento-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.75rem;
    grid-template-columns: none !important;
  }
  .bento-grid::-webkit-scrollbar { display: none; }
  .bento-item {
    min-width: 240px;
    max-width: 260px;
    min-height: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .bento-item:first-child {
    grid-column: auto;
    grid-row: auto;
  }
  .bento-item .bento-overlay { opacity: 1; }
  .bento-tag { font-size: 0.6rem; }
  .bento-overlay h4 { font-size: 0.95rem; }
  .bento-overlay span { font-size: 0.75rem; }
  
  /* === CTA MOBILE === */
  .cta-banner { padding: 2rem 1.25rem; border-radius: var(--radius-lg); }
  .cta-banner h2 { font-size: 1.35rem; }
  .cta-banner p { font-size: 0.9rem; }
  .cta-banner .btn-group { flex-direction: column; gap: 0.6rem; }
  .cta-banner .btn-group .btn { width: 100%; justify-content: center; }
  
  /* === MAP MOBILE === */
  .map-container div { height: 250px !important; }
  
  /* === FOOTER MOBILE === */
  .footer-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .footer-col h4 { margin-bottom: 0.5rem; }
  .footer-areas-list { gap: 0.3rem; }
  .footer-areas-list span { font-size: 0.68rem; padding: 0.2rem 0.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  
  /* === MOBILE FOOTER BAR === */
  .mobile-footer-bar { padding-bottom: env(safe-area-inset-bottom, 0); }
  
  /* Reduce section padding further between certain sections */
  .section--green { padding: 2.25rem 0; }
  .section--dark { padding: 2rem 0; }
  .section--light { padding: 2.5rem 0; }
  
  /* Hide cursor glow on mobile */
  .cursor-glow { display: none !important; }
  
  /* Tighter scroll progress */
  .scroll-dots { display: flex; }
}

/* === Extra Small Phones === */
@media (max-width: 374px) {
  .hero-content h1 { font-size: 1.7rem; }
  .hero-stat strong { font-size: 1rem; }
  .hero-stat span { font-size: 0.55rem; }
  .service-card { min-width: 230px; }
  .bento-item { min-width: 210px; }
  .testimonial-card { min-width: 250px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .process-step { min-width: 180px; }
  .qc-inner { padding: 1rem !important; }
}

/* === Tablet tweaks === */
@media (min-width: 769px) and (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 2.5rem; }
}

/* Swipe hint - mobile only */
@media (max-width: 768px) {
  .swipe-hint { display: block !important; }
}


/* ==================== PREMIUM POLISH ==================== */

/* Elegant section transitions */
.section + .section { border-top: 1px solid var(--gray-100); }
.section--dark + .section, .section + .section--dark,
.section--green + .section, .section + .section--green { border-top: none; }
.section--dark + .section--dark { border-top: 1px solid rgba(255,255,255,0.06); }

/* Service card link arrow animation */
.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--green-600);
  transition: all 0.3s;
}
.service-card .link::after {
  content: '→';
  transition: transform 0.3s var(--ease-out-expo);
}
.service-card:hover .link { color: var(--green-500); }
.service-card:hover .link::after { transform: translateX(4px); }

/* Bento item micro-interaction */
.bento-item {
  transition: all 0.5s var(--ease-out-expo);
}
.bento-item:hover {
  transform: scale(1.015);
}
.bento-bg {
  transition: transform 0.7s var(--ease-out-expo);
}
.bento-item:hover .bento-bg {
  transform: scale(1.06);
}

/* Hero gradient overlay enhancement */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1,37,80,0.3) 0%,
    rgba(1,37,80,0.15) 30%,
    rgba(1,37,80,0.25) 60%,
    rgba(1,37,80,0.85) 100%
  );
  z-index: 1;
}

/* Hero content sits above overlay */
.hero .container { position: relative; z-index: 3; }

/* Button micro-interactions */
.btn--gold {
  position: relative;
  overflow: hidden;
}
.btn--gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s var(--ease-out-expo);
}
.btn--gold:hover::before { left: 100%; }

/* Smooth hover on all buttons */
.btn {
  transition: all 0.3s var(--ease-out-expo);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

/* Stats label refinement */
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Process step number circle enhancement */
.process-step::before {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  box-shadow: 0 4px 16px rgba(26,82,148,0.25);
}

/* Footer refinement */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* Dark section label color */
.section--dark .label,
.section--green .label { color: var(--gold); }
.section--dark .label::after,
.section--green .label::after { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.section--dark .section-header h2,
.section--green .section-header h2 { color: var(--white); }

/* Testimonial relative z-index for quote mark */
.testimonial-card-inner > * { position: relative; z-index: 1; }

/* Prevent horizontal scroll containers from widening the page */
@media (max-width: 768px) {
  .section, section { overflow-x: clip; }
  .container { overflow-x: clip; }
}


/* --- Form Polish --- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: var(--white);
  color: var(--gray-900);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--gray-300); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,82,148,0.1);
}

/* --- Scrollbar update --- */
::-webkit-scrollbar-thumb { background: var(--green-500); border-radius: 3px; }

/* --- Selection --- */
::selection { background: rgba(2,47,102,0.15); color: var(--gray-900); }

/* --- Section alternation for hierarchy --- */
.section:nth-child(even):not(.section--green):not(.section--dark) {
  background: var(--cream-dark);
}

/* --- Dark section label colors --- */
.section--dark .label,
.section--green .label { color: var(--accent-light); }
.section--dark .label::after,
.section--green .label::after { background: var(--accent-light); }
.section--dark .section-header h2,
.section--green .section-header h2 { color: var(--white); }

/* --- Bento item shadow --- */
.bento-item { box-shadow: var(--shadow-md); }

/* --- Feature items on dark bg --- */
.feature-item h3 { color: var(--white); font-size: 1rem; }
.feature-item p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* --- Section dividers --- */
.section + .section { border-top: 1px solid var(--gray-200); }
.section--dark + .section, .section + .section--dark,
.section--green + .section, .section + .section--green { border-top: none; }

/* --- CTA banner update --- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
}

/* --- Hero badge stars --- */
.hero-floating-badge .badge-stars { color: var(--accent); }

/* --- Stat item glow removed for cleaner look --- */
.stat-item::before { display: none; }

/* ==================== FLOATING CTA BUTTONS ==================== */
.floating-ctas {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out-expo);
}
.floating-ctas.visible {
  opacity: 1;
  transform: translateY(0);
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s var(--ease-out-expo);
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.float-whatsapp {
  background: #25D366;
}
.float-phone {
  background: var(--accent);
}

/* Pulse animation on WhatsApp */
.float-whatsapp::before {
  content: '';
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  animation: floatPulse 2.5s ease-in-out infinite;
  z-index: -1;
}
@keyframes floatPulse {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  border: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--green-700);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ==================== TRUST STRIP ==================== */
.trust-strip {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}
.trust-icon {
  font-size: 1rem;
}

/* ==================== HERO SCROLL INDICATOR ==================== */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s var(--ease-out-expo) 1.5s both;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 3px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ==================== IMPROVED SERVICE CARD LINK ==================== */
.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  transition: all 0.3s;
}
.service-card .link::after {
  content: '→';
  transition: transform 0.3s var(--ease-out-expo);
}
.service-card:hover .link { color: var(--accent-hover); }
.service-card:hover .link::after { transform: translateX(4px); }

/* ==================== IMPROVED SECTION HEADER LABEL ==================== */
.section--green .label::after,
.section--dark .label::after {
  background: var(--accent-light);
}

/* ==================== IMPROVED BENTO GALLERY ==================== */
.bento-item {
  border-radius: var(--radius-lg);
  transition: all 0.5s var(--ease-out-expo);
}
.bento-item:hover {
  transform: scale(1.015);
}

/* ==================== MOBILE ADJUSTMENTS ==================== */
@media (max-width: 768px) {
  .floating-ctas {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
  .back-to-top {
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
  }
  .trust-items {
    gap: 1rem;
    justify-content: center;
  }
  .trust-item {
    font-size: 0.75rem;
    gap: 0.35rem;
  }
  .trust-icon {
    font-size: 0.85rem;
  }
  .hero-scroll-hint { display: none; }
  
  /* Mobile full-width CTA buttons */
  .btn--block-mobile { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .trust-items {
    gap: 0.6rem 1rem;
  }
  .trust-item span:not(.trust-icon) {
    font-size: 0.7rem;
  }
}


/* ═══════════════════════════════════════════════
   FINAL POLISH PASS
   ═══════════════════════════════════════════════ */

/* --- Page Load Animation --- */
@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}
body {
  animation: pageLoad 0.6s ease-out;
}

/* --- WhatsApp Button Polish --- */
.whatsapp-btn,
.float-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  border: 2px solid rgba(255,255,255,0.9);
  font-size: 1.5rem;
  z-index: 90;
  transition: all 0.3s var(--ease-out-expo);
}
.whatsapp-btn:hover,
.float-whatsapp:hover {
  transform: scale(1.1) translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
}

/* --- Back to Top Button Polish --- */
.back-to-top,
.scroll-top {
  background: var(--green-700) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(10,61,122,0.2);
  border-radius: 12px !important;
  width: 44px !important;
  height: 44px !important;
  transition: all 0.3s var(--ease-out-expo);
}
.back-to-top:hover,
.scroll-top:hover {
  background: var(--green-800) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10,61,122,0.3);
}

/* --- Mobile Footer Bar Enhancement --- */
.mobile-footer-bar {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid var(--gray-200) !important;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.06);
}
.mobile-footer-bar a {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-700);
  transition: color 0.2s;
}
.mobile-footer-bar a:hover { color: var(--accent); }

/* --- Header CTA Button --- */
.header-cta .btn {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(26,82,148,0.2);
  transition: all 0.3s var(--ease-out-expo);
}
.header-cta .btn:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,82,148,0.3);
}

/* --- Floating Badge Polish --- */
.hero-floating-badge {
  display: block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1rem 1.4rem;
}

/* --- Smooth Scrollbar --- */
html { scroll-behavior: smooth; }

/* --- Image Hover Zoom on Gallery/Bento --- */
.bento-item .bento-bg,
.gallery-item .gallery-placeholder {
  transition: transform 0.7s var(--ease-out-expo);
}
.bento-item:hover .bento-bg,
.gallery-item:hover .gallery-placeholder {
  transform: scale(1.05);
}

/* --- Card Link Animation --- */
.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  transition: all 0.3s;
}
.service-card .link::after {
  content: '→';
  transition: transform 0.3s var(--ease-out-expo);
}
.service-card:hover .link { color: var(--accent-hover); gap: 10px; }
.service-card:hover .link::after { transform: translateX(3px); }

/* --- Testimonial Stars --- */
.testimonial-stars,
.badge-stars { color: var(--accent); letter-spacing: 2px; }

/* --- Process Step Numbers --- */
.process-step::before {
  background: var(--green-700) !important;
  box-shadow: 0 4px 16px rgba(10,61,122,0.2);
  color: #fff;
  font-weight: 700;
}

/* --- CTA Banner Stronger --- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%) !important;
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,82,148,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.75); }
.cta-banner .btn--gold {
  background: var(--accent) !important;
  box-shadow: 0 4px 20px rgba(26,82,148,0.3);
}

/* --- Stats Section --- */
.section--dark {
  background: var(--green-900);
}

/* --- Map Container Border --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

/* --- Footer Refinement --- */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.7);
}
.site-footer h4 { color: rgba(255,255,255,0.9); }
.site-footer a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.site-footer a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }

/* --- Smooth Focus States for Accessibility --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Scrolled header rule merged above */

/* --- Hero Bottom Edge Match Cream --- */
.hero-bg::before {
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%) !important;
}

/* --- Marquee Section Colors --- */
.marquee-section {
  background: var(--green-900);
}

/* --- Section Green Colors --- */
.section--green {
  background: var(--green-900);
}

/* --- Pill / Tag Badge --- */
.bento-tag {
  background: rgba(26,82,148,0.9);
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Service Card Icon on Hover --- */
.service-card:hover .service-card-icon {
  background: linear-gradient(145deg, var(--green-700), var(--green-600));
}

/* --- Larger Desktop Nav Gap --- */
@media (min-width: 1024px) {
  .nav-desktop ul { gap: 0.5rem; }
  .nav-desktop a { font-size: 0.88rem; padding: 0.5rem 0.75rem; }
}

/* --- Better Mobile Hero --- */
@media (max-width: 768px) {
  .hero-floating-badge { display: none !important; }
  .hero .container { padding-top: 6rem; padding-bottom: 4rem; }
  h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  .btn { min-width: unset; width: 100%; }
  .btn-group { flex-direction: column; }
  
  /* Full-width mobile form buttons */
  .qc-btn { width: 100%; justify-content: center; }
  .qc-nav { flex-direction: column-reverse; gap: 8px; }
  .qc-nav.has-back { flex-direction: column-reverse; }
}

/* --- Print Styles --- */
@media print {
  .site-header, .site-footer, .whatsapp-btn, .float-btn, .mobile-footer-bar, .back-to-top, .grain-overlay { display: none !important; }
  .hero { min-height: auto; padding: 2rem 0; }
  .section { padding: 1.5rem 0; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* --- Reduced Motion Preference --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Skip to Content (Accessibility) --- */
.skip-to-content:focus {
  left: 0 !important;
}


/* ═══════════════════════════════════════════════
   CONVERSION-FOCUSED ADDITIONS
   ═══════════════════════════════════════════════ */

/* --- Trust Badge Strip --- */
.trust-strip {
  padding: 1.25rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.trust-badge div {
  display: flex;
  flex-direction: column;
}
.trust-badge strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}
.trust-badge span:not(:first-child) {
  font-size: 0.7rem;
  color: var(--gray-500);
  line-height: 1.3;
}

/* --- Mobile Sticky CTA Bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(253,250,245,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  padding: 0.6rem 0.75rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  gap: 0.5rem;
}
.mcta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}
.mcta-call {
  background: var(--green-700);
  color: #fff;
}
.mcta-quote {
  background: var(--accent);
  color: #fff;
}
.mcta-call:hover { background: var(--green-800); color: #fff; }
.mcta-quote:hover { background: var(--accent-hover); color: #fff; }

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  /* Add bottom padding to body for the bar */
  body { padding-bottom: 68px; }
  
  /* Hide old mobile footer bar if exists */
  .mobile-footer-bar { display: none !important; }
  
  /* Trust strip responsive */
  .trust-strip .container {
    gap: 1rem !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  .trust-strip .container::-webkit-scrollbar { display: none; }
  .trust-badge { flex-shrink: 0; }
  .trust-badge strong { font-size: 0.75rem; }
  .trust-badge span:not(:first-child) { font-size: 0.65rem; }
  
  /* WhatsApp button above CTA bar */
  .whatsapp-btn, .float-whatsapp { bottom: 80px !important; }
}

/* --- Hero Urgency Text --- */
.hero-urgency {
  animation: fadeUp 0.9s var(--ease-out-expo) 1s both;
}


/* ═══════════════════════════════════════════════════════
   SECTION-BY-SECTION VISUAL OVERHAUL
   ═══════════════════════════════════════════════════════ */

/* ── 1. HERO: Cinematic parallax depth layers ── */
.hero {
  min-height: 100vh;
  position: relative;
}
.hero-bg::after {
  background: linear-gradient(
    180deg,
    rgba(1,37,80,0.75) 0%,
    rgba(1,37,80,0.45) 35%,
    rgba(1,37,80,0.6) 65%,
    rgba(1,37,80,0.92) 100%
  ) !important;
}
.hero-content h1 {
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero-content h1 em {
  background: linear-gradient(135deg, #7aafda, #4a8ac7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero-stats {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.25rem 1.5rem !important;
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 2.5rem;
}
.hero-stat {
  text-align: center;
  flex: 1;
}
.hero-stat strong {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
}
.hero-stat span {
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

/* ── MARQUEE: Faster, with gradient fade edges ── */
.marquee-section {
  position: relative;
}
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--green-900), transparent);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--green-900), transparent);
}

/* ── 3. WHY CHOOSE US: Glass cards with icon glow ── */
.features-grid {
  gap: 1rem !important;
}
.feature-item {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(16px) !important;
  border-radius: 20px !important;
  padding: 2rem 1.5rem !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1) !important;
}
.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(122,175,218,0.5), transparent);
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.4s, width 0.4s;
}
.feature-item:hover::before {
  opacity: 1;
  width: 80px;
}
.feature-item:hover {
  background: rgba(255,255,255,0.12) !important;
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.feature-icon {
  font-size: 2.2rem !important;
  margin-bottom: 1rem !important;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(26,82,148,0.2));
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.feature-item:hover .feature-icon {
  transform: scale(1.15) translateY(-4px);
}

/* ── 4. BEFORE & AFTER: Cinematic frame ── */
.ba-slider {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
  border: 3px solid #fff;
}
.ba-caption {
  background: rgba(1,37,80,0.85) !important;
  backdrop-filter: blur(8px);
  border-radius: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  font-size: 0.7rem !important;
  text-transform: uppercase;
}

/* ── 5. HOW IT WORKS: Connected timeline with animated line ── */
.process-steps {
  position: relative;
}
@media (min-width: 768px) {
  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--green-200), var(--green-400), var(--green-200));
    z-index: 0;
    border-radius: 1px;
  }
}
.process-step {
  position: relative;
  z-index: 1;
  background: var(--white) !important;
  border-radius: 20px !important;
  padding: 2rem 1.5rem 1.75rem !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05) !important;
  border: 1px solid var(--gray-200) !important;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08) !important;
  border-color: var(--green-400) !important;
}
.process-step::before {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem !important;
  box-shadow: 0 6px 20px rgba(26,82,148,0.2);
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

/* ── 6. QUOTE CALCULATOR: Already fancy, add glow ── */
#quote-section {
  position: relative;
}
#quote-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,82,148,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ── 7. TESTIMONIALS: Magazine-style cards ── */
.testimonial-card-inner {
  border-radius: 20px !important;
  padding: 2.25rem !important;
  border: 1px solid var(--gray-200) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.testimonial-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08) !important;
}
.testimonial-card-inner::before {
  content: '"';
  position: absolute;
  top: -8px;
  right: 16px;
  font-size: 7rem;
  font-weight: 700;
  color: rgba(26,82,148,0.04);
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
}
.testimonial-stars {
  letter-spacing: 3px !important;
  font-size: 0.85rem !important;
}
.testimonial-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--green-600), var(--green-400)) !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(26,82,148,0.15);
}

/* ── 8. STATS: Animated counter with glow numbers ── */
.section--dark {
  background: linear-gradient(135deg, var(--green-900) 0%, #011d42 100%) !important;
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,138,199,0.08) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 50%;
}
.section--dark::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26,82,148,0.06) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 50%;
}
.stat-number {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 20px rgba(74,138,199,0.2));
}
.stat-label {
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: rgba(255,255,255,0.45) !important;
  font-weight: 600 !important;
  margin-top: 0.25rem;
}
.stats-grid {
  gap: 0 !important;
}
.stat-item {
  padding: 2rem 1rem;
  position: relative;
  text-align: center;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

/* ── 9. BENTO GALLERY: Larger radius, overlay animation ── */
.bento-item {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06) !important;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1) !important;
}
.bento-item:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12) !important;
}
.bento-overlay {
  background: linear-gradient(to top, rgba(1,37,80,0.9) 0%, rgba(1,37,80,0.1) 50%, transparent 100%) !important;
  opacity: 0;
  transition: opacity 0.4s !important;
}
.bento-item:hover .bento-overlay {
  opacity: 1;
}

/* ── 10. CTA BANNER: Gradient with animated mesh ── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, #0a3d7a 50%, var(--green-800) 100%) !important;
  border-radius: 28px !important;
  padding: 4.5rem 3.5rem !important;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74,138,199,0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: ctaFloat 8s ease-in-out infinite;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(122,175,218,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: ctaFloat 10s ease-in-out infinite reverse;
}
@keyframes ctaFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto 1.75rem;
}
.cta-banner .btn-group {
  position: relative;
  z-index: 1;
  justify-content: center;
}

/* ── 11. MAP: Better placeholder with pulse marker ── */
.map-container {
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06) !important;
  border: 1px solid var(--gray-200);
}

/* ── TRUST STRIP: Cleaner with dividers ── */
.trust-strip {
  padding: 1rem 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
}
.trust-badge {
  position: relative;
  padding-right: 2.5rem;
}
.trust-badge:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--gray-200);
}

/* ── FOOTER: Richer layout ── */
.site-footer {
  background: linear-gradient(180deg, var(--green-900) 0%, #011d42 100%) !important;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
}

/* ── GLOBAL: Smoother section transitions ── */
.section {
  position: relative;
}
.section + .section {
  border-top: none !important;
}

/* ── Reveal animations upgrade ── */
.js-reveal-ready .reveal {
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1) !important;
}

/* ── Mobile overrides ── */
@media (max-width: 768px) {
  .hero-stats { flex-wrap: nowrap; gap: 0; padding: 1rem !important; }
  .hero-stat { padding: 0 0.5rem; }
  .hero-stat strong { font-size: 1.3rem !important; }
  .cta-banner { padding: 3rem 1.5rem !important; border-radius: 20px !important; }
  .stat-item { padding: 1.5rem 0.5rem; }
  .stat-number { font-size: 2.5rem !important; }
  .trust-badge::after { display: none; }
  .trust-badge { padding-right: 0; }
  .feature-item { padding: 1.5rem 1rem !important; }
  .ba-slider { border-width: 2px; }
}

/* ═══════════════════════════════════════════════════════
   AWARD-WINNING INTERACTIONS
   Custom cursor, scroll progress, magnetic effects,
   split text, tilt cards, parallax
   ═══════════════════════════════════════════════════════ */

/* ── CUSTOM CURSOR ── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #fff;
  border-radius: 50%;
  transition: width 0.3s, height 0.3s, margin 0.3s, opacity 0.3s;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1), height 0.4s cubic-bezier(0.16,1,0.3,1), margin 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, background 0.3s;
}
.cursor-dot.cursor-hover {
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
}
.cursor-ring.cursor-hover {
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400), var(--accent-light));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10001;
  pointer-events: none;
  will-change: transform;
}

/* ── HERO PARALLAX ── */
.hero-bg .hero-img-placeholder {
  will-change: transform;
  transform: scale(1.08);
  transition: none;
}

/* ── SPLIT TEXT ── */
.split-reveal {
  overflow: hidden;
}
.split-reveal span {
  display: inline-block;
  will-change: transform, opacity;
}

/* ── MAGNETIC BUTTON OVERRIDES ── */
.magnetic-btn, .btn--gold, .btn--primary {
  will-change: transform;
}

/* ── TILT CARD ── */
[data-tilt] {
  will-change: transform;
  transform-style: preserve-3d;
}

/* ── STAGGER CHILDREN ── */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

/* ── SECTION NUMBER INDICATOR ── */
.section-indicator {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.section-indicator-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(26,82,148,0.15);
  transition: all 0.4s;
}
.section-indicator-dot.active {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--green-600);
}
@media (max-width: 1024px) {
  .section-indicator { display: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ── GRAIN TEXTURE OVERLAY ── */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.018;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}


/* ── PAGE LOADER ── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), visibility 0.6s;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  text-align: center;
}
.loader-logo {
  font-size: 2.5rem;
  margin-bottom: 20px;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}
.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  border-radius: 2px;
  animation: loaderFill 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* ── HERO GRADIENT TEXT ── */
.hero-content h1 em,
.hero-content h1 .gradient-word {
  background: linear-gradient(135deg, #7aafda, #4a8ac7, #adc1dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* ── SMOOTH PAGE ENTRANCE ── */
body.loaded {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════
   AWARD-WINNING VISUAL OVERHAUL
   ═══════════════════════════════════════════════════════ */

/* ── WHY CHOOSE US: Glass cards with giant numbers ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem 1.75rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}

.why-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}
.why-card:hover .why-icon {
  transform: scale(1.15) translateY(-4px);
}
.why-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.why-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.65;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(122,175,218,0.5), transparent);
  transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
}
.why-card:hover::before {
  width: 80%;
}
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 2rem 1.5rem 1.5rem; }
}

/* ── TIMELINE: How It Works ── */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline-step {
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
}
.timeline-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 28px rgba(10,61,122,0.2);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.timeline-step:hover .timeline-circle {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(10,61,122,0.3);
}
.timeline-num {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.timeline-connector {
  position: absolute;
  top: 36px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-400), var(--green-200));
  z-index: 1;
  opacity: 0.4;
}
.timeline-step:last-child .timeline-connector {
  display: none;
}
.timeline-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}
.timeline-step p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-connector {
    display: none;
  }
  .timeline-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    padding: 0;
  }
  .timeline-circle {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin: 0;
  }
  .timeline-step p { max-width: none; margin: 0; }
}

/* ── CTA IMMERSIVE ── */
.cta-immersive {
  background: linear-gradient(135deg, #012550 0%, #0a3d7a 40%, #1a5294 70%, #022f66 100%);
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(74,138,199,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(122,175,218,0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(26,82,148,0.1) 0%, transparent 45%);
  animation: ctaDrift 20s ease-in-out infinite alternate;
}
@keyframes ctaDrift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-20px, 10px); }
}
.cta-immersive .btn--outline-white {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  background: transparent;
}
.cta-immersive .btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

/* ── HERO UPGRADES ── */
.hero-content {
  text-align: center;
}
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.hero-content .label {
  display: inline-flex;
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  font-weight: 800 !important;
  margin-bottom: 1rem;
}
.hero-content > p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.hero-content .btn-group {
  justify-content: center;
  margin-bottom: 0;
}
.hero-urgency {
  justify-content: center !important;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 500px;
  margin: 2.5rem auto 0;
}
.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-stat span {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: fadeUp 1s 2s both;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-dot {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDotBounce 2s ease-in-out infinite;
}
@keyframes scrollDotBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
}

/* ── MARQUEE UPGRADE ── */
.marquee-section {
  padding: 1rem 0 !important;
  background: var(--green-900) !important;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.marquee-item {
  font-size: 0.82rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.25) !important;
}
.marquee-item .dot {
  width: 4px !important;
  height: 4px !important;
  background: rgba(255,255,255,0.15) !important;
}

/* ── TRUST STRIP UPGRADE ── */
.trust-strip {
  padding: 0.9rem 0 !important;
  border-bottom: 1px solid var(--gray-100) !important;
  background: #fff !important;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}
.trust-icon {
  font-size: 0.9rem;
}

/* ── TESTIMONIAL UPGRADE ── */
.testimonial-card-inner {
  border-radius: 24px !important;
  padding: 2.5rem 2rem !important;
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-100) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03) !important;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1) !important;
}
.testimonial-card-inner:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
  border-color: var(--green-200) !important;
}
.testimonial-card-inner::before {
  content: '"';
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 6rem;
  font-weight: 700;
  color: var(--green-50);
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  color: var(--gray-700) !important;
  font-style: italic;
}
.testimonial-author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

/* ── BENTO GALLERY UPGRADE ── */
.bento-grid {
  gap: 12px !important;
}
.bento-item {
  border-radius: 20px !important;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1) !important;
}
.bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,37,80,0.85) 0%, rgba(1,37,80,0.0) 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.bento-item:hover::after {
  opacity: 1;
}
.bento-item:hover {
  transform: scale(1.015) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.12) !important;
  z-index: 2;
}
.bento-overlay {
  z-index: 2;
  position: relative;
}

/* ── GLOBAL SECTION SPACING ── */
.section {
  padding: 6rem 0;
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero-content h1 { font-size: 2rem !important; }
  .hero-stat strong { font-size: 1.3rem; }
  .hero-stats { flex-wrap: nowrap; }
  .cta-immersive .container { padding: 4rem 1.5rem !important; }
}

/* ── SMOOTH SCROLLBAR ── */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--green-400) transparent;
}

/* ── SELECTION COLOR ── */
::selection {
  background: rgba(26,82,148,0.12);
  color: var(--gray-900);
}



/* ── MOBILE FIXES ── */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }
  .hero-content > p {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
  .hero-content .btn-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 1rem;
  }
  .hero-content .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    max-width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 0.5rem !important;
  }
  .hero-stat strong {
    font-size: 1.2rem !important;
  }
  .hero-stat span {
    font-size: 0.58rem !important;
  }
  .hero-floating-badge {
    display: none !important;
  }
  .hero-scroll-hint {
    display: none;
  }
  
  /* Services carousel mobile */
  #svc-card > div {
    padding: 28px 20px 28px !important;
  }
  
  /* Trust strip mobile */
  .trust-items {
    gap: 1rem !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 0.5rem;
  }
  .trust-items::-webkit-scrollbar { display: none; }
  .trust-item { flex-shrink: 0; }
  
  /* Marquee mobile */
  .marquee-section { padding: 0.75rem 0 !important; }
  
  /* Section padding mobile */
  .section { padding: 3.5rem 0 !important; }
  .section-header h2 { font-size: clamp(1.4rem, 6vw, 1.8rem) !important; }
  
  /* BA slider mobile */
  .ba-grid { gap: 1rem; }
  
  /* Testimonials mobile */
  .testimonial-card-inner { padding: 1.5rem 1.25rem !important; }
  
  /* Bento mobile */
  .bento-grid { gap: 8px !important; }
  
  /* CTA mobile */
  .cta-immersive .container { padding: 3.5rem 1.25rem !important; }
  .cta-immersive h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  .cta-immersive .btn-group {
    flex-direction: column;
    gap: 10px;
  }
  .cta-immersive .btn-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  /* Map mobile */
  .map-container > div { height: 280px !important; }
  
  /* Mobile CTA bar spacing */
  body { padding-bottom: 70px; }
}

/* ── SMALL MOBILE (< 400px) ── */
@media (max-width: 400px) {
  .hero-content h1 { font-size: 1.6rem !important; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 0.4rem; }
  .why-card { padding: 1.5rem 1rem 1.25rem; }
}


/* ═══ CRITICAL MOBILE FIXES ═══ */

/* Testimonials: force horizontal scroll on mobile */
@media (max-width: 768px) {
  .testimonial-carousel {
    overflow: visible !important;
  }
  .testimonial-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 12px !important;
    padding: 0 1rem 1rem !important;
    transform: none !important;
  }
  .testimonial-track::-webkit-scrollbar { display: none !important; }
  .testimonial-card {
    min-width: 85vw !important;
    max-width: 85vw !important;
    scroll-snap-align: center !important;
    flex-shrink: 0 !important;
  }
  .testimonial-card-inner {
    padding: 1.5rem 1.25rem !important;
  }
  .carousel-prev, .carousel-next, .carousel-dots {
    display: none !important;
  }
}

/* Stats: fit all 4 on mobile */
@media (max-width: 768px) {
  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    overflow: hidden !important;
  }
  .stat-item {
    padding: 1.25rem 0.5rem !important;
    text-align: center !important;
  }
  .stat-number {
    font-size: 2rem !important;
  }
  .stat-label {
    font-size: 0.6rem !important;
  }
  .stat-item:not(:last-child)::after {
    display: none !important;
  }
}

/* Map: fix stretched icon */
@media (max-width: 768px) {
  .map-container > div {
    height: 300px !important;
  }
}


/* ═══ MOBILE FIX BATCH 2 ═══ */

/* How It Works: clean vertical stack on mobile */
@media (max-width: 768px) {
  .timeline-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .timeline-step {
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    gap: 1rem !important;
    padding: 1rem 1.25rem !important;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  }
  .timeline-step > div:last-of-type,
  .timeline-step > h3,
  .timeline-step > p {
    /* handled by flex */
  }
  .timeline-circle {
    width: 52px !important;
    height: 52px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
  .timeline-num {
    font-size: 0.95rem !important;
  }
  .timeline-connector {
    display: none !important;
  }
  .timeline-step h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }
  .timeline-step p {
    font-size: 0.82rem;
    max-width: none !important;
    margin: 0 !important;
    line-height: 1.5;
  }
}

/* Bento gallery: single column scroll on mobile, no drag */
@media (max-width: 768px) {
  .bento-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    overflow: hidden !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  .bento-item {
    height: 240px !important;
    min-height: auto !important;
    touch-action: auto !important;
    user-select: auto !important;
    -webkit-user-drag: none !important;
    width: 100% !important;
  }
  .bento-item:nth-child(n+4) {
    display: none !important;
  }
}

/* Map: completely replace the broken animated glow with simple layout */
@media (max-width: 768px) {
  .map-container > div {
    height: 260px !important;
  }
  .map-container > div > div:first-child {
    display: none !important;
  }
}


/* ═══ BENTO CENTRE FIX ═══ */
@media (max-width: 768px) {
  .bento-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    overflow: hidden !important;
  }
  .bento-item {
    width: calc(100% - 2rem) !important;
    max-width: 420px !important;
    height: 240px !important;
    min-height: auto !important;
    margin: 0 auto !important;
  }
}


/* ═══ FOOTER SOCIAL CLEANUP ═══ */
.footer-socials {
  display: none !important;
}

/* ═══ REMOVE GAP UNDER HEADER ON MOBILE ═══ */
@media (max-width: 768px) {
  .site-header {
    padding: 0.5rem 0 !important;
  }
  main {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}
