/* ============================================================
   JIG — Premium Invisible Grills | Design System
   main.css — Tokens · Reset · Typography · Layout · Utilities
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ─── CSS Custom Properties ─── */
:root {
  /* Colors */
  --c-bg:             #F9F7F4;
  --c-surface:        #FFFFFF;
  --c-surface-raised: #F2EFE9;
  --c-charcoal:       #1C1C1E;
  --c-charcoal-80:    #3A3A3C;
  --c-charcoal-60:    #636366;
  --c-charcoal-30:    #AEAEB2;
  --c-emerald:        #1B6B4A;
  --c-emerald-hover:  #155A3D;
  --c-emerald-light:  #E8F5EF;
  --c-emerald-mid:    #C3E0D2;
  --c-copper:         #C47D3A;
  --c-copper-light:   #F5E8D6;
  --c-border:         #E5E0D8;
  --c-border-strong:  #CFC9BF;
  --c-white:          #FFFFFF;
  --c-dark:           #111110;
  --c-dark-surface:   #1A1A18;
  --c-dark-border:    #2A2A28;

  /* Typography */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font sizes — fluid */
  --fs-display:  clamp(3rem, 7vw, 5.5rem);
  --fs-h1:       clamp(2.25rem, 5vw, 3.75rem);
  --fs-h2:       clamp(1.875rem, 3.5vw, 2.75rem);
  --fs-h3:       clamp(1.375rem, 2.5vw, 1.875rem);
  --fs-h4:       clamp(1.125rem, 1.8vw, 1.375rem);
  --fs-xl:       clamp(1.125rem, 1.5vw, 1.25rem);
  --fs-body:     clamp(1rem, 1.1vw, 1.125rem);
  --fs-sm:       0.9375rem;
  --fs-xs:       0.8125rem;

  /* Font weights */
  --fw-black:   800;
  --fw-bold:    700;
  --fw-semi:    600;
  --fw-medium:  500;
  --fw-regular: 400;

  /* Line heights */
  --lh-tight:  1.15;
  --lh-snug:   1.3;
  --lh-normal: 1.55;
  --lh-loose:  1.75;

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;
  --space-40:  10rem;

  /* Border radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   2rem;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-emerald: 0 8px 30px rgba(27, 107, 74, 0.3);
  --shadow-card:    0 2px 20px rgba(0,0,0,0.07);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;
  --duration-slower: 800ms;

  /* Layout */
  --max-w:        1700px;
  --max-w-prose:  72ch;
  --max-w-narrow: 860px;
  --px-outer:     clamp(1.25rem, 5vw, 5rem);

  /* Header */
  --header-h: 80px;

  /* Z-index scale */
  --z-base:    1;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-header:  300;
  --z-float:   400;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-normal);
  color: var(--c-charcoal-80);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  color: var(--c-charcoal);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px-outer);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

/* ─── Section Spacing ─── */
.section {
  padding-block: var(--space-24);
}
.section--lg {
  padding-block: var(--space-32);
}
.section--xl {
  padding-block: var(--space-40);
}

/* ─── Typography Utility Classes ─── */
.text-display {
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: -0.04em;
}
.text-h1 { font-size: var(--fs-h1); font-weight: var(--fw-black); letter-spacing: -0.03em; }
.text-h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); letter-spacing: -0.025em; }
.text-h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: -0.02em; }
.text-h4 { font-size: var(--fs-h4); font-weight: var(--fw-semi); }
.text-xl  { font-size: var(--fs-xl); font-weight: var(--fw-medium); }
.text-sm  { font-size: var(--fs-sm); }
.text-xs  { font-size: var(--fs-xs); }

.text-charcoal   { color: var(--c-charcoal); }
.text-muted      { color: var(--c-charcoal-60); }
.text-emerald    { color: var(--c-emerald); }
.text-copper     { color: var(--c-copper); }
.text-white      { color: var(--c-white); }

.label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── Section Labels ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--c-emerald-light);
  color: var(--c-emerald);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.section-label--dark {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}
