.why-us .why__item .squares-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* events handled on item */
}

.why-us .why__item .squares-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* 
  Sysdevcode Technologies — Kerala Premium One-Page (Static)
  Visual language: off-black bg, off-white text, Kerala green accent
  Motion is handled by GSAP; we only animate transform + opacity.
*/

:root {
  --bg: #0b0e11;
  /* off-black */
  --surface: #11151a;
  /* slightly lighter for surfaces */
  --text: #e6e6e6;
  /* off-white */
  --muted: #94a3b8;
  /* slate-300/400 */
  --accent: #22c55e;
  /* Kerala green */
  --accent-ink: #06240f;
  /* deep green ink for contrast on accent */

  /* Brand tokens used within testimonial component */
  --brand-black: #0b0e11;
  --brand-orange: #ff7a00;
  --brand-yellow: #f4d35e;
  --secondary-text: #94a3b8;

  --maxw: 1200px;
  --radius: 10px;

  /* Fluid type scale */
  --step--1: clamp(0.88rem, 0.86rem + 0.1vw, 0.95rem);
  --step-0: clamp(1rem, 0.98rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.6rem, 1.4rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.8rem + 3vw, 3.8rem);
  --step-4: clamp(3rem, 2.2rem + 5vw, 5rem);
}

/* Reset / base */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  font-family: 'Outfit', 'Noto Sans Malayalam', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Noto Sans', 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  font-size: var(--step-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior: none;
}

@font-face {
  font-family: 'Noir';
  src: url('/font/Noir_medium.woff');
  font-weight: 500;
  font-style: normal;
}

/* Disable scroll during loader */
body.is-loading {
  overflow: hidden;
}

::selection {
  background: color-mix(in oklab, var(--accent) 50%, transparent);
  color: var(--text);
}

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

.container {
  width: min(92vw, var(--maxw));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 6vw, 120px);
}

.muted {
  color: var(--muted);
}

/* Buttons */
.btn {
  --pad-y: 14px;
  --pad-x: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  will-change: transform;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  border-color: #2b2f35;
  color: var(--text);
}

.btn--ghost:hover {
  border-color: #3a4048;
}

/* Soft pill button (for trust/ratings) */
.btn--soft {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.btn--soft:hover {
  border-color: rgba(255, 255, 255, 0.24);
  filter: brightness(1.05);
}

.btn--soft .stars {
  display: inline-flex;
  gap: 3px;
  color: var(--brand-yellow);
  align-items: center;
  font-size: 1rem;
}

/* Dark CTA button (hero primary) */
.btn--dark {
  background: #111317;
  color: #ffffff;
  border-color: #1b2026;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.btn--dark:hover {
  filter: brightness(1.05);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  pointer-events: none;
}

#loader .loader__inner {
  text-align: center;
}

#loader .loader-line {
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0;
  letter-spacing: -0.02em;
  font-size: var(--step-2);
  opacity: 0;
  transform: translateY(40px);
}

#loader .loader-line:first-child {
  font-size: var(--step-2);
}

#loader .loader-line:last-child {
  font-size: var(--step-1);
  color: var(--muted);
  font-weight: 600;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.hero .container {
  text-align: center;
}

