@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@500;600;700&display=swap');

/* Sonetec Powers — Luxury Clean-Tech Platform Styles */
:root {
  /* Brand Luxury Palette */
  --blue-950: #041026;
  --blue-900: #0a2d6e;
  --blue-800: #0b3d91;
  --blue-700: #1d5bb8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #e8f0fc;
  --blue-50:  #f0f6ff;

  --amber-500: #f5a623;
  --amber-600: #d4890f;
  --amber-400: #fbbf24;
  --amber-300: #fde047;
  --amber-100: #fef3c7;

  --green-600: #16a34a;
  --green-500: #10b981;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;

  --obsidian-950: #060913;
  --obsidian-900: #080d1a;
  --obsidian-850: #0c1427;
  --obsidian-800: #0f172a;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;

  /* Typography Stacks */
  --font-display: "Outfit", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --font: var(--font-body);

  /* Shadows & Depth */
  --shadow: 0 4px 24px rgba(11, 61, 145, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 61, 145, 0.12);
  --shadow-xl: 0 20px 50px rgba(11, 61, 145, 0.18);

  /* Apple Signature Easing & Motion Curves */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);

  /* Apple Multi-Layer Elevated Shadows */
  --shadow-apple-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
  --shadow-apple-md: 0 12px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-apple-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.14), 0 8px 18px -4px rgba(15, 23, 42, 0.06);
  --shadow-apple-glow: 0 0 40px -10px rgba(245, 166, 35, 0.35);

  --shadow-luxury-card: 0 20px 45px -15px rgba(11, 61, 145, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1);
  --shadow-luxury-hover: 0 32px 64px -16px rgba(11, 61, 145, 0.15), 0 12px 24px -6px rgba(245, 166, 35, 0.1), inset 0 1px 0 #ffffff;

  /* Apple Premium Glassmorphic Design System */
  --glass-bg-light: rgba(255, 255, 255, 0.82);
  --glass-bg-card: rgba(255, 255, 255, 0.88);
  --glass-border-light: rgba(255, 255, 255, 0.8);
  --glass-border-subtle: rgba(226, 232, 240, 0.8);
  --glass-shadow-light: 0 16px 36px -8px rgba(11, 61, 145, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --glass-blur-sm: blur(12px) saturate(160%);
  --glass-blur-md: blur(18px) saturate(180%);
  --glass-blur-lg: blur(24px) saturate(190%);
  --glass-bg-dark: rgba(11, 19, 41, 0.84);
  --glass-border-dark: rgba(255, 255, 255, 0.16);
  --glass-shadow-dark: 0 20px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --header-h: 72px;
  --max: 1180px;
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.65;
  background: #fafbfd;
  padding-bottom: 0;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue-800); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-600); }

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

/* Typography Hierarchy — Top Tech Standard */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--gray-900);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  letter-spacing: -0.032em;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.025em;
}

h4 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