.section-label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--c-emerald);
  color: var(--c-white);
  box-shadow: var(--shadow-emerald);
}
.btn--primary:hover {
  background: var(--c-emerald-hover);
  box-shadow: 0 12px 40px rgba(27, 107, 74, 0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--c-charcoal);
  border: 1.5px solid var(--c-border-strong);
}
.btn--outline:hover {
  border-color: var(--c-charcoal-60);
  background: var(--c-surface);
  transform: translateY(-1px);
}

.btn--ghost-white {
  background: rgba(255,255,255,0.12);
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1.125rem 2.25rem;
  font-size: var(--fs-body);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-xs);
  border-radius: var(--radius-sm);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

/* ─── Cards ─── */
.card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ─── Flex / Grid Utilities ─── */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.items-start { align-items: flex-start; }
.items-end   { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-1  { gap: var(--space-1); }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

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

/* ─── Aspect Ratios ─── */
.aspect-video  { aspect-ratio: 16/9; }
.aspect-square { aspect-ratio: 1/1; }
.aspect-4-3    { aspect-ratio: 4/3; }
.aspect-3-2    { aspect-ratio: 3/2; }
.aspect-portrait { aspect-ratio: 3/4; }

/* ─── Divider ─── */
.divider {
  width: 40px;
  height: 3px;
  background: var(--c-emerald);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-6);
}
.divider--center { margin-inline: auto; }

/* ─── Badge / Pill ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}
.badge--emerald  { background: var(--c-emerald-light); color: var(--c-emerald); }
.badge--copper   { background: var(--c-copper-light);  color: var(--c-copper); }
.badge--dark     { background: var(--c-charcoal); color: var(--c-white); }

/* ─── Star Rating ─── */
.stars {
  display: flex;
  gap: 2px;
  color: #F5A623;
  font-size: 0.875rem;
}

/* ─── Scroll-reveal base state (JS adds .revealed) ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ─── Image Overlay ─── */
.img-overlay {
  position: relative;
  overflow: hidden;
}
.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              backdrop-filter var(--duration-normal);
}

.header.scrolled {
  background: rgba(249, 247, 244, 0.88);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 var(--c-border), 0 4px 20px rgba(0,0,0,0.06);
}

/* Translucent/Not Scrolled Dark Background Contrast */
.header:not(.scrolled) .logo {
  color: var(--c-white);
}
.header:not(.scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.85);
}
.header:not(.scrolled) .nav__link:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.1);
}
.header:not(.scrolled) .nav__link.active {
  color: #6EE7B7;
  background: rgba(255, 255, 255, 0.15);
}
.header:not(.scrolled) .header__phone {
  color: var(--c-white);
}
.header:not(.scrolled) .header__phone svg {
  color: #6EE7B7;
}
.header:not(.scrolled) .hamburger span {
  background: var(--c-white);
}
.header:not(.scrolled) .hamburger.open span {
  background: var(--c-charcoal);
}
.header:not(.scrolled) .hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px-outer);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: var(--fw-black);
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  color: var(--c-charcoal);
  flex-shrink: 0;
}
.logo__mark {
  width: 42px;
  height: 42px;
  background: var(--c-emerald);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  font-weight: var(--fw-black);
  letter-spacing: -0.05em;
}
.logo__text span { color: var(--c-emerald); }
.logo--light .logo__text { color: var(--c-white); }

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-img--light { display: block; }
.logo-img--dark { display: none; }

.header.scrolled .logo-img--light { display: none; }
.header.scrolled .logo-img--dark { display: block; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav__item {
  position: relative;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal-80);
  transition: color var(--duration-fast), background var(--duration-fast);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--c-charcoal);
  background: var(--c-surface-raised);
}
.nav__link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out);
}
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal);
  z-index: var(--z-overlay);
}
/* Invisible hover bridge to prevent early close */
.dropdown::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal-80);
  transition: all var(--duration-fast);
}
.dropdown__link:hover {
  background: var(--c-emerald-light);
  color: var(--c-emerald);
}
.dropdown__link-icon {
  width: 32px;
  height: 32px;
  background: var(--c-surface-raised);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background var(--duration-fast);
}
.dropdown__link:hover .dropdown__link-icon { background: var(--c-emerald-mid); }
.dropdown__divider {
  height: 1px;
  background: var(--c-border);
  margin: var(--space-2) 0;
}

