/* ==========================================================================
   LINE BUFFALO DESIGN — V2 stylesheet
   Structure: 1 tokens · 2 base · 3 layout · 4 buttons · 5 header/nav
   6 hero · 7 sections · 8 work · 9 services · 10 process · 11 plans
   12 products · 13 faq · 14 cta/footer · 15 portfolio/lightbox
   16 forms · 17 quote cart · 18 utilities · 19 responsive · 20 motion
   ========================================================================== */

/* 0. Self-hosted fonts (SIL Open Font License — see assets/fonts) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/bricolage-grotesque-latin-var.woff2") format("woff2-variations"),
       url("../assets/fonts/bricolage-grotesque-latin-var.woff2") format("woff2");
}
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("../assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("../assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("../assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-display: swap; src: url("../assets/fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --blue: #0866F5;
  --blue-deep: #0552C6;
  --sky: #13A9F5;
  --ink: #151515;
  --white: #FFFFFF;
  --mist: #EAF6FF;
  --mist-2: #F4F9FF;
  --navy: #0B1730;
  --navy-2: #12224A;
  --hero-grad: radial-gradient(900px 520px at 85% 10%, rgba(19,169,245,.55), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(4,40,120,.55), transparent 60%), linear-gradient(135deg, #0446C2 0%, #0866F5 55%, #1690F5 100%);
  --muted: #526579;
  --line: #DCE7F2;
  --line-strong: #C4D5E6;
  --danger: #C62828;
  --ok: #137A3A;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* modular scale ≈ 1.25 */
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem);
  --fs-2xl: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --pill: 999px;

  --shadow-1: 0 1px 2px rgba(21, 38, 64, .06), 0 4px 14px rgba(21, 38, 64, .05);
  --shadow-2: 0 2px 6px rgba(8, 40, 90, .06), 0 22px 48px -18px rgba(8, 60, 140, .28);
  --shadow-blue: 0 14px 34px -14px rgba(8, 102, 245, .55);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: var(--fs-xl); letter-spacing: -.03em; }
h3 { font-size: var(--fs-md); letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue); color: var(--white); }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.1rem; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--mist { background: var(--mist-2); border-block: 1px solid #E1ECF8; }
.section--ink { background: var(--ink); color: #E7EEF6; }
.section--ink h2, .section--ink h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-md); line-height: 1.55; margin: 0; }
.section-head--split {
  max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }
.kicker {
  display: inline-flex; align-items: flex-start; gap: .55rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--blue);
  margin-bottom: 1rem;
}
.kicker::before { content: ""; flex: none; width: 22px; height: 2px; margin-top: .72em; background: currentColor; border-radius: 2px; }
.lead { font-size: var(--fs-md); color: var(--muted); line-height: 1.55; max-width: 62ch; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: var(--pill); border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { box-shadow: var(--shadow-blue); }
.btn--primary:hover { --btn-bg: var(--blue-deep); --btn-bd: var(--blue-deep); box-shadow: 0 18px 38px -14px rgba(8, 102, 245, .7); }
.btn--secondary { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--secondary:hover { --btn-bd: var(--blue); --btn-fg: var(--blue); }
.btn--ink { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--ink:hover { --btn-bg: #000; }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--blue); --btn-bd: var(--white); }
.btn--light:hover { --btn-fg: var(--blue-deep); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.55); }
.btn--outline-light:hover { --btn-bd: var(--white); }
.btn--wa { --btn-bg: #1E8E4E; --btn-bd: #1E8E4E; }
.btn--wa:hover { --btn-bg: #17703D; --btn-bd: #17703D; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn.is-added { --btn-bg: var(--mist); --btn-fg: var(--blue-deep); --btn-bd: var(--sky); box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; text-decoration: none; color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 5. Header & nav ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(8, 40, 90, .45); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1.25rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 52px; width: auto; }
.brand .brand-text { display: none; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1; font-size: 1.15rem; }
.brand .brand-text span { display: block; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .02em; margin-top: 3px; }
.brand.no-logo img { display: none; }
.brand.no-logo .brand-text { display: block; }

.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: .15rem; }
.primary-nav a {
  display: block; padding: .5rem .72rem; border-radius: var(--pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.primary-nav a:hover { background: var(--mist); color: var(--blue-deep); }
.primary-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; background: var(--mist); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.lang-switch {
  display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white);
}
.lang-switch a {
  min-width: 38px; padding: .3rem .55rem; border-radius: var(--pill); text-align: center;
  font-size: var(--fs-xs); font-weight: 700; color: var(--muted); text-decoration: none; line-height: 1.4;
}
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--white); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--blue); }

.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color .2s, color .2s;
}
.cart-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: var(--pill); background: var(--blue); color: var(--white);
  font-size: 11px; font-weight: 700; line-height: 21px; text-align: center;
  border: 2px solid var(--white);
  transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel { display: none; }

/* Breadcrumbs */
.breadcrumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(19, 169, 245, .16), transparent 62%),
    radial-gradient(700px 420px at 70% 92%, rgba(8, 102, 245, .10), transparent 65%),
    var(--white);
}
.hero::after {
  /* faint blueprint grid, fades out to the left */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(8, 102, 245, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8, 102, 245, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 75%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .35em; max-width: 13.5ch; }
.hero-line { display: block; width: min(340px, 70%); height: 18px; margin: -.1em 0 1.4rem; color: var(--blue); overflow: visible; }
.hero-line path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin-bottom: 2rem; }
.hero-contact {
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.8rem;
  font-size: var(--fs-sm); color: var(--muted);
}
.hero-contact a { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.hero-contact a:hover { color: var(--blue); }
.hero-contact svg { width: 17px; height: 17px; color: var(--blue); }

/* Device showcase */
.showcase { position: relative; aspect-ratio: 1.12 / 1; width: 100%; }
.device { position: absolute; background: var(--ink); box-shadow: var(--shadow-2); overflow: hidden; }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device--desktop {
  left: 0; top: 4%; width: 88%; border-radius: 14px; padding: 30px 8px 8px;
  aspect-ratio: 16 / 10.4;
}
.device--desktop::before {
  content: ""; position: absolute; top: 11px; left: 14px; width: 9px; height: 9px; border-radius: 50%;
  background: #FF5F57; box-shadow: 15px 0 0 #FEBC2E, 30px 0 0 #28C840;
}
.device--desktop::after {
  content: attr(data-url); position: absolute; top: 7px; left: 70px; right: 14px; height: 17px;
  border-radius: 6px; background: #2A2E33; color: #9AA8B6; font-size: 10px; line-height: 17px; padding-left: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.device--desktop .screen { border-radius: 6px; overflow: hidden; height: 100%; background: var(--white); }
.device--tablet {
  right: 0; bottom: 3%; width: 46%; aspect-ratio: 4 / 3; border-radius: 18px; padding: 9px;
}
.device--tablet .screen, .device--phone .screen { border-radius: 10px; overflow: hidden; height: 100%; background: var(--white); }
.device--phone {
  left: 6%; bottom: 0; width: 21%; aspect-ratio: 9 / 19; border-radius: 26px; padding: 7px;
}
.device--phone .screen { border-radius: 20px; }
.showcase .device { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.showcase .device--desktop { animation-delay: .15s; }
.showcase .device--tablet { animation-delay: .35s; }
.showcase .device--phone { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.showcase-note {
  position: absolute; right: 2%; top: 0; z-index: 3;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--pill);
  padding: .45rem .9rem; font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
  box-shadow: var(--shadow-1);
}
.showcase-note b { color: var(--blue); }

/* Inner page hero */
.page-hero {
  padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  background:
    radial-gradient(800px 360px at 92% 0%, rgba(19, 169, 245, .14), transparent 65%),
    linear-gradient(var(--white), var(--mist-2));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 1.8rem; }

/* 7. Generic sections ---------------------------------------------------- */
.intro-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.intro-band h2 { margin: 0; }
.intro-band p { color: var(--muted); font-size: var(--fs-md); line-height: 1.55; }
.fact-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: 2rem; }
.fact-list li { background: var(--white); padding: 1.15rem 1.25rem; font-size: var(--fs-sm); color: var(--muted); }
.fact-list strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .15rem; }

.industry-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.industry-list li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem 1.05rem; border-radius: var(--pill);
  background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: var(--fs-sm);
}
.industry-list svg { width: 18px; height: 18px; color: var(--blue); }