/* Luxury Gradient Text Utilities */
.gradient-text-solar,
.text-gradient-solar {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 45%, #fef08a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient-text-blue,
.text-gradient-blue {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient-text-light,
.text-gradient-light {
  background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient-text-dark,
.text-gradient-dark {
  background: linear-gradient(135deg, #0f172a 20%, #1e3a8a 80%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-700);
  margin-bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 58ch;
  font-weight: 450;
}

/* Buttons & Tactile Micro-Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
  text-decoration: none;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

.btn:active {
  transform: translateY(1px) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 35%, #f5a623 70%, #d97706 100%);
  color: #0b192c;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 18px -2px rgba(245, 166, 35, 0.45), 0 10px 28px -4px rgba(217, 119, 6, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 35%, #f59e0b 70%, #ea580c 100%);
  border-color: rgba(255, 255, 255, 0.95);
  color: #0b192c;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -4px rgba(245, 166, 35, 0.6), 0 0 20px rgba(251, 191, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-secondary {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 35%, #0b3d91 75%, #071f4a 100%);
  color: var(--white);
  border: 1px solid rgba(147, 197, 253, 0.42);
  box-shadow: 0 4px 18px -2px rgba(37, 99, 235, 0.38), 0 10px 28px -4px rgba(11, 61, 145, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 45%, #0b3d91 80%, #071f4a 100%);
  border-color: rgba(191, 219, 254, 0.75);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.5), 0 0 20px rgba(96, 165, 250, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-lg { padding: 0.95rem 1.85rem; font-size: 1rem; border-radius: var(--radius-sm); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.84rem; border-radius: 8px; gap: 0.35rem; }

@media (max-width: 768px) {
  .btn-sm,
  a.btn-sm,
  button.btn-sm {
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.section:not(.hero) .btn-outline,
.section-alt .btn-outline,
.card .btn-outline,
.contact-action-card .btn-outline {
  background: rgba(11, 61, 145, 0.05);
  color: #0b3d91;
  border: 1.5px solid #0b3d91;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(11, 61, 145, 0.08);
}
.section:not(.hero) .btn-outline:hover,
.section-alt .btn-outline:hover,
.card .btn-outline:hover,
.contact-action-card .btn-outline:hover {
  background: #0b3d91;
  border-color: #0b3d91;
  color: #ffffff;
}

.btn-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.75) 100%);
  color: #0b3d91;
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur-md);
  -webkit-backdrop-filter: var(--glass-blur-md);
  box-shadow: 0 4px 16px rgba(11, 61, 145, 0.08), inset 0 1px 0 #ffffff;
}

.btn-glass:hover {
  background: #ffffff;
  border-color: #93c5fd;
  color: #0b3d91;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.14), inset 0 1px 0 #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
  color: var(--white);
  border: 1px solid rgba(187, 247, 208, 0.45);
  box-shadow: 0 4px 18px -2px rgba(34, 197, 94, 0.42), 0 8px 24px -4px rgba(22, 163, 74, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(34, 197, 94, 0.5), 0 0 18px rgba(74, 222, 128, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-group--center,
.text-center .btn-group,
.cta-band .btn-group {
  justify-content: center;
}

/* Header & Sticky Frosted Glass Navigation */
#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur-md);
  -webkit-backdrop-filter: var(--glass-blur-md);
  border-bottom: 1px solid var(--glass-border-subtle);
  height: var(--header-h);
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled,
#site-header.scrolled .site-header {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px -10px rgba(11, 61, 145, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(203, 213, 225, 0.8);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-800);
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.logo:hover {
  color: var(--blue-800);
  transform: scale(1.02);
}
.logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.logo-img--footer {
  filter: none;
  opacity: 1;
  display: inline-block;
  vertical-align: middle;
}
.logo--footer,
.footer-grid .logo--footer {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}
.footer-grid .logo--footer::before {
  display: none !important;
}
.nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
.nav-desktop > a, .nav-drop > button {
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-800);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.nav-desktop > a:hover, .nav-drop > button:hover {
  background: rgba(11, 61, 145, 0.06);
  color: var(--blue-800);
}
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur-md);
  -webkit-backdrop-filter: var(--glass-blur-md);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow-light);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transition: opacity var(--transition-fast), transform var(--transition), visibility var(--transition-fast);
  transform-origin: top left;
}
.nav-drop:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav-drop-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.86rem;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.nav-drop-menu a:hover {
  background: var(--blue-100);
  color: var(--blue-800);
  transform: translateX(3px);
}
.header-ctas { display: flex; align-items: center; gap: 0.5rem; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-800);
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--white);
  z-index: 490;
  overflow-y: auto;
  padding: 1rem 1.25rem 2.5rem;
  border-top: 1px solid var(--gray-200);
  box-sizing: border-box;
}
.mobile-nav.open { display: block; }
.mobile-nav > a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  transition: color 0.15s ease;
}
.mobile-nav > a:hover {
  color: var(--blue-800);
}

/* Mobile dropdown details & chevron indicators */
.mobile-nav-drop {
  border-bottom: 1px solid var(--gray-100);
  transition: background-color 0.2s ease, border-radius 0.2s ease;
}
.mobile-nav-drop[open] {
  background: rgba(2, 132, 199, 0.05);
  border-radius: var(--radius-sm);
  margin: 0.35rem 0;
  border-bottom-color: transparent;
  padding: 0 0.5rem;
}
.mobile-nav-drop summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 0;
  display: block;
  user-select: none;
  -webkit-user-select: none;
}
.mobile-nav-drop summary::-webkit-details-marker,
.mobile-nav-drop summary::marker {
  display: none;
  content: "";
}
.mobile-summary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--gray-800);
  transition: color 0.2s ease;
}
.mobile-drop-chevron {
  width: 18px;
  height: 18px;
  stroke: #475569;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease;
  pointer-events: none;
}
.mobile-nav-drop[open] .mobile-summary-inner {
  color: var(--blue-800);
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
  padding-bottom: 0.5rem;
}
.mobile-nav-drop[open] .mobile-drop-chevron {
  transform: rotate(180deg);
  stroke: #1d5bb8;
}
.mobile-nav-submenu {
  padding-left: 0.5rem;
}
.mobile-nav-submenu a {
  display: block;
  padding: 0.65rem 0.5rem 0.65rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.mobile-nav-submenu a:last-child {
  border-bottom: none;
  padding-bottom: 0.8rem;
}
.mobile-nav-submenu a:hover {
  color: var(--blue-800);
  padding-left: 1.25rem;
}
.mobile-nav .btn { width: 100%; margin-top: 1rem; }

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 480;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.mobile-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.65rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-800);
  text-decoration: none;
  border-right: 1px solid var(--gray-100);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-bar a:hover,
