/* ==========================================================================
   MK TechLogic — style.css
   Design tokens → base → components → sections → utilities
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors */
  --orange: #FF6B00;
  --orange-2: #FF8C32;
  --orange-btn: #EE5A00;
  --orange-btn-hover: #D14E00;
  --orange-text: #C24E00;       /* AA-compliant orange for small text on light bg */
  --tint: #FFF1E6;
  --bg: #FFF9F5;
  --ink: #1A1A1A;
  --ink-2: #5F6368;
  --ink-3: #8A8F98;
  --card: #FFFFFF;
  --card-border: #FFE3D1;
  --hairline: #F3E4D8;

  /* Dark surfaces */
  --dark: #171310;
  --dark-2: #221B15;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-text: #F5EFE9;
  --dark-text-2: rgba(245, 239, 233, 0.72);

  /* Status */
  --error: #C5221F;
  --error-bg: #FCEDEB;
  --success: #1E9E6A;

  /* Typography */
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --fs-h1: clamp(2.35rem, 6.2vw, 4.35rem);
  --fs-h2: clamp(1.7rem, 3.4vw, 2.55rem);
  --fs-h3: 1.15rem;
  --fs-lead: clamp(1.02rem, 1.6vw, 1.18rem);

  /* Spacing / radii / shadows */
  --section-pad: clamp(4.5rem, 9vw, 7rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(26, 15, 5, 0.05);
  --shadow: 0 14px 40px -12px rgba(255, 107, 0, 0.16), 0 4px 14px rgba(26, 15, 5, 0.05);
  --shadow-lg: 0 30px 70px -20px rgba(255, 107, 0, 0.28), 0 10px 24px rgba(26, 15, 5, 0.07);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

html :is(h1, h2, h3, h4) {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

html h1 { font-size: var(--fs-h1); }
html h2 { font-size: var(--fs-h2); font-weight: 700; }
html h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

a { color: var(--orange-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-btn-hover); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; }

::selection { background: rgba(255, 107, 0, 0.22); }

:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.6);
  outline-offset: 3px;
  border-radius: 4px;
}

section { scroll-margin-top: calc(var(--header-h) + 16px); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.5vw, 2.75rem);
}

.section { padding-block: var(--section-pad); }
.section-tint { background: linear-gradient(180deg, var(--bg) 0%, var(--tint) 22%, var(--tint) 78%, var(--bg) 100%); }

.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-sub { color: var(--ink-2); font-size: var(--fs-lead); margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--orange-2); }

.accent-word {
  font-style: normal;
  color: var(--orange);
  position: relative;
}

.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.72rem 1.5rem;
  border: 0; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-2) 0%, var(--orange-btn) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255, 107, 0, 0.55);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-btn-hover) 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(255, 107, 0, 0.55); }

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--orange); color: var(--orange-text); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.35); }

