/* =========================================================
   Duvitra Innovations — site stylesheet
   Theme: warm dark canvas + orange light glow
   ========================================================= */

:root {
  --bg: #150C09;
  --bg-2: #1D110C;
  --surface: #241510;
  --surface-2: #2E1B14;
  --line: rgba(255, 180, 150, 0.12);
  --line-strong: rgba(255, 180, 150, 0.24);

  --orange: #FF6F4F;
  --orange-deep: #E25139;
  --amber: #FF9A3C;
  --yellow: #FFD35C;

  --text: #F7EEE9;
  --muted: #BFA89D;
  --dim: #8C766B;

  --grad: linear-gradient(135deg, #FF9A3C 0%, #FF6F4F 45%, #E25139 100%);

  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1840px;
  --gutter: clamp(20px, 4.5vw, 96px);
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: #1a0f0a; padding: 10px 16px; border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 10vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-2); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 600; color: var(--amber); margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad); color: #1A0D08;
  box-shadow: 0 10px 30px -10px rgba(255, 111, 79, .7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 111, 79, .85); }
.btn--ghost {
  background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,.09); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(21, 12, 9, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__logo { height: 52px; width: auto; max-width: none; }
.site-footer .brand__logo { height: 54px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand__sub { font-size: .62rem; letter-spacing: .22em; color: var(--muted); margin-top: 5px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .98rem;
  background: none; border: 0; transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--text); background: rgba(255,255,255,.05); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px;
  transform: translateX(-50%); border-radius: 2px; background: var(--orange);
}
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }

.nav__item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 700px; padding: 12px; border-radius: var(--radius);
  background: rgba(36, 21, 16, .97); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown,
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:hover > .nav__link svg, .nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

.dropdown a {
  display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm);
  transition: background .2s;
}
.dropdown a:hover { background: rgba(255,111,79,.1); }
.dropdown .ico { width: 40px; height: 40px; flex: none; }
.dropdown a > div { min-width: 0; }
.dropdown strong { white-space: nowrap; display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.dropdown a > div > span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dropdown .ico { display: grid; place-items: center; margin: 0; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); color: var(--text);
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
  transition: transform .25s, background .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Icons ---------- */
.ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(255,154,60,.18), rgba(226,81,57,.12));
  border: 1px solid rgba(255,111,79,.28); color: var(--orange); flex: none;
}
.ico svg { width: 55%; height: 55%; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
  isolation: isolate;
}
.glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow__ribbon {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9;
}
.glow__ribbon--a {
  width: 120vw; height: 38vw; min-height: 260px; left: -30vw; top: 18%;
  background: radial-gradient(closest-side, rgba(255,120,70,.95), rgba(226,81,57,.45) 50%, transparent 100%);
  transform: rotate(-14deg);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.glow__ribbon--b {
  width: 70vw; height: 30vw; min-height: 220px; right: -25vw; top: -8%;
  background: radial-gradient(closest-side, rgba(255,154,60,.55), rgba(255,111,79,.18) 60%, transparent 100%);
  transform: rotate(22deg);
  animation: drift-b 22s ease-in-out infinite alternate;
}
.glow__ribbon--c {
  width: 50vw; height: 22vw; min-height: 180px; right: -10vw; bottom: -10%;
  background: radial-gradient(closest-side, rgba(255,211,92,.28), transparent 100%);
  transform: rotate(-8deg);
}
.glow::after {
  /* dark vignette so text stays readable */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(21,12,9,0), rgba(21,12,9,.55) 75%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}
.grain {
  position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift-a { to { transform: rotate(-8deg) translate(6vw, 4vh); } }
@keyframes drift-b { to { transform: rotate(14deg) translate(-5vw, 6vh); } }

.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero__title { margin-bottom: 24px; font-size: clamp(2.4rem, 4.3vw, 5.6rem); }
.hero__title .line { display: block; }
.hero__title .glow-text {
  background: linear-gradient(90deg, #FFD35C, #FF9A3C 40%, #FF6F4F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 44px; color: var(--muted); font-size: .95rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; color: var(--yellow); }

/* load-in sequence (the one orchestrated motion on the page) */
.reveal-seq > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal-seq > *:nth-child(1) { animation-delay: .1s; }
.reveal-seq > *:nth-child(2) { animation-delay: .22s; }
.reveal-seq > *:nth-child(3) { animation-delay: .34s; }
.reveal-seq > *:nth-child(4) { animation-delay: .46s; }
.reveal-seq > *:nth-child(5) { animation-delay: .58s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Stat arc (inspired by the reference gauge) */
.arc { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / 1; }
.arc svg { width: 100%; height: 100%; overflow: visible; }
.arc__seg { fill: url(#segGrad); stroke: var(--bg); stroke-width: 6; transition: filter .3s; }
.arc__seg--dim { fill: rgba(255,111,79,.07); stroke: rgba(255,111,79,.18); stroke-width: 1; }
.arc__track { fill: none; stroke: rgba(255,111,79,.18); stroke-width: 2; stroke-dasharray: 2 10; }
.arc__num { font-family: var(--font-display); font-weight: 700; fill: #1A0D08; }
.arc__lbl { font-family: var(--font-body); font-weight: 600; fill: rgba(26,13,8,.8); }
.arc__core {
  position: absolute; inset: 27%; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #3A2219, #1A0F0B 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 80px rgba(255,111,79,.35), inset 0 0 40px rgba(255,111,79,.12);
}
.arc__core > div { width: 100%; display: flex; flex-direction: column; align-items: center; }
.arc__core .logo-icon { width: 30%; height: auto; margin-inline: auto; filter: drop-shadow(0 6px 18px rgba(255,111,79,.35)); }
.arc__core p { margin: 10px 0 0; font-size: clamp(.72rem, 1.1vw, .9rem); color: var(--muted); line-height: 1.35; padding-inline: 12%; }

/* ---------- Logo marquee ---------- */
.clients { border-block: 1px solid var(--line); padding-block: 34px; overflow: hidden; }
.clients__label { text-align: center; color: var(--dim); font-size: .95rem; margin-bottom: 22px; }
.marquee { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.clients:hover .marquee { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); padding-right: clamp(28px, 5vw, 64px); }
.client-logo {
  height: 64px; min-width: 140px; padding: 10px 22px; border-radius: 14px;
  background: rgba(255,255,255,.92); display: grid; place-items: center;
}
.client-logo img { max-height: 44px; max-width: 130px; width: auto; object-fit: contain; }
.client-logo .fallback { color: #2a1a14; font-weight: 700; font-family: var(--font-display); font-size: .95rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service grid ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.svc {
  position: relative; grid-column: span 2; display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .3s, transform .3s;
  min-height: 300px;
}
.svc::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; z-index: -1;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255,111,79,.28), transparent);
  opacity: 0; transition: opacity .35s;
}
.svc:hover { border-color: rgba(255,111,79,.45); transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc--wide { grid-column: span 3; }
.svc h3 { margin: 24px 0 10px; }
.svc p { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; margin-bottom: 22px; }
.svc__tags span {
  font-size: .8rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted);
}
.svc__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--orange); font-size: .95rem; }
.svc__link svg { width: 16px; height: 16px; transition: transform .2s; }
.svc:hover .svc__link svg { transform: translateX(4px); }
.svc > a.cover { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }

/* ---------- Value / why list ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.value { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.value .ico { margin-bottom: 22px; }
.value p { color: var(--muted); margin: 0; }

.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.why { grid-column: span 2; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why:nth-child(4), .why:nth-child(5) { grid-column: span 3; }
.why .ico { margin-bottom: 20px; }
.why p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.step__num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #1A0D08; background: var(--grad);
  margin-bottom: 22px; box-shadow: 0 0 0 6px rgba(255,111,79,.12);
}
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
.process::before {
  content: ""; position: absolute; left: 48px; right: 48px; top: 51px; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,111,79,.5) 0 6px, transparent 6px 14px);
  z-index: -1;
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 44px); background: var(--surface); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1;
  background: linear-gradient(90deg, #FFD35C, #FF6F4F); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.stat h3 { margin-bottom: 6px; }
.stat p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); margin: 0;
}
.quote__stars { display: flex; gap: 3px; color: var(--yellow); margin-bottom: 18px; }
.quote__stars svg { width: 18px; height: 18px; }
.quote h3 { font-size: 1.15rem; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 26px; color: var(--muted); font-size: 1.05rem; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-display); font-weight: 700; color: #1A0D08; background: var(--grad);
}
.quote figcaption div strong { display: block; font-size: .98rem; }
.quote figcaption div span { display: block; font-size: .85rem; color: var(--dim); }
.quote .avatar { display: grid; place-items: center; line-height: 1; font-size: 1.05rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(24px, 3vw, 40px); padding: clamp(40px, 7vw, 90px);
  background: #1F110C; border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 36px;
}
.cta::before {
  content: ""; position: absolute; z-index: -1; width: 90%; height: 160%; right: -30%; top: -30%;
  background: radial-gradient(closest-side, rgba(255,111,79,.55), rgba(226,81,57,.2) 55%, transparent);
  filter: blur(30px); transform: rotate(-18deg);
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); margin: 0; font-size: 1.1rem; max-width: 560px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(60px, 8vw, 100px);
}
.page-hero .glow__ribbon--a { top: 30%; height: 30vw; }
.page-hero h1 { max-width: 900px; }
.page-hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: .92rem; margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 14px; height: 14px; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.story__lead { font-family: var(--font-display); font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.3; letter-spacing: -0.015em; position: sticky; top: calc(var(--header-h) + 30px); }
.story__body p { color: var(--muted); font-size: 1.08rem; }
.story__body p:first-child { color: var(--text); }

.mission {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(255,111,79,.14), rgba(255,154,60,.04) 60%), var(--surface);
  border: 1px solid rgba(255,111,79,.3);
}
.mission svg.mark { width: clamp(72px, 9vw, 120px); height: auto; }
.mission p { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.35; margin: 0; letter-spacing: -0.01em; }

/* ---------- Services list page ---------- */
.svc-list { display: grid; gap: 16px; }
.svc-row {
  display: grid; grid-template-columns: auto 1.1fr 1.4fr auto; gap: clamp(18px, 3vw, 40px); align-items: center;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, background .25s;
}
.svc-row:hover { border-color: rgba(255,111,79,.45); background: var(--surface-2); }
.svc-row h3 { margin: 0; }
.svc-row p { margin: 0; color: var(--muted); font-size: 1rem; }
.svc-row .go {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); transition: background .25s, border-color .25s, color .25s;
}
.svc-row:hover .go { background: var(--grad); border-color: transparent; color: #1A0D08; }
.svc-row .go svg { width: 20px; height: 20px; }

/* ---------- Service detail ---------- */
.svc-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px; margin-bottom: clamp(36px, 5vw, 56px);
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  scrollbar-width: none;
}
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tabs a {
  flex: none; padding: 10px 18px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .95rem;
  transition: color .2s, background .2s; white-space: nowrap;
}
.svc-tabs a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.svc-tabs a[aria-current="page"] { background: var(--grad); color: #1A0D08; font-weight: 600; }

.detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.detail__intro { font-size: 1.12rem; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-list li {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.feature-list li svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }
.feature-list strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 4px; }
.feature-list span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; }

.aside-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong);
  overflow: hidden; isolation: isolate;
}
.aside-card::before {
  content: ""; position: absolute; z-index: -1; width: 280px; height: 280px; right: -120px; top: -120px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255,111,79,.35), transparent);
}
.aside-card h3 { margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips span { font-size: .86rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--muted); font-size: .98rem; }
.check-list svg { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 4px; }
.aside-card .btn { width: 100%; }