.mobile-bar a.active {
  color: var(--blue-800);
  background: rgba(2, 132, 199, 0.08);
}
.mobile-bar a:last-child {
  border-right: none;
  background: var(--amber-500);
  color: var(--gray-900);
}
.mobile-bar a:last-child:hover {
  background: #f59e0b;
}
.mobile-bar a span { font-size: 1.1rem; line-height: 1; }

@media (max-width: 1024px) {
  .nav-desktop, .header-ctas .btn-secondary { display: none; }
  .menu-toggle { display: block; font-size: 1.6rem; color: var(--blue-800); }
  body.has-mobile-bar { padding-bottom: 64px; }
  .mobile-bar { display: block; }
}

@media (max-width: 640px) {
  .header-ctas { display: none; }
  .menu-toggle { margin-left: auto; }
  .logo-img { height: 34px; max-width: 140px; }
}

/* Hero — Cosmic Obsidian Clean-Tech Canvas */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(37, 99, 235, 0.28) 0%, transparent 70%),
    radial-gradient(800px 500px at 90% 20%, rgba(245, 166, 35, 0.16) 0%, transparent 60%),
    radial-gradient(700px 450px at 10% 90%, rgba(14, 165, 233, 0.14) 0%, transparent 60%),
    #060a14;
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(245, 166, 35, 0.25);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 92%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 1.15rem;
  max-width: 22ch;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}
