/* ==========================================================================
   Eshraq Al-Asalah Real Estate (eshragalasalah.com)
   Apple Liquid Glass Spatial Design System & Spring Motion Engine
   ========================================================================== */

:root {
  --bg-dark: #061310;
  --bg-dark-elevated: #0b1f1a;
  --bg-light: #f3f5f4;
  --bg-light-pure: #fbfcfc;

  --emerald-950: #061712;
  --emerald-900: #0c2b22;
  --emerald-800: #134033;
  --emerald-700: #1b5c48;
  --emerald-500: #298f6d;
  --emerald-400: #46c297;

  --gold-600: #9f7c3c;
  --gold-500: #c7a35b;
  --gold-400: #dec07f;
  --gold-300: #f2dfb0;

  --ink-dark: #0d1c17;
  --ink-muted: #52645d;
  --ink-light: #f4f8f6;
  --ink-light-muted: #a6bbb2;

  /* Liquid Glass Tokens — Dark */
  --lg-dark-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0.09) 100%);
  --lg-dark-border: rgba(255, 255, 255, 0.22);
  --lg-dark-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  --lg-dark-shadow: 0 22px 52px rgba(2, 10, 8, 0.42), 0 4px 16px rgba(2, 10, 8, 0.24);

  /* Liquid Glass Tokens — Light */
  --lg-light-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.58) 55%, rgba(255, 255, 255, 0.74) 100%);
  --lg-light-border: rgba(255, 255, 255, 0.9);
  --lg-light-outer-ring: rgba(13, 28, 23, 0.08);
  --lg-light-highlight: inset 0 1.5px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(13, 28, 23, 0.05);
  --lg-light-shadow: 0 18px 46px rgba(10, 32, 25, 0.08), 0 2px 10px rgba(10, 32, 25, 0.04);

  /* Spring Physics */
  --spring: cubic-bezier(0.32, 1.18, 0.45, 1);
  --spring-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Typography */
  --sans: "IBM Plex Sans Arabic", "Tajawal", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Alexandria", "IBM Plex Sans Arabic", sans-serif;

  /* Radii */
  --radius-pill: 999px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

html[lang="en"] {
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --display: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--ink-dark);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
}

::selection {
  background: rgba(222, 192, 127, 0.42);
  color: var(--ink-dark);
}

.ltr-always {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2.5px solid var(--gold-500);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

.wrap {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   Scroll Progress Specular Hairline
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 120;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--emerald-400), var(--gold-400), var(--emerald-400));
  box-shadow: 0 0 12px rgba(222, 192, 127, 0.7);
  will-change: transform;
}

html[dir="rtl"] .scroll-progress-bar {
  transform-origin: right center;
}

/* ==========================================================================
   Liquid Glass Surfaces & Specular Hover Glint
   ========================================================================== */
.glass-surface {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  transition: transform 0.45s var(--spring-soft), box-shadow 0.45s var(--spring-soft), border-color 0.35s ease;
}

.glass-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.24),
    rgba(222, 192, 127, 0.08) 38%,
    transparent 65%
  );
  z-index: 1;
}

.glass-surface:hover::after {
  opacity: 1;
}

.glass-dark {
  background: var(--lg-dark-bg);
  border: 1px solid var(--lg-dark-border);
  box-shadow: var(--lg-dark-shadow), var(--lg-dark-highlight);
}

.glass-light {
  background: var(--lg-light-bg);
  border: 1px solid var(--lg-light-border);
  box-shadow: var(--lg-light-shadow), var(--lg-light-highlight), 0 0 0 1px var(--lg-light-outer-ring);
}

/* ==========================================================================
   Scroll-Adaptive Floating Liquid Glass Top Navigation
   ========================================================================== */
.floating-nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 90;
  pointer-events: none;
  padding-inline: 20px;
}

