/* ============================================================
   ALPHA INFRASTRUCTURES - Premium Design System
   Light Theme | Interior Design Multi-Page Website
   Clean Rewrite - July 2026
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Color Palette - Light & Warm */
  --bg-primary: #fafaf8;
  --bg-secondary: #f4f1eb;
  --bg-white: #ffffff;
  --bg-cream: #fdf8f0;
  --bg-warm: #f9f5ef;
  --bg-muted: #eee9e0;

  /* Text Colors */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #7a7a8a;
  --text-light: #9a9aaa;
  --text-white: #ffffff;

  /* Accent Colors */
  --accent: #b8860b;
  --accent-light: #d4a843;
  --accent-dark: #8b6508;
  --accent-glow: rgba(184, 134, 11, 0.3);
  --accent-gradient: linear-gradient(135deg, #b8860b, #d4a843, #b8860b);

  /* Glass & Transparency */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(26, 26, 46, 0.08);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(26, 26, 46, 0.04);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 26, 46, 0.1);
  --shadow-xl: 0 16px 48px rgba(26, 26, 46, 0.12);
  --shadow-2xl: 0 24px 64px rgba(26, 26, 46, 0.16);
  --shadow-glow: 0 0 40px rgba(184, 134, 11, 0.15);
  --shadow-card-hover: 0 20px 40px rgba(26, 26, 46, 0.12);

  /* Borders */
  --border-light: rgba(26, 26, 46, 0.06);
  --border-medium: rgba(26, 26, 46, 0.1);
  --border-accent: rgba(184, 134, 11, 0.3);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
  --border-radius-full: 9999px;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --section-padding: 140px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-base: 0.3s var(--ease-smooth);
  --transition-slow: 0.5s var(--ease-smooth);
  --transition-slower: 0.8s var(--ease-out-expo);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-nav: 1000;
  --z-overlay: 1500;
  --z-modal: 2000;
  --z-cursor: 9999;
  --z-transition: 10000;
}

/* ------------------------------------------------------------
   2. RESET & BASE STYLES
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Living material grain - subtle plaster texture across the page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(1) infinite;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  20% { transform: translate(3%, 1%); }
  30% { transform: translate(-1%, 2%); }
  40% { transform: translate(2%, -2%); }
  50% { transform: translate(-3%, 3%); }
  60% { transform: translate(1%, -1%); }
  70% { transform: translate(-2%, 2%); }
  80% { transform: translate(3%, -3%); }
  90% { transform: translate(-1%, 1%); }
  100% { transform: translate(0, 0); }
}

body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active input {
  cursor: none !important;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background-color: var(--accent);
  color: var(--text-white);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
.h1, h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.h2, h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.h3, h3 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.h4, h4 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; line-height: 1.2; }
.h5, h5 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.3; }
.h6, h6 { font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 600; line-height: 1.4; }

.text-body { font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.7; color: var(--text-secondary); }
.text-body-lg { font-size: clamp(1.1rem, 1.3vw, 1.25rem); line-height: 1.8; color: var(--text-secondary); }
.text-small { font-size: 0.875rem; line-height: 1.6; color: var(--text-muted); }

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 400;
  color: var(--accent);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
}

.section-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-subtitle::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-description,
.section-desc {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.container-sm { max-width: 900px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }
.container-lg { max-width: 1600px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }

section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

/* Grid Utilities */
.grid { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Flex Utilities */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }



/* ============================================================
   5. COMPONENTS
   ============================================================ */

/* --- Glass Card --- */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.glass-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.glass-card:hover::before {
  opacity: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 36px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--text-white);
  border: 2px solid var(--text-primary);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.25);
}

.btn-primary:active { transform: scale(0.98); }

.btn-accent {
  background: var(--accent);
  color: var(--text-white);
  border: 2px solid var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-medium);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--text-white);
  border-color: var(--text-primary);
  transform: scale(1.03);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--text-white);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}

.btn-lg { padding: 18px 48px; font-size: 1rem; }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* Magnetic Button wrapper */
.magnetic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out-expo);
}

.magnetic-btn .btn-text {
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--ease-out-expo);
}

/* --- Navigation --- */
.nav-header {
  transition: transform 0.4s var(--ease-smooth), opacity 0.4s ease, padding 0.3s ease, background 0.3s ease;
}

