/* Vebxcode Inc. website styles
   Palette: black, white, Vebxcode red. Type: Archivo (expanded for headlines). */

:root {
  --black: #000000;
  --charcoal: #141414;
  --charcoal-2: #1d1d1d;
  --line: #2b2b2b;
  --line-light: #d6d6d2;
  --red: #e3120b;
  --red-dark: #b50e08;
  --white: #ffffff;
  --paper: #f1f1ee;
  --grey: #a6a6a6;
  --grey-dark: #5c5c5c;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: var(--white); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--grey); }

/* ---------- Type ---------- */
.h-display { font-stretch: 125%; font-weight: 700; letter-spacing: -0.025em; line-height: 0.98; }
.h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 18ch; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); max-width: 20ch; }
.h3 { font-size: 1.2rem; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: #d9d9d9; max-width: 60ch; }
.section-light .lead { color: #3a3a3a; }
.link { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; font-weight: 600; }
.link:hover { color: var(--red); }
.section-light .link { color: var(--black); }
.section-light .link:hover { color: var(--red-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: #555; color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(0,0,0,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: rgba(0,0,0,.88); }
.site-header { --logo-h: 52px; --header-h: max(72px, calc(var(--logo-h) + 24px)); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: var(--logo-h); width: auto; max-width: 260px; object-fit: contain; }
.brand-mark { width: 22px; height: 22px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.brand-name { font-stretch: 125%; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.site-nav ul a, .menu-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--radius);
  text-decoration: none; font-size: .97rem; color: #e2e2e2; background: none; border: 0; cursor: pointer;
}
.site-nav ul a:hover, .menu-trigger:hover { color: var(--white); }
.site-nav [aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.menu-trigger::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 360px; padding: 8px;
  background: var(--charcoal); border: 1px solid var(--line); border-radius: 8px;
  display: none; box-shadow: 0 24px 48px rgba(0,0,0,.5);
}
.has-menu.open .menu { display: block; }
.menu a { display: flex !important; gap: 12px; padding: 10px 12px !important; }
.menu a:hover { background: var(--charcoal-2); }
.menu .icon { width: 20px; height: 20px; color: var(--red); flex: none; }
.menu-all { font-weight: 650; border-bottom: 1px solid var(--line); border-radius: 0 !important; margin-bottom: 4px; }
.menu-secondary { color: var(--grey) !important; font-size: .9rem !important; }
.menu-secondary .icon { color: var(--grey); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--white); margin: 0 auto; position: relative; content: ""; transition: transform .2s; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header { --logo-h-m: min(var(--logo-h), 44px); --header-h: max(64px, calc(var(--logo-h-m) + 20px)); }
  .brand img { height: var(--logo-h-m); max-width: 200px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    background: var(--black); flex-direction: column; align-items: stretch; gap: 20px;
    padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul > li { border-bottom: 1px solid var(--line); }
  .site-nav ul a, .menu-trigger { width: 100%; padding: 16px 0; font-size: 1.15rem; justify-content: space-between; }
  .site-nav [aria-current="page"] { box-shadow: none; color: var(--red); }
  .menu { position: static; width: auto; border: 0; box-shadow: none; background: none; padding: 0 0 12px; }
  .menu a { font-size: 1rem !important; padding: 10px 0 !important; justify-content: flex-start !important; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Fluid background ---------- */
.has-fluid { position: relative; isolation: isolate; overflow: hidden; }
.has-fluid > .wrap { position: relative; z-index: 1; }
.fluid { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .34; }
.fluid canvas { display: block; width: 100%; height: 100%; }
.fluid-hero { opacity: .38; }
.fluid-soft { opacity: .22; }
.fluid-red { opacity: .55; }
.fluid-static canvas { display: none; }
.fluid-static {
  background:
    radial-gradient(40% 55% at 78% 30%, rgba(227,18,11,.55), transparent 70%),
    radial-gradient(35% 45% at 20% 85%, rgba(255,77,46,.35), transparent 70%);
}
.fluid-red.fluid-static { background: radial-gradient(45% 60% at 80% 20%, rgba(255,255,255,.35), transparent 70%), radial-gradient(40% 50% at 15% 90%, rgba(0,0,0,.5), transparent 70%); }
/* Fade the fluid out where text sits so headlines stay crisp */
.fluid-hero { -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.55) 0%, #000 55%); mask-image: linear-gradient(100deg, rgba(0,0,0,.55) 0%, #000 55%); }

/* ---------- Signal motif ---------- */
.signal { position: relative; height: 1px; background: var(--line); }
.signal span { position: absolute; left: 0; top: -1px; height: 3px; width: 96px; background: var(--red); }
.signal-hero { max-width: var(--wrap); margin: 0 auto; }
.signal-hero span { left: var(--gutter); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 3.5vw, 48px) clamp(32px, 5vw, 72px); align-items: start; }
.hero-title { grid-column: 1 / -1; font-size: clamp(2.5rem, 6.2vw, 5.4rem); line-height: .95; }
.hero-title span { display: block; text-wrap: balance; }
.hero-copy { padding-top: 6px; }
.hero-lead { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.flow-console { margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--charcoal); overflow: hidden; }
.console-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--grey); }
.console-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227,18,11,.18); }
.console-tag { margin-left: auto; font-size: .78rem; padding: 2px 8px; border: 1px solid #444; border-radius: 99px; color: var(--grey); font-weight: 600; }
.console-steps { list-style: none; padding: 22px 18px 10px; position: relative; --progress: 1; }
.console-steps::before, .console-steps::after { content: ""; position: absolute; left: 29px; top: 34px; bottom: 44px; width: 2px; background: var(--line); }
.console-steps::after { background: var(--red); transform-origin: top; transform: scaleY(var(--progress)); transition: transform .9s ease; }
.console-step { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding-bottom: 18px; z-index: 1; }
.step-node { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--charcoal); margin-top: 1px; transition: border-color .3s, background-color .3s; }
.step-body { display: grid; gap: 2px; font-size: .93rem; color: var(--grey); transition: color .3s; }
.step-body strong { color: #cfcfcf; font-weight: 650; transition: color .3s; }
.console-step.is-done .step-node { border-color: var(--red); background: var(--red); }
.console-step.is-done .step-body strong { color: var(--white); }
.console-step.is-current .step-body { color: #dcdcdc; }

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

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-charcoal { background: var(--charcoal); border-top: 0 !important; }
.section-light { background: var(--paper); color: var(--black); border-top: 0 !important; color-scheme: light; }
.section-light + .section { border-top: 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 18px; }
.section-head .lead { margin: 0; }
.section-link { margin: 36px 0 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { position: sticky; top: 112px; display: grid; gap: 28px; justify-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-head { position: static; } }

/* ---------- Service index ---------- */
.service-index { list-style: none; border-top: 1px solid var(--line); }
.service-index li { border-bottom: 1px solid var(--line); }
.service-row {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 24px; align-items: center; padding: 30px 0; text-decoration: none;
}
.service-row::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--red); transition: width .35s ease; }
.service-row:hover::before, .service-row:focus-visible::before { width: 100%; }
.service-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--red); }
.service-icon .icon { width: 22px; height: 22px; }
.service-title { font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.05; }
.service-text { color: var(--grey); font-size: .98rem; }
.service-more { font-size: .9rem; font-weight: 600; color: var(--grey); white-space: nowrap; }
.service-row:hover .service-more { color: var(--white); }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 48px 1fr; gap: 8px 18px; padding: 24px 0; }
  .service-text, .service-more { grid-column: 2; }
}