.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; gap: 18px; align-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--orange); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

.other-svcs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.other-svcs a {
  padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px; transition: border-color .2s;
}
.other-svcs a:hover { border-color: rgba(255,111,79,.45); }
.other-svcs .ico { width: 44px; height: 44px; }
.other-svcs strong { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.35; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(40px, 6vw, 70px); }
.c-card {
  padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; transition: border-color .2s;
}
a.c-card:hover { border-color: rgba(255,111,79,.45); }
.c-card .ico { margin-bottom: 14px; width: 46px; height: 46px; }
.c-card h3 { font-size: 1rem; color: var(--muted); font-weight: 500; font-family: var(--font-body); margin: 0; }
.c-card strong { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.4; word-break: break-word; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-strong); }
.form-card > p { color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 500; color: var(--muted); }
.field label .req { color: var(--orange); }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(0,0,0,.25); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BFA89D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: #241510; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,111,79,.15); }
.field.has-error input, .field.has-error textarea { border-color: #FF5A5A; }
.field .error { font-size: .85rem; color: #FF8A7A; min-height: 0; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__note { font-size: .88rem; color: var(--dim); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: rgba(90, 200, 120, .12); border: 1px solid rgba(90,200,120,.35); color: #A9EBBB; }
.form-status.is-err { display: block; background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.35); color: #FFB1A6; }

.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); min-height: 420px; position: relative; background: var(--surface); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 90px); background: #120A07; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: clamp(28px, 4vw, 60px); padding-bottom: 50px; }
.footer-about p { color: var(--muted); font-size: .98rem; margin: 20px 0 22px; max-width: 340px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links a, .footer-links li { color: var(--muted); font-size: .96rem; }
.footer-links a:hover { color: var(--orange); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--muted); transition: color .2s, border-color .2s, background .2s;
}
.socials a:hover { color: #1A0D08; background: var(--orange); border-color: var(--orange); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--dim); font-size: .9rem;
}

/* ---------- Floating buttons ---------- */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s;
  margin-bottom: env(safe-area-inset-bottom, 0px);
}
.float-wa:hover { transform: scale(1.06); }
.float-wa svg { width: 30px; height: 30px; }
.to-top {
  position: fixed; right: 28px; bottom: 92px; z-index: 90; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
  margin-bottom: env(safe-area-inset-bottom, 0px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1600px) {
  body { font-size: 18px; }
  .hero__lead { max-width: 640px; }
  h2 { font-size: clamp(2rem, 2.8vw, 3.6rem); }
}
@media (min-width: 2200px) {
  html { font-size: 18px; }
  body { font-size: 19px; }
}

@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc--wide { grid-column: span 1; }
  .other-svcs { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: auto 1fr auto; }
  .svc-row p { grid-column: 2 / 3; grid-row: 2; }
  .svc-row .go { grid-row: 1 / span 2; grid-column: 3; }
}