.btn-outline-light { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(26, 26, 26, 0.4); }
.btn-outline-light:hover { background: rgba(26, 26, 26, 0.06); color: var(--ink); transform: translateY(-2px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  color: var(--orange-text); text-decoration: none;
}
.text-link svg { transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
/* Blur lives on a pseudo so the fixed mobile panel isn't trapped in a
   backdrop-filter containing block (it must size to the viewport). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 249, 245, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}
.site-header.is-scrolled {
  border-bottom-color: var(--card-border);
  box-shadow: 0 6px 24px -12px rgba(26, 15, 5, 0.14);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.brand-mark { flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  color: var(--ink); letter-spacing: -0.01em; white-space: nowrap;
}
.brand-name b { font-weight: 800; color: var(--orange); }
.brand:hover .brand-name { color: var(--ink); }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; }
.nav-list a {
  position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 0.93rem;
  color: var(--ink-2); text-decoration: none; padding: 0.4rem 0;
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after, .nav-list a[aria-current]::after { transform: scaleX(1); }
.nav-list a[aria-current] { color: var(--ink); }

.nav-cta { white-space: nowrap; }
.nav-email { display: none; font-family: var(--font-mono); font-size: 0.85rem; color: var(--orange-text); text-decoration: none; }

.nav-toggle {
  display: none; position: relative; z-index: 220;
  width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--card-border);
  color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
  transition: box-shadow 0.2s var(--ease);
}
.nav-toggle:hover { box-shadow: inset 0 0 0 1.5px var(--orange); }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 6vw, 5.5rem); }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 0%, transparent 70%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(70px);
  will-change: transform;
}
.orb-1 { width: 480px; height: 480px; top: -160px; right: -120px; background: rgba(255, 107, 0, 0.16); }
.orb-2 { width: 340px; height: 340px; bottom: -140px; left: -140px; background: rgba(255, 140, 50, 0.14); }

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem); align-items: center;
}

.hero-title { margin-bottom: 1.1rem; }
.mask-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mask-line > span {
  display: block;
  transform: translateY(112%);
  animation: rise-up 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise-up { to { transform: translateY(0); } }

.hero-anim { opacity: 0; animation: fade-up 0.8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.hero-underline { width: clamp(140px, 16vw, 220px); height: 12px; margin: -0.4rem 0 1.1rem 0.2rem; }
.underline-path {
  stroke-dasharray: 230; stroke-dashoffset: 230;
  animation: draw 0.9s var(--ease) forwards; animation-delay: 0.95s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lead { color: var(--ink-2); font-size: var(--fs-lead); max-width: 34rem; margin-bottom: 1.8rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.9rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }
.hero-trust svg { color: var(--orange); flex-shrink: 0; }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange); position: relative; flex-shrink: 0;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(255, 107, 0, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }

/* Hero visual — browser mockup */
.hero-visual { position: relative; perspective: 1200px; }

.browser {
  position: relative; z-index: 2;
  background: #0F172A; border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: #0B1120; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #FF5F57; } .dot-y { background: #FEBC2E; } .dot-g { background: #28C840; }
.browser-url {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 10px;
  background: rgba(255, 255, 255, 0.08); color: #94A3B8;
  font-family: var(--font-mono); font-size: 0.7rem;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}

.browser-body { display: grid; grid-template-columns: 1.04fr 1fr; min-height: 288px; }
.browser-code {
  padding: 18px 20px;
  font-family: var(--font-mono); font-size: 0.74rem; line-height: 2.05;
  color: #94A3B8; border-right: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap; overflow: hidden;
}
.c-key { color: var(--orange-2); }
.c-var { color: #E6EDF3; }
.c-op, .c-pun { color: #7C8CA5; }
.c-fn { color: #FDBA74; }
.c-str { color: #6EE7B7; }
.c-bool { color: #6EE7B7; }
.c-com { color: #64748B; }
.cursor { display: inline-block; width: 8px; height: 15px; margin-left: 6px; background: var(--orange-2); vertical-align: middle; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.browser-preview { background: var(--bg); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.pv-nav { display: flex; align-items: center; gap: 8px; }
.pv-logo { width: 38px; height: 11px; border-radius: 6px; background: var(--ink); }
.pv-links { display: flex; gap: 6px; margin-left: auto; }
.pv-links i { width: 24px; height: 6px; border-radius: 3px; background: #E8DDD3; }
.pv-btn { width: 42px; height: 15px; border-radius: 999px; background: linear-gradient(135deg, var(--orange-2), var(--orange)); }
.pv-hero { display: flex; flex-direction: column; gap: 8px; }
.pv-chip { width: 70px; height: 10px; border-radius: 999px; background: var(--card-border); }
.pv-h1 { width: 88%; height: 15px; border-radius: 8px; background: var(--ink); }
.pv-h1.short { width: 58%; background: var(--orange); }
.pv-p { width: 92%; height: 7px; border-radius: 4px; background: #E8DDD3; }
.pv-p.short { width: 66%; }
.pv-row { display: flex; gap: 8px; margin-top: 4px; }
.pv-cta { width: 84px; height: 26px; border-radius: 999px; background: linear-gradient(135deg, var(--orange-2), var(--orange-btn)); }
.pv-ghost { width: 66px; height: 26px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--card-border); background: #fff; }
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.pv-cards span { height: 54px; background: #fff; border: 1px solid var(--card-border); border-radius: 10px; }

.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.float-chip svg { color: var(--orange); flex-shrink: 0; }
.chip-1 { top: -16px; right: 4%; animation: float-y 5.5s ease-in-out infinite; }
.chip-2 { bottom: 26%; left: -20px; animation: float-y 6.5s ease-in-out 0.8s infinite; }
.chip-3 { bottom: -14px; right: 10%; animation: float-y 6s ease-in-out 1.6s infinite; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Small screens: preview pane only, chips kept inside the viewport */
@media (max-width: 639.98px) {
  .browser-code { display: none; }
  .browser-body { grid-template-columns: 1fr; min-height: 236px; }
  .chip-1 { right: 0; }
  .chip-2 { left: 2px; }
  .chip-3 { right: 4%; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--card-border);
  background: #fff;
  padding-block: 1.05rem;
  overflow: hidden;
}
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; gap: 2.6rem; }
.marquee-list li {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap;
}
.marquee-list .star { color: var(--orange); display: inline-flex; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.3rem)); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.about-copy p { color: var(--ink-2); font-size: var(--fs-lead); margin-bottom: 1.2em; }
.about-copy .section-title { margin-bottom: 1.2rem; }

.about-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange-2), var(--orange));
}
.expect-list { display: grid; gap: 0.85rem; margin: 0 0 1.4rem; }
.expect-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-weight: 500; }
.check {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--tint); color: var(--orange);
}
.about-card-note { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 0; }

.brand-plate {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.brand-plate img { width: min(320px, 78%); height: auto; }

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--orange-2);
  margin: 1.1rem 0 0;
}
.about-card-note a { font-weight: 600; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }

.service-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(255, 107, 0, 0.45); }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--tint); color: var(--orange-text); margin-bottom: 1.1rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.service-card:hover .service-icon { background: var(--orange); color: #fff; transform: scale(1.06) rotate(-3deg); }
.service-card h3 { margin-bottom: 0.45rem; }
.service-card p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

/* ---------- Why choose (dark) ---------- */
.section-dark { background: var(--dark); color: var(--dark-text); position: relative; overflow: clip; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 85% 0%, rgba(255, 107, 0, 0.13), transparent 65%);
}
.section-dark .section-sub { color: var(--dark-text-2); }
.section-dark .section-title { color: #fff; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.1rem; position: relative; }
.why-card {
  background: var(--dark-2); border: 1px solid var(--dark-border); border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(255, 107, 0, 0.5); background: #271F18; }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 1rem;
  background: rgba(255, 107, 0, 0.14); color: var(--orange-2);
}
.why-card h3 { color: #fff; font-size: 1.02rem; margin-bottom: 0.4rem; }
.why-card p { color: var(--dark-text-2); font-size: 0.92rem; margin: 0; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 2.5rem; counter-reset: step; }
.process-step { position: relative; padding-top: 0.4rem; }
.process-num {
  display: block;
  font-family: var(--font-mono); font-weight: 500; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1;
  color: #FFD9BC; margin-bottom: 0.9rem;
}
@supports (-webkit-text-stroke: 1px black) {
  .process-num { color: transparent; -webkit-text-stroke: 1.4px var(--orange); }
}
.process-step h3 { margin-bottom: 0.45rem; }
.process-step p { color: var(--ink-2); font-size: 0.95rem; margin: 0; max-width: 30rem; }
.process-step::after {
  content: ""; position: absolute; top: 1.7rem; left: 4.4rem; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--card-border), transparent);
}
.process-step:nth-child(3n)::after { display: none; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 295px), 1fr)); gap: 1.5rem; align-items: stretch; }

.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1.5px solid var(--card-border); border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3vw, 2.1rem);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.price-card h3 { font-size: 1.25rem; margin-bottom: 1.1rem; }
.price-from { font-size: 0.82rem; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
.price-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.7rem; }
.price-desc { color: var(--ink-2); font-size: 0.93rem; padding-bottom: 1.2rem; border-bottom: 1px dashed var(--card-border); }

.price-feats { display: grid; gap: 0.6rem; margin: 1.2rem 0 1.6rem; }
.price-feats li { position: relative; padding-left: 1.7rem; font-size: 0.94rem; font-weight: 500; }
.price-feats li::before {
  content: ""; position: absolute; left: 0; top: 0.22em; width: 15px; height: 15px;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.95rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px -4px rgba(255, 107, 0, 0.6);
}
.price-card-popular { border-color: var(--orange); box-shadow: var(--shadow); }
.price-card-popular:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); }