.service-secondary { margin-top: 40px; display: grid; gap: 6px; padding: 22px 24px; border: 1px dashed #3a3a3a; border-radius: var(--radius); }
.service-secondary p { margin: 0; color: var(--grey); font-size: .9rem; }
.service-secondary a { text-decoration: none; }
.service-secondary a strong { font-weight: 650; }
.service-secondary a span { color: var(--grey); }
.service-secondary a:hover strong { color: var(--red); }

/* ---------- Demos ---------- */
.tab-list { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tab-list button { background: none; border: 0; padding: 10px 18px; border-radius: 5px; cursor: pointer; color: var(--grey); font-weight: 600; }
.tab-list button[aria-selected="true"] { background: var(--white); color: var(--black); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-info .h3 { margin-bottom: 12px; font-size: 1.45rem; }
.demo-info p { color: #cfcfcf; max-width: 46ch; }
.demo-info audio { width: 100%; margin: 8px 0 16px; }
.demo-note { font-size: .88rem; color: var(--grey) !important; border-left: 2px solid var(--red); padding-left: 12px; }

.chat-demo { border: 1px solid var(--line); border-radius: 12px; background: var(--black); overflow: hidden; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.chat-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.chat-avatar .icon { width: 16px; height: 16px; }
.chat-log { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 260px; max-height: 380px; overflow-y: auto; }
.msg { margin: 0; padding: 10px 14px; border-radius: 14px; max-width: 82%; font-size: .95rem; line-height: 1.45; }
.msg-bot { background: var(--charcoal-2); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--red); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-typing { color: var(--grey); }
.chat-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.chat-options button { background: none; border: 1px solid #4a4a4a; border-radius: 99px; padding: 8px 14px; font-size: .9rem; cursor: pointer; text-align: left; }
.chat-options button:hover { border-color: var(--red); }
.chat-options button:disabled { opacity: .4; cursor: default; }

.transcript { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--black); }
.transcript-head { display: flex; align-items: center; font-weight: 600; margin-bottom: 14px; }
.t-line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: .95rem; padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.t-line span { font-weight: 650; font-size: .85rem; color: var(--grey); padding-top: 2px; }
.t-agent span { color: var(--red); }

.flow-steps { list-style: none; display: grid; gap: 0; position: relative; }
.flow-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 22px; position: relative; }
.flow-steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--red); }
.flow-num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); display: grid; place-items: center; font-weight: 700; }
.flow-steps strong { display: block; margin-top: 8px; }
.flow-steps p { color: var(--grey); margin: 2px 0 0; }