@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }

  .mobile-panel {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: rgba(21,12,9,.98); backdrop-filter: blur(10px);
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .mobile-panel { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: rgba(21,12,9,.98); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); }
  .arc { max-width: 460px; }

  .values { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why, .why:nth-child(4), .why:nth-child(5) { grid-column: span 1; }
  .why:nth-child(5) { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story__lead { position: static; }
  .detail { grid-template-columns: 1fr; }
  .aside-card { position: relative; top: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 360px; }
}

@media (min-width: 1025px) { .mobile-panel { display: none; } }

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__logo { height: 38px; }
  .brand__name { font-size: 1.2rem; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; padding: 26px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: 1fr; }
  .why:nth-child(5) { grid-column: auto; }
  .process { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .other-svcs { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mission { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: auto 1fr; }
  .svc-row p { grid-column: 1 / -1; grid-row: auto; }
  .svc-row .go { display: none; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
  .section-head--split { display: block; }
  .section-head--split .btn { margin-top: 20px; }
  .client-logo { height: 54px; min-width: 116px; padding: 8px 16px; }
  .client-logo img { max-height: 36px; max-width: 104px; }
}

@media (max-width: 420px) {
  .other-svcs { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

/* Mobile panel content */
.mobile-panel .m-links { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 4px; }
.mobile-panel .m-links > li > a {
  display: block; padding: 14px 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .m-links a.is-active { color: var(--orange); }
.mobile-panel .m-sub { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 8px 0 14px; border-bottom: 1px solid var(--line); list-style: none; margin: 0; }
.mobile-panel .m-sub a { display: flex; gap: 12px; align-items: center; padding: 10px 4px; color: var(--muted); font-size: 1rem; }
.mobile-panel .m-sub .ico { width: 34px; height: 34px; border-radius: 10px; }
.mobile-panel .btn { width: 100%; margin-top: 10px; }
.mobile-panel .m-contact { margin-top: 26px; color: var(--muted); font-size: .95rem; display: grid; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  /* Calm the big movements; the hero chips and bar chart keep running (small, in place) */
  html { scroll-behavior: auto; }
  .glow__ribbon, .reveal-seq > *, .browser, .bb-hero::after, .bb-hero span, .chip .dot { animation: none !important; }
  .reveal-seq > * { opacity: 1; transform: none; }
  .marquee { animation: none; width: auto; justify-content: center; }
  .marquee__set { flex-wrap: wrap; justify-content: center; row-gap: 18px; padding-inline: var(--gutter); }
  .marquee__set[aria-hidden="true"] { display: none; }
}

/* =========================================================
   Hero showcase (animated browser mockup)
   ========================================================= */
.showcase { position: relative; width: 100%; max-width: 580px; margin-inline: auto; padding: 44px 24px 40px; }
.browser {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #1F120D; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 90px -20px rgba(255,111,79,.45);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg) translateY(0); }
  50%      { transform: perspective(1400px) rotateY(-7deg) rotateX(2deg) translateY(-10px); }
}
.browser__bar { display: flex; gap: 7px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a2419; }
.browser__bar i:first-child { background: var(--orange); }
.browser__bar i:nth-child(2) { background: var(--yellow); }
.browser__url { margin-left: 12px; flex: 1; height: 24px; border-radius: 8px; background: rgba(255,255,255,.05); font-size: 12px; color: var(--dim); display: flex; align-items: center; padding-left: 10px; }
.browser__body { padding: 22px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.bb-hero {
  grid-column: 1 / -1; height: 120px; border-radius: 12px; padding: 18px; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 80% 0, rgba(255,111,79,.7), rgba(226,81,57,.2) 45%, transparent 70%), #2a1812;
}
.bb-hero::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%);
  animation: sheen 5s ease-in-out infinite 1.5s;
}
@keyframes sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.bb-hero b { display: block; width: 60%; height: 14px; border-radius: 6px; background: var(--text); margin-bottom: 10px; }
.bb-hero b + b { width: 40%; background: #FFB547; }
.bb-hero span { display: inline-block; margin-top: 14px; width: 90px; height: 26px; border-radius: 99px; background: var(--grad); animation: pulse-btn 2.4s ease-in-out infinite; }
@keyframes pulse-btn { 50% { box-shadow: 0 0 0 6px rgba(255,111,79,.18); } }
.bb-card { height: 96px; border-radius: 12px; background: #2a1812; border: 1px solid rgba(255,180,150,.1); padding: 14px; }
.bb-card b { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.18); margin-bottom: 8px; width: 70%; }
.bb-lines b:nth-child(2) { width: 45%; }
.bb-lines b:nth-child(3) { width: 55%; }

/* Live bar chart: each bar rises and falls on its own rhythm */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 48px; margin-top: 4px; }
.bars i {
  flex: 1; height: 100%; border-radius: 4px 4px 0 0; transform-origin: bottom;
  background: linear-gradient(#FFB547, #FF6F4F);
  animation: bar 2.6s ease-in-out infinite alternate;
}
.bars i:nth-child(1) { --lo: .25; --hi: .55; animation-duration: 2.2s; }
.bars i:nth-child(2) { --lo: .40; --hi: .80; animation-duration: 2.8s; animation-delay: -.6s; }
.bars i:nth-child(3) { --lo: .30; --hi: .65; animation-duration: 2.4s; animation-delay: -1.2s; }
.bars i:nth-child(4) { --lo: .50; --hi: .95; animation-duration: 3.1s; animation-delay: -.3s; }
.bars i:nth-child(5) { --lo: .45; --hi: .85; animation-duration: 2.5s; animation-delay: -1.8s; }
.bars i:nth-child(6) { --lo: .65; --hi: 1.0; animation-duration: 2.9s; animation-delay: -.9s; }
@keyframes bar { from { transform: scaleY(var(--lo)); } to { transform: scaleY(var(--hi)); } }

/* Floating chips: pop in one after another, rest, fade, repeat */
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; white-space: nowrap;
  background: rgba(36,21,16,.96); border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.7);
  font-size: 14px; color: var(--text);
  opacity: 0; animation: chip-pop 9s cubic-bezier(.2,.9,.3,1.2) infinite;
}
.chip strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #FFB547; display: block; line-height: 1.15; }
.chip strong.plain { font-size: 15px; color: var(--text); }
.chip small { color: var(--muted); font-size: 12px; display: block; line-height: 1.3; }
.chip .ci { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,111,79,.15); color: var(--orange); flex: none; }
.chip .ci svg { width: 20px; height: 20px; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; flex: none; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.25); } 50% { box-shadow: 0 0 0 7px rgba(74,222,128,0); } }
.chip--1 { left: -6px; top: 8px; animation-delay: .6s; }
.chip--2 { right: -10px; top: 46%; animation-delay: 1.6s; }
.chip--3 { left: 28px; bottom: 0; animation-delay: 2.6s; }
@keyframes chip-pop {
  0%   { opacity: 0; transform: translateY(14px) scale(.8); }
  6%   { opacity: 1; transform: translateY(0) scale(1.06); }
  10%  { transform: translateY(0) scale(1); }
  45%  { transform: translateY(-6px) scale(1); }
  78%  { opacity: 1; transform: translateY(0) scale(1); }
  86%  { opacity: 0; transform: translateY(-8px) scale(.94); }
  100% { opacity: 0; transform: translateY(14px) scale(.8); }
}