.nav-header.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: var(--z-nav);
  transition: all var(--transition-base);
  background: rgba(253, 248, 240, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav.scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.06);
}

/* Gold accent line under nav */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: width 0.5s ease;
}

.nav.scrolled::after {
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
}

.nav-logo .logo-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { width: 100%; }

.nav-cta {
  margin-left: var(--space-lg);
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: #ffffff !important;
  border: none;
}

.nav-cta:hover {
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.35);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  z-index: calc(var(--z-nav) + 10);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-white);
  z-index: var(--z-nav);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  transition: right 0.5s var(--ease-out-expo);
}

.mobile-nav.active { right: 0; }

.mobile-nav .nav-link {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

/* Page Transition Overlay */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  z-index: var(--z-transition);
  transform-origin: top;
  pointer-events: none;
  animation: curtainReveal 1s cubic-bezier(0.77, 0, 0.175, 1) 0.1s forwards;
}

@keyframes curtainReveal {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* ============================================================
   6. CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth), border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
}

.cursor-dot.hovering { width: 12px; height: 12px; background: var(--accent-light); }
.cursor-ring.hovering { width: 60px; height: 60px; border-color: var(--accent-light); opacity: 0.4; }
.cursor-dot.clicking { transform: translate(-50%, -50%) scale(0.5); }
.cursor-ring.clicking { width: 30px; height: 30px; opacity: 0.8; }



/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-cream);
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 134, 11, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(184, 134, 11, 0.04) 0%, transparent 45%);
  animation: meshFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
}

/* WebGL gradient canvas replaces the CSS mesh when active */
#gradient-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

@keyframes meshFloat {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.05) translate(-1%, 1%); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' 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;
  mix-blend-mode: multiply;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px clamp(1.5rem, 4vw, 4rem);
  width: 100%;
}

/* Hero Content - Left Side */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Hide hero elements initially - JS animates them in.
   Uses .js-loading class on body (added by inline script in HTML).
   If JS fails, elements remain visible. */
.hero-badge,
.hero-title .hero-title__line,
.hero-subtitle,
.hero-cta .btn,
.hero-stats,
.hero-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Fallback: if animations don't fire within 3s, show everything */
.no-js .hero-badge,
.no-js .hero-title .hero-title__line,
.no-js .hero-subtitle,
.no-js .hero-cta .btn,
.no-js .hero-stats,
.no-js .hero-img {
  opacity: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(184, 134, 11, 0.08);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.hero-badge__dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-title__line { display: block; }

/* Split-text word reveal support */
.hero-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
}

.hero-word {
  display: inline-block;
  will-change: transform;
}

.hero-title__accent .hero-word {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-stat { text-align: center; }

.hero-stat__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  line-height: 1;
}

.hero-stat__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* Hero Images - Right Side */
.hero-images {
  position: relative;
  height: 580px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.hero-img {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 26, 46, 0.12);
  transition: box-shadow 0.4s var(--ease-smooth);
  will-change: transform;
  transform-style: preserve-3d;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img--main { width: 65%; height: 75%; top: 0; right: 0; z-index: 2; }
.hero-img--secondary { width: 50%; height: 50%; bottom: 0; left: 0; z-index: 3; border: 5px solid var(--bg-cream); }
.hero-img--accent { width: 35%; height: 35%; top: 10%; left: 10%; z-index: 1; border-radius: 50%; opacity: 0.9; }

.hero-img:hover { box-shadow: 0 30px 80px rgba(26, 26, 46, 0.18); }

/* Hero Decorative Elements */
.hero-img__deco--circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(184, 134, 11, 0.2);
  border-radius: 50%;
  top: -20px;
  left: 30%;
  z-index: 0;
  animation: decoSpin 20s linear infinite;
}

@keyframes decoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-img__deco--line {
  position: absolute;
  top: -30px;
  right: 20%;
  z-index: 0;
  opacity: 0.5;
}

.hero-img__deco--dots {
  position: absolute;
  bottom: 10%;
  right: -20px;
  z-index: 0;
  opacity: 0.6;
}



/* ============================================================
   8. EXPERTISE SECTION
   ============================================================ */