.floating-nav {
  width: min(1220px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-brand-pill,
.nav-tabs-pill,
.nav-actions-pill {
  pointer-events: auto;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  transition:
    background 0.45s var(--ease-apple),
    border-color 0.45s var(--ease-apple),
    box-shadow 0.45s var(--ease-apple),
    color 0.35s ease,
    transform 0.35s var(--spring-soft);
}

.floating-nav-wrap.tone-dark .nav-brand-pill,
.floating-nav-wrap.tone-dark .nav-tabs-pill,
.floating-nav-wrap.tone-dark .nav-actions-pill {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(12, 34, 27, 0.58) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 14px 36px rgba(3, 12, 9, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  color: var(--ink-light);
}

.floating-nav-wrap.tone-light .nav-brand-pill,
.floating-nav-wrap.tone-light .nav-tabs-pill,
.floating-nav-wrap.tone-light .nav-actions-pill {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88) 0%, rgba(244, 248, 246, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 14px 36px rgba(10, 32, 25, 0.11),
    0 0 0 1px rgba(13, 28, 23, 0.07),
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(13, 28, 23, 0.05);
  color: var(--ink-dark);
}

.nav-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 16px 6px 8px;
  min-height: 52px;
}

html[dir="rtl"] .nav-brand-pill {
  padding: 6px 8px 6px 16px;
}

.nav-brand-pill:hover {
  transform: translateY(-1px);
}

.brand-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-300);
  background: linear-gradient(145deg, var(--emerald-800), var(--emerald-950));
  border: 1px solid rgba(222, 192, 127, 0.55);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35), 0 4px 12px rgba(6, 23, 18, 0.3);
  flex-shrink: 0;
}

.brand-orb svg {
  width: 19px;
  height: 19px;
}

.brand-title {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* Center Liquid Glass Tab Bar */
.nav-tabs-pill {
  padding: 5px;
  display: flex;
  align-items: center;
}

.liquid-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  isolation: isolate;
}

.liquid-tabs .tab-thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: var(--radius-pill);
  z-index: 0;
  pointer-events: none;
  transition:
    transform 0.52s var(--spring),
    width 0.48s var(--spring),
    opacity 0.25s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform, width;
}