@media (max-width: 1024px) {
  .showcase { max-width: 520px; margin-top: 10px; }
}
@media (max-width: 720px) {
  .showcase { padding: 40px 6px 44px; }
  .browser, .browser { transform: none; animation: bob-flat 7s ease-in-out infinite; }
  @keyframes bob-flat { 50% { transform: translateY(-8px); } }
  .browser__body { padding: 14px; gap: 10px; }
  .bb-hero { height: 92px; padding: 14px; }
  .bb-card { height: 80px; padding: 11px; }
  .bars { height: 38px; }
  .chip { padding: 9px 12px; gap: 8px; }
  .chip strong { font-size: 15px; }
  .chip strong.plain { font-size: 13px; }
  .chip small { font-size: 11px; }
  .chip .ci { width: 30px; height: 30px; }
  .chip--1 { left: 0; top: 0; }
  .chip--2 { right: 0; top: 44%; }
  .chip--3 { left: 10px; bottom: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .browser { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .browser { transform: none; }
}

/* Wide desktop: let the showcase fill its column */
@media (min-width: 1600px) {
  .showcase { max-width: 860px; margin-right: 0; padding: 56px 30px 50px; }
  .browser__body { padding: 28px; gap: 20px; }
  .bb-hero { height: 160px; padding: 24px; }
  .bb-card { height: 124px; }
  .bars { height: 66px; }
  .chip { padding: 14px 20px; }
  .chip strong { font-size: 21px; }
  .chip .ci { width: 42px; height: 42px; }
}
@media (min-width: 2200px) { .showcase { max-width: 980px; } }

/* Overflow guard: nothing may push the page wider than the screen */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
main, section, footer, header { max-width: 100vw; }
.wrap { min-width: 0; }
.hero__grid, .story, .detail, .contact-grid, .cta, .quotes, .values, .stats,
.svc-grid, .why-grid, .process, .footer-grid, .other-svcs, .contact-cards { min-width: 0; }
.hero__grid > *, .quotes > *, .svc-grid > *, .detail > *, .contact-grid > *, .cta > *,
.story > *, .stats > *, .values > *, .why-grid > *, .process > *, .footer-grid > * { min-width: 0; }
h1, h2, h3, p, blockquote, strong, li { overflow-wrap: break-word; }
@media (max-width: 1024px) {
  .quotes, .story, .detail, .contact-grid, .cta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .svc-grid, .stats, .why-grid, .process, .footer-grid, .feature-list, .form, .contact-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Contact cards: give the address card more room on desktop */
@media (min-width: 1181px) { .contact-cards { grid-template-columns: 1.7fr 1fr 1.1fr 1fr; } }
/* Keep footer text clear of the floating WhatsApp button */
.footer-bottom { padding-right: 84px; }
@media (max-width: 720px) { .footer-bottom { padding-right: 0; padding-bottom: 96px; } }

/* Even line breaks: no single orphan word on headings */
h1, h2, h3 { text-wrap: balance; }
p, blockquote, li { text-wrap: pretty; }

/* Spam trap for forms (hidden from people) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* =========================================================
   Product: Barbell OS
   ========================================================= */
.pill-soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--yellow);
  background: rgba(255,211,92,.1); border: 1px solid rgba(255,211,92,.35);
}
.pill-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,211,92,.18); }

.product-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.product-hero .hero__actions { margin-top: 34px; }
.product-hero .pill-soon { margin-bottom: 20px; }

/* Phone frame for app screenshots */
.phone {
  position: relative; width: 100%; aspect-ratio: 600 / 1300; border-radius: 30px; overflow: hidden;
  background: #0D0A14; border: 7px solid #221812;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(255,180,150,.14);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

.phones { position: relative; height: clamp(380px, 42vw, 620px); max-width: 620px; margin-inline: auto; width: 100%; }
.phones .phone { position: absolute; width: 42%; top: 50%; }
.phones .phone--c { left: 29%; transform: translateY(-50%); z-index: 3; }
.phones .phone--l { left: 2%; transform: translateY(-46%) rotate(-7deg) scale(.88); z-index: 2; opacity: .92; }
.phones .phone--r { right: 2%; transform: translateY(-46%) rotate(7deg) scale(.88); z-index: 2; opacity: .92; }
.phones::before {
  content: ""; position: absolute; inset: 15% 10%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255,111,79,.45), transparent); filter: blur(20px);
}

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba__col { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.ba__col--after { border-color: rgba(255,111,79,.4); background: linear-gradient(160deg, rgba(255,111,79,.12), rgba(255,154,60,.03) 60%), var(--surface); }
.ba__col h3 { margin-bottom: 18px; }
.ba__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ba__list li { display: flex; gap: 12px; color: var(--muted); }
.ba__list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.ba__col--before svg { color: var(--dim); }
.ba__col--after svg { color: var(--orange); }
.ba__col--after li { color: var(--text); }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feat .ico { margin-bottom: 20px; }
.feat p { color: var(--muted); margin: 0; font-size: 1rem; }

/* App screens row */
.app-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.app-shot figcaption { margin-top: 18px; }
.app-shot h3 { margin-bottom: 6px; }
.app-shot p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Audience cards */
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aud { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(170deg, var(--surface), var(--bg-2)); }
.aud .ico { margin-bottom: 20px; }
.aud p { color: var(--muted); margin: 0; }

.process--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Roles */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.role-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.role-chips span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); font-weight: 500; }
.role-points { display: grid; gap: 16px; }
.role-point { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.role-point .ico { width: 46px; height: 46px; }
.role-point p { margin: 0; color: var(--muted); font-size: .98rem; }
.role-point h3 { font-size: 1.1rem; margin-bottom: 4px; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.roadmap__col { padding: 28px; border-radius: var(--radius); border: 1px dashed rgba(255,180,150,.28); }
.roadmap__col h3 { font-size: 1.05rem; color: var(--amber); margin-bottom: 14px; }
.roadmap__col ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 8px; }

/* Early access */
.early { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.early__intro { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); position: relative; overflow: hidden; isolation: isolate;
  background: #1F110C; border: 1px solid var(--line-strong); }
.early__intro::before { content: ""; position: absolute; z-index: -1; width: 120%; height: 120%; left: -40%; bottom: -60%;
  background: radial-gradient(closest-side, rgba(255,111,79,.5), transparent); filter: blur(20px); }
.early__intro p { color: var(--muted); }
.early__intro .check-list { margin-top: 24px; }

/* Home teaser */
.product-teaser {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: clamp(24px, 3vw, 40px); overflow: hidden; position: relative; isolation: isolate;
  background: #1C100B; border: 1px solid var(--line-strong);
}
.product-teaser::before { content: ""; position: absolute; z-index: -1; width: 70%; height: 140%; right: -15%; top: -20%;
  background: radial-gradient(closest-side, rgba(255,111,79,.42), transparent); filter: blur(24px); }
.product-teaser h2 { margin: 16px 0 14px; }
.product-teaser > div > p { color: var(--muted); font-size: 1.08rem; }
.product-teaser .check-list { margin: 22px 0 30px; }
.product-teaser .check-list li { color: var(--text); }
.teaser-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 440px; margin-left: auto; width: 100%; }
.teaser-phones .phone:last-child { transform: translateY(32px); }

/* Legal pages */
.legal { max-width: 780px; }
.legal h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 2.2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1em; }
.legal a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.legal-meta { color: var(--dim); font-size: .95rem; margin-top: 18px; }