.hero .lead {
  font-family: var(--font-body);
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 2rem;
  max-width: 58ch;
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  line-height: 1.7;
}
.hero-compact {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.hero-compact h1 {
  max-width: none;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.038em;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.hero-badge {
  display: inline-flex;
  padding: 0.38rem 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.25s var(--ease-apple), background-color 0.25s ease, border-color 0.25s ease;
}
.hero-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-badge--gold {
  background: rgba(245, 166, 35, 0.18);
  border-color: rgba(251, 191, 36, 0.5);
  color: #fcd34d;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* High contrast styles for badges rendered on light sections */
.section:not(.hero) .hero-badge,
.section-alt .hero-badge,
.section-header .hero-badge {
  background: rgba(11, 61, 145, 0.08);
  border-color: rgba(11, 61, 145, 0.25);
  color: #0b3d91;
  box-shadow: 0 2px 8px rgba(11, 61, 145, 0.08);
}
.section:not(.hero) .hero-badge:hover,
.section-alt .hero-badge:hover,
.section-header .hero-badge:hover {
  background: rgba(11, 61, 145, 0.14);
  border-color: rgba(11, 61, 145, 0.4);
  color: #0b3d91;
}

.section:not(.hero) .hero-badge--gold,
.section-alt .hero-badge--gold,
.section-header .hero-badge--gold {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.section:not(.hero) .hero-badge--gold:hover,
.section-alt .hero-badge--gold:hover,
.section-header .hero-badge--gold:hover {
  background: #fde68a;
  border-color: #d97706;
  color: #78350f;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat { text-align: left; }
.hero-stat-num {
  display: inline;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.hero-stat-suffix {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--amber-400);
}
.hero-stat-label {
  display: block;
  font-size: 0.76rem;
  color: rgba(226, 232, 240, 0.75);
  margin-top: 0.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Trust marquee — Precision Clean-Tech Marquee */
.trust-marquee {
  background: #080d1a;
  color: var(--white);
  padding: 0.95rem 0;
  overflow: hidden;
  overflow-x: clip;
  contain: paint;
  max-width: 100vw;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 2px solid var(--amber-500);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.trust-marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 35s linear infinite;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.trust-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.9;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Legacy trust strip (other pages) */
.trust-strip {
  background: var(--gray-900);
  color: var(--white);
  padding: 1rem 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}
.trust-strip span { display: flex; align-items: center; gap: 0.4rem; opacity: 0.92; }

/* Sections — Atmospheric Clean-Tech Canvas */
.section {
  position: relative;
  padding: clamp(3.75rem, 7vw, 6rem) 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(219, 234, 254, 0.5) 0%, rgba(255, 255, 255, 0) 100%),
    #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.65);
}
.section-alt {
  position: relative;
  background:
    radial-gradient(60% 50% at 10% 15%, rgba(254, 243, 199, 0.45) 0%, transparent 70%),
    radial-gradient(55% 45% at 90% 85%, rgba(219, 234, 254, 0.5) 0%, transparent 70%),
    #f8faff;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-header h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-header .lead {
  margin-inline: auto;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--gray-600);
  max-width: 62ch;
  line-height: 1.65;
}

/* Cards grid */
.grid { display: grid; gap: 1.25rem; }
.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-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 900px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-6, .grid-4, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow:
    0 10px 30px -10px rgba(11, 61, 145, 0.05),
    0 1px 3px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition:
    box-shadow 0.4s var(--ease-apple),
    transform 0.4s var(--ease-apple),
    border-color 0.3s ease;
  height: 100%;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}
.card:hover::before {
  opacity: 1;
}
.card:hover {
  box-shadow:
    0 24px 54px -12px rgba(11, 61, 145, 0.14),
    0 8px 18px -4px rgba(245, 166, 35, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-6px) scale(1.008);
  border-color: #93c5fd;
}
.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e8f0fc 0%, #dbeafe 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(147, 197, 253, 0.4);
  box-shadow: 0 4px 12px rgba(11, 61, 145, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.35s var(--ease-apple);
}
.card:hover .card-icon {
  transform: scale(1.1) rotate(2deg);
}
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.9rem; color: var(--gray-600); }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--blue-800); }
.card-link .card-thumb {
  margin: -1.5rem -1.5rem 1rem;
  height: 120px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-link .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.card-link:hover .card-thumb img { transform: scale(1.05); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-reverse .split-visual,
.split-reverse figure { order: -1; }
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split-reverse .split-visual,
  .split-reverse figure { order: 0; }
}

.visual-box {
  background: linear-gradient(145deg, var(--blue-100), var(--gray-100));
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  border: 1px dashed var(--gray-200);
  padding: 2rem;
  text-align: center;
}

/* Replaceable site images — swap files in /images/ (see images/README.md) */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 12px 30px -10px rgba(11, 61, 145, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.05);
  line-height: 0;
  transition: transform 0.45s var(--ease-apple), box-shadow 0.45s var(--ease-apple);
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.img-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 50px -12px rgba(11, 61, 145, 0.2), 0 8px 18px -4px rgba(245, 166, 35, 0.1);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-frame--tall { aspect-ratio: 4 / 3; min-height: 260px; }
.img-frame--wide { aspect-ratio: 16 / 10; }
.img-frame--card { aspect-ratio: 16 / 10; min-height: 140px; }
.img-frame--map { aspect-ratio: 16 / 9; min-height: 100px; }
.img-frame--hero-side { aspect-ratio: 1 / 1; min-height: 280px; }

/* Full-bleed image inside padded cards (projects, etc.) */
.card > .img-frame:first-child {
  margin: -1.75rem -1.75rem 1rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: none;
}

.hero--photo {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(37, 99, 235, 0.3) 0%, transparent 70%),
    linear-gradient(135deg, rgba(6, 10, 20, 0.94) 0%, rgba(8, 20, 48, 0.88) 55%, rgba(15, 23, 42, 0.85) 100%),
    url("../images/hero-home.jpg") center / cover no-repeat;
}
@media (min-width: 769px) {
  .hero--photo {
    background:
      radial-gradient(900px 500px at 20% 40%, rgba(37, 99, 235, 0.35) 0%, transparent 65%),
      linear-gradient(105deg, rgba(6, 10, 20, 0.96) 0%, rgba(7, 16, 38, 0.88) 45%, rgba(15, 23, 42, 0.5) 75%, transparent 100%),
      url("../images/hero-home.jpg") center / cover no-repeat;
  }
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.data-table th { background: var(--blue-800); color: var(--white); font-weight: 600; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--gray-50); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.step-num {
  width: 36px; height: 36px;
  background: var(--blue-800);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.step h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.8rem; color: var(--gray-600); }
@media (max-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .steps { grid-template-columns: 1fr; } }

/* Answer box (GEO) */
.answer-box {
  background: var(--blue-100);
  border-left: 4px solid var(--blue-800);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.65;
}
.meta-date { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 1.5rem; }

/* FAQ */
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--blue-800); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 1.25rem 1rem; font-size: 0.92rem; color: var(--gray-600); }