.expertise {
  padding-top: 80px;
  padding-bottom: 120px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.magic-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, rgba(184, 134, 11, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear, opacity 0.4s ease;
  opacity: 0;
  filter: blur(40px);
}

.expertise:hover .magic-orb { opacity: 1; }

.expertise-top { margin-bottom: 16px; position: relative; z-index: 1; }
.expertise-header .section-title { margin-bottom: 0; }

.expertise-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* Card Base */
.expertise-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s ease;
  z-index: 1;
}

.expertise-card:hover { box-shadow: 0 30px 80px rgba(26, 26, 46, 0.12), 0 0 0 1px rgba(184, 134, 11, 0.2), 0 0 30px rgba(184, 134, 11, 0.05); }

.expertise-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.expertise-card:hover::after { transform: scaleX(1); }

.expertise-card__img { position: relative; height: 220px; overflow: hidden; }
.expertise-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-smooth); }
.expertise-card:hover .expertise-card__img img { transform: scale(1.06); }

.expertise-card__img-overlay { position: absolute; top: 16px; left: 16px; z-index: 2; }

.expertise-card__tag {
  padding: 6px 16px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
}

.expertise-card__content {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.expertise-card__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 12px;
}

.expertise-card__title { font-size: 1.35rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.expertise-card__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; flex: 1; }

.expertise-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.expertise-card:hover .expertise-card__link { gap: 14px; }

/* Hero card variant */
.expertise-card--hero { width: 80%; margin-bottom: 24px; }
.expertise-card--hero .expertise-card__img { height: 380px; }
.expertise-card--hero .expertise-card__content { padding: 36px 36px 40px; }
.expertise-card--hero .expertise-card__title { font-size: 1.8rem; }
.expertise-card--hero .expertise-card__desc { font-size: 1rem; max-width: 550px; }

/* Two cards row */
.expertise-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* 3D Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s ease;
}

.tilt-card:hover {
  box-shadow: 0 30px 60px rgba(26, 26, 46, 0.1), 0 0 0 1px rgba(184, 134, 11, 0.08);
}

/* Inner content lifts on tilt hover */
.tilt-card .expertise-card__content {
  transition: transform 0.4s var(--ease-smooth);
}

.tilt-card:hover .expertise-card__content {
  transform: translateZ(30px);
}

.tilt-card:hover .expertise-card__img img {
  transform: scale(1.08) translateZ(10px);
}

/* ============================================================
   9. TRANSFORM REVEAL - Before/After Slider
   ============================================================ */
.transform-reveal {
  padding: 100px 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.transform-reveal__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.transform-reveal__text {
  text-align: center;
  margin-bottom: 50px;
}

.transform-reveal__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.transform-reveal__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(26, 26, 46, 0.12);
  cursor: ew-resize;
}

.transform-reveal__before,
.transform-reveal__after {
  position: absolute;
  inset: 0;
}

.transform-reveal__before img,
.transform-reveal__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transform-reveal__before img { filter: grayscale(1) brightness(0.85); }
.transform-reveal__after { clip-path: inset(0 0 0 50%); transition: clip-path 0.05s linear; }

.transform-reveal__slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  cursor: ew-resize;
  z-index: 10;
  transition: left 0.05s linear;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.transform-reveal__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.4);
  transition: transform 0.2s ease;
}

.transform-reveal__handle:hover { transform: translate(-50%, -50%) scale(1.1); }

.transform-reveal__label {
  position: absolute;
  top: 20px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  z-index: 5;
}

.transform-reveal__label--before { left: 20px; }
.transform-reveal__label--after { right: 20px; }

/* ============================================================
   10. PROJECTS PREVIEW
   ============================================================ */
.projects-preview {
  background: var(--bg-white);
}

.projects-preview .section-header {
  margin-bottom: var(--space-3xl);
}

.projects-grid {
  gap: var(--space-2xl);
}

.project-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(26, 26, 46, 0.15), 0 0 0 1px rgba(184, 134, 11, 0.2);
}

.project-card__image { width: 100%; height: 100%; overflow: hidden; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-smooth), filter 0.8s ease; }
.project-card:hover .project-card__image img { transform: scale(1.12); filter: brightness(0.85); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.3) 50%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.project-card:hover .project-card__overlay { opacity: 1; transform: translateY(0); }