.hero__title {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.hero__title .mark {
  display: inline-block;
  padding: 0.08em 0.4em;
  border-radius: 999px;
  line-height: 0.95;
}

.hero__title .mark--yellow {
  background: var(--brand-yellow);
  color: #0b0e11;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

/* Ensure gradient-capable elements are inline-block */
.hero__title .google-word,
.hero__title .google-word span,
.hero__title .word.google-word {
  display: inline-block;
}

/* Fallback solid color for browsers without text background-clip */
.hero__title .google-word {
  color: #9b51e0;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {

  .hero__title .google-word,
  .hero__title .google-word *,
  .hero__title .word.google-word,
  .hero__title .word.google-word * {
    background: linear-gradient(90deg, #4285F4 0%, #9b51e0 55%, #EA4335 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.hero__kicker {
  font-size: var(--step-2);
  color: var(--text);
  margin: 0 0 14px 0;
  opacity: 0.92;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.hero__kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: inline-block;
}

.hero__sub {
  color: var(--muted);
  margin: 0 0 22px 0;
}

.hero .btn-row {
  justify-content: center;
}

@media (max-width: 768px) {
  .hero__kicker {
    font-size: 1rem;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__sub {
    font-size: 0.8rem;
  }

  .hero .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .hero .btn-row {
    gap: 10px;
    width: 100%;
    flex-direction: column;
  }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Headings and text helpers */
.h2 {
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px 0;
}

.lead {
  font-size: var(--step-1);
  margin: 0 0 10px 0;
}

/* Problem Section */
.problem {
  position: relative;
  overflow: clip;
}

.problem .parallax-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to top, rgba(11, 14, 17, 0.9), rgba(11, 14, 17, 0.4)), url('https://i.pinimg.com/1200x/37/ea/24/37ea24ade5b606ce71e939509a6f88be.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
  transform: translateZ(0);
}

.problem .container {
  max-width: 900px;
}

/* Services (Pinned) */
.services .services__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .services .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid #1b2026;
  border-radius: var(--radius);
  padding: 22px;
  will-change: transform, opacity;
}

.service-card h3 {
  margin: 0 0 8px 0;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: color-mix(in oklab, var(--accent) 85%, white 0%);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.badge-popular {
  transform: translateY(-6px) scale(0.9);
  opacity: 0;
}

/* Local Trust */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: transparent;
  border-radius: var(--radius);
  padding: 6px;
}

.trust-item .icon {
  font-size: 28px;
  line-height: 1;
}

.trust-item h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.trust-item p {
  margin: 0;
}

/* Stats */
.stats__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

@media (max-width: 680px) {
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.stat {
  background: var(--surface);
  border: 1px solid #1b2026;
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}

.stat__number {
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 6px;
  font-weight: 500;
}

/* Testimonials */
.testimonials__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.t-card {
  background: var(--surface);
  border: 1px solid #1b2026;
  border-radius: var(--radius);
  padding: 20px;
  will-change: transform, opacity;
}

.t-quote {
  margin: 0 0 10px 0;
  color: var(--text);
}

.t-author {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06), transparent 60%);
}

.final-cta .btn-row {
  justify-content: center;
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid #171b21;
}

/* ==========================
   Stacked Testimonials
   ========================== */
.testimonials {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.testimonials .container {
  width: min(92vw, var(--maxw));
  margin-inline: auto;
}

.testimonials .h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.testimonials .t-stack {
  margin-top: 6rem;
}

.t-stack {
  position: relative;
  min-height: 360px;
}

.t-stack .t-card {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 720px;
  width: min(92vw, 400px);
  height: 28rem;
  /* Requested fixed height */
  background: var(--surface);
  color: var(--text);
  border: 1px solid #1b2026;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  will-change: transform, opacity;
  cursor: pointer;
  overflow: hidden;
}

.t-stack .t-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Soft internal shadow layer (animated via opacity only) */
  background: radial-gradient(120% 80% at 50% 120%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0) 70%);
  opacity: 0;
  /* default at rest */
  transition: opacity 220ms ease;
}

.t-stack.is-spread .t-card::before {
  opacity: 0.22;
}

.t-stack .t-card .t-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* fill the card for vertical centering */
  justify-content: center;
  /* vertical center */
  align-items: center;
  /* horizontal center */
  text-align: center;
  padding: clamp(18px, 2.5vw, 28px);
}

.t-stack .t-quote {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.t-stack .t-author {
  margin-top: 10px;
  font-weight: 600;
  color: var(--secondary-text);
}

/* Stars styling */
.t-stack .stars {
  display: flex;
  gap: 4px;
  font-size: 1.1rem;
  color: #fff;
}

.t-stack .card-white .stars,
.t-stack .card-yellow .stars,
.t-stack .card-grey .stars {
  color: var(--brand-orange);
}

/* Visual variants (use brand tokens) */
.t-stack .card-white {
  background: #ffffff;
  color: #0b0e11;
  border-color: rgba(0, 0, 0, 0.1);
}

.t-stack .card-white .t-author {
  color: rgba(0, 0, 0, 0.6);
}

.t-stack .card-yellow {
  background: var(--brand-yellow);
  color: #1b1f24;
  border-color: rgba(0, 0, 0, 0.06);
}

.t-stack .card-yellow .t-author {
  color: rgba(0, 0, 0, 0.6);
}

.t-stack .card-dark {
  background: var(--brand-black);
  color: var(--text);
  border-color: #1b2026;
}

/* Additional visual variants to match shared design */
.t-stack .card-black {
  background: var(--brand-black);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.06);
}

.t-stack .card-orange {
  background: var(--brand-orange);
  color: var(--brand-black);
  border-color: rgba(0, 0, 0, 0.06);
}

.t-stack .card-grey {
  background: #f5f5f5;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.05);
}

/* Empty handling */
.t-stack .t-card.is-empty {
  display: none;
}

/* Hover/interaction subtlety (no heavy effects) */
.t-stack .t-card:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--brand-yellow) 40%, white 0%);
  outline-offset: 2px;
}