.price-discuss {
  display: block; text-align: center; margin-top: 0.85rem;
  font-size: 0.88rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.price-discuss:hover { color: var(--orange-text); }

.pricing-note {
  margin: 2rem auto 1.5rem; max-width: 620px; text-align: center;
  color: var(--ink-2); font-size: 0.92rem;
  padding: 0.9rem 1.4rem; background: rgba(255, 107, 0, 0.06);
  border: 1px dashed rgba(255, 107, 0, 0.35); border-radius: 12px;
}
.pricing-note p { margin: 0; }
.pricing-note-page { margin-top: 2.5rem; }

/* Good to know cards */
.good-to-know { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; margin-top: 3.5rem; }
.gtk-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.5rem; }
.gtk-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--tint); color: var(--orange-text); margin-bottom: 0.9rem; }
.gtk-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.gtk-card p { color: var(--ink-2); font-size: 0.92rem; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: clip; padding-block: clamp(3rem, 6vw, 5rem) clamp(2.2rem, 4vw, 3.2rem); }
.page-eyebrow { margin-bottom: 0.9rem; }
.page-title { max-width: 15ch; margin-bottom: 1rem; }
.page-lead { color: var(--ink-2); font-size: var(--fs-lead); max-width: 40rem; margin-bottom: 1.4rem; }