.project-card__category {
  font-size: 0.75rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-xs);
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ============================================================
   11. WHY CHOOSE - BENTO STATS GRID
   ============================================================ */
.why-choose {
  background: var(--bg-secondary);
  overflow: hidden;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.bento-card {
  padding: 36px 28px;
  border-radius: 20px;
  color: #fdf8f0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s ease;
  min-height: 180px;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), inset 0 0 30px rgba(255, 255, 255, 0.05);
}

/* Bento card inner glow on hover */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bento-card:hover::after { opacity: 1; }

.bento-card--tall { grid-row: span 2; min-height: 380px; }

/* Color variants */
.bento-card--maroon { background: #4a2028; }
.bento-card--dark-maroon { background: #5c2a30; }
.bento-card--olive { background: #8a8a3a; }
.bento-card--gold-olive { background: #9a8a2a; }
.bento-card--sage { background: #7a8a4a; }
.bento-card--olive-dark { background: #6a7a3a; }
.bento-card--coral { background: #f87171; }

.bento-card__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: #fdf8f0;
}

.bento-card--tall .bento-card__number { font-size: 3.5rem; }
.bento-card__suffix { font-family: var(--font-heading); font-size: 1.4rem; font-style: italic; opacity: 0.9; }
.bento-card__title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; color: #fdf8f0; margin-top: 4px; line-height: 1.2; }
.bento-card--tall .bento-card__title { font-size: 2rem; }
.bento-card__desc { font-size: 0.82rem; color: rgba(253, 248, 240, 0.7); margin-top: 8px; line-height: 1.5; }

.bento-card--cta { display: flex; align-items: center; justify-content: center; text-align: center; }

.bento-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}

.bento-card__link:hover { transform: scale(1.05); }
.bento-card__link svg { transition: transform 0.3s ease; }
.bento-card__link:hover svg { transform: scale(1.15); }

/* ============================================================
   12. DESIGN PHILOSOPHY - SVG Illustrated Section
   ============================================================ */
.design-philosophy {
  background: linear-gradient(135deg, #f87171 0%, #ef5350 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.design-philosophy::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.design-philosophy::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -8%;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.dp-header { margin-bottom: 70px; }
.dp-label { display: block; font-size: 0.72rem; letter-spacing: 5px; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }
.dp-title { font-family: var(--font-heading); font-size: clamp(2.2rem, 4.5vw, 3.5rem); color: #fff; font-weight: 400; font-style: italic; margin-bottom: 18px; }
.dp-subtitle { font-size: 1rem; color: rgba(255, 255, 255, 0.8); max-width: 620px; margin: 0 auto; line-height: 1.8; }

.dp-strip {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.dp-flow-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.dp-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.dp-item { text-align: center; }

.dp-item__visual {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  transition: transform 0.5s var(--ease-smooth);
}

.dp-item__visual svg { width: 100%; height: 100%; }
.dp-item:hover .dp-item__visual { transform: translateY(-8px) scale(1.05); }
.dp-item__title { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.dp-item__desc { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; max-width: 180px; margin: 0 auto; }



/* ============================================================
   13. TESTIMONIAL PREVIEW
   ============================================================ */
.testimonial-preview {
  padding: 120px 0;
}

.testimonial-featured {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote-icon {
  margin: 0 auto var(--space-2xl);
  animation: quoteFloat 4s ease-in-out infinite;
}

@keyframes quoteFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.testimonial-featured__quote {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
}

.testimonial-featured__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.testimonial-featured__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.testimonial-featured__name { font-weight: 600; font-size: 1rem; color: var(--text-white); display: block; }
.testimonial-featured__role { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); display: block; }

.testimonial-featured__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--accent-light);
  font-size: 1rem;
}

.testimonial-featured__stars i {
  animation: starShimmer 2s ease-in-out infinite;
}

.testimonial-featured__stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-featured__stars i:nth-child(2) { animation-delay: 0.15s; }
.testimonial-featured__stars i:nth-child(3) { animation-delay: 0.3s; }
.testimonial-featured__stars i:nth-child(4) { animation-delay: 0.45s; }
.testimonial-featured__stars i:nth-child(5) { animation-delay: 0.6s; }

@keyframes starShimmer {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); filter: drop-shadow(0 0 4px rgba(212, 168, 67, 0.6)); }
}

/* ============================================================
   14. CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--bg-cream);
}

/* Animated gradient mesh */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(184, 134, 11, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(184, 134, 11, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 70% 60%, rgba(139, 101, 8, 0.05) 0%, transparent 35%);
  animation: ctaMeshMove 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ctaMeshMove {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-3%, 2%) rotate(1deg); }
  66% { transform: translate(2%, -1%) rotate(-0.5deg); }
  100% { transform: translate(-1%, 3%) rotate(0.5deg); }
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-banner__bg svg {
  width: 100%;
  height: 100%;
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.cta-banner__text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

/* CTA button glow pulse */
.cta-banner .btn-primary {
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(26, 26, 46, 0.2); }
  50% { box-shadow: 0 8px 30px rgba(26, 26, 46, 0.3), 0 0 20px rgba(184, 134, 11, 0.15); }
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: var(--text-primary);
  color: var(--text-white);
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-white);
}

.footer-logo svg { color: var(--accent-light); }

.footer-about {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social__link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social__link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-col__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  color: var(--text-white);
}

.footer-links li { margin-bottom: var(--space-md); }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover { color: var(--accent-light); padding-left: 6px; }

.footer-newsletter-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.footer-newsletter__input-wrap {
  display: flex;
  gap: var(--space-sm);
}

.footer-newsletter__input-wrap input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-full);
  color: var(--text-white);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
}

.footer-newsletter__input-wrap input::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-newsletter__input-wrap input:focus { border-color: var(--accent-light); background: rgba(255, 255, 255, 0.12); }

.footer-newsletter__input-wrap button {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--text-white);
  border-radius: var(--border-radius-full);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-newsletter__input-wrap button:hover { background: var(--accent-light); transform: scale(1.05); }

.footer-contact-info {
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 2;
}

.footer-contact-info i { color: var(--accent-light); margin-right: 8px; }

.footer-bottom {
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   16. DARK SECTION UTILITY
   ============================================================ */
.section-dark {
  background: var(--text-primary);
  color: var(--text-white);
}

.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 { color: var(--text-white); }
.section-dark p { color: rgba(255, 255, 255, 0.7); }
.section-dark .section-subtitle { color: var(--accent-light); }
.section-dark .section-subtitle::before { background: var(--accent-light); }

/* ============================================================
   17. SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-gradient);
  z-index: calc(var(--z-nav) + 5);
  transition: width 0.1s linear;
}

/* ============================================================
   18. WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: whatsapp-pulse 2s infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   19. ANIMATIONS & EFFECTS
   ============================================================ */

/* Reveal classes - GSAP animates these */
.reveal-up,
.reveal-left,
.reveal-scale {
  will-change: transform, opacity;
}

/* Image reveals */
.img-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease-out-expo); }
.img-reveal.revealed { clip-path: inset(0 0% 0 0); }
.img-reveal-left { clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--ease-out-expo); }
.img-reveal-left.revealed { clip-path: inset(0 0 0 0%); }
.img-reveal-center { clip-path: inset(0 50% 0 50%); transition: clip-path 1.2s var(--ease-out-expo); }
.img-reveal-center.revealed { clip-path: inset(0 0% 0 0%); }

/* Text color fill */
.text-color-fill .word {
  display: inline-block;
  color: var(--text-muted);
  transition: color 0.3s ease;
  margin-right: 0.3em;
}

.text-color-fill .word.active { color: var(--text-primary); }

/* SVG Animations */
.svg-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s var(--ease-out-expo);
}