/* Mobile behavior: keep stacked layout, fit to viewport */
@media (max-width: 768px) {
  .t-stack {
    position: relative;
    min-height: 70vh;
  }

  .t-stack .t-card {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(92vw, 380px);
    height: 22rem;
    transform: none !important;
  }
}

/* ==========================
   Local Trust (Redesigned)
   ========================== */
.local-trust {
  position: relative;
  overflow: hidden;
  height: 140vh;
  border-radius: 0 0 30px 30px;
  background-color: azure;
  overflow: hidden;
  clip-path: ellipse(200% 100% at bottom);
  margin-top: 24rem;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background: azure;
  transform: scale(1.2);
  /* prevents edge gaps */
  will-change: transform;
}

/* Dot grid background canvas layer */
.dot-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* above parallax-bg, below content */
}

/* Disable canvas backgrounds on mobile to save CPU/battery */
@media (max-width: 768px) {

  .dot-grid-bg,
  .why-us .why__item .squares-bg {
    display: none !important;
  }
}

/* Modal (Google Form) */
.modal[aria-hidden="true"] {
  display: none;
}

.modal[aria-hidden="false"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}

.modal__dialog {
  position: relative;
  z-index: 9999;
  width: min(90vw, 480px);
  margin: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__title {
  margin: 0;
  padding: 28px 28px 0 28px;
  border-bottom: none;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #11151a;
}

.modal__body {
  padding: 28px;
}

.modal__iframe {
  width: 100%;
  height: min(80vh, 820px);
  display: block;
  border: 0;
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  z-index: 10;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #11151a;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .modal__dialog {
    width: 94vw;
    bottom: 0;
    margin-bottom: 0;
    border-radius: 24px 24px 0 0;
    animation: slideUpMobile 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .modal[aria-hidden="false"] {
    align-items: flex-end;
  }

  @keyframes slideUpMobile {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }
}

/* Custom form fields */
.cform {
  padding: 0;
}

.cform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cform__grid .field--full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 8px;
}

.field .label {
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
  margin-left: 2px;
}

.field input,
.field textarea {
  width: 100%;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #b91c1c;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.25);
}

.field__error {
  color: #fca5a5;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.field.is-invalid .field__error {
  display: block;
}

.cform__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.cform__actions .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  color: #000;
}

.cform__hint {
  margin-top: 16px;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .cform__grid {
    grid-template-columns: 1fr;
  }
}

/* Toast (non-blocking) */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  z-index: 10000;
  background: #101419;
  color: var(--text);
  border: 1px solid #1b2026;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.local-trust-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: start;
}