/* Forms — Refined Glassmorphic Control Panel */
.form-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow:
    0 16px 40px -12px rgba(11, 61, 145, 0.08),
    0 2px 6px -1px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 #ffffff;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(248, 250, 252, 0.8);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--gray-900);
  transition: all 0.25s var(--ease-apple);
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-note { font-size: 0.78rem; color: var(--gray-400); margin-top: 0.75rem; }
.form-success {
  display: none;
  background: var(--green-100);
  color: var(--green-600);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* CTA band — Cosmic Solar-Flare Energy Canvas */
.cta-band {
  position: relative;
  background:
    radial-gradient(900px 450px at 50% 0%, rgba(245, 166, 35, 0.22) 0%, transparent 70%),
    radial-gradient(800px 400px at 85% 100%, rgba(37, 99, 235, 0.28) 0%, transparent 70%),
    #060a14;
  color: var(--white);
  padding: clamp(3.75rem, 7vw, 5.75rem) 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 90%);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.035em;
  margin-bottom: 0.85rem;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  line-height: 1.15;
}
.cta-band p {
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 1.85rem;
  max-width: 54ch;
  margin-inline: auto;
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  line-height: 1.65;
}

/* Offices */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.office-card {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s ease, border-color 0.25s ease;
  overflow: hidden;
}
.office-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}
.office-card:hover::before {
  opacity: 1;
}
.office-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-apple-lg);
  border-color: #93c5fd;
}
.office-card.hq { border-color: var(--blue-800); border-width: 2px; box-shadow: 0 8px 24px rgba(11, 61, 145, 0.08); }
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: var(--gray-100);
  color: var(--gray-600);
}
.badge-hq { background: var(--blue-100); color: var(--blue-800); }
.office-card h3 { margin: 0.75rem 0 0.5rem; }
.office-card p { font-size: 0.88rem; color: var(--gray-600); }
@media (max-width: 768px) { .office-grid { grid-template-columns: 1fr; } }

/* Products & Filters — Apple Segmented Glass Dock */
.filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 2rem;
  background: rgba(241, 245, 249, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.filter-btn {
  padding: 0.5rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s var(--ease-apple);
}
.filter-btn:hover {
  color: var(--blue-800);
  background: rgba(255, 255, 255, 0.6);
}
.filter-btn.active {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--blue-800);
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.25);
}
.product-card .product-img {
  height: 240px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.product-card .product-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
  transition: transform 0.4s var(--ease-apple);
}
.product-card:hover .product-img img {
  transform: translateY(-4px) scale(1.04);
}
.price-enquiry { font-size: 0.85rem; color: var(--gray-400); font-style: italic; margin: 0.5rem 0 1rem; }

/* Breadcrumb */
.breadcrumb {
  background: var(--gray-50);
  padding: 0.75rem 0;
  font-size: 0.82rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--blue-800); }

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: #cbd5e1;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-grid a { display: block; color: #94a3b8; margin-bottom: 0.45rem; text-decoration: none; }
.footer-grid a:hover { color: var(--amber-500); }
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Project cards */
.project-card .project-kw {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 0.25rem;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  background: var(--blue-100);
  color: var(--blue-800);
  border-radius: 4px;
}

/* Disclaimer */
.disclaimer { font-size: 0.75rem; color: var(--gray-400); margin-top: 1rem; line-height: 1.5; }