.floating-nav-wrap.tone-dark .nav-tabs-pill .tab-thumb,
.liquid-tabs.theme-dark .tab-thumb {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.13) 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.floating-nav-wrap.tone-light .nav-tabs-pill .tab-thumb,
.liquid-tabs.theme-light .tab-thumb {
  background: linear-gradient(180deg, #ffffff 0%, rgba(238, 244, 241, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow:
    0 5px 16px rgba(10, 32, 25, 0.14),
    0 0 0 1px rgba(13, 28, 23, 0.07),
    inset 0 1.5px 0 rgba(255, 255, 255, 1);
}

.nav-tab-item {
  position: relative;
  z-index: 1;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.floating-nav-wrap.tone-dark .nav-tab-item {
  color: rgba(244, 248, 246, 0.8);
}

.floating-nav-wrap.tone-dark .nav-tab-item:hover,
.floating-nav-wrap.tone-dark .nav-tab-item.is-active {
  color: #ffffff;
}

.floating-nav-wrap.tone-light .nav-tab-item {
  color: #2c4038;
}

.floating-nav-wrap.tone-light .nav-tab-item:hover {
  color: var(--emerald-950);
}

.nav-tab-item.is-active {
  font-weight: 700;
}

.floating-nav-wrap.tone-light .nav-tab-item.is-active {
  color: var(--emerald-800);
}

.nav-actions-pill {
  padding: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang-glass-btn {
  height: 40px;
  padding-inline: 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.25s ease;
}

.floating-nav-wrap.tone-dark .lang-glass-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.floating-nav-wrap.tone-light .lang-glass-btn:hover {
  background: rgba(13, 28, 23, 0.07);
}

.nav-cta-pill {
  height: 40px;
  padding-inline: 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--emerald-950);
  box-shadow: 0 6px 18px rgba(199, 163, 91, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.3s var(--spring), box-shadow 0.3s ease;
}

.nav-cta-pill:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 24px rgba(199, 163, 91, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.nav-cta-pill svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   Reusable Glass Tab Bars & Buttons
   ========================================================================== */
.glass-tab-bar {
  padding: 5px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
}

.glass-tab-bar::-webkit-scrollbar {
  display: none;
}

.glass-tab-bar.is-scrollable {
  width: 100%;
  justify-content: flex-start;
  padding-inline: 10px;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
}

.glass-tab-bar.is-scrollable .tab-btn {
  scroll-snap-align: center;
}

.glass-tab-bar.bar-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 28px rgba(0, 0, 0, 0.22);
}

.glass-tab-bar.bar-light {
  background: rgba(13, 28, 23, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 3px rgba(13, 28, 23, 0.07), 0 10px 30px rgba(10, 32, 25, 0.06);
}

.tab-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 0.28s ease;
}

.bar-dark .tab-btn {
  color: rgba(244, 248, 246, 0.74);
}

.bar-dark .tab-btn[aria-selected="true"] {
  color: #ffffff;
}

.bar-light .tab-btn {
  color: var(--ink-muted);
}

.bar-light .tab-btn[aria-selected="true"] {
  color: var(--emerald-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--spring), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  color: var(--emerald-950);
  box-shadow: 0 12px 30px rgba(199, 163, 91, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.btn-gold:hover {
  box-shadow: 0 16px 38px rgba(199, 163, 91, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.btn-glass-dark {
  background: rgba(255, 255, 255, 0.11);
  color: var(--ink-light);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn-glass-dark:hover {
  background: rgba(255, 255, 255, 0.19);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #159f4b 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(21, 159, 75, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.btn-whatsapp:hover {
  box-shadow: 0 16px 38px rgba(21, 159, 75, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Sections & Ambient Mesh Backgrounds
   ========================================================================== */
.section {
  position: relative;
  padding: 84px 0;
  overflow: hidden;
}

.section-light {
  background: var(--bg-light);
  color: var(--ink-dark);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--ink-light);
}

.ambient-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  will-change: transform;
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.mesh-orb.orb-2 {
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

.mesh-orb.orb-3 {
  animation-duration: 21s;
  animation-delay: -6s;
}

.section > .wrap,
.hero > .wrap {
  position: relative;
  z-index: 2;
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
}

.kicker-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 12px var(--gold-400);
}

.section-dark .kicker-pill,
.hero .kicker-pill {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold-300);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.section-light .kicker-pill {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 1);
  color: var(--emerald-700);
  box-shadow: 0 4px 14px rgba(10, 32, 25, 0.06), 0 0 0 1px rgba(13, 28, 23, 0.06);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-muted);
}

.section-dark .section-head p {
  color: var(--ink-light-muted);
}

.tabs-row {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

/* ==========================================================================
   HERO — Spatial Obsidian Liquid Glass Stage
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(900px, 100svh);
  padding: 132px 0 92px;
  background:
    radial-gradient(ellipse 80% 60% at 75% 32%, rgba(41, 143, 109, 0.28) 0%, transparent 62%),
    radial-gradient(ellipse 60% 55% at 18% 72%, rgba(199, 163, 91, 0.16) 0%, transparent 58%),
    linear-gradient(145deg, #05110e 0%, #091d18 48%, #0d2b22 100%);
  color: var(--ink-light);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 90%);
}

.hero .mesh-orb.orb-1 {
  width: 520px;
  height: 520px;
  background: rgba(41, 143, 109, 0.34);
  top: -120px;
  right: 8%;
}

.hero .mesh-orb.orb-2 {
  width: 440px;
  height: 440px;
  background: rgba(222, 192, 127, 0.2);
  bottom: -100px;
  left: 6%;
}

.hero .mesh-orb.orb-3 {
  width: 340px;
  height: 340px;
  background: rgba(70, 194, 151, 0.18);
  top: 40%;
  left: 44%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero-grid > *,
.about-grid > *,
.service-grid > *,
.steps-track > *,
.trust-bento > *,
.contact-grid > * {
  min-width: 0;
}

.hero-enter {
  animation: hero-spring-in 0.72s var(--spring-soft) both;
}

.hero-enter.d1 { animation-delay: 0.05s; }
.hero-enter.d2 { animation-delay: 0.13s; }
.hero-enter.d3 { animation-delay: 0.21s; }
.hero-enter.d4 { animation-delay: 0.29s; }

.headline {
  font-family: var(--display);
  margin: 0 0 22px;
}

.headline .line1 {
  display: block;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.headline .line2 {
  display: block;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.025em;
  margin-top: 4px;
  background: linear-gradient(120deg, var(--gold-300) 0%, #ffffff 42%, var(--gold-400) 75%, var(--gold-300) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-sheen 7s linear infinite;
}

.lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-light-muted);
  max-width: 540px;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #e2eee8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  max-width: 100%;
}

.trust-line svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* Hero Spatial Liquid Glass Diorama */
.hero-art {
  position: relative;
  perspective: 1200px;
}

.hero-glass-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 24px;
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease-apple);
}

.hero-frame-canvas {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(16, 48, 38, 0.72), rgba(7, 22, 18, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 18px 14px;
  overflow: hidden;
  z-index: 2;
}

.hero-frame-canvas::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(22deg);
  animation: glass-sweep 7.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-frame-canvas svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.hero-frame-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.hero-cred-tile {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-cred-tile small {
  display: block;
  font-size: 11px;
  color: var(--ink-light-muted);
  margin-bottom: 3px;
}

.hero-cred-tile strong {
  font-family: var(--display);
  font-size: 16px;
  color: var(--gold-300);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   ABOUT — Frosted Pearl Glass Bento
   ========================================================================== */
.about-section .mesh-orb.orb-1 {
  width: 440px;
  height: 440px;
  background: rgba(41, 143, 109, 0.11);
  top: 20px;
  inset-inline-start: -90px;
}

.about-section .mesh-orb.orb-2 {
  width: 380px;
  height: 380px;
  background: rgba(199, 163, 91, 0.14);
  bottom: -20px;
  inset-inline-end: -60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 44px;
  align-items: start;
}

.about-story-card {
  border-radius: var(--radius-xl);
  padding: 36px;
}

.about-copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16.5px;
  line-height: 1.9;
}

.diffs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.diffs li {
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.diffs li:hover {
  transform: translateY(-3px);
}

.icon-lens {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(27, 92, 72, 0.13), rgba(199, 163, 91, 0.16));
  border: 1px solid rgba(27, 92, 72, 0.18);
  color: var(--emerald-700);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.icon-lens svg {
  width: 22px;
  height: 22px;
}

.diffs h4 {
  font-family: var(--display);
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 700;
}

.diffs p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14.5px;
}

/* ==========================================================================
   SERVICES — Interactive Liquid Glass Tabbed Grid
   ========================================================================== */
.services-section {
  padding-top: 32px;
}

.services-section .mesh-orb.orb-1 {
  width: 460px;
  height: 460px;
  background: rgba(199, 163, 91, 0.14);
  top: 40px;
  inset-inline-end: -90px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-grid.is-single {
  grid-template-columns: minmax(0, 740px);
  justify-content: center;
}

.service {
  border-radius: var(--radius-xl);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.45s var(--spring-soft), box-shadow 0.45s ease, opacity 0.35s ease;
}

.service.is-hidden {
  display: none;
}

.service:hover {
  transform: translateY(-5px);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service .num {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-600);
  background: rgba(199, 163, 91, 0.14);
  border: 1px solid rgba(199, 163, 91, 0.28);
  font-variant-numeric: tabular-nums;
}

.service h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  margin: 4px 0 0;
}

.service p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.8;
}

/* ==========================================================================
   PROCESS — Dark Spatial Stage + Interactive 4-Step Liquid Glass Tabs
   ========================================================================== */
.process-section {
  background:
    radial-gradient(ellipse 75% 60% at 25% 25%, rgba(41, 143, 109, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 82% 80%, rgba(199, 163, 91, 0.14) 0%, transparent 58%),
    linear-gradient(180deg, #061310 0%, #0a1f1a 100%);
}

.process-progress-wrap {
  max-width: 780px;
  margin: 0 auto 30px;
}

.process-progress-track {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.process-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald-400), var(--gold-400));
  transition: width 0.55s var(--spring);
}

.step-tab-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-300);
  transition: background 0.3s ease, color 0.3s ease;
}

.tab-btn[aria-selected="true"] .step-tab-badge {
  background: var(--gold-400);
  color: var(--emerald-950);
}

.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  cursor: pointer;
  transition: transform 0.45s var(--spring), border-color 0.35s ease, box-shadow 0.45s ease, background 0.35s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card.is-active {
  border-color: rgba(222, 192, 127, 0.6);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.2) 0%, rgba(41, 143, 109, 0.18) 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(222, 192, 127, 0.25), inset 0 1.5px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-6px);
}

.step-card .snum {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(222, 192, 127, 0.4);
  color: var(--gold-300);
  margin-bottom: 18px;
  transition: background 0.35s ease, color 0.35s ease;
}

.step-card.is-active .snum {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--emerald-950);
  border-color: transparent;
}

.step-card h4 {
  font-family: var(--display);
  margin: 0 0 10px;
  font-size: 17.5px;
  color: #ffffff;
}

.step-card p {
  margin: 0;
  color: var(--ink-light-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ==========================================================================
   FAQ — 9 Sourced Ejar Questions with Liquid Glass Category Filter Tabs
   ========================================================================== */
.faq-section .mesh-orb.orb-1 {
  width: 460px;
  height: 460px;
  background: rgba(41, 143, 109, 0.12);
  top: 60px;
  inset-inline-start: -100px;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 22px;
  padding: 0;
  transition: transform 0.35s var(--spring-soft), border-color 0.3s ease, box-shadow 0.35s ease;
}

.faq-item.is-hidden {
  display: none;
}

.faq-item[open] {
  border-color: rgba(27, 92, 72, 0.32);
  box-shadow: 0 22px 48px rgba(10, 32, 25, 0.11), inset 0 1.5px 0 rgba(255, 255, 255, 1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-dark);
}

.faq-item summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  background: rgba(13, 28, 23, 0.06);
  color: var(--emerald-700);
  transition: transform 0.38s var(--spring), background 0.3s ease, color 0.3s ease;
}

.faq-item[open] summary::after {
  content: "+";
  transform: rotate(45deg);
  background: var(--emerald-800);
  color: #ffffff;
}

.faq-a {
  padding: 0 24px 22px;
  animation: fade-down 0.35s var(--spring-soft);
}

.faq-a p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.88;
}

.faq-src {
  max-width: 900px;
  margin: 26px auto 0;
  padding: 15px 20px;
  border-radius: 16px;
  background: rgba(199, 163, 91, 0.12);
  border: 1px solid rgba(199, 163, 91, 0.28);
  font-size: 13px;
  color: #5b4822;
  line-height: 1.8;
}

/* ==========================================================================
   CREDENTIALS — Spatial Obsidian Glass License Showcase
   ========================================================================== */
.trust-section {
  padding-top: 24px;
  padding-bottom: 36px;
}

.trust-stage-card {
  border-radius: var(--radius-xl);
  padding: 40px;
  background:
    radial-gradient(circle at 82% 20%, rgba(41, 143, 109, 0.3), transparent 55%),
    linear-gradient(145deg, #071914 0%, #10352a 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px rgba(7, 25, 20, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.trust-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.badge-glass {
  padding: 26px 28px;
  border-radius: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.35s var(--spring);
}

.badge-glass:hover {
  transform: translateY(-3px);
}

.badge-glass svg {
  width: 28px;
  height: 28px;
  color: var(--gold-300);
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-glass .label {
  font-size: 13.5px;
  color: var(--ink-light-muted);
  margin-bottom: 6px;
}

.badge-glass .value {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   CONTACT — Frosted Contact Tiles + Obsidian Liquid Glass WhatsApp Studio
   ========================================================================== */
.contact-section {
  padding-top: 44px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 44px;
  align-items: start;
}

.contact-lede {
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 460px;
  margin: 0 0 28px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  border-radius: 22px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-list li:hover {
  transform: translateY(-3px);
}

.contact-list .clabel {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.contact-list .cvalue {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-dark);
}

.contact-list .cvalue a:hover {
  color: var(--emerald-700);
}

.contact-studio {
  border-radius: var(--radius-xl);
  padding: 36px;
  background:
    radial-gradient(circle at 85% 15%, rgba(41, 143, 109, 0.34), transparent 55%),
    radial-gradient(circle at 12% 90%, rgba(199, 163, 91, 0.2), transparent 52%),
    linear-gradient(150deg, #071914 0%, #0d2b22 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 32px 70px rgba(7, 25, 20, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.contact-studio h3 {
  font-family: var(--display);
  font-size: 24px;
  margin: 0 0 8px;
}

.contact-studio > p {
  color: var(--ink-light-muted);
  font-size: 14.5px;
  margin: 0 0 24px;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #dce9e3;
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14.5px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(230, 240, 235, 0.56);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(222, 192, 127, 0.18);
}

.field textarea {
  min-height: 98px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #040e0b;
  color: var(--ink-light-muted);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}

.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-grid > div:first-child p {
  margin: 0;
  font-size: 14px;
  max-width: 380px;
  line-height: 1.8;
}

.footer-col h5 {
  font-family: var(--display);
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-300);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a,
.footer-col li {
  font-size: 14px;
  color: var(--ink-light-muted);
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 22px;
  font-size: 13px;
  text-align: center;
  opacity: 0.78;
}

/* ==========================================================================
   Floating Liquid Glass WhatsApp Orb
   ========================================================================== */
.float-wa {
  position: fixed;
  z-index: 80;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.94), rgba(18, 148, 69, 0.92));
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(10, 48, 28, 0.36), inset 0 1.5px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.35s var(--spring), box-shadow 0.35s ease;
}

.float-wa:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 18px 40px rgba(18, 148, 69, 0.5), inset 0 1.5px 0 rgba(255, 255, 255, 0.85);
}

.float-wa svg {
  width: 27px;
  height: 27px;
}

.float-wa::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 211, 102, 0.65);
  animation: orb-ring 2.8s ease-out infinite;
  pointer-events: none;
}

/* ==========================================================================
   iOS 26 Floating Bottom Liquid Glass Tab Dock (Mobile)
   ========================================================================== */
.mobile-glass-dock {
  display: none;
}

/* ==========================================================================
   Scroll Reveals & Keyframes (GPU-Only Transform + Opacity for 60/120fps)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.62s var(--spring-soft), transform 0.62s var(--spring-soft);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes hero-spring-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes orb-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(26px, -20px, 0) scale(1.07); }
  100% { transform: translate3d(-20px, 16px, 0) scale(0.96); }
}

@keyframes text-sheen {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

@keyframes glass-sweep {
  0%, 15% { transform: translateX(-140%) rotate(22deg); opacity: 0; }
  35% { opacity: 0.9; }
  60%, 100% { transform: translateX(310%) rotate(22deg); opacity: 0; }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@keyframes orb-ring {
  0% { transform: scale(0.85); opacity: 0.75; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile iOS 26 Experience)
   ========================================================================== */
@media (max-width: 1040px) {
  .nav-tabs-pill {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .hero {
    min-height: auto;
    padding: 112px 0 76px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .section {
    padding: 52px 0;
  }

  .about-section {
    padding: 48px 0 32px;
  }

  .services-section {
    padding: 20px 0 52px;
  }

  .process-section {
    padding: 56px 0;
  }

  .faq-section {
    padding: 52px 0 28px;
  }

  .trust-section {
    padding: 12px 0 24px;
  }

  .contact-section {
    padding: 24px 0 52px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .tabs-row {
    margin-bottom: 24px;
  }

  .floating-nav-wrap {
    top: 10px;
    padding-inline: 12px;
  }

  .nav-brand-pill {
    min-height: 46px;
    padding: 4px 12px 4px 6px;
  }

  html[dir="rtl"] .nav-brand-pill {
    padding: 4px 6px 4px 12px;
  }

  .brand-orb {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 12.5px;
  }

  .nav-cta-pill {
    display: none;
  }

  .hero {
    padding: 86px 0 42px;
  }

  .hero-grid {
    gap: 20px;
  }

  .headline {
    margin-bottom: 12px;
  }

  .lede {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  /* Side-by-side compact CTA pills on mobile (saves vertical height) */
  .cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .cta-row .btn {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    font-size: 13px;
    gap: 7px;
    white-space: nowrap;
  }

  .trust-line {
    border-radius: 16px;
    padding: 8px 13px;
    font-size: 11.5px;
  }

  .hero-glass-frame {
    padding: 14px;
    border-radius: 24px;
  }

  .hero-frame-canvas {
    padding: 12px 12px 8px;
    border-radius: 16px;
  }

  .hero-frame-canvas svg {
    max-height: 175px;
    margin-inline: auto;
  }

  /* Keep hero credentials side-by-side (2 columns) on mobile */
  .hero-frame-credentials {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .hero-cred-tile {
    padding: 10px 11px;
    border-radius: 14px;
  }

  .hero-cred-tile small {
    font-size: 10px;
    line-height: 1.35;
    margin-bottom: 4px;
  }

  .hero-cred-tile strong {
    font-size: 14.5px;
  }

  /* Compact 2x2 Bento grids on mobile to keep page height concise */
  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .service-grid.is-single {
    grid-template-columns: 1fr;
  }

  .service {
    padding: 18px 14px;
    border-radius: 20px;
    gap: 8px;
  }

  .service .icon-lens {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .service .icon-lens svg {
    width: 18px;
    height: 18px;
  }

  .service .num {
    padding: 3px 9px;
    font-size: 11px;
  }

  .service h3 {
    font-size: 15px;
    line-height: 1.35;
  }

  .service p {
    font-size: 12.5px;
    line-height: 1.65;
  }

  .steps-track {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .step-card {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .step-card .snum {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 12.5px;
    margin-bottom: 12px;
  }

  .step-card h4 {
    font-size: 14.5px;
    margin-bottom: 6px;
  }

  .step-card p {
    font-size: 12.5px;
    line-height: 1.6;
  }

  /* Keep Credentials badges side-by-side (2 columns) on mobile */
  .trust-bento {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .badge-glass {
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px;
    border-radius: 18px;
  }

  .badge-glass svg {
    width: 22px;
    height: 22px;
  }

  .badge-glass .label {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 4px;
  }

  .badge-glass .value {
    font-size: 17px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-story-card,
  .trust-stage-card,
  .contact-studio {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .diffs {
    gap: 10px;
  }

  .diffs li {
    padding: 16px 16px;
    border-radius: 18px;
  }

  .contact-list li {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .tab-btn {
    padding: 8px 11px;
    font-size: 12px;
    gap: 6px;
  }

  .glass-surface {
    backdrop-filter: blur(20px) saturate(175%);
    -webkit-backdrop-filter: blur(20px) saturate(175%);
  }

  .faq-item summary {
    padding: 17px 18px;
  }

  .faq-item summary h3 {
    font-size: 14.5px;
  }

  .faq-a {
    padding: 0 18px 18px;
  }

  /* iOS 26 Floating Bottom Glass Dock */
  .mobile-glass-dock {
    position: fixed;
    z-index: 95;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
    max-width: calc(100vw - 24px);
    margin-inline: auto;
  }

  .mobile-dock-pill {
    pointer-events: auto;
    flex: 1;
    min-width: 0;
    max-width: calc(100vw - 92px);
    padding: 5px;
    border-radius: var(--radius-pill);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(242, 246, 244, 0.78) 100%);
    border: 1px solid rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(30px) saturate(210%);
    -webkit-backdrop-filter: blur(30px) saturate(210%);
    box-shadow: 0 16px 38px rgba(6, 23, 18, 0.22), inset 0 1.5px 0 rgba(255, 255, 255, 1);
    overflow: hidden;
  }

  .mobile-dock-pill .liquid-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .mobile-dock-link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 7px 4px;
    border-radius: var(--radius-pill);
    color: var(--ink-muted);
    font-size: 10px;
    font-weight: 600;
    transition: color 0.25s ease;
  }

  .mobile-dock-link svg {
    width: 18px;
    height: 18px;
  }

  .mobile-dock-link.is-active {
    color: var(--emerald-800);
  }

  .mobile-dock-cta {
    pointer-events: auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--gold-300), var(--gold-500));
    color: var(--emerald-950);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 14px 32px rgba(6, 23, 18, 0.28), inset 0 1.5px 0 rgba(255, 255, 255, 0.85);
  }

  .mobile-dock-cta svg {
    width: 22px;
    height: 22px;
  }

  .float-wa {
    inset-block-end: calc(82px + env(safe-area-inset-bottom));
    inset-inline-start: 14px;
    width: 50px;
    height: 50px;
  }

  .float-wa svg {
    width: 23px;
    height: 23px;
  }

  footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

/* Ultra-narrow screens (<= 359px): graceful single-column fallback */
@media (max-width: 359px) {
  .cta-row,
  .hero-frame-credentials,
  .service-grid,
  .steps-track,
  .trust-bento {
    grid-template-columns: 1fr;
  }
}

@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 {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