.local-trust .lt-heading {
  text-align: center;
  margin-bottom: 3.6rem;
  color: #212121
    /* fallback */
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .local-trust .lt-heading {
    background: linear-gradient(180deg, var(--text), color-mix(in oklab, var(--text) 86%, transparent));
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.local-trust .lt-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(22px, 4.2vw, 54px);
  align-items: start;
}

@media (max-width: 860px) {
  .local-trust .lt-wrap {
    grid-template-columns: 1fr;
  }

  .local-trust {
    height: auto;
    clip-path: none;
    border-radius: 0;
    padding-bottom: 60px;
  }
}

.local-trust .lt-copy {
  display: grid;
  gap: 44px;
}

.local-trust .lt-p {
  margin: 0;
  color: #212121;
  font-size: var(--step-0);
  max-width: 60ch;
  opacity: 1;
}

.local-trust .lt-highlight {
  position: relative;
  background: var(--brand-yellow);
  border: 1px solid #1b2026;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(18px, 3.2vw, 26px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transform: translateZ(0);
  --sheen-o: 0;
  /* animated via GSAP */
  opacity: 1;
  /* ensure visible by default */
  height: 20rem;
  align-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .local-trust .lt-highlight {
    height: auto;
  }
}

.local-trust .lt-kicker {
  margin: 0 0 8px 0;
  font-weight: 700;
  font-size: var(--step-1);
  color: #212121;
  font-family: Noir;
}

.local-trust .lt-note {
  margin: 0;
  color: #212121;
}

/* Sheen overlay (opacity-only animation via CSS var) */
.local-trust .lt-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.0) 20%, rgba(255, 255, 255, 0.22) 40%, rgba(255, 255, 255, 0.0) 60%);
  opacity: var(--sheen-o);
}

/* Ambient glow background */
.local-trust::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 52vw;
  height: 52vw;
  max-width: 780px;
  aspect-ratio: 1/1;
  right: -20vw;
  top: -10vw;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--accent) 28%, transparent) 0%, transparent 60%);
  filter: blur(50px) saturate(120%);
  opacity: 0.25;
}

.local-trust::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  max-width: 640px;
  aspect-ratio: 1/1;
  left: -18vw;
  bottom: -8vw;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  filter: blur(60px);
  opacity: 0.18;
}

/* Theme variants for highlight card */
.local-trust.theme-orange .lt-highlight {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand-orange) 18%, transparent), rgba(0, 0, 0, 0.04));
}

.local-trust.theme-yellow .lt-highlight {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand-yellow) 24%, transparent), rgba(0, 0, 0, 0.04));
}

/* ==========================
   How We Help You Grow
   ========================== */
.how-help {
  position: relative;
}

.how-help .lead {
  margin: 0 0 18px 0;
}

.how-help .help__wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.how-help .help__viewport {
  position: relative;
  min-height: clamp(280px, 55vh, 520px);
  overflow: hidden;
}

.how-help .help__list {
  position: relative;
  height: 80vh;
}

.how-help .help__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  border-top: 1px solid transparent;
}

.how-help .help__item:last-child {
  border-bottom: 1px solid transparent;
}

.help__img {
  width: 30rem;
  border-radius: 30px;
}

.how-help .help__title {
  margin: 0;
  font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem);
  letter-spacing: -0.01em;
}

.how-help .help__title .k {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .how-help .help__wrap {
    grid-template-columns: 1fr;
  }

  /* Keep stacked layout on mobile as well */
  .how-help .help__viewport {
    min-height: 70vh;
  }

  .how-help .help__list {
    height: 70vh;
  }

  .help__img {
    width: min(88vw, 460px);
    border-radius: 24px;
  }
}

/* ==========================
   Why Us
   ========================== */
.why-us {
  position: relative;
}

.why-us .why__grid {
  position: relative;
  min-height: clamp(260px, 50vh, 460px);
}

.why-us .why__item {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  background: transparent;
  border: 1px solid #3b3c3f;
  border-radius: var(--radius);
  padding: 14px 16px;
  overflow: hidden;
  /* contain canvas */
}

.why-us .why__item p {
  margin: 0;
  color: var(--text);
  font-size: 3rem;
  position: relative;
  z-index: 2;
  /* above background canvas */
}