/* EMI highlight */
.emi-box {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.emi-box strong { color: var(--gray-900); font-size: 1.1rem; }

/* Blog */
.blog-card .blog-date { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.blog-card h3 { margin-bottom: 0.5rem; }

/* Modal — Apple Frosted Glass Dialog */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease-apple);
}
.modal-overlay.open {
  display: flex;
  opacity: 1;
}
.modal {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 2.25rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.4s var(--ease-apple);
}
.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  background: rgba(15, 23, 42, 0.06);
  border: none;
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.modal-close:hover {
  background: rgba(15, 23, 42, 0.12);
  color: var(--gray-900);
  transform: scale(1.08);
}

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--blue-800); }
.stat-label { font-size: 0.82rem; color: var(--gray-600); }
@media (max-width: 600px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* Checklist */
.checklist { list-style: none; }
.checklist li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  font-size: 0.92rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

/* ── Modern homepage sections ── */

.text-muted { color: var(--gray-600); margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-gradient-gold {
  background: linear-gradient(135deg, #fcd34d, var(--amber-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.link-light { color: #fcd34d; text-decoration: underline; text-underline-offset: 2px; }
.link-light:hover { color: var(--white); }
.disclaimer--center { text-align: center; max-width: 60ch; margin-inline: auto; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible,
.reveal.is-inview {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Subsidy showcase */
.section-subsidy {
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 50%, #1a4a8a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-subsidy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.section-subsidy .container { position: relative; z-index: 1; }
.section-subsidy h2 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); }
.section-subsidy p { color: rgba(255, 255, 255, 0.85); }
.eyebrow--light { color: var(--amber-400); }

.subsidy-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .subsidy-hero { grid-template-columns: 1fr; }
}

.subsidy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 600px) {
  .subsidy-cards { grid-template-columns: 1fr; }
}

.subsidy-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.subsidy-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.subsidy-card--featured {
  background: linear-gradient(145deg, rgba(245, 166, 35, 0.25), rgba(245, 166, 35, 0.1));
  border-color: rgba(245, 166, 35, 0.5);
  position: relative;
  transform: scale(1.05);
}
.subsidy-card--featured:hover { transform: scale(1.05) translateY(-4px); }
.subsidy-card-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-500);
  color: var(--gray-900);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.subsidy-card-kw {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.35rem;
}
.subsidy-card-amount {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.subsidy-card--featured .subsidy-card-amount { color: #fcd34d; }
.subsidy-card-note {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.35rem;
}

.subsidy-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .subsidy-row { grid-template-columns: 1fr; }
}

.emi-highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.emi-highlight-icon {
  width: 52px;
  height: 52px;
  background: var(--amber-500);
  color: var(--gray-900);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}
.emi-highlight strong {
  display: block;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.emi-highlight p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.emi-highlight .btn { flex-shrink: 0; margin-left: auto; }
@media (max-width: 600px) {
  .emi-highlight .btn { width: 100%; margin-left: 0; }
}

.img-frame--subsidy {
  aspect-ratio: 4 / 3;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}

/* Paperwork section */
.section-paperwork {
  background: var(--gray-50);
  position: relative;
}
.paperwork-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .paperwork-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .paperwork-grid { grid-template-columns: 1fr; }
}

.paperwork-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.paperwork-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-700);
}
.paperwork-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-100), #dbeafe);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.paperwork-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.paperwork-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* Modern service cards */
.card--modern {
  padding: 0;
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow);
}
.card--modern .card-thumb {
  margin: 0;
  height: 160px;
  border-radius: 0;
}
.card--modern .card-body {
  padding: 1.5rem;
}
.card--modern .card-icon {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.card-arrow {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}
.card--modern:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.card--location {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-100) 100%);
  border: 1px solid var(--blue-100);
  text-align: center;
  padding: 2rem 1.25rem;
}
.card--location h3 {
  color: var(--blue-800);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.card--location::after {
  content: "→";
  display: block;
  margin-top: 1rem;
  font-size: 1.25rem;
  color: var(--blue-700);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.card--location:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

/* Timeline steps */
.steps--timeline {
  position: relative;
}
.steps--timeline::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-800), var(--amber-500), var(--blue-800));
  opacity: 0.3;
  z-index: 0;
}
@media (max-width: 768px) {
  .steps--timeline::before { display: none; }
}
.steps--timeline .step {
  position: relative;
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow);
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.steps--timeline .step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.steps--timeline .step-num {
  width: 44px;
  height: 44px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  box-shadow: 0 4px 12px rgba(11, 61, 145, 0.3);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

.benefit-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), border-color 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-apple-lg), inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: #cbd5e1;
}
.benefit-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.benefit-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.benefit-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.benefit-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Split flagship */
.split--flagship .img-frame {
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}
.split--flagship:hover .img-frame {
  transform: scale(1.02);
}

/* Form card enhancement — Apple Frosted Glass Surface */
.form-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 20px 50px -10px rgba(11, 61, 145, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.4s var(--ease-apple), transform 0.4s var(--ease-apple);
}
.form-card:hover {
  box-shadow: 0 30px 60px -12px rgba(11, 61, 145, 0.16), inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-3px);
}