/* Footer legal links */
.footer-bottom__links { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom__links a:hover { color: var(--orange); }

/* 404 */
.notfound { min-height: 72vh; display: flex; align-items: center; }
.notfound__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 16vw, 11rem); line-height: 1;
  background: linear-gradient(90deg, #FFD35C, #FF6F4F); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.notfound p { color: var(--muted); font-size: 1.1rem; max-width: 560px; }
.notfound .hero__actions { margin-top: 30px; }

@media (max-width: 1180px) {
  .feat-grid, .aud-grid, .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .process--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .product-hero__grid, .ba, .roles, .early, .product-teaser { grid-template-columns: minmax(0, 1fr); }
  .phones { height: clamp(420px, 90vw, 600px); }
  .teaser-phones { margin: 10px auto 30px; }
  .process--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .feat-grid, .aud-grid, .roadmap, .process--5 { grid-template-columns: minmax(0, 1fr); }
  .app-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding-bottom: 12px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .app-row::-webkit-scrollbar { display: none; }
  .app-shot { flex: 0 0 68%; scroll-snap-align: start; }
  .phones { height: 96vw; max-height: 470px; }
  .phones .phone { width: 46%; }
  .phones .phone--c { left: 27%; }
  .teaser-phones { gap: 12px; }
}

/* =========================================================
   Chat assistant
   ========================================================= */
.has-chat .float-wa { display: none; }
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 60px; height: 60px; border-radius: 50%; border: 0;
  display: grid; place-items: center; color: #1A0D08; background: var(--grad);
  box-shadow: 0 14px 34px -10px rgba(255,111,79,.75); transition: transform .2s;
  margin-bottom: env(safe-area-inset-bottom, 0px);
}
.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher svg { width: 28px; height: 28px; }
.chat-open .to-top { opacity: 0; visibility: hidden; }