.why-us .why__item .em {
  color: var(--accent);
  font-weight: 700;
  font-size: 3rem;
}

@media (max-width: 768px) {
  .why-us .why__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .why-us .why__item {
    position: relative;
    place-items: initial;
    text-align: left;
  }

  .why-us .why__item p,
  .why-us .why__item .em {
    font-size: 1.5rem;
  }
}

/* ==========================
   Our Simple Process
   ========================== */
.process {
  position: relative;
}

.process .process__steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  position: relative;
  min-height: clamp(260px, 45vh, 420px);
}

.process .process__step {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid #1b2026;
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.process .step__num {
  font-weight: 900;
  font-size: 11rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.process .step__title {
  margin: 0;
  font-size: 11rem;
}

@media (max-width: 768px) {
  .process .process__steps {
    display: grid;
    gap: 12px;
    min-height: 0;
  }

  .process .process__step {
    position: relative;
  }
}

/* Mobile overrides: Process section */
@media (max-width: 768px) {
  .process .process__steps {
    display: grid;
    gap: 12px;
    min-height: 0;
  }

  .process .process__step {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    padding: 14px;
  }

  .process .step__num {
    font-size: 2.4rem;
    line-height: 1;
  }

  .process .step__title {
    font-size: 1.25rem;
    line-height: 1.2;
  }
}

/* Mobile fix: prevent Local Trust from overlapping How Help */
@media (max-width: 768px) {
  #local-trust.panel {
    transform: none !important;
  }

  .local-trust {
    height: auto;
    clip-path: none;
    border-radius: 0;
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .local-trust .parallax-bg {
    z-index: 0;
  }

  .local-trust .local-trust-container {
    position: relative;
    z-index: 2;
  }
}

/* ==========================
   Navbar & Nav Modal
   ========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.navbar__toggle {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
  display: grid;
  place-items: center;
}

.navbar__toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Navbar auto-hide states */
.navbar {
  will-change: transform, background, padding;
  transform: translateY(0);
  backdrop-filter: none;
}
.navbar--hidden {
  transform: translateY(-110%);
}
.navbar--scrolled {
  background: rgba(5, 7, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 0;
}

/* Nav Modal (Premium Awwwards Style) */
.nav-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  /* GSAP will handle this */
}

.nav-modal[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.nav-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, 0.85);
  /* Deep dark overlay */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  /* GSAP handles fade */
}

.nav-modal__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nav-modal__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  width: min(90vw, 1200px);
  gap: 60px;
  align-items: center;
}

/* Left: Links */
.nav-modal__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  /* Muted by default */
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: -0.03em;
  transition: color 0.3s ease, transform 0.3s ease;
  transform-origin: left center;
  overflow: hidden;
  /* For text reveal */
}

.nav-link__num {
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  font-family: monospace;
  transform: translateY(-10px);
}

.nav-link__text {
  display: block;
  position: relative;
}

/* Hover Interaction */
.nav-link:hover {
  color: #ffffff;
  transform: translateX(20px);
}

.nav-link.nav-link--cta {
  color: var(--accent);
}

.nav-link.nav-link--cta:hover {
  color: #ffffff;
}

/* Right: Context Panel */
.nav-modal__context {
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 60px;
  opacity: 0;
  /* GSAP handles fade */
}

.nav-context__block p {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

.nav-context__label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

/* Close Button */
.nav-modal__close {
  position: absolute;
  top: 32px;
  right: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.nav-modal__close:hover {
  background: #ffffff;
  color: #000000;
  transform: rotate(90deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-modal__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .nav-modal__links {
    align-items: center;
  }

  .nav-link {
    font-size: 2.8rem;
    gap: 10px;
  }

  .nav-link__num {
    display: none;
    /* Hide numbers on mobile for cleaner look */
  }

  .nav-link:hover {
    transform: none;
    /* Disable shift on touch */
    color: #ffffff;
  }

  .nav-modal__context {
    border-left: none;
    padding-left: 0;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
  }

  .nav-modal__close {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
}