.breadcrumbs { margin-bottom: 1.6rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: var(--ink-3); }
.breadcrumbs li:not(:first-child)::before { content: "/"; margin-right: 0.5rem; color: var(--ink-3); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.breadcrumbs a:hover { color: var(--orange-text); }
.breadcrumbs [aria-current] { font-weight: 600; color: var(--ink); }

.price-disclaimer-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.76rem;
  background: var(--tint); color: var(--orange-text);
  border: 1px solid var(--card-border); border-radius: 999px;
  padding: 0.5rem 1rem; margin-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { border-top: 1px solid var(--card-border); }
.faq-item { border-bottom: 1px solid var(--card-border); }
.faq-heading { margin: 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  width: 100%; padding: 1.25rem 0.25rem 1.25rem 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--ink); letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--orange-text); }
.faq-chevron { display: inline-flex; color: var(--orange); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { color: var(--ink-2); max-width: 62ch; padding: 0 0.25rem 1.3rem 0; margin: 0; }

/* ---------- CTA band ---------- */
.cta-section { padding-top: 0; }
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--orange-2) 0%, var(--orange) 55%, #F25C00 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  color: var(--ink);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(26, 26, 26, 0.12) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 110%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 110%, #000 0%, transparent 70%);
}
.cta-band h2 { position: relative; font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 22ch; margin-inline: auto; }
.cta-band p { position: relative; max-width: 46ch; margin: 0 auto 1.8rem; color: rgba(26, 26, 26, 0.78); font-size: var(--fs-lead); }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.cta-band .btn-outline-light { box-shadow: inset 0 0 0 1.5px rgba(26, 26, 26, 0.45); }
.cta-band .btn-outline-light:hover { background: rgba(26, 26, 26, 0.08); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.info-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; margin-bottom: 1.25rem;
}
.info-card h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.info-card p { color: var(--ink-2); font-size: 0.95rem; }
.info-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--orange-text); margin-bottom: 1rem; }
.info-card-tint { background: var(--tint); }
.info-card-tint p { margin-bottom: 1.1rem; }