/* Header CTA */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
}
.header__phone svg { color: var(--c-emerald); width: 16px; height: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast);
}
.hamburger:hover { background: var(--c-surface-raised); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-charcoal);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: calc(var(--z-header) - 1);
  padding-top: calc(var(--header-h) + var(--space-6));
  padding-inline: var(--px-outer);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
}
.mobile-nav.open { transform: translateX(0); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,17,16,0.72) 0%,
    rgba(17,17,16,0.52) 50%,
    rgba(17,17,16,0.35) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px-outer);
  padding-top: var(--header-h);
  padding-bottom: var(--space-12);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.375rem var(--space-4);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero__heading {
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--c-white);
  max-width: 820px;
  margin-bottom: var(--space-6);
}
.hero__heading .accent { color: #6EE7B7; }
.hero__sub {
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  line-height: var(--lh-normal);
  margin-bottom: var(--space-10);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.hero__trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
}
.hero__badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ─── Ticker ─── */
.ticker {
  background: var(--c-charcoal);
  padding-block: var(--space-4);
  overflow: hidden;
  position: relative;
}
.ticker__track {
  display: flex;
  gap: var(--space-12);
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  white-space: nowrap;
}
.ticker__item-check {
  color: #6EE7B7;
  font-weight: var(--fw-black);
}
.ticker__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

/* ─── Trust Bar ─── */
.trust-bar {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--space-8);
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}
.trust-stat {
  text-align: center;
  padding: var(--space-4);
  border-right: 1px solid var(--c-border);
}
.trust-stat:last-child { border-right: none; }
.trust-stat__value {
  font-size: 1.875rem;
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  color: var(--c-charcoal);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.trust-stat__value .accent { color: var(--c-emerald); }
.trust-stat__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal-60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-stat__icon {
  font-size: 1.375rem;
  margin-bottom: var(--space-2);
}

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}
.section-header--left {
  text-align: left;
  margin-inline: 0;
}
.section-header__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-5);
}
.section-header__desc {
  color: var(--c-charcoal-60);
  font-size: var(--fs-xl);
  line-height: var(--lh-normal);
}

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  transition: transform var(--duration-slow) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__label {
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

/* ─── Applications ─── */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.app-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  group: true;
}
.app-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 16, 0.65) 0%, rgba(17, 17, 16, 0.25) 50%, transparent 100%);
  transition: background var(--duration-normal) var(--ease-out);
  z-index: 1;
}
.app-card:hover::after {
  background: linear-gradient(to top, rgba(17, 17, 16, 0.8) 0%, rgba(17, 17, 16, 0.4) 60%, rgba(17, 17, 16, 0.1) 100%);
}
.app-card img {
  width: 100%;
  aspect-ratio: 3/4;
  transition: transform var(--duration-slow) var(--ease-out);
}
.app-card:hover img { transform: scale(1.06); }
.app-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.1) 90%, transparent 100%);
  color: var(--c-white);
  z-index: 2;
}
.app-card__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin-bottom: var(--space-1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.app-card__sub {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.app-card__cta {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: #6EE7B7;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--duration-normal) var(--ease-out);
}
.app-card:hover .app-card__cta { opacity: 1; transform: translateY(0); }

/* ─── Before / After Slider ─── */
.before-after-section {
  background: var(--c-charcoal);
  padding-block: var(--space-24);
}
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.ba-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: col-resize;
  aspect-ratio: 4/3;
  user-select: none;
}
.ba-before, .ba-after {
  position: absolute;
  inset: 0;
}
.ba-after { clip-path: inset(0 50% 0 0); }
.ba-before img, .ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--c-white);
  transform: translateX(-50%);
  z-index: 10;
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--c-white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231C1C1E'%3E%3Cpath d='M8 12l-4-4 4-4M16 4l4 4-4 4M8 12h8'/%3E%3C/svg%3E");
  background-size: 22px;
  background-repeat: no-repeat;
  background-position: center;
}
.ba-labels {
  position: absolute;
  top: var(--space-3);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding-inline: var(--space-4);
  pointer-events: none;
  z-index: 11;
}
.ba-label {
  background: rgba(0,0,0,0.6);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}