.svg-draw.animated { stroke-dashoffset: 0; }

/* Scroll velocity distortion */
.skew-on-scroll {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Distort image container */
.distort-img { position: relative; overflow: hidden; }
.distort-img img { transition: transform 0.8s var(--ease-smooth); }
.distort-img:hover img { transform: scale(1.05); }

/* Hover utilities */
.hover-lift { transition: transform var(--transition-base), box-shadow var(--transition-base); }
.hover-lift:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

/* Marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 28px 0;
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marquee-scroll 35s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0.15;
  padding: 0 20px;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Navbar hide on scroll */
body.story-active .nav-header {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   20. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

.rounded { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-full { border-radius: var(--border-radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   PAGE-SPECIFIC STYLES (Inner Pages)
   ============================================================ */

/* --- Page Hero --- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
  background: var(--bg-cream);
  overflow: hidden;
}

.page-hero__deco { position: absolute; top: 50%; right: -10%; transform: translateY(-50%); width: 500px; height: 500px; opacity: 0.4; pointer-events: none; }
.page-hero__content, .page-hero-content { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); position: relative; z-index: 2; }

.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-xl); }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__separator, .breadcrumb-separator { font-size: 0.7rem; opacity: 0.5; }
.breadcrumb__current { color: var(--accent); font-weight: 500; }

.page-hero__title, .page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 600; margin-bottom: var(--space-lg); letter-spacing: -0.02em; }
.page-hero__subtitle, .page-hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; line-height: 1.8; }

/* --- Values / Team --- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-2xl); }
.value-card { background: var(--bg-white); border-radius: var(--border-radius-lg); padding: var(--space-2xl); border: 1px solid var(--border-light); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-2xl); }
.team-card { background: var(--bg-white); border-radius: var(--border-radius-lg); overflow: hidden; border: 1px solid var(--border-light); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card__image { aspect-ratio: 1; overflow: hidden; }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-smooth); }
.team-card:hover .team-card__image img { transform: scale(1.05); }
.team-card__info { padding: var(--space-xl); text-align: center; }

/* --- Timeline --- */
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent-light), var(--accent), var(--accent-light)); transform: translateX(-50%); }
.timeline-node { position: relative; padding: var(--space-2xl) 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.timeline-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 16px; height: 16px; background: var(--accent); border: 4px solid var(--bg-primary); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-glow); z-index: 2; }

/* --- Services --- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2xl); counter-reset: step; }
.process-step { position: relative; padding: var(--space-2xl); background: var(--bg-white); border-radius: var(--border-radius-lg); border: 1px solid var(--border-light); text-align: center; }
.process-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--accent); opacity: 0.3; margin-bottom: var(--space-md); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-2xl); }
.pricing-card { background: var(--bg-white); border-radius: var(--border-radius-lg); padding: var(--space-3xl); border: 1px solid var(--border-light); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.pricing-card--featured { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.pricing-card__price { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--accent); margin: var(--space-lg) 0; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); padding: var(--space-xl) 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1.05rem; font-weight: 500; color: var(--text-primary); transition: color var(--transition-fast); }
.faq-question:hover { color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-smooth); color: var(--text-secondary); line-height: 1.7; padding-top: 0; }
.faq-item.active .faq-answer { max-height: 300px; padding-top: var(--space-md); }

/* --- Projects / Portfolio --- */
.project-filters { display: flex; align-items: center; justify-content: center; gap: var(--space-md); margin-bottom: var(--space-3xl); flex-wrap: wrap; }
.filter-btn { padding: 10px 24px; font-size: 0.85rem; font-weight: 500; border-radius: var(--border-radius-full); border: 1px solid var(--border-medium); background: transparent; color: var(--text-secondary); transition: all var(--transition-fast); cursor: pointer; }
.filter-btn:hover, .filter-btn.active { background: var(--text-primary); color: var(--text-white); border-color: var(--text-primary); }

.masonry-grid { columns: 3; column-gap: var(--space-xl); }
.masonry-grid .masonry-item { break-inside: avoid; margin-bottom: var(--space-xl); border-radius: var(--border-radius-lg); overflow: hidden; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4xl); align-items: start; }
.contact-info-item { display: flex; align-items: flex-start; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.contact-info-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--bg-cream); border-radius: var(--border-radius-md); color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }

.contact-form { background: var(--bg-white); border-radius: var(--border-radius-lg); padding: var(--space-3xl); box-shadow: var(--shadow-md); }
.form-group { position: relative; margin-bottom: var(--space-xl); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 16px 20px; border: 1px solid var(--border-light); border-radius: var(--border-radius-md); background: var(--bg-primary); font-size: 1rem; transition: all var(--transition-fast); outline: none; }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: var(--bg-white); }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

.map-container { border-radius: var(--border-radius-lg); overflow: hidden; height: 400px; box-shadow: var(--shadow-md); }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* --- Navbar variant for inner pages (no nav-inner wrapper in some pages) --- */
.nav-container, .nav__menu, .nav-menu { display: flex; align-items: center; gap: var(--space-2xl); }
.nav__link, .nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); position: relative; padding: 4px 0; transition: color var(--transition-fast); }
.nav__link:hover, .nav-link:hover { color: var(--text-primary); }

/* Responsive inner pages */
@media (max-width: 768px) {
  .page-hero { min-height: 40vh; padding-top: 120px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .masonry-grid { columns: 1; }
  .timeline-line { left: 20px; }
  .timeline-node { grid-template-columns: 1fr; padding-left: 60px; }
  .timeline-dot { left: 20px; }
}

@media (min-width: 769px) and (max-width: 992px) {
  .masonry-grid { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   21. RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  :root { --section-padding: 80px; }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .container { padding: 0 1.25rem; }

  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding-top: 120px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-content { order: 1; }
  .hero-images { order: 2; height: 320px; }
  .hero-cta { justify-content: center; flex-direction: column; gap: var(--space-md); }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { justify-content: center; gap: 20px; }
  .hero-stat__number { font-size: 1.8rem; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-title { font-size: 2.2rem; }
  .hero-img--accent, .hero-img__deco--circle, .hero-img__deco--dots { display: none; }

  /* Expertise */
  .expertise { padding-top: 60px; padding-bottom: 80px; }
  .expertise-card--hero { width: 100%; }
  .expertise-card--hero .expertise-card__img { height: 220px; }
  .expertise-row { grid-template-columns: 1fr; }
  .expertise-card__img { height: 180px; }
  .magic-orb { display: none; }

  /* Transform */
  .transform-reveal { padding: 70px 0; }
  .transform-reveal__image { aspect-ratio: 4/3; border-radius: 14px; }
  .transform-reveal__handle { width: 40px; height: 40px; }

  /* Projects */
  .grid-2 { grid-template-columns: 1fr; }

  /* Bento */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card { min-height: 150px; }
  .bento-card--tall { grid-row: span 1; min-height: 180px; }

  /* Design Philosophy */
  .design-philosophy { padding: 80px 0 70px; }
  .dp-items { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .dp-flow-line { display: none; }
  .dp-item__visual { width: 100px; height: 100px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }

  /* WhatsApp */
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; font-size: 1.4rem; }

  /* Section header */
  .section-header { margin-bottom: var(--space-3xl); }
}

/* Medium devices */
@media (min-width: 769px) and (max-width: 992px) {
  :root { --section-padding: 100px; }

  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-content { order: 1; }
  .hero-images { order: 2; height: 400px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-img--main { width: 60%; right: 5%; }
  .hero-img--secondary { width: 45%; }
  .hero-img--accent { width: 30%; left: 5%; }

  .expertise-card--hero { width: 100%; }
  .expertise-row { grid-template-columns: 1fr 1fr; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--tall { grid-row: span 1; min-height: 200px; }

  .dp-items { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .dp-flow-line { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Large devices */
@media (min-width: 993px) and (max-width: 1200px) {
  :root { --section-padding: 120px; }
}

/* Small mobile */
@media (max-width: 576px) {
  .hero-title { font-size: 1.9rem; }
  .hero-images { height: 260px; }
  .hero-img--main { width: 70%; }
  .hero-img--secondary { width: 50%; }

  .dp-items { grid-template-columns: 1fr; gap: 40px; }
  .dp-strip { padding: 0 24px; }
}

/* Reduced Motion */
@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;
  }

  .reveal-up, .reveal-left, .reveal-scale { opacity: 1; transform: none; }
  .img-reveal, .img-reveal-left, .img-reveal-center { clip-path: none; }
  .marquee-track { animation: none; }
}

/* High contrast */
@media (forced-colors: active) {
  .btn-primary, .btn-accent { border: 2px solid currentColor; }
  .glass-card { border: 1px solid currentColor; }
}

/* ============================================================
   END OF STYLESHEET
   ============================================================ */