.why-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.why-list .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--blue); }
.why-list .ico svg { width: 22px; height: 22px; }
.why-list h3 { margin: 0 0 .25rem; font-size: 1.12rem; }
.why-list p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

.panel {
  position: relative; border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: linear-gradient(160deg, var(--blue) 0%, #0757D2 55%, #063E99 100%); color: #EAF3FF;
  overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.03);
}
.panel h2, .panel h3 { color: var(--white); }
.panel p { color: #D3E5FF; }
.panel .check-list li::before { background-color: rgba(255,255,255,.18); background-image: var(--check-white); }

.check-list { list-style: none; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.85rem; line-height: 1.45; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--mist) var(--check-blue) center / 12px no-repeat;
}
.x-list { list-style: none; display: grid; gap: .55rem; }
.x-list li { position: relative; padding-left: 1.6rem; color: var(--muted); line-height: 1.45; }
.x-list li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 10px; height: 2px; background: var(--line-strong); border-radius: 2px; }
:root {
  --check-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230866F5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.notice {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: var(--r-md);
  background: var(--mist); border: 1px solid #CBE6FB; color: #23415F; font-size: var(--fs-sm); line-height: 1.5;
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 1px; }
.notice p { margin: 0; }
.notice--warn { background: #FFF8E6; border-color: #F3DFA6; color: #5B4510; }
.notice--warn svg { color: #B07A00; }

/* 8. Featured work --------------------------------------------------------- */
.work-feature {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center;
  padding-block: clamp(2rem, 1rem + 3vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.work-feature:first-of-type { border-top: 0; padding-top: 0; }
.work-feature:nth-of-type(even) { grid-template-columns: .75fr 1.25fr; }
.work-feature:nth-of-type(even) .work-media { order: 2; }
.work-media { position: relative; }
.browser {
  border-radius: 14px; background: var(--ink); padding: 28px 7px 7px; position: relative; box-shadow: var(--shadow-2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.browser::before {
  content: ""; position: absolute; top: 10px; left: 13px; width: 8px; height: 8px; border-radius: 50%;
  background: #FF5F57; box-shadow: 13px 0 0 #FEBC2E, 26px 0 0 #28C840;
}
.browser .screen { border-radius: 7px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.browser img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.6s var(--ease); }
.work-media:hover .browser { transform: translateY(-4px); }
.work-media:hover .browser img { transform: scale(1.03); }
.work-media .phone {
  position: absolute; right: -2%; bottom: -8%; width: 22%; aspect-ratio: 9 / 19;
  background: var(--ink); border-radius: 22px; padding: 6px; box-shadow: var(--shadow-2);
}
.work-feature:nth-of-type(even) .work-media .phone { right: auto; left: -2%; }
.work-media .phone .screen { border-radius: 17px; overflow: hidden; height: 100%; }
.work-media .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.zoom-btn {
  position: absolute; inset: 0; border: 0; background: transparent; border-radius: 14px; cursor: zoom-in;
}
.work-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .7rem; border-radius: var(--pill);
  background: var(--mist); color: var(--blue-deep); font-size: var(--fs-xs); font-weight: 600;
}
.tag--demo { background: #FFF3D6; color: #7A5400; }
.tag--neutral { background: #EFF2F6; color: var(--muted); }
.work-copy h3 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.work-copy p { color: var(--muted); }
.delivered { margin: 1.25rem 0 1.5rem; }
.delivered h4 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; color: var(--ink); letter-spacing: 0; margin-bottom: .6rem; }
.delivered ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.delivered li { font-size: var(--fs-xs); padding: .3rem .65rem; border: 1px solid var(--line); border-radius: var(--pill); color: var(--muted); }

/* 9. Services -------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.svc {
  position: relative; padding: 1.75rem 1.6rem 1.9rem; background: var(--white);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}
.svc:hover { background: var(--mist-2); }
.svc .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--mist); color: var(--blue); margin-bottom: 1.1rem; transition: background-color .25s, color .25s; }
.svc:hover .ico { background: var(--blue); color: var(--white); }
.svc .ico svg { width: 23px; height: 23px; }
.svc h3 { margin-bottom: .45rem; }
.svc p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1rem; }
.svc .link-arrow { font-size: var(--fs-sm); }
.svc--wide { grid-column: 1 / -1; display: flex; gap: 1.5rem; align-items: center; background: var(--mist-2); }
.svc--wide .ico { margin-bottom: 0; flex: none; }
.svc--wide > div:not(.ico) { flex: 1; }
.svc--wide p { margin-bottom: 0; }

/* Service detail blocks (services page) */
.svc-detail {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--line);
}
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail .svc-aside .ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--mist); color: var(--blue); margin-bottom: 1rem; }
.svc-detail .svc-aside .ico svg { width: 26px; height: 26px; }
.svc-detail h2 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.svc-detail .svc-aside p { color: var(--muted); font-size: var(--fs-sm); }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
.svc-cols h3 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; margin-bottom: .75rem; letter-spacing: 0; }
.svc-cols p { color: var(--muted); font-size: var(--fs-sm); }
.svc-cols .check-list { font-size: var(--fs-sm); }
.svc-detail .svc-cta { grid-column: 2; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .5rem; }
.svc-detail .svc-cta small { color: var(--muted); }
.svc-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.svc-jump a { font-size: var(--fs-xs); font-weight: 600; padding: .45rem .85rem; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); }
.svc-jump a:hover { border-color: var(--blue); color: var(--blue); }

/* 10. Process -------------------------------------------------------------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform 1.4s var(--ease);
}
.process li { position: relative; counter-increment: step; padding-top: 4rem; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  background: var(--white); color: var(--blue); border: 2px solid var(--blue);
}
.process li:last-child::before { background: var(--blue); color: var(--white); }
.process h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.process p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.process--8 { grid-template-columns: repeat(4, 1fr); row-gap: 2.5rem; }
.process--8::before { display: none; }

/* 11. Plans ---------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.4rem 1.5rem; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #BFD8F5; }
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; margin: 0 0 .2rem; }
.plan-for { color: var(--muted); font-size: var(--fs-xs); min-height: 2.6em; margin-bottom: 1.1rem; line-height: 1.35; }
.price { margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--line-strong); }
.price-month {
  display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap;
  font-family: var(--font-display); color: var(--blue); line-height: 1; letter-spacing: -.04em;
}
.price-month .amount { font-size: clamp(2.7rem, 2rem + 1.6vw, 3.4rem); font-weight: 800; }
.price-month .per { font-size: 1rem; font-weight: 800; letter-spacing: .06em; }
.price-care { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); margin-top: .5rem; }
.price-setup {
  display: block; margin-top: .6rem; padding: .5rem .7rem; border-radius: var(--r-sm);
  background: var(--mist-2); border: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink); line-height: 1.3;
}
.price-setup strong { font-weight: 700; }
.plan .check-list { font-size: var(--fs-sm); gap: .5rem; margin-bottom: 1.4rem; }
.check-list li.more { padding-left: 0; margin-top: .2rem; }
.check-list li.more::before { display: none; }
.check-list li.more a { font-weight: 600; text-decoration: none; }
.plan .btn { margin-top: auto; }
.plan .plan-small { font-size: var(--fs-xs); color: var(--muted); text-align: center; margin: .7rem 0 0; }
.plan--featured {
  padding-top: 2.4rem;
  border: 2px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(8, 102, 245, .55);
  background: linear-gradient(180deg, #F4F9FF 0, var(--white) 140px);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); margin: 0;
  padding: .3rem .7rem; border-radius: var(--pill); text-align: center;
  background: var(--blue); color: var(--white); font-size: var(--fs-xs); font-weight: 700; line-height: 1.35;
}
.plan--custom {
  grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 2rem; flex-wrap: wrap;
  background: var(--ink); color: #D9E3EE; border-color: var(--ink);
}
.plan--custom:hover { border-color: var(--ink); }
.plan--custom .plan-name { color: var(--white); }
.plan--custom .price-month { color: var(--sky); }
.plan--custom .price-month .amount { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.plan--custom .price-setup { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--white); }
.plan--custom .price { border: 0; margin: 0; padding: 0; }
.plan--custom > .custom-copy { flex: 1 1 340px; }
.plan--custom p { margin: 0; color: #B9C7D6; font-size: var(--fs-sm); }
.plan--custom .btn { margin-top: 0; }

.plans-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-size: 1rem; background: var(--mist-2); position: sticky; top: 0; }
.compare thead th.is-featured { color: var(--blue); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 26%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--blue); font-weight: 700; }
.compare .no { color: #9AA9B8; }
.compare .monthly { color: var(--blue); font-weight: 800; font-family: var(--font-display); font-size: 1.1rem; }

.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.care {
  padding: 1.3rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white);
}
.care h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.care .care-n { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.03em; }
.care p { margin: .35rem 0 0; color: var(--muted); font-size: var(--fs-xs); }

.terms { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.terms li { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.terms .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.terms .ico svg { width: 18px; height: 18px; }
.terms strong { display: block; font-size: var(--fs-base); margin-bottom: .1rem; }
.terms span { color: var(--muted); }

/* 12. Products ------------------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.product {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-1);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.product:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.product-visual { background: linear-gradient(150deg, var(--mist) 0%, #DDEFFF 100%); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1.25rem; }
.product-visual img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.product-body > p { color: var(--muted); font-size: var(--fs-sm); }
.product-form { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding-top: .5rem; flex: 1; align-content: start; }
.product-form .btn { align-self: end; }
.product-form .field { margin: 0; }
.product-form .field--full { grid-column: 1 / -1; }
.product-form label { font-size: var(--fs-xs); }
.product-form select, .product-form input, .product-form textarea { padding: .55rem .7rem; font-size: var(--fs-sm); min-height: 42px; }
.product-form textarea { min-height: 64px; }
.product-form .btn { grid-column: 1 / -1; margin-top: .3rem; }
.product-mini { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1rem; }

/* 13. FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem .25rem; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230866F5' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: #D6ECFF; }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 3rem 1.35rem .25rem; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h3 { font-size: var(--fs-md); margin-bottom: .75rem; }

/* 14. CTA band & footer --------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(19, 169, 245, .55), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, #054FBE 100%);
  color: #E6F1FF; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .4em; }
.cta-band p { margin: 0; color: #D3E6FF; font-size: var(--fs-md); }
.cta-band .btn-row { justify-content: flex-end; position: relative; }

.site-footer { background: var(--navy); color: #A9B9CF; padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); margin-top: 0; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; color: var(--white); letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: #C9D4DF; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand .brand img { height: 58px; }
.footer-brand .brand .brand-text span { color: var(--sky); }
.footer-brand p { max-width: 34ch; }
.footer-contact li { display: flex; gap: .6rem; align-items: center; }
.footer-contact svg { width: 17px; height: 17px; color: var(--sky); flex: none; }
.footer-bottom {
  margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); color: #8494A5;
}
.footer-areas { color: #8494A5; font-size: var(--fs-xs); margin-top: 1rem; }

/* Mobile contact bar */
.contact-bar { display: none; }

/* 15. Portfolio & lightbox ------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn {
  padding: .55rem 1.05rem; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white);
  font-size: var(--fs-sm); font-weight: 600; color: var(--muted); transition: all .2s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.pf-card {
  display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white);
  overflow: hidden; box-shadow: var(--shadow-1); transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .3s;
}
.pf-card:hover { box-shadow: var(--shadow-2); }
.pf-card.is-hidden { display: none; }
.pf-card.is-entering { opacity: 0; transform: translateY(10px); }
.pf-shot { position: relative; background: linear-gradient(160deg, var(--mist), #D9ECFD); padding: 1.4rem 1.4rem 0; }
.pf-shot .browser { border-radius: 12px 12px 0 0; padding-bottom: 0; box-shadow: 0 -10px 30px -18px rgba(8,40,90,.45); }
.pf-shot .browser .screen { border-radius: 6px 6px 0 0; }
.pf-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pf-body h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.pf-body p { color: var(--muted); font-size: var(--fs-sm); }
.pf-body .btn-row { margin-top: auto; }

.pf-future { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; }
.pf-future li { list-style: none; padding: 1.1rem; border-radius: var(--r-md); border: 1px dashed var(--line-strong); color: var(--muted); font-size: var(--fs-sm); display: flex; gap: .6rem; align-items: center; background: var(--white); }
.pf-future svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 16, 26, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; background: var(--white); }
.lightbox figcaption { color: #D9E3EE; text-align: center; margin-top: .85rem; font-size: var(--fs-sm); }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-2);
}
.lightbox-close { top: -18px; right: -12px; }
.lightbox-nav { top: calc(50% - 40px); }
.lightbox-nav--prev { left: -18px; }
.lightbox-nav--next { right: -18px; }
.lightbox-close svg, .lightbox-nav svg { width: 20px; height: 20px; }
.lightbox[open] { animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* 16. Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field .opt { color: var(--muted); font-weight: 400; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526579' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 16px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9DB6CF; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 102, 245, .15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { font-size: var(--fs-xs); color: var(--danger); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { font-size: var(--fs-xs); color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-chip span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: var(--pill);
  border: 1.5px solid var(--line-strong); font-size: var(--fs-sm); font-weight: 600; color: var(--muted); background: var(--white);
  transition: all .2s;
}
.radio-chip input:checked + span { border-color: var(--blue); color: var(--blue); background: var(--mist); }
.radio-chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-status { font-size: var(--fs-sm); padding: .9rem 1rem; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.is-error { background: #FDECEC; color: #8E1B1B; }
.form-status.is-info { background: var(--mist); color: #1C3D60; }

.contact-methods { display: grid; gap: .85rem; }
.contact-method {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center;
  padding: 1rem 1.15rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white);
  text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contact-method:hover { border-color: var(--blue); box-shadow: var(--shadow-1); transform: translateY(-2px); color: var(--ink); }
.contact-method .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.contact-method .ico svg { width: 22px; height: 22px; }
.contact-method strong { display: block; font-size: var(--fs-base); }
.contact-method span { color: var(--muted); font-size: var(--fs-sm); }
.contact-method .go { color: var(--blue); }
.contact-method .go svg { width: 18px; height: 18px; }
.contact-card { border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); background: var(--white); box-shadow: var(--shadow-1); }

/* 17. Quote cart ---------------------------------------------------------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 140; background: rgba(10, 18, 30, .5);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(460px, 100%); background: var(--white); display: flex; flex-direction: column;
  box-shadow: -30px 0 60px -30px rgba(8, 30, 70, .5);
  transform: translateX(104%); visibility: hidden;
  transition: transform .4s var(--ease), visibility .4s;
}
.cart-panel.is-open { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.35rem; margin: 0; }
.cart-head small { display: block; color: var(--muted); font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; margin-top: .2rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink); flex: none; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-body { flex: 1; overflow-y: auto; padding: 1.15rem 1.35rem 1.5rem; overscroll-behavior: contain; }
.cart-empty { text-align: center; padding: 2.5rem .5rem; color: var(--muted); }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 1rem; color: var(--sky); }
.cart-empty h3 { color: var(--ink); }
.cart-empty .btn-row { justify-content: center; margin-top: 1.25rem; }
.cart-items { list-style: none; display: grid; gap: .75rem; }
.cart-item { position: relative; padding: 1rem 3rem 1rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.cart-item--plan { border-color: #B9D6FA; background: linear-gradient(180deg, #F5FAFF, var(--white)); }
.cart-item h3 { font-size: 1.02rem; margin: 0 0 .2rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.cart-item .meta { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.cart-item .care-line {
  display: flex; gap: .5rem; align-items: flex-start; margin-top: .65rem; padding: .6rem .7rem;
  border-radius: 10px; background: var(--mist); font-size: var(--fs-xs); color: #1C3D60; line-height: 1.45;
}
.cart-item .care-line svg { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: 1px; }
.cart-item .fee-lines { display: grid; gap: .2rem; margin-top: .55rem; font-size: var(--fs-sm); }
.cart-item .fee-lines span { display: flex; justify-content: space-between; gap: .5rem; }
.cart-item .fee-lines b.month { color: var(--blue); }
.cart-item .remove { position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; }
.cart-summary { margin-top: 1rem; padding: 1rem; border-radius: var(--r-md); background: var(--mist-2); border: 1px solid var(--line); font-size: var(--fs-sm); }
.cart-summary h3 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; margin-bottom: .5rem; }
.cart-summary dl { margin: 0; display: grid; gap: .3rem; }
.cart-summary dl div { display: flex; justify-content: space-between; gap: 1rem; }
.cart-summary dt { color: var(--muted); }
.cart-summary dd { margin: 0; font-weight: 700; text-align: right; }
.cart-summary p { margin: .6rem 0 0; font-size: var(--fs-xs); color: var(--muted); }
.cart-form { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.cart-form h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.cart-form > p { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 1rem; }
.cart-form .form { gap: .8rem; }
.cart-form .field input, .cart-form .field textarea { min-height: 46px; padding: .6rem .8rem; }
.cart-form .field textarea { min-height: 80px; }
.send-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
.send-row .btn { padding-inline: .6rem; }
.cart-foot { padding: .9rem 1.35rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--fs-xs); color: var(--muted); }
.text-btn { border: 0; background: none; padding: .3rem; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--danger); }
.handoff { margin-top: 1rem; }
.handoff textarea { width: 100%; min-height: 140px; font-size: var(--fs-xs); padding: .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--mist-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 200%); visibility: hidden;
  display: flex; align-items: center; gap: .75rem; max-width: calc(100vw - 32px);
  padding: .8rem 1rem .8rem 1.1rem; border-radius: var(--pill); background: var(--ink); color: var(--white);
  font-size: var(--fs-sm); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
  transition: transform .4s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
@media (max-width: 980px) { .toast { bottom: 76px; } }
.toast button { border: 0; background: var(--blue); color: var(--white); border-radius: var(--pill); padding: .4rem .85rem; font-size: var(--fs-xs); font-weight: 700; }

/* 18. Utilities ------------------------------------------------------------ */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.center { text-align: center; }
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-lg); margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #33475B; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1em; display: grid; gap: .35rem; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: var(--blue); letter-spacing: -.06em; margin: 0; }

/* 19. Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .primary-nav a { padding: .5rem .55rem; }
  .header-actions .btn--quote { display: none; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .primary-nav, .header-actions .lang-switch { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .brand img { height: 44px; }
  .mobile-panel {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 85;
    background: var(--white); overflow-y: auto; padding: 1.25rem var(--gutter) 6rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .mobile-panel.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-panel ul { list-style: none; border-top: 1px solid var(--line); }
  .mobile-panel li a {
    display: flex; justify-content: space-between; padding: 1rem .25rem; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none;
  }
  .mobile-panel li a[aria-current="page"] { color: var(--blue); }
  .mobile-panel .lang-switch { margin: 1.5rem 0 1rem; }
  .mobile-panel .lang-switch a { min-width: 64px; font-size: var(--fs-sm); padding: .45rem .8rem; }
  .mobile-contacts { display: grid; gap: .6rem; margin-top: 1rem; }

  .hero-grid, .split, .intro-band, .cta-band { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .showcase { max-width: 640px; margin-inline: auto; }
  .cta-band .btn-row { justify-content: flex-start; }
  .svc-grid, .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--wide { grid-column: span 2; }
  .work-feature, .work-feature:nth-of-type(even) { grid-template-columns: 1fr; }
  .work-feature:nth-of-type(even) .work-media { order: 0; }
  .process, .process--8 { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; }
  .process::before { display: none; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail .svc-cta { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: 1fr; }
  .plans-foot { grid-template-columns: 1fr; }

  .contact-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: var(--line); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .contact-bar span { white-space: nowrap; }
  .contact-bar a, .contact-bar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
    min-height: 60px; background: var(--white); border: 0; color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none;
  }
  .contact-bar svg { width: 20px; height: 20px; color: var(--blue); }
  .contact-bar .is-primary { background: var(--blue); color: var(--white); }
  .contact-bar .is-primary svg { color: var(--white); }
  body { padding-bottom: 60px; }
  .site-footer { padding-bottom: 1rem; }
}
@media (max-width: 680px) {
  :root { --fs-base: 1rem; }
  .grid-2, .grid-3, .form-row, .svc-cols, .pf-grid { grid-template-columns: 1fr; }
  .svc-grid, .products, .plans, .care-grid { grid-template-columns: 1fr; }
  .svc--wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .fact-list { grid-template-columns: 1fr; }
  .process, .process--8 { grid-template-columns: 1fr; }
  .process li { padding-top: 0; padding-left: 4rem; min-height: 46px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .header-actions .lang-switch, .header-actions .btn--quote { display: none; }
  .showcase-note { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .work-media .phone { width: 26%; bottom: -6%; }
  .faq .answer { padding-right: .25rem; }
  .plan--custom { flex-direction: column; align-items: flex-start; }
  .send-row { grid-template-columns: 1fr; }
  .lightbox-nav--prev { left: 4px; } .lightbox-nav--next { right: 4px; }
  .lightbox-close { right: 4px; top: -56px; }
  .product-form { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .brand img { height: 36px; }
  .header-inner { gap: .6rem; }
  .cart-btn, .nav-toggle { width: 42px; height: 42px; }
}

/* 20. Motion ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .showcase .device { opacity: 1; transform: none; }
  .hero-line path { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .contact-bar, .cart-panel, .cart-overlay, .site-footer, .cta-band { display: none !important; }
}

/* ==========================================================================
   21. V3 — Electric blue theme (hero, page heroes, trust strip, pain points,
   floating WhatsApp). Overrides the neutral hero styles above.
   ========================================================================== */
.hero { background: var(--hero-grad); color: #EAF3FF; }
.hero::after {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 80%);
  mask-image: linear-gradient(100deg, transparent 30%, #000 80%);
}
.hero h1 { color: var(--white); }
.hero .kicker { color: #CFE6FF; }
.hero .lead { color: #DCEBFF; }
.hero-line { color: #7FD3FF; }
.hero-contact { color: #CFE2FA; }
.hero-contact a { color: var(--white); }
.hero-contact a:hover { color: #BFE4FF; }
.hero-contact svg { color: #9AD8FF; }
.hero .btn--light { box-shadow: 0 14px 34px -14px rgba(0, 20, 70, .6); }
.hero .device { box-shadow: 0 30px 70px -28px rgba(0, 18, 60, .75), 0 0 0 1px rgba(255,255,255,.08); }
.price-hook {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: .1rem; margin-top: 1.4rem;
  padding: .65rem 1rem; border-radius: 14px; line-height: 1.35;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #EAF3FF; font-size: var(--fs-sm);
}
.price-hook strong { color: var(--white); font-weight: 700; }

.page-hero { background: var(--hero-grad); border-bottom: 0; color: #DCEBFF; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #DCEBFF; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: #CFE2FA; }
.page-hero .breadcrumbs li + li::before { color: rgba(255,255,255,.45); }
.page-hero .breadcrumbs a:hover { color: var(--white); }
.page-hero .svc-jump a { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: var(--white); }
.page-hero .svc-jump a:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.page-hero .btn--primary { --btn-bg: var(--white); --btn-fg: var(--blue); --btn-bd: var(--white); }

/* Trust strip under the hero */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { display: flex; gap: .8rem; align-items: center; padding: 1.25rem 1rem; font-size: var(--fs-sm); color: var(--muted); line-height: 1.35; }
.trust li + li { border-left: 1px solid var(--line); }
.trust strong { display: block; color: var(--ink); font-size: var(--fs-base); font-family: var(--font-display); }
.trust .ico { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--mist); color: var(--blue); }
.trust .ico svg { width: 21px; height: 21px; }

/* Pain → solution */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pain { padding: 1.6rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.pain .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #FFF1EC; color: #D2502A; margin-bottom: 1rem; }
.pain .ico svg { width: 22px; height: 22px; }
.pain h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.pain p { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 .9rem; }
.pain .fix { display: flex; gap: .5rem; align-items: flex-start; margin: 0; padding-top: .9rem; border-top: 1px dashed var(--line-strong); color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.pain .fix svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }

/* Plans section sits on ice so white cards lift */
.section--plans { background: linear-gradient(180deg, var(--mist-2), #EAF4FF); border-block: 1px solid #E1ECF8; }
.plan--featured { background: linear-gradient(180deg, #EEF5FF 0, var(--white) 160px); }
.plan--custom { background: var(--navy); border-color: var(--navy); }
.plan--custom:hover { border-color: var(--navy); }

/* Floating WhatsApp (desktop) */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 85;
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.1rem .8rem .9rem;
  border-radius: var(--pill); background: #1E8E4E; color: var(--white); font-weight: 700; font-size: var(--fs-sm); text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(10, 70, 35, .7);
  transition: transform .2s var(--ease), background-color .2s;
}
.fab-wa:hover { color: var(--white); background: #17703D; transform: translateY(-2px); }
.fab-wa svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pains { grid-template-columns: 1fr; }
  .fab-wa { display: none; }
}
@media (max-width: 520px) {
  .trust ul { grid-template-columns: 1fr; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .trust li { padding: .9rem 0; }
}