/* ---------- Industries ---------- */
.industry-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.industry-grid li { padding: 28px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.industry-grid .icon { width: 28px; height: 28px; color: var(--red-dark); margin-bottom: 18px; }
.industry-grid .h3 { margin-bottom: 8px; }
.industry-grid p { margin: 0; color: #444; font-size: .97rem; }
@media (max-width: 860px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }

.industry-rows { display: grid; }
.industry-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.industry-row:last-child { border-bottom: 1px solid var(--line); }
.industry-name { display: flex; gap: 14px; align-items: center; }
.industry-name .icon { width: 28px; height: 28px; color: var(--red); flex: none; }
.industry-row p { color: #cfcfcf; margin: 0; }
@media (max-width: 860px) { .industry-row { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Lists ---------- */
.why-list { margin: 0; display: grid; }
.why-list div { padding: 24px 0; border-top: 1px solid var(--line); }
.section-light .why-list div { border-color: var(--line-light); }
.why-list div:last-child { border-bottom: 1px solid var(--line); }
.section-light .why-list div:last-child { border-color: var(--line-light); }
.why-list dt { font-weight: 700; font-size: 1.15rem; font-stretch: 112%; margin-bottom: 6px; }
.why-list dd { margin: 0; color: var(--grey); max-width: 56ch; }
.section-light .why-list dd { color: #444; }

.ticks { list-style: none; display: grid; gap: 10px; margin: 16px 0 20px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--red); }
.ticks-lg li { font-size: 1.15rem; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
.ticks-lg li::before { top: 1.45em; }
.ticks-lg { gap: 0; margin-top: 0; }
.use-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.use-list li { padding: 18px 0; border-top: 1px solid var(--line-light); font-weight: 600; }
@media (max-width: 560px) { .use-list { grid-template-columns: 1fr; } }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .project-grid { grid-template-columns: 1fr; } }
.project { display: block; text-decoration: none; }
.project-media { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--black); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--red);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; background-position: center;
}
.project-placeholder .icon { width: 56px; height: 56px; background: var(--black); padding: 12px; border-radius: 50%; border: 1px solid var(--red); box-sizing: content-box; }
.project-body { padding-top: 18px; }
.project-body .h3 { margin: 8px 0 6px; }
.project:hover .h3 { color: var(--red); }
.project-body p { color: var(--grey); font-size: .97rem; margin: 0; }
.project-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .85rem; margin: 0; }
.project-meta-lg { margin-bottom: 14px; }
.tag { padding: 3px 10px; border-radius: 99px; font-weight: 600; font-size: .8rem; }
.tag-demo { border: 1px solid #555; color: #ddd; }
.tag-client { background: var(--red); color: var(--white); }
.project-hero-img { border-radius: 8px; border: 1px solid var(--line); margin: 24px 0 40px; width: 100%; }
.case { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 32px 0; }
.case .h3 { margin-bottom: 12px; color: var(--red); }
.case p { color: #d0d0d0; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--red); }
.process li { position: relative; }
.process-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--black); color: var(--white); font-weight: 700; font-stretch: 125%; margin-bottom: 20px; position: relative; }
.process .h3 { margin-bottom: 8px; }
.process p { color: #444; font-size: .95rem; margin: 0; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .process li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .process-num { grid-row: span 2; margin: 0; }
  .process .h3 { align-self: end; margin-top: 4px; }
}

/* ---------- Testimonials, team ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.quote { margin: 0; padding: 28px; border-left: 3px solid var(--red); background: var(--charcoal); }
.quote blockquote { margin: 0 0 18px; font-size: 1.1rem; }
.quote figcaption { display: grid; font-size: .92rem; }
.quote figcaption span { color: var(--grey); }
.team { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.team img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 16px; width: 100%; }
.team p { margin: 4px 0 8px; font-size: .95rem; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 0; }
.page-hero .wrap { padding-bottom: clamp(48px, 7vw, 88px); display: grid; gap: 22px; }
.page-hero .lead { margin: 0; }
.crumb { margin: 0; font-size: .92rem; color: var(--grey); }
.crumb a { color: var(--grey); text-decoration: none; }
.crumb a:hover { color: var(--white); }
.crumb a::after { content: " /"; }
.prose p { color: #d6d6d6; max-width: 65ch; }
.service-image { border-radius: 8px; border: 1px solid var(--line); margin-top: 32px; }

/* ---------- Solutions overview ---------- */
.solution-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.solution { padding: 36px 0; border-top: 1px solid var(--line); }
.solution-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.solution-head a { text-decoration: none; }
.solution-head a:hover { color: var(--red); }
.solution > p { color: #cfcfcf; }
@media (max-width: 860px) { .solution-list { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 20px; max-width: 640px; }
.form .h3 { font-size: 1.45rem; }
.form-row { display: grid; gap: 8px; }
.form label { font-weight: 600; font-size: .95rem; }
.opt { color: var(--grey); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius);
  background: var(--charcoal); border: 1px solid #3a3a3a; color: var(--white);
  font: inherit; font-size: 1rem;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,18,11,.25); }
.form [aria-invalid="true"] { border-color: var(--red); }
.form .btn { justify-self: start; min-width: 180px; }
.field-err { color: #ff6b63; font-size: .9rem; margin: 0; }
.form-small { font-size: .85rem; color: var(--grey); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-radius: var(--radius); margin: 0; }
.notice-err { background: rgba(227,18,11,.12); border: 1px solid rgba(227,18,11,.5); }
.notice-ok { border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--charcoal); padding: 28px; }
.notice-ok .h3 { margin-bottom: 8px; }
.contact-side .h3 { margin-bottom: 18px; }
.contact-list { list-style: none; display: grid; }
.contact-list li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list span { font-size: .85rem; color: var(--grey); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--red); }
.booking-frame { border-radius: 10px; overflow: hidden; background: var(--white); }
.booking-frame iframe { width: 100%; height: 720px; border: 0; display: block; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--red); padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) auto; gap: 32px; align-items: end; }
.cta-band .lead { color: #fff; opacity: .92; margin: 18px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-red { background: var(--black); }
.cta-band .btn-red:hover { background: #222; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.7); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(0,0,0,.12); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

.site-footer { padding: 72px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-name { font-stretch: 125%; font-weight: 800; font-size: 1.3rem; margin-bottom: 8px; }
.footer-brand .muted { max-width: 32ch; margin-bottom: 22px; }
.footer-head { font-weight: 700; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer-links a { text-decoration: none; color: #cfcfcf; }
.footer-links a:hover { color: var(--white); }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: .9rem; }
.footer-social a { color: var(--grey); }
.footer-base { margin-top: 56px; font-size: .88rem; color: var(--grey); }
.footer-base p { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--black); box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: var(--red); color: var(--white); }

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