/* CTA band animation */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Mini subsidy strip (landing pages) — Apple Frosted Pills */
.subsidy-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  text-align: center;
}
.subsidy-mini-item {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.15rem 0.85rem;
  box-shadow: 0 4px 16px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s ease, border-color 0.25s ease;
}
.subsidy-mini-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-apple-md);
  border-color: #93c5fd;
}
.subsidy-mini-item--featured {
  background: linear-gradient(135deg, rgba(232, 240, 252, 0.95), rgba(219, 234, 254, 0.95));
  border-color: rgba(147, 197, 253, 0.8);
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.subsidy-mini-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-800);
}
.subsidy-mini-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* ROI & usage tips section */
.roi-section { }
.roi-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
@media (max-width: 900px) { .roi-tips { grid-template-columns: 1fr; } }
.roi-tip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.roi-tip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.section-alt .roi-tip { background: var(--white); }
.roi-tip-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.roi-tip h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.roi-tip p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.roi-ev-note {
  background: var(--blue-100);
  border: 1px solid var(--blue-700);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}
.roi-ev-note h3 {
  font-size: 1.05rem;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}
.roi-ev-note p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.roi-ev-note p:last-child { margin-bottom: 0; }

/* Transformer / feasibility urgency callout — Apple Frosted Amber */
.feasibility-banner {
  background: rgba(254, 243, 199, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-left: 5px solid #d97706;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s ease;
}
.feasibility-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.feasibility-banner h3 {
  font-size: 1.12rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feasibility-banner p {
  color: #78350f;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.feasibility-banner p:last-child { margin-bottom: 0; }
.feasibility-banner .tagline {
  font-weight: 700;
  color: var(--blue-800);
  font-size: 1rem;
  margin-top: 0.75rem;
}
.feasibility-banner--compact {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.feasibility-banner--compact p { margin-bottom: 0.75rem; font-size: 0.92rem; }

/* Long-form content for inner pages (SEO) */
.content-intro {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.content-intro p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.prose { max-width: 72ch; }
.prose p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.75;
  font-size: 0.95rem;
}
.prose h2 { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.prose h3 { margin: 1.5rem 0 0.6rem; font-size: 1.1rem; }
.prose ul { margin: 0 0 1rem 1.25rem; color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }
.prose li { margin-bottom: 0.35rem; }
.prose-wide { max-width: 820px; margin-inline: auto; }
/* ==========================================================================
   Apple-Grade Motion Choreography & Scroll-Driven Transitions
   ========================================================================== */

/* Universal Scroll Reveal State Classes */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(28px);
}

.section-reveal:not(.is-inview),
.split-reveal:not(.is-inview) {
  opacity: 0;
  transform: translateY(32px);
}

.section-reveal .section-header:not(.is-inview) {
  opacity: 0;
  transform: translateY(20px);
}

.cta-band-reveal:not(.is-inview) {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
}

.grid-reveal:not(.is-inview) > * {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
}

.img-frame-reveal:not(.is-inview) {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
}

/* Active Entrance Transitions (Smooth Apple-Grade Glide & Fade When Entering Viewport) */
.reveal.is-inview, .reveal-up.is-inview,
.reveal.visible, .reveal-up.visible,
.section-reveal.is-inview, .section-reveal.visible,
.split-reveal.is-inview, .split-reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
  will-change: opacity, transform;
}

/* Section Header Entrance Choreography */
.section-reveal.is-inview .section-header,
.section-reveal.visible .section-header {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.75s var(--ease-apple), transform 0.75s var(--ease-apple);
}

/* CTA Band Elevated Entrance */
.cta-band-reveal.is-inview,
.cta-band-reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  transition: opacity 0.85s var(--ease-apple), transform 0.85s var(--ease-apple);
  will-change: opacity, transform;
}

/* Stagger Cascade & Grid Cards Entrance Choreography */
.stagger-cascade > *,
.grid-reveal > * {
  will-change: opacity, transform;
}

.stagger-cascade.is-inview > *:nth-child(1), .grid-reveal.is-inview > *:nth-child(1),
.stagger-cascade.visible > *:nth-child(1), .grid-reveal.visible > *:nth-child(1) { transition: opacity 0.75s var(--ease-apple) 0.04s, transform 0.75s var(--ease-apple) 0.04s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(2), .grid-reveal.is-inview > *:nth-child(2),
.stagger-cascade.visible > *:nth-child(2), .grid-reveal.visible > *:nth-child(2) { transition: opacity 0.75s var(--ease-apple) 0.12s, transform 0.75s var(--ease-apple) 0.12s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(3), .grid-reveal.is-inview > *:nth-child(3),
.stagger-cascade.visible > *:nth-child(3), .grid-reveal.visible > *:nth-child(3) { transition: opacity 0.75s var(--ease-apple) 0.20s, transform 0.75s var(--ease-apple) 0.20s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(4), .grid-reveal.is-inview > *:nth-child(4),
.stagger-cascade.visible > *:nth-child(4), .grid-reveal.visible > *:nth-child(4) { transition: opacity 0.75s var(--ease-apple) 0.28s, transform 0.75s var(--ease-apple) 0.28s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(5), .grid-reveal.is-inview > *:nth-child(5),
.stagger-cascade.visible > *:nth-child(5), .grid-reveal.visible > *:nth-child(5) { transition: opacity 0.75s var(--ease-apple) 0.36s, transform 0.75s var(--ease-apple) 0.36s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(6), .grid-reveal.is-inview > *:nth-child(6),
.stagger-cascade.visible > *:nth-child(6), .grid-reveal.visible > *:nth-child(6) { transition: opacity 0.75s var(--ease-apple) 0.44s, transform 0.75s var(--ease-apple) 0.44s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(7), .grid-reveal.is-inview > *:nth-child(7),
.stagger-cascade.visible > *:nth-child(7), .grid-reveal.visible > *:nth-child(7) { transition: opacity 0.75s var(--ease-apple) 0.50s, transform 0.75s var(--ease-apple) 0.50s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(8), .grid-reveal.is-inview > *:nth-child(8),
.stagger-cascade.visible > *:nth-child(8), .grid-reveal.visible > *:nth-child(8) { transition: opacity 0.75s var(--ease-apple) 0.56s, transform 0.75s var(--ease-apple) 0.56s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(9), .grid-reveal.is-inview > *:nth-child(9),
.stagger-cascade.visible > *:nth-child(9), .grid-reveal.visible > *:nth-child(9) { transition: opacity 0.75s var(--ease-apple) 0.62s, transform 0.75s var(--ease-apple) 0.62s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(10), .grid-reveal.is-inview > *:nth-child(10),
.stagger-cascade.visible > *:nth-child(10), .grid-reveal.visible > *:nth-child(10) { transition: opacity 0.75s var(--ease-apple) 0.68s, transform 0.75s var(--ease-apple) 0.68s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(11), .grid-reveal.is-inview > *:nth-child(11),
.stagger-cascade.visible > *:nth-child(11), .grid-reveal.visible > *:nth-child(11) { transition: opacity 0.75s var(--ease-apple) 0.74s, transform 0.75s var(--ease-apple) 0.74s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

.stagger-cascade.is-inview > *:nth-child(12), .grid-reveal.is-inview > *:nth-child(12),
.stagger-cascade.visible > *:nth-child(12), .grid-reveal.visible > *:nth-child(12) { transition: opacity 0.75s var(--ease-apple) 0.80s, transform 0.75s var(--ease-apple) 0.80s; opacity: 1 !important; transform: translateY(0) scale(1) !important; }

/* Parent Section Activation Cascades to Nested Reveals */
.section-reveal.is-inview .grid-reveal > *,
.section-reveal.visible .grid-reveal > * {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.section-reveal.is-inview .img-frame-reveal,
.section-reveal.visible .img-frame-reveal {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.section-reveal.is-inview .split-reveal,
.section-reveal.visible .split-reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Image Frame Subtle Zoom-Lift Reveal */
.img-frame-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.85s var(--ease-apple), transform 0.85s var(--ease-apple);
  will-change: opacity, transform;
}
.img-frame-reveal.is-inview, .img-frame-reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Apple-style Scale In */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
  will-change: opacity, transform;
}
.reveal-scale.is-inview, .reveal-scale.visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Card hover depth acceleration */
.apple-card-hover {
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), border-color 0.3s ease;
  will-change: transform, box-shadow;
}
.apple-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-apple-lg);
}

/* Reduced Motion Safety Guard */
@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, .reveal-up, .reveal-scale, .section-reveal, .split-reveal, .cta-band-reveal, .img-frame-reveal, .grid-reveal > *, .stagger-cascade > *, .section-reveal .section-header {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .trust-marquee-track { animation: none !important; }
  .hero-glow { animation: none !important; }
  .cta-band::before { animation: none !important; }
}