/* ─── Spec Section ─── */
.spec-section {
  background: var(--c-dark);
  padding-block: var(--space-24);
  overflow: hidden;
}
.spec-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.spec-image-wrap {
  position: relative;
}
.spec-image-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
}
.hotspot {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-emerald);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--duration-normal) var(--ease-spring);
  box-shadow: 0 0 0 6px rgba(27, 107, 74, 0.25);
}
.hotspot:hover, .hotspot.active {
  background: var(--c-white);
  color: var(--c-emerald);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.2);
  transform: scale(1.15);
}
.hotspot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(27,107,74,0.4);
  animation: pulse-ring 2s ease-out infinite;
}
.spec-panel {
  color: var(--c-white);
}
.spec-panel__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.spec-item {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-dark-border);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  background: var(--c-dark-surface);
}
.spec-item:hover, .spec-item.active {
  border-color: var(--c-emerald);
  background: rgba(27, 107, 74, 0.12);
}
.spec-item__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.spec-item__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-emerald);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.spec-item.active .spec-item__num { background: var(--c-copper); }
.spec-item__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-white);
}
.spec-item__detail {
  font-size: var(--fs-xs);
  color: var(--c-charcoal-30);
  margin-top: var(--space-2);
  margin-left: calc(28px + var(--space-3));
  line-height: var(--lh-normal);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal);
  opacity: 0;
}
.spec-item.active .spec-item__detail { max-height: 80px; opacity: 1; }
.spec-table {
  margin-top: var(--space-8);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--c-dark-border);
}
.spec-table__row:last-child { border-bottom: none; }
.spec-table__key, .spec-table__val {
  padding: var(--space-3) var(--space-5);
  font-size: var(--fs-xs);
}
.spec-table__key {
  color: var(--c-charcoal-30);
  font-weight: var(--fw-semi);
  border-right: 1px solid var(--c-dark-border);
  background: rgba(255,255,255,0.02);
}
.spec-table__val {
  color: var(--c-white);
  font-weight: var(--fw-bold);
}

/* ─── Installation Timeline ─── */
.timeline {
  position: relative;
  padding-left: var(--space-12);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-emerald) 0%, var(--c-border) 100%);
}
.timeline__step {
  position: relative;
  padding-bottom: var(--space-10);
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-12) + 10px);
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 3px solid var(--c-emerald);
  z-index: 1;
  transition: all var(--duration-normal);
}
.timeline__step.active .timeline__dot {
  background: var(--c-emerald);
  box-shadow: 0 0 0 6px var(--c-emerald-light);
}
.timeline__num {
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  color: var(--c-copper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}
.timeline__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--c-charcoal);
  margin-bottom: var(--space-2);
}
.timeline__desc {
  font-size: var(--fs-sm);
  color: var(--c-charcoal-60);
  line-height: var(--lh-normal);
  max-width: 440px;
}