.next-steps { display: grid; gap: 1.3rem; }
.next-steps li { display: flex; gap: 0.95rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--tint); border: 1px solid var(--card-border);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.85rem; color: var(--orange-text);
}
.next-steps h3 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.next-steps p { font-size: 0.9rem; margin: 0; }

.contact-form-wrap > form,
.contact-form-wrap > .form-success {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.form-title { font-size: 1.35rem; margin-bottom: 0.3rem; }
.form-sub { color: var(--ink-2); font-size: 0.9rem; margin-bottom: 1.6rem; }
.req { color: var(--orange); }
.optional { color: var(--ink-3); font-weight: 400; font-size: 0.82rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; }

.field input, .field select, .field textarea {
  width: 100%; padding: 0.78rem 1rem;
  background: var(--bg); border: 1.5px solid var(--hairline); border-radius: 12px;
  font: inherit; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #B0A69B; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.14);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px;
  padding-right: 2.6rem; cursor: pointer;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(197, 34, 31, 0.12); }

.field-error { color: var(--error); font-size: 0.84rem; font-weight: 500; margin: 0.4rem 0 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-bottom: 1.1rem; }
.status-msg { padding: 0.85rem 1.1rem; border-radius: 12px; font-size: 0.92rem; margin: 0; }
.status-error { background: var(--error-bg); color: var(--error); border: 1px solid rgba(197, 34, 31, 0.25); }
.status-notice { background: var(--tint); color: #7A3A00; border: 1px solid var(--card-border); }
.status-msg a { font-weight: 700; color: inherit; }

.btn .btn-spinner { display: none; margin: 0; }
.btn.is-sending .btn-spinner { display: block; animation: spin 0.9s linear infinite; }
.btn.is-sending .btn-label { opacity: 0.75; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-privacy { text-align: center; font-size: 0.82rem; color: var(--ink-3); margin: 1rem 0 0; }

.form-success { text-align: center; padding-block: clamp(2.5rem, 5vw, 3.5rem) !important; }
.form-success[hidden] { display: none; }
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%; margin-bottom: 1.2rem;
  background: rgba(30, 158, 106, 0.12); color: var(--success);
}
.form-success h2 { font-size: 1.35rem; }
.form-success p { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }
.form-success .btn { margin-top: 0.8rem; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.legal-toc { display: none; }
.legal-body { max-width: 74ch; }
.legal-body h2 { font-size: 1.3rem; margin-top: 2.4rem; padding-top: 0.2rem; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 0.97rem; }
.legal-body ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.35rem; margin-block: 0.8rem; }
.legal-updated { margin-bottom: 2rem; }
.legal-note {
  background: var(--tint); border: 1px solid var(--card-border); border-radius: 12px;
  padding: 1rem 1.3rem; font-size: 0.9rem; margin: 2.4rem 0 0;
}
.legal-note p { margin: 0; color: #7A3A00; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-text-2); margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.4rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.footer-brand .brand-name { color: #fff; }
.brand-footer { margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.93rem; max-width: 34ch; }
.footer-email { display: inline-block; font-family: var(--font-mono); font-size: 0.92rem; color: var(--orange-2) !important; text-decoration: none; }
.footer-email:hover { color: #fff !important; }

.footer-col h3 {
  color: #fff; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { color: var(--dark-text-2); text-decoration: none; font-size: 0.93rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--orange-2); }

.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--dark-2); border: 1px solid var(--dark-border);
  color: var(--dark-text-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-social a:hover { color: #fff; border-color: rgba(255, 107, 0, 0.6); background: rgba(255, 107, 0, 0.12); transform: translateY(-3px); }
.footer-social-note { font-size: 0.82rem; margin-top: 0.9rem; }

.footer-bottom { border-top: 1px solid var(--dark-border); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-block: 1.4rem; font-size: 0.85rem;
}
.footer-bottom-inner p { margin: 0; }
.footer-made { color: rgba(245, 239, 233, 0.45); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.04); color: #fff; box-shadow: 0 18px 36px -6px rgba(37, 211, 102, 0.6); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

/* ---------- Scroll reveal (JS adds .in-view) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal-group.in-view > * { opacity: 1; transform: none; }

/* ---------- Responsive: tablet & up ---------- */
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
  .form-row { gap: 1.1rem 1.25rem; }
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .hero-inner { grid-template-columns: 1.04fr 0.96fr; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .nav-email { display: none; }
  .legal-layout { grid-template-columns: 240px 1fr; }
  .legal-toc {
    display: block; position: sticky; top: calc(var(--header-h) + 2rem);
    align-self: start; max-height: calc(100vh - var(--header-h) - 4rem); overflow: auto;
    border-left: 2px solid var(--card-border); padding-left: 1.4rem;
  }
  .legal-toc h2 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
  .legal-toc ul { display: grid; gap: 0.55rem; }
  .legal-toc a { font-size: 0.88rem; color: var(--ink-2); text-decoration: none; font-weight: 500; transition: color 0.2s var(--ease), transform 0.2s var(--ease); display: inline-block; }
  .legal-toc a:hover { color: var(--orange-text); transform: translateX(3px); }
}

/* Mobile navigation panel */
@media (max-width: 1023.98px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 210;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: calc(var(--header-h) + 1.5rem) 1.5rem 2.5rem;
    background: var(--bg);
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav-open .primary-nav { transform: translateY(0); visibility: visible; transition: transform 0.4s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--hairline); }
  .nav-list a {
    display: block; padding: 1.05rem 0.25rem;
    font-size: 1.3rem; font-weight: 700; color: var(--ink);
  }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current] { color: var(--orange-text); }
  .nav-email { display: block; text-align: center; margin-top: 1.6rem; }
  .nav-cta { margin-top: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .mask-line > span, .hero-anim { transform: none; opacity: 1; }
  .underline-path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
  .cursor { animation: none; }
  .wa-float::after, .pulse-dot::after { animation: none; }
}

/* ---------- Mobile hardening + brand image protection ---------- */
.protected-logo {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

@media (max-width: 639.98px) {
  :root { --header-h: 68px; --section-pad: 3.75rem; }
  .container { padding-inline: 1rem; }
  .brand { min-width: 0; gap: 0.48rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { width: 42px; height: 42px; flex: 0 0 42px; }
  .primary-nav { padding-inline: 1rem; overflow-y: auto; overscroll-behavior: contain; }
  .hero { padding-top: 2.6rem; }
  .hero-title { overflow-wrap: anywhere; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .browser { border-radius: 14px; }
  .browser-body { min-height: 240px; }
  .about-grid, .contact-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .pricing-grid, .services-grid, .why-grid, .good-to-know { grid-template-columns: minmax(0, 1fr); }
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-step::after { display: none; }
  .brand-plate img { width: 100%; height: auto; object-fit: contain; }
  .footer-bottom-inner { flex-direction: column; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  input, select, textarea, button { max-width: 100%; }
}

@media (max-width: 359.98px) {
  .brand-name { font-size: 0.92rem; }
  .container { padding-inline: 0.85rem; }
  .nav-toggle { width: 40px; height: 40px; flex-basis: 40px; }
}

/* ===== Mobile overflow fix (2026-09-25) ===== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body { position: relative; }

main, header, footer, section, .site-header, .site-footer, .hero, .marquee {
  width: 100%;
  max-width: 100vw;
}

.hero-inner, .hero-copy, .hero-visual, .footer-grid, .footer-brand, .footer-col {
  min-width: 0;
}

.marquee { overflow: hidden; }

@media (max-width: 639.98px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .hero { overflow: hidden; }
  .hero-inner { width: 100%; }
  .hero-copy, .hero-visual { width: 100%; max-width: 100%; }
  .hero-title {
    font-size: clamp(2rem, 10.5vw, 2.7rem);
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero-title .mask-line,
  .hero-title .mask-line > span { max-width: 100%; }
  .hero-lead { max-width: 100%; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; max-width: 100%; }

  .browser, .browser-body { width: 100%; max-width: 100%; }
  .float-chip { max-width: calc(100vw - 2.2rem); }

  .marquee-track { max-width: none; }

  .footer-grid, .footer-bottom, .footer-bottom-inner {
    width: 100%;
    max-width: 100%;
  }
  .footer-brand p, .footer-email, .footer-col a, .footer-bottom-inner p {
    overflow-wrap: anywhere;
  }

  .wa-float {
    right: 12px;
    bottom: 12px;
  }
}


/* ===== Definitive mobile viewport + floating contact fix (2026-09-25 v3) ===== */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip !important;
}

/* Grid/flex children must be allowed to shrink instead of widening the page. */
main, .container, .hero-inner, .hero-copy, .hero-visual,
.browser, .browser-body, .section-head, .services-grid, .pricing-grid,
.why-grid, .process-grid, .about-grid, .footer-grid, .footer-bottom-inner {
  min-width: 0;
}

/* Floating WhatsApp always stays fully inside the visual viewport. */
.wa-float {
  box-sizing: border-box;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  margin: 0;
  transform: none;
  isolation: isolate;
}
.wa-float::after { inset: -5px; }

@media (max-width: 639.98px) {
  .container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero, .page-hero, .site-footer, .marquee { width: 100%; max-width: 100%; overflow-x: clip; }
  .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero-copy, .hero-visual { min-width: 0; width: 100%; max-width: 100%; }

  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero-title .mask-line,
  .hero-title .mask-line > span { width: 100%; max-width: 100%; }
  .hero-lead, .eyebrow { max-width: 100%; }
  .eyebrow { white-space: normal; }

  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .hero-trust { width: 100%; }
  .hero-trust li { width: 100%; min-width: 0; }

  .browser { width: 100%; max-width: 100%; transform: none !important; }
  .browser-body { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .browser-preview { min-width: 0; width: 100%; padding-inline: 14px; }
  .browser-url { min-width: 0; max-width: calc(100% - 70px); overflow: hidden; text-overflow: ellipsis; }

  /* Keep decorative chips within the hero visual instead of outside its bounds. */
  .float-chip { max-width: calc(100% - 12px); white-space: nowrap; }
  .chip-1 { top: -14px; right: 6px; left: auto; }
  .chip-2 { left: 6px; right: auto; }
  .chip-3 { right: 6px; left: auto; bottom: -12px; }

  .marquee-track { width: max-content; max-width: none; }

  .footer-grid, .footer-bottom-inner { width: 100%; max-width: 100%; }
  .footer-brand, .footer-col { min-width: 0; }
  .footer-brand p, .footer-email, .footer-col a, .footer-bottom-inner p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .wa-float {
    width: 54px;
    height: 54px;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
  }
  .wa-float:hover { transform: none; }
}

@media (max-width: 359.98px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .hero-title { font-size: clamp(1.82rem, 10vw, 2.2rem); }
  .wa-float {
    width: 50px;
    height: 50px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

/* Required enquiry consent */
.consent-field {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  margin: 0.25rem 0 0.45rem;
}
.consent-field input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.16rem 0 0;
  accent-color: var(--orange);
  cursor: pointer;
}
.consent-field label {
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.55;
}
.consent-field a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-field a:hover { color: var(--orange); }
.consent-field input[aria-invalid="true"] { outline: 2px solid #b42318; outline-offset: 2px; }
.consent-error { margin: 0 0 1rem 1.85rem; }
@media (max-width: 480px) {
  .consent-field { gap: 0.6rem; }
  .consent-field label { font-size: 0.84rem; }
  .consent-error { margin-left: 1.75rem; }
}