.chat-panel {
  position: fixed; right: 20px; bottom: 92px; z-index: 96; width: 380px;
  height: min(580px, calc(100vh - 120px)); height: min(580px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #1C110C; border: 1px solid var(--line-strong); border-radius: 22px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.chat-head span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.chat-head > div { flex: 1; min-width: 0; }
.chat-avatar { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #2A1A13; border: 1px solid var(--line-strong); }
.chat-avatar img { width: 20px; height: auto; }
.chat-close { width: 36px; height: 36px; flex: none; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); display: grid; place-items: center; }
.chat-close:hover { color: var(--text); background: rgba(255,255,255,.06); }
.chat-close svg { width: 18px; height: 18px; }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.5; white-space: pre-line; }
.chat-msg--bot { align-self: flex-start; background: #2B1A13; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chat-msg--user { align-self: flex-end; background: var(--grad); color: #1A0D08; font-weight: 500; border-bottom-right-radius: 5px; }
.chat-msg.is-typing { display: flex; gap: 5px; padding: 14px; }
.chat-msg.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.1s infinite; }
.chat-msg.is-typing i:nth-child(2) { animation-delay: .18s; }
.chat-msg.is-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 50% { opacity: .25; } }
.chat-chips, .chat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-chips button, .chat-links a {
  padding: 8px 13px; border-radius: 999px; font-size: .88rem; font-weight: 500; line-height: 1.2;
  border: 1px solid rgba(255,111,79,.5); color: #FFB08F; background: rgba(255,111,79,.08); transition: background .2s;
}
.chat-chips button:hover, .chat-links a:hover { background: rgba(255,111,79,.18); }
.chat-form { display: flex; gap: 8px; padding: 12px 12px 8px; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(0,0,0,.25); border: 1px solid var(--line-strong);
}
.chat-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,111,79,.15); }
.chat-form button { width: 46px; flex: none; border: 0; border-radius: 12px; background: var(--grad); color: #1A0D08; display: grid; place-items: center; }
.chat-form button svg { width: 20px; height: 20px; }
.chat-wa { display: block; text-align: center; font-size: .82rem; color: var(--muted); padding: 0 12px 12px; }
.chat-wa:hover { color: #6EE7A0; }

@media (max-width: 720px) {
  .chat-panel { left: 10px; right: 10px; width: auto; bottom: 86px; height: min(560px, calc(100dvh - 110px)); }
  .chat-launcher { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* =========================================================
   v2 — handoff structure
   ========================================================= */
/* Hero service strip */
.svc-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.svc-strip a {
  padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); transition: color .2s, border-color .2s;
}
.svc-strip a:hover { color: var(--text); border-color: rgba(255,111,79,.55); }

/* Positioning */
.positioning { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.positioning h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.positioning__lead { font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.35; color: var(--text); }
.positioning p { color: var(--muted); font-size: 1.08rem; }
.flow-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.flow-line span { color: var(--text); }
.flow-line svg { width: 20px; height: 20px; color: var(--orange); }

/* Service pillars */
.pillars { display: grid; grid-template-columns: 1fr 1.5fr 1fr 1fr; gap: 18px; align-items: start; }
.pillar { display: grid; gap: 12px; }
.pillar__head { padding: 4px 4px 10px; border-bottom: 2px solid var(--line-strong); margin-bottom: 4px; display: flex; flex-direction: column; gap: 2px; }
.pillar--design .pillar__head { border-color: #FFD35C; }
.pillar--build .pillar__head { border-color: #FF9A3C; }
.pillar--intelligence .pillar__head { border-color: #FF6F4F; }
.pillar--grow .pillar__head { border-color: #E25139; }
.pillar__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.pillar__sub { color: var(--dim); font-size: .92rem; }
.pillar__svc {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
.pillar__svc:hover { border-color: rgba(255,111,79,.5); transform: translateY(-3px); }
.pillar__svc h3 { margin-bottom: 6px; }
.pillar__svc p { margin: 0; color: var(--muted); font-size: .98rem; }
.pillar__go { position: absolute; top: 24px; right: 22px; color: var(--dim); transition: color .2s, transform .2s; }
.pillar__go svg { width: 18px; height: 18px; }
.pillar__svc:hover .pillar__go { color: var(--orange); transform: translateX(3px); }
.pillar--build { grid-template-columns: 1fr; }

/* Work */
.section--work { background: radial-gradient(ellipse at 80% 0%, rgba(255,111,79,.12), transparent 60%); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.work-card:hover { border-color: rgba(255,111,79,.45); transform: translateY(-4px); }
.work-card__visual {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #FFF7F2, #F1E6DF); border-bottom: 1px solid var(--line);
}
.work-card__visual { overflow: hidden; min-height: 0; }
.work-card__visual img { position: absolute; inset: 0; margin: auto; width: 58%; height: 52%; max-width: none; object-fit: contain; mix-blend-mode: multiply; }
.work-card__visual img.is-tall { width: 60%; height: 78%; }
.work-card__visual .fallback { color: #2a1a14; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.work-card__mono { font-family: var(--font-display); font-weight: 700; font-size: 3rem; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work-card--progress .work-card__visual { background: repeating-linear-gradient(135deg, #241510 0 14px, #2A1913 14px 28px); }
.badge { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.badge--done { background: #1A0D08; color: #A9EBBB; border: 1px solid rgba(90,200,120,.4); }
.badge--progress { background: #1A0D08; color: var(--yellow); border: 1px solid rgba(255,211,92,.45); }
.work-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-card__tags span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.work-card h3 { margin: 4px 0 0; }
.work-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.work-card__result { display: flex; gap: 8px; align-items: flex-start; color: var(--text) !important; font-weight: 600; margin-top: auto !important; padding-top: 6px; }
.work-card__result svg { width: 18px; height: 18px; color: #6EE7A0; flex: none; margin-top: 3px; }
.work-card__quote { margin: 4px 0 0; padding-left: 14px; border-left: 2px solid var(--orange); color: var(--muted); font-style: italic; font-size: .95rem; }

/* Product pillar on home */
.product-pillar h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin: 6px 0 14px; }
.product-pillar__lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; }
.product-pillar__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 24px 0 32px; }
.product-pillar__list li { color: var(--text); }

/* Industries */
.industries { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.industries p { color: var(--muted); font-size: 1.05rem; }
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.industry { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.industry .ico { width: 42px; height: 42px; }

/* About */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stage { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.stage__n { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 10px; }
.stage p { color: var(--muted); margin: 0; font-size: .98rem; }
.mission .mark { width: clamp(64px, 8vw, 100px); height: auto; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office { padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.office .ico { margin-bottom: 18px; }
.office p { color: var(--muted); margin: 0 0 12px; }
.office a:hover { color: var(--orange); }

/* Contact v2 */
.optgroup { border: 0; padding: 0; margin: 0; min-width: 0; }
.optgroup legend { font-size: .92rem; font-weight: 500; color: var(--muted); margin-bottom: 10px; padding: 0; }
.optgroup .hint { color: var(--dim); font-weight: 400; margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: .95rem; font-weight: 500;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.2); color: var(--muted); transition: all .2s;
}
.opt:hover span { border-color: rgba(255,111,79,.5); color: var(--text); }
.opt input:checked + span { background: var(--grad); color: #1A0D08; border-color: transparent; }
.opt input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.optgroup.has-error .opt span { border-color: #FF5A5A; }
.contact-grid { grid-template-columns: 1.25fr .75fr; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.c-card--wide { gap: 10px; }
.c-list { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; gap: 10px; }
.c-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .98rem; }
.c-list span { color: var(--dim); }
.c-list a { font-weight: 600; }
.c-list a:hover { color: var(--orange); }
.office-tabs { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: 18px; display: grid; gap: 14px; }
.office-tabs__bar { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(0,0,0,.25); border: 1px solid var(--line); width: max-content; }
.office-tabs__bar button { border: 0; background: none; color: var(--muted); padding: 8px 18px; border-radius: 999px; font-weight: 600; }
.office-tabs__bar button[aria-selected="true"] { background: var(--grad); color: #1A0D08; }
.office-tabs__panel p { margin: 0 0 6px; color: var(--text); }
.office-tabs__panel a { color: var(--orange); font-size: .95rem; }
.office-tabs .map-card { min-height: 300px; }

/* Footer v2 */
.footer-grid--5 { grid-template-columns: 1.4fr .75fr 1fr 1.25fr 1fr; }
.footer-tag { font-family: var(--font-display); font-weight: 600; color: var(--text) !important; margin: 18px 0 6px !important; }
.m-socials { margin-top: 22px; }

@media (max-width: 1180px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid--5 { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid--5 .footer-about { grid-column: 1 / -1; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .positioning, .industries, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .product-pillar__list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pillars, .work-grid, .offices, .stages { grid-template-columns: minmax(0, 1fr); }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid--5 { grid-template-columns: 1fr 1fr; }
  .svc-strip { margin-top: 26px; }
}
@media (max-width: 420px) {
  .industry-grid { grid-template-columns: 1fr; }
  .footer-grid--5 { grid-template-columns: 1fr; }
}

/* Chat and floating buttons sit a little higher */
.chat-launcher, .float-wa { bottom: 34px; right: 24px; }
.chat-panel { bottom: 108px; right: 24px; }
.to-top { bottom: 108px; right: 32px; }
@media (max-width: 720px) {
  .chat-launcher, .float-wa { bottom: 26px; right: 18px; }
  .chat-panel { bottom: 94px; right: 10px; left: 10px; }
  .to-top { bottom: 94px; right: 26px; }
  .footer-bottom { padding-bottom: 110px; }
}

/* Services: pillar flow + six equal cards */
.pflow { display: grid; grid-template-columns: 1fr 3fr 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.pflow__step { padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-top: 3px solid; display: flex; flex-direction: column; gap: 2px; }
.pflow__step--design { border-top-color: #FFD35C; }
.pflow__step--build { border-top-color: #FF9A3C; }
.pflow__step--intelligence { border-top-color: #FF6F4F; }
.pflow__step--grow { border-top-color: #E25139; }
.pflow__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.pflow__sub { color: var(--dim); font-size: .88rem; }
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-cards .pillar__svc { min-height: 250px; padding: 28px; }
.pillar__tag { position: absolute; top: 26px; right: 24px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.pillar__svc--design .pillar__tag { color: #FFD35C; border-color: rgba(255,211,92,.45); }
.pillar__svc--build .pillar__tag { color: #FFB27A; border-color: rgba(255,154,60,.45); }
.pillar__svc--intelligence .pillar__tag { color: #FF8F74; border-color: rgba(255,111,79,.45); }
.pillar__svc--grow .pillar__tag { color: #F07A64; border-color: rgba(226,81,57,.5); }
.pillar__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 600; font-size: .95rem; }
.pillar__more svg { width: 16px; height: 16px; transition: transform .2s; }
.pillar__svc:hover .pillar__more svg { transform: translateX(4px); }
@media (max-width: 1024px) {
  .pflow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cards { grid-template-columns: minmax(0, 1fr); }
  .svc-cards .pillar__svc { min-height: 0; }
}
.work-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.work-grid--2 .work-card__visual { aspect-ratio: 2 / 1; }
@media (max-width: 720px) { .work-grid--2 { grid-template-columns: minmax(0, 1fr); } }
.chat-launcher { padding: 0; line-height: 0; }
.chat-launcher svg { width: 26px; height: 26px; display: block; }

/* AI page: use cases, trust, tools */
.feat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-built { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 36px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.svc-built h2 { margin: 0 0 10px; }
.svc-built p { margin: 0; color: var(--muted); }
@media (max-width: 1024px) { .feat-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .feat-grid--4, .svc-built { grid-template-columns: minmax(0, 1fr); } .svc-built { padding: 26px; } }

/* Home page enquiry popup (shows once per visitor) */
.lead-pop{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:24px}

.lead-pop[hidden]{display:none}

.lead-pop__backdrop{position:absolute;inset:0;background:rgba(10,5,3,.72);backdrop-filter:blur(6px)}

.lead-pop__card{position:relative;display:grid;grid-template-columns:.9fr 1.3fr;width:min(1040px,100%);max-height:calc(100vh - 48px);overflow:auto;border-radius:var(--radius-lg);border:1px solid var(--line-strong);background:var(--surface);box-shadow:0 40px 120px rgba(0,0,0,.6);animation:lpIn .45s cubic-bezier(.2,.8,.2,1)}

@keyframes lpIn{from{opacity:0;transform:translateY(24px) scale(.97)}
}

.lead-pop__side{padding:44px 38px;background:radial-gradient(circle at 20% 110%,rgba(255,111,79,.55),transparent 55%),radial-gradient(circle at 90% 0%,rgba(255,211,92,.18),transparent 45%),#1A0D08;display:flex;flex-direction:column;gap:22px}

.lead-pop__lead{margin:0;font-family:var(--font-display);font-size:1.35rem;line-height:1.35;font-weight:600}

.lead-pop__stats{display:grid;gap:0;margin-top:6px}

.lead-pop__stats div{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}

.lead-pop__stats strong{font-family:var(--font-display);font-size:2.1rem;min-width:118px;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}

.lead-pop__stats span{color:var(--muted);font-size:.95rem}

.lead-pop__label{margin:auto 0 0;color:var(--dim);font-size:.8rem;letter-spacing:.12em;text-transform:uppercase}

.lead-pop__clients{display:flex;flex-wrap:wrap;gap:8px}

.lead-pop__clients span{padding:6px 12px;border-radius:999px;border:1px solid var(--line-strong);font-size:.85rem;color:var(--text)}

.lead-pop__main{padding:44px 42px 38px}

.lead-pop__main h2{margin:0;font-size:2.2rem}

.lead-pop__sub{margin:10px 0 0;color:var(--muted)}

.lead-pop__form{margin-top:22px}

.lead-pop__form textarea{min-height:96px}

.lead-pop__phone{display:flex;gap:8px}
.lead-pop__phone select{width:96px;flex:none}
.lead-pop__phone input{flex:1;min-width:0}

.lead-pop__count{float:right;color:var(--dim);font-size:.8rem}

.lead-pop__foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:4px}

.lead-pop__foot span{color:var(--dim);font-size:.88rem}

.lead-pop__close{position:absolute;top:16px;right:16px;width:44px;height:44px;border-radius:50%;border:1px solid var(--line-strong);background:rgba(0,0,0,.25);color:var(--text);display:grid;place-items:center;cursor:pointer;z-index:2}

.lead-pop__close svg{width:20px;height:20px}

@media(max-width:860px){.lead-pop{padding:0;align-items:end}
.lead-pop__card{grid-template-columns:1fr;max-height:92vh;border-radius:24px 24px 0 0;animation-name:lpUp}
.lead-pop__side{display:none}
.lead-pop__main{padding:34px 22px 26px}
.lead-pop__main h2{font-size:1.7rem;padding-right:48px}
.lead-pop__form{grid-template-columns:1fr 1fr;gap:12px}
.lead-pop__form .field:nth-child(n+3){grid-column:1/-1}
.lead-pop__form textarea{min-height:80px}
.lead-pop__sub{font-size:.95rem}
.lead-pop__foot{flex-direction:column-reverse;align-items:stretch;text-align:center}
}

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


.lead-pop__foot a{color:var(--dim);font-size:.88rem}
.lead-pop__foot a:hover{color:var(--text)}

@media(prefers-reduced-motion:reduce){.lead-pop__card{animation:none}
}

body.pop-open{overflow:hidden}

/* FX-START */
/* ===== Duvitra FX: futuristic motion layer ===== */
html.fx-smooth { scroll-behavior: auto; }

/* --- 3. Hero: particle field + cursor glow --- */
.hero { isolation: isolate; }
.fx-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .9; }
.fx-cursor-glow { position: absolute; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(255,111,79,.22) 0%, rgba(255,154,60,.08) 38%, transparent 68%); transform: translate3d(var(--gx, 70vw), var(--gy, 40vh), 0); transition: opacity .6s; opacity: 0; }
.hero.fx-glow-on .fx-cursor-glow { opacity: 1; }

/* --- 2. Statement lit by scroll --- */
.fx-statement { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.fx-statement h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 0; }
.fx-statement__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.38; letter-spacing: -.01em; margin: 0; }
.fx-statement__text .w { color: rgba(247,238,233,.18); transition: color .35s ease; }
.fx-statement__text .w.on { color: var(--text); }
.fx-statement__text .w.hl.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) { .fx-statement { grid-template-columns: minmax(0, 1fr); } }
.fx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 70px); }
.fx-stat { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); }
.fx-stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-stat span { display: block; margin-top: 10px; color: var(--muted); }
@media (max-width: 820px) { .fx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- 1. Scroll story: Design. Build. Automate. Grow. --- */
.fx-story { position: relative; height: 460vh; }
.fx-story__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(255,111,79,.10), transparent 70%); }
.fx-story__grid { position: absolute; inset: -10%; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,180,150,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,180,150,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  transform: perspective(900px) rotateX(58deg) translateY(calc(var(--p, 0) * 256px)); transform-origin: 50% 100%; top: 30%; }
.fx-story__panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); opacity: 0; visibility: hidden; }
.fx-story__panel.is-on { visibility: visible; }
.fx-story__inner { display: flex; flex-direction: column; align-items: flex-start; }
.fx-story__head { position: relative; display: flex; align-items: center; }
.fx-story__word { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 11.5vw, 12rem); line-height: .95; letter-spacing: -.045em; color: var(--text); white-space: nowrap; }
.fx-story__word .ch { display: inline-block; opacity: 0; transform: translateY(.35em) rotateX(-70deg); filter: blur(8px); transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s, filter .6s; transition-delay: calc(var(--i) * 45ms); }
.fx-story__panel.is-active .ch { opacity: 1; transform: none; filter: none; }
.fx-story__word .dot { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.fx-story__art { position: absolute; width: clamp(150px, 16vw, 250px); aspect-ratio: 1; z-index: 2; pointer-events: none;
  opacity: 0; transform: scale(.6) rotate(-20deg); transition: transform 1s cubic-bezier(.2,.8,.2,1) .15s, opacity .7s .15s; }
.fx-story__panel.is-active .fx-story__art { opacity: 1; transform: none; }
.fx-story__art svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 22px rgba(255,111,79,.55)) drop-shadow(0 0 60px rgba(255,111,79,.25)); }
.fx-story__art--left { left: -11%; top: 50%; margin-top: calc(clamp(150px, 16vw, 250px) / -2); }
.fx-story__art--right { left: 100%; margin-left: -2.5vw; top: -30%; }
.fx-story__body { max-width: 440px; margin: 26px 0 0 .6vw; opacity: 0; transform: translateY(20px); transition: all .8s cubic-bezier(.2,.8,.2,1) .35s; }
.fx-story__panel.is-active .fx-story__body { opacity: 1; transform: none; }
.fx-story__body p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.fx-story__body a { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--text); }
.fx-story__body a svg { width: 18px; height: 18px; color: var(--orange); transition: transform .25s; }
.fx-story__body a:hover svg { transform: translateX(4px); }
.fx-story__nav { position: absolute; left: var(--gutter); bottom: 64px; display: flex; gap: 26px; }
.fx-story__nav span { display: flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); transition: color .4s; }
.fx-story__nav span::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width .4s, background .4s; }
.fx-story__nav span.on { color: var(--text); }
.fx-story__nav span.on::before { width: 40px; background: var(--orange); }
.fx-story__kicker { position: absolute; left: var(--gutter); top: calc(var(--header-h) + 34px); }
.fx-story__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.fx-story__bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad); }

/* icon motion */
@keyframes fxSpin { to { transform: rotate(360deg); } }
@keyframes fxSpinR { to { transform: rotate(-360deg); } }
@keyframes fxDraw { 0% { stroke-dashoffset: 420; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes fxFloat { 50% { transform: translateY(-10px); } }
@keyframes fxFlame { 0%, 100% { transform: scaleY(1); opacity: .95; } 50% { transform: scaleY(1.35); opacity: .7; } }
@keyframes fxPulse { to { stroke-dashoffset: -120; } }
@keyframes fxBlink { 50% { opacity: .35; } }
@keyframes fxCube { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }
@keyframes fxRise { from { transform: translateY(30px); opacity: 0; } }
.fx-orbit { transform-origin: 100px 100px; animation: fxSpin 14s linear infinite; }
.fx-orbit--r { animation: fxSpinR 20s linear infinite; }
.fx-draw { stroke-dasharray: 420; animation: fxDraw 4.5s cubic-bezier(.6,0,.2,1) infinite; }
.fx-float { animation: fxFloat 5s ease-in-out infinite; transform-box: fill-box; }
.fx-flame { transform-origin: 50% 0; transform-box: fill-box; animation: fxFlame .35s ease-in-out infinite; }
.fx-trace { stroke-dasharray: 10 110; animation: fxPulse 2.4s linear infinite; }
.fx-blink { animation: fxBlink 1.6s ease-in-out infinite; }
/* CSS 3D cube for Build */
.fx-cube-wrap { width: 100%; height: 100%; display: grid; place-items: center; perspective: 700px; filter: drop-shadow(0 0 24px rgba(255,111,79,.5)); }
.fx-cube { position: relative; width: 52%; aspect-ratio: 1; transform-style: preserve-3d; animation: fxCube 12s linear infinite; }
.fx-cube i { position: absolute; inset: 0; border: 2px solid rgba(255,190,150,.9); border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,154,60,.35), rgba(226,81,57,.12)); box-shadow: inset 0 0 30px rgba(255,111,79,.45), 0 0 18px rgba(255,111,79,.35); }
.fx-cube i:nth-child(1) { transform: translateZ(var(--h)); } .fx-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(var(--h)); }
.fx-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(var(--h)); } .fx-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(var(--h)); }
.fx-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(var(--h)); } .fx-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(var(--h)); }
.fx-cube b { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, #FFD35C, #FF6F4F 60%, transparent 70%); transform: translateZ(0); filter: blur(2px); }

/* Mobile: no pinning, panels stack and fade in */
@media (max-width: 820px) {
  .fx-story { height: auto; padding: 40px 0 60px; }
  .fx-story__pin { position: relative; height: auto; display: block; overflow: visible; }
  .fx-story__grid, .fx-story__nav, .fx-story__bar { display: none; }
  .fx-story__kicker { position: static; display: block; padding: 0 var(--gutter); margin-bottom: 10px; }
  .fx-story__panel { position: relative; inset: auto; visibility: visible; opacity: 1 !important; transform: none !important; filter: none !important; display: block; padding: 46px var(--gutter); }
  .fx-story__word { font-size: clamp(3.6rem, 19vw, 5.5rem); }
  .fx-story__head { flex-direction: column; align-items: flex-start; }
  .fx-story__art { position: relative; left: auto; right: auto; top: auto; margin: 0 0 6px; width: 120px; }
}

/* --- 5. Card tilt + cursor spotlight --- */
.fx-tilt { position: relative; transform-style: preserve-3d; will-change: transform; transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.fx-tilt.is-tilting { transition: transform .08s linear, border-color .3s; }
.fx-tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; z-index: 3;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,154,60,.16), transparent 45%); }
.fx-tilt::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s; z-index: 3;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,154,60,.95), rgba(255,111,79,.35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.fx-tilt.is-tilting::after, .fx-tilt.is-tilting::before { opacity: 1; }
.fx-cube { --h: calc(clamp(150px, 16vw, 250px) * .26); }
@media (max-width: 820px) { .fx-cube { --h: 31px; } }

/* --- Barbell OS phones swap places --- */
.phones .phone { transition: left .9s cubic-bezier(.65,0,.25,1), transform .9s cubic-bezier(.65,0,.25,1), opacity .9s; }
.phones .phone--r { right: auto; left: 56%; }
@media (max-width: 720px) { .phones .phone--r { left: 52%; } }

/* --- Polish: cursor, touch highlight --- */
body { cursor: default; }
a, button, summary, label[for], select, [role="button"], [role="tab"], .svc-tabs a { cursor: pointer; }
input, textarea, [contenteditable] { cursor: text; }
a, button, summary, [role="tab"], .pillar__svc, .work-card, .other-svcs a { -webkit-tap-highlight-color: transparent; }
.pillar__svc, .other-svcs a, .svc-tabs a, .btn, .nav__link { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.pillar__svc:active, .other-svcs a:active { background-color: var(--surface-2); }

/* --- Popup side panel without client list --- */
.lead-pop__side { justify-content: center; }

/* --- 3D assistant launcher --- */
.chat-launcher { width: 64px; height: 64px; background: radial-gradient(circle at 32% 26%, #FFC98F 0%, #FF8A55 38%, #F0583A 70%, #C23A22 100%);
  box-shadow: inset -6px -9px 16px rgba(110, 20, 0, .45), inset 5px 7px 12px rgba(255, 240, 220, .45), 0 16px 34px -10px rgba(255, 111, 79, .8); }
.chat-launcher::after { content: ""; position: absolute; top: 5px; right: 5px; width: 12px; height: 12px; border-radius: 50%; background: #3DDC84; border: 2px solid #2A140D; }
.chat-launcher svg.bot, .chat-launcher .bot { width: 42px; height: 42px; filter: drop-shadow(0 3px 3px rgba(90, 20, 5, .45)); animation: botFloat 3.2s ease-in-out infinite; }
.chat-launcher:hover .bot { animation-duration: 1.4s; }
.bot__eyes { transform-origin: 32px 35px; animation: botBlink 4.5s infinite; }
.bot__tip { animation: botGlow 1.8s ease-in-out infinite; }
@keyframes botFloat { 50% { transform: translateY(-2.5px) rotate(-3deg); } }
@keyframes botBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes botGlow { 50% { opacity: .55; } }
.chat-avatar { background: radial-gradient(circle at 32% 26%, #FFC98F 0%, #FF8A55 40%, #D9432E 100%); border: 0; }
.chat-avatar .bot { width: 30px; height: 30px; }
@media (max-width: 720px) { .chat-launcher { width: 58px; height: 58px; } .chat-launcher .bot { width: 38px; height: 38px; } }

/* --- 3D send button in chat --- */
.chat-form button[type="submit"] { position: relative; width: 50px; border-radius: 15px; overflow: hidden;
  background: radial-gradient(circle at 30% 22%, #FFC98F 0%, #FF8A55 40%, #EE5436 72%, #C23A22 100%);
  box-shadow: inset -4px -6px 10px rgba(110, 20, 0, .45), inset 3px 5px 8px rgba(255, 240, 220, .5), 0 8px 18px -6px rgba(255, 111, 79, .75);
  transition: transform .15s ease, box-shadow .15s ease; }
.chat-form button[type="submit"]::after { content: ""; position: absolute; left: 7px; right: 7px; top: 4px; height: 38%; border-radius: 12px 12px 30px 30px; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); pointer-events: none; }
.chat-form button[type="submit"] svg.send3d { width: 34px; height: 34px; filter: drop-shadow(0 3px 2px rgba(90, 20, 5, .5)); transform: rotate(-8deg); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.chat-form button[type="submit"]:hover svg.send3d { transform: rotate(-8deg) translate(2px, -2px) scale(1.06); }
.chat-form button[type="submit"]:active { transform: scale(.94); box-shadow: inset -2px -3px 6px rgba(110, 20, 0, .5), inset 2px 3px 6px rgba(255, 240, 220, .4), 0 3px 8px -4px rgba(255, 111, 79, .7); }
.chat-form button[type="submit"].is-sent svg.send3d { animation: sendFly .55s cubic-bezier(.5,0,.3,1); }
@keyframes sendFly { 45% { transform: translate(26px, -26px) rotate(-8deg) scale(.7); opacity: 0; } 46% { transform: translate(-20px, 20px) rotate(-8deg) scale(.7); opacity: 0; } 100% { transform: rotate(-8deg); opacity: 1; } }
/* FX-END */