/* ─── Reviews ─── */
.reviews-section {
  background: var(--c-surface-raised);
  padding-block: var(--space-24);
  overflow: hidden;
}
.reviews-track-wrap {
  overflow: hidden;
  position: relative;
}
.reviews-track-wrap::before,
.reviews-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.reviews-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--c-surface-raised), transparent);
}
.reviews-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--c-surface-raised), transparent);
}
.reviews-track {
  display: flex;
  gap: var(--space-5);
  animation: reviews-scroll 32s linear infinite;
  width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
.review-card {
  width: 340px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}
.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--c-emerald-mid);
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: var(--fw-black);
  color: var(--c-emerald);
  flex-shrink: 0;
}
.review-card__meta { flex: 1; }
.review-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-charcoal);
}
.review-card__location {
  font-size: var(--fs-xs);
  color: var(--c-charcoal-60);
}
.review-card__verified {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--c-emerald);
  font-weight: var(--fw-semi);
}
.review-card__text {
  font-size: var(--fs-sm);
  color: var(--c-charcoal-80);
  line-height: var(--lh-normal);
  margin-top: var(--space-4);
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  text-align: left;
  cursor: pointer;
  font-size: var(--fs-body);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  transition: color var(--duration-fast);
}
.faq-toggle:hover { color: var(--c-emerald); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}
.faq-toggle.open .faq-icon {
  background: var(--c-emerald);
  border-color: var(--c-emerald);
  transform: rotate(45deg);
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-toggle.open .faq-icon svg { stroke: white; }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-slow) var(--ease-out);
}
.faq-answer__inner {
  padding-bottom: var(--space-6);
  color: var(--c-charcoal-60);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-emerald) 0%, #0F4D34 100%);
  padding-block: var(--space-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.cta-banner__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  color: var(--c-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}
.cta-banner__sub {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-10);
  max-width: 560px;
  margin-inline: auto;
}
.cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ─── Contact ─── */
.contact-section {
  padding-block: var(--space-24);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.contact-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.contact-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-form-wrap {
  max-width: 500px;
}
.form-group {
  margin-bottom: var(--space-5);
}
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-charcoal);
  margin-bottom: var(--space-2);
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-charcoal);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  font-family: var(--font-sans);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
  resize: none;
}
.form-control:focus {
  border-color: var(--c-emerald);
  box-shadow: 0 0 0 3px rgba(27, 107, 74, 0.12);
}
.form-control::placeholder { color: var(--c-charcoal-30); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--c-emerald-light);
  color: var(--c-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: var(--fs-xs);
  color: var(--c-charcoal-60);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-charcoal);
}

/* ─── Footer ─── */
.footer {
  background: var(--c-dark);
  padding-top: var(--space-20);
  padding-bottom: var(--space-12);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--c-dark-border);
}
.footer__brand {
  max-width: 320px;
}
.footer__brand .logo-img {
  height: 68px;
}
.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-normal);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}
.footer__social {
  display: flex;
  gap: var(--space-3);
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: all var(--duration-fast);
}
.social-btn:hover {
  background: var(--c-emerald);
  border-color: var(--c-emerald);
  color: var(--c-white);
}
.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-5);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  font-weight: var(--fw-medium);
  transition: color var(--duration-fast);
}
.footer__link:hover { color: var(--c-white); }
.footer__bottom {
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}
.footer__cert {
  display: flex;
  gap: var(--space-4);
}
.footer__cert span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}

/* ─── WhatsApp Float ─── */
.wa-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.wa-float__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: all var(--duration-normal) var(--ease-spring);
  cursor: pointer;
}
.wa-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}
.wa-float__tooltip {
  background: var(--c-white);
  color: var(--c-charcoal);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--duration-normal) var(--ease-out);
  pointer-events: none;
}
.wa-float:hover .wa-float__tooltip { opacity: 1; transform: translateX(0); }

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--c-charcoal-60);
}
.breadcrumb a { color: var(--c-charcoal-60); }
.breadcrumb a:hover { color: var(--c-emerald); }
.breadcrumb__sep { color: var(--c-charcoal-30); }
.breadcrumb__current { color: var(--c-charcoal); font-weight: var(--fw-semi); }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding-top: calc(var(--header-h) + var(--space-16));
  padding-bottom: var(--space-16);
  background: var(--c-charcoal);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,107,74,0.15) 0%, transparent 70%);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  color: var(--c-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}
.page-hero__desc {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: var(--lh-normal);
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .applications-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-bar__grid   { grid-template-columns: repeat(3, 1fr); }
  .trust-stat        { border-right: none; border-bottom: 1px solid var(--c-border); }
  .trust-stat:nth-child(3n) { border-right: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
}

@media (max-width: 1024px) {
  .spec-layout   { grid-template-columns: 1fr; }
  .contact-layout{ grid-template-columns: 1fr; }
  .contact-img   { aspect-ratio: 16/9; }
  .contact-form-wrap { max-width: 100%; }
  .before-after-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }
  .nav, .header__phone, .header .header__actions .btn { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero__bg img {
    object-position: 78% center;
  }
  .hero__trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    width: 100%;
    max-width: 400px;
  }
  .hero__badge {
    font-size: var(--fs-xs);
    gap: var(--space-2);
  }
  .hero__badge-icon {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
  }

  .gallery-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .trust-stat {
    padding: var(--space-4) var(--space-2);
    border-right: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
  }
  .trust-stat:nth-child(3n) {
    border-right: none;
  }
  .trust-stat:nth-child(n+4) {
    border-bottom: none;
  }
  .trust-stat__value {
    font-size: var(--fs-xl);
  }
  .trust-stat__label {
    font-size: var(--fs-xs);
    letter-spacing: 0.02em;
  }
  .spec-panel__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: var(--space-6);
  }
  .spec-item {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    border-radius: var(--radius-md);
    background: var(--c-dark-surface);
    border: 1px solid var(--c-dark-border);
  }
  .spec-item__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
  }
  .spec-item__num {
    width: 24px;
    height: 24px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .spec-item__name {
    font-size: 11px;
    line-height: 1.2;
    font-weight: var(--fw-bold);
  }
  .spec-item__detail {
    display: none !important;
  }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .section { padding-block: var(--space-16); }
  .section--lg { padding-block: var(--space-20); }
  .wa-float__tooltip { display: none; }
}

@media (max-width: 480px) {
  .applications-grid { grid-template-columns: 1fr; }
  .btn--lg { padding: 1rem 1.5rem; font-size: var(--fs-sm); }
  .hero__trust-badges { gap: var(--space-4); }
}

/* ─── Process Sticky Grid ─── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.process-sticky {
  position: sticky;
  top: calc(var(--header-h) + var(--space-8));
  align-self: start;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .process-sticky {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Focus Visibility & Tactile Refinements ─── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.hotspot:focus-visible {
  outline: 2px solid var(--c-emerald);
  outline-offset: 4px;
}

/* Contrast adjustment for focus outline inside dark sections */
.spec-section :focus-visible,
.before-after-section :focus-visible,
.cta-banner :focus-visible,
.footer :focus-visible {
  outline-color: var(--c-copper);
}

/* Card tactile feedback refinements */
.app-card:active,
.review-card:active,
.spec-item:active {
  transform: scale(0.992) !important;
}

/* Link underlines transition effect (Subtle Stripe/Linear/Apple polish) */
.footer__link {
  position: relative;
  transition: color var(--duration-fast);
}
.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--c-emerald);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-normal) var(--ease-out);
}
.footer__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ─── Modal Pop-up ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 16, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms var(--ease-out), visibility 400ms;
}
.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: var(--c-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 440px;
  position: relative;
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform 400ms var(--ease-spring);
}
.modal-overlay.visible .modal-card {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-surface-raised);
  color: var(--c-charcoal-80);
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all var(--duration-fast);
  z-index: 10;
}
.modal-close:hover {
  background: var(--c-charcoal);
  color: var(--c-white);
  transform: rotate(90deg);
}
.modal-body {
  padding: var(--space-8) var(--space-6);
}
.modal-header {
  margin-bottom: var(--space-5);
}
.modal-headline {
  font-size: var(--fs-h3);
  font-weight: var(--fw-black);
  margin-top: var(--space-2);
  margin-bottom: var(--space-1);
}
.modal-sub {
  font-size: var(--fs-xs);
  color: var(--c-charcoal-60);
  line-height: var(--lh-snug);
}
.modal-form .form-group {
  margin-bottom: var(--space-4);
}
.modal-form .form-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-charcoal-80);
  margin-bottom: var(--space-1);
}
