/* ==========================================================================
   Click Naksha — Brand Design System
   Colors taken from the logo:  "Click" = Deep Navy Blue  |  "Naksha" = Orange gradient
   ========================================================================== */

:root {
  --ink: #0b1733;
  --ink-2: #112244;
  --ink-3: #1b2e57;
  --charcoal: #2a2b32;
  --slate: #5a6070;
  --slate-2: #8a90a0;
  --line: #e3e6ec;
  --line-2: #eef0f4;
  --paper: #f6f7f9;
  --white: #ffffff;

  --gold: #ea580c;
  --gold-2: #ff8a1f;
  --gold-deep: #b7410e;
  --gold-soft: #fff1e6;

  --blue: #0b3a8a;
  --blue-2: #2563c9;
  --blue-deep: #03245a;
  --blue-soft: #e8eef9;

  --ok: #11845b;
  --err: #c2321f;

  --f-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;

  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);

  --shadow-1: 0 1px 2px rgba(21, 23, 28, .06), 0 6px 20px -8px rgba(21, 23, 28, .12);
  --shadow-2: 0 30px 60px -30px rgba(3, 36, 90, .35), 0 12px 24px -12px rgba(21, 23, 28, .18);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::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(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-2); color: #fff; }
.sr-only, .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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Type scale ---------- */
.t-display { font-size: clamp(2.1rem, 3.9vw, 3.45rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.t-h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -0.025em; line-height: 1.15; }
.t-h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.t-lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--slate); line-height: 1.6; max-width: 60ch; }
.t-muted { color: var(--slate); }
.t-small { font-size: .9rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: #c9ced8; }
.sec--ink h2, .sec--ink h3, .sec--ink h4 { color: #fff; }
.sec--tight { padding: calc(var(--sec) * .6) 0; }

.sec-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head h2 { margin: 0; max-width: 16ch; }
.sec-head p { margin: 0; color: var(--slate); max-width: 52ch; }
.sec--ink .sec-head p { color: #9aa1b1; }
.sec-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head--center h2 { max-width: 22ch; }

/* Tri-colour brand rule (Web / Click / Lab) */
.tri { display: flex; height: 4px; width: 100%; }
.tri span { flex: 1; }
.tri span:nth-child(1) { background: var(--blue); }
.tri span:nth-child(2) { background: var(--gold); }
.tri span:nth-child(3) { background: var(--charcoal); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-sm);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { --bg: var(--gold); --fg: #fff; --bd: var(--gold); background-image: linear-gradient(135deg, #ff7a00 0%, #ea580c 55%, #d9480f 100%); box-shadow: 0 10px 24px -12px rgba(200, 70, 10, .55); }
.btn--gold:hover { --bg: var(--gold-deep); --bd: var(--gold-deep); --fg: #fff; background-image: linear-gradient(135deg, #f26b0f 0%, #c2410c 100%); }
.btn--blue { --bg: var(--blue); --fg: #fff; --bd: var(--blue); }
.btn--blue:hover { --bg: var(--blue-deep); --bd: var(--blue-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bd: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.28); }
.btn--ghost-light:hover { --bd: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .94rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .2s; }
.site-header.is-scrolled::after { opacity: 1; }
.hdr { position: relative; display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.hdr__logo { flex: none; display: flex; align-items: center; }
.hdr__logo img { height: 36px; width: auto; }
.nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; border-radius: 8px;
  color: var(--charcoal); font-weight: 500; font-size: .93rem; white-space: nowrap; line-height: 1.2;
}
.nav__link:hover, .nav__item.is-current > .nav__link { color: var(--ink); background: var(--line-2); }
.nav__item.is-current > .nav__link { font-weight: 600; }
.nav__link svg { width: 14px; height: 14px; flex: none; transition: transform .2s; }
.nav__sub {
  list-style: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  min-width: 260px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__sub.is-wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--charcoal); font-size: .95rem; line-height: 1.35; }
.nav__sub a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.nav__sub .nav__sub { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; opacity: 1; visibility: visible; min-width: 0; }

.hdr__actions { flex: none; display: flex; align-items: center; gap: 12px; }
.hdr__cta { white-space: nowrap; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .93rem; white-space: nowrap; }
.hdr__phone svg { width: 18px; height: 18px; color: var(--blue); }
.hdr__burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center;
}
.hdr__burger svg { width: 22px; height: 22px; }

/* Services mega menu */
.nav__item--mega { position: static; }
.nav__mega {
  position: absolute; top: calc(100% - 6px); left: 50%; transform: translate(-50%, 8px);
  width: min(calc(var(--cols, 3) * 250px + 46px), calc(100vw - 32px)); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  padding: 22px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 5;
}
.nav__mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--mega:hover > .nav__mega, .nav__item--mega:focus-within > .nav__mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--mega:hover > .nav__link svg { transform: rotate(180deg); }
.mega__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 6px 18px; }
.mega__grid.is-grouped { gap: 18px 22px; }
.mega__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega__head { display: block; padding: 6px 10px 8px; margin-bottom: 4px; font-weight: 700; font-size: .95rem; color: var(--ink); border-bottom: 2px solid var(--gold); }
a.mega__head:hover { color: var(--blue-deep); }
.mega__link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--charcoal); font-size: .9rem; line-height: 1.35; }
.mega__link:hover { background: var(--blue-soft); color: var(--blue-deep); }
.mega__link svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.mega__link--card { padding: 11px 12px; border: 1px solid var(--line-2); }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(21,23,28,.5); opacity: 0; transition: opacity .25s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__top img { height: 30px; width: auto; }
.drawer__close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__nav { list-style: none; padding: 10px 12px; }
.drawer__nav a { display: block; padding: 13px 10px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.drawer__nav ul { list-style: none; padding-left: 12px; }
.drawer__nav ul a { font-weight: 500; color: var(--slate); font-size: .95rem; padding: 10px; border-bottom: 0; }
.drawer__nav ul a.is-child { padding-left: 22px; font-size: .9rem; }
.drawer__group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 13px 10px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); cursor: pointer; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary svg { width: 18px; height: 18px; transition: transform .2s; }
.drawer__group[open] summary svg { transform: rotate(180deg); }
.drawer__group ul { padding: 6px 0 10px 8px; border-bottom: 1px solid var(--line-2); }
.drawer__foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; background: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 52px) 0 clamp(32px, 4.5vw, 56px);
  background:
    radial-gradient(720px 420px at -8% -10%, rgba(234,88,12,.16), transparent 68%),
    radial-gradient(640px 460px at 108% 0%, rgba(11,58,138,.14), transparent 64%),
    linear-gradient(180deg, #e9eef6 0%, #f6f7fb 58%, #fff 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11,23,51,.09) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.hero__glow { position: absolute; width: 460px; height: 460px; left: -180px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(234,88,12,.28), transparent 66%); pointer-events: none; }
.hero__glow--blue { left: auto; right: -160px; bottom: auto; top: -180px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(11,58,138,.18), transparent 64%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__place { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 6px 14px 6px 7px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.8); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-1); }
.hero__place .flag-in { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.hero h1 { margin-bottom: 14px; max-width: 13em; font-weight: 600; font-size: clamp(1.7rem, 2.7vw, 2.45rem); letter-spacing: -0.02em; line-height: 1.22; }
.hero h1::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.hero__typed {
  display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%;
  margin: 0 0 16px; padding: 8px 16px 8px 12px; min-height: 0;
  background: #fff; border: 1px solid #f6d3bc; border-radius: 999px;
  color: var(--ink); font-weight: 700; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.3;
  box-shadow: 0 10px 24px -16px rgba(183, 65, 14, .8);
}
.hero__typed::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.hero__typed .typed-text { color: var(--gold-deep); }
.hero__typed .caret { display: inline-block; width: 2px; height: .85em; margin-left: 2px; background: var(--gold); vertical-align: -0.06em; animation: caret 1s steps(1) infinite; }
.hero__sub { margin-bottom: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__cta .btn--ghost { background: #fff; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink); font-size: .88rem; font-weight: 600; list-style: none; margin: 0; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); border-radius: 999px; box-shadow: var(--shadow-1); }
.hero__proof svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #e7f6ef; color: var(--ok); }
.hero .badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hero .badge-chip { min-width: 0; padding: 8px 12px 8px 8px; background: rgba(255,255,255,.92); }
.hero__form .lead-card {
  border: 1px solid transparent; border-radius: 26px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, rgba(234,88,12,.7), rgba(11,58,138,.28) 42%, rgba(227,230,236,.9)) border-box;
  box-shadow: 0 28px 60px -30px rgba(11, 23, 51, .48), 0 8px 20px -12px rgba(11, 23, 51, .18);
}
.hero__form .lead-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-2) 46%, var(--gold) 100%);
}
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Funnel (Web / Click / Lab) — signature ---------- */
.funnel { position: relative; z-index: 2; margin-top: -1px; background: var(--ink); color: #c9ced8; }
.funnel__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.funnel__step { position: relative; padding: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 40px); border-left: 1px solid rgba(255,255,255,.08); }
.funnel__step:first-child { border-left: 0; }
.funnel__step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.funnel__step--web { --c: var(--gold); }
.funnel__step--click { --c: #7b808c; }
.funnel__step--lab, .funnel__step--star { --c: var(--blue-2); }
.funnel__n { font-family: var(--f-display); font-size: .95rem; color: var(--c); font-weight: 700; margin-bottom: 10px; display: block; }
.funnel__step .funnel__word { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1; margin: 0 0 6px; }
.funnel__step .funnel__what { color: #fff; font-weight: 600; margin-bottom: 12px; font-size: 1.05rem; }
.funnel__step p { font-size: .97rem; color: #9aa1b1; margin-bottom: 16px; max-width: 34ch; }
.funnel__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.funnel__tags li { font-size: .84rem; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #d6dae2; }

/* ---------- Lead form card ---------- */
.lead-card {
  container-type: inline-size;
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-2);
}
.lead-card--flat { box-shadow: none; }
.lead-card__head { margin-bottom: 20px; }
.lead-card__head h2, .lead-card__head h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 6px; }
.lead-card__head p { color: var(--slate); margin: 0; font-size: .97rem; }
.lead-card__band { position: absolute; left: 22px; right: 22px; top: -2px; }
.lead-card__band .tri { height: 4px; border-radius: 0 0 4px 4px; overflow: hidden; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .opt { color: var(--slate-2); font-weight: 500; }
.field label .req { color: var(--err); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6070' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.input::placeholder, .textarea::placeholder { color: #a3a9b6; }
.input:hover, .select:hover, .textarea:hover { border-color: #cdd2db; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,58,138,.14); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select, .field.has-error .phone, .field.has-error .phone:focus-within { border-color: var(--err); box-shadow: 0 0 0 4px rgba(194, 50, 31, .12); }
.field__err { font-size: .84rem; font-weight: 600; color: var(--err); min-height: 0; line-height: 1.35; }
.field__err:empty { display: none; }

@container (max-width: 470px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Phone with country picker */
.phone { position: relative; display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.phone:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,58,138,.14); }
.phone__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; border: 0; background: var(--paper);
  border-right: 1.5px solid var(--line); border-radius: 10px 0 0 10px; font-weight: 600; color: var(--ink); font-size: .96rem; flex: none;
}
.phone__btn img, .phone__btn svg.flag { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.phone__btn .chev { width: 14px; height: 14px; color: var(--slate); }
.phone__input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; min-height: 47px; background: transparent; font-size: 1rem; color: var(--ink); }
.phone__input:focus { outline: none; }
.cc-menu {
  position: absolute; left: -1.5px; right: -1.5px; top: calc(100% + 6px); z-index: 30; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); padding: 8px; display: none;
}
.cc-menu.is-open { display: block; }
.cc-menu__search { width: 100%; min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 6px; font-size: .95rem; }
.cc-menu__search:focus { outline: none; border-color: var(--blue); }
.cc-menu__list { list-style: none; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.cc-menu__list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: .94rem; color: var(--charcoal); }
.cc-menu__list li img { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.cc-menu__list li .dial { margin-left: auto; color: var(--slate-2); font-variant-numeric: tabular-nums; }
.cc-menu__list li:hover, .cc-menu__list li.is-active { background: var(--blue-soft); color: var(--blue-deep); }
.cc-menu__list li[aria-selected="true"] { font-weight: 600; }
.cc-menu__empty { padding: 10px; color: var(--slate); font-size: .92rem; }

.hp-field { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: .84rem; color: var(--slate); margin: 4px 0 0; line-height: 1.5; }
.form-consent svg { display: inline; width: 14px; height: 14px; vertical-align: -2px; color: var(--ok); margin-right: 4px; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .95rem; font-weight: 500; }
.form-status.is-ok { display: block; background: #e7f6ef; color: var(--ok); }
.form-status.is-err { display: block; background: #fdecea; color: var(--err); }
.lead-success { text-align: center; padding: 20px 6px; }
.lead-success__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: #e7f6ef; color: var(--ok); }
.lead-success__icon svg { width: 30px; height: 30px; }
.lead-success h3 { font-size: 1.5rem; }
.lead-success p { color: var(--slate); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Services index list ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row a {
  display: grid; grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, 1fr) 48px; gap: 28px; align-items: center;
  padding: 26px 8px; color: inherit; transition: background-color .2s, padding .2s;
}
.svc-row__img { width: 96px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--paper); }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc-row h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: 0; }
.svc-row p { margin: 0; color: var(--slate); font-size: .98rem; }
.svc-row__go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .2s; }
.svc-row__go svg { width: 20px; height: 20px; }
.svc-row a:hover { background: var(--paper); padding-left: 18px; padding-right: 18px; }
.svc-row a:hover .svc-row__go { background: var(--gold); border-color: var(--gold); color: #fff; transform: rotate(-45deg); }
.svc-row a:hover .svc-row__img img { transform: scale(1.08); }
.svc-row a:hover h3 { color: var(--blue-deep); }

/* Homepage / about service cards */
.svc-band .sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.svc-band .sec-head .t-h2 { max-width: 16em; text-wrap: balance; }
.svc-band .sec-head p { max-width: 46ch; text-wrap: balance; }
.svc-cards { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.svc-cards > li:nth-child(-n+2) { grid-column: span 3; }
.svc-cards > li:nth-child(n+3) { grid-column: span 2; }
.svc-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  color: inherit; box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { color: inherit; transform: translateY(-6px); box-shadow: var(--shadow-2); }
.svc-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.svc-cards > li:nth-child(-n+2) .svc-card__media { aspect-ratio: 16 / 8; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.svc-cards > li:nth-child(-n+2) .svc-card h3 { font-size: 1.35rem; }
.svc-card h3 { font-size: 1.08rem; line-height: 1.25; margin: 0 0 8px; }
.svc-card p {
  margin: 0; color: var(--slate); font-size: .92rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-card__go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--blue); }
.svc-card__go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.svc-card:hover .svc-card__go { color: var(--gold-deep); }
.svc-card:hover .svc-card__go svg { transform: translateX(4px); }
.svc-more { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1100px) {
  .svc-cards { grid-template-columns: 1fr 1fr; }
  .svc-cards > li, .svc-cards > li:nth-child(-n+2), .svc-cards > li:nth-child(n+3) { grid-column: auto; }
  .svc-cards > li:nth-child(-n+2) .svc-card__media { aspect-ratio: 16 / 10; }
  .svc-cards > li:nth-child(-n+2) .svc-card h3 { font-size: 1.08rem; }
}
@media (max-width: 640px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card:hover { transform: none; }
  .svc-more .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card, .svc-card__media img, .svc-card__go svg { transition: none; }
  .svc-card:hover, .svc-card:hover .svc-card__media img { transform: none; }
}

/* Service tiles (grid) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tile:hover { color: inherit; border-color: transparent; box-shadow: var(--shadow-2); transform: translateY(-3px); }
.tile__img { aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tile__cat { font-size: .84rem; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.tile h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tile p { color: var(--slate); font-size: .96rem; margin-bottom: 18px; }
.tile .link-arrow { margin-top: auto; }

/* ---------- Stats ---------- */
.stats-band { padding: clamp(44px, 5vw, 68px) 0 clamp(18px, 2vw, 28px); }
.stats-band__title { font-family: var(--f-display); color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 700; max-width: 28ch; line-height: 1.2; margin: 0 0 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 22px 10px 22px; box-shadow: inset 1px 0 0 rgba(255,255,255,.12); }
.stat:first-child { box-shadow: none; padding-left: 0; }
.stat__n { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__n sup { font-size: .45em; color: var(--gold); top: -0.9em; margin-left: 2px; }
.stat__l { margin-top: 10px; color: #9aa1b1; font-size: .98rem; }

/* ---------- Split content (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 4.2; object-fit: cover; }
.split__badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 18px 22px; max-width: 240px; box-shadow: var(--shadow-2);
}
.split__badge strong { display: block; font-family: var(--f-display); font-size: 1.15rem; margin-bottom: 4px; }
.split__badge span { font-size: .9rem; color: #b8bec9; }
.split__badge .tri { margin-top: 12px; height: 3px; }
.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }

.answer-box {
  border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 0 0 28px; color: var(--ink); font-size: 1.02rem;
}
.answer-box strong { font-family: var(--f-display); display: block; margin-bottom: 4px; }
.answer-box p:last-child { margin: 0; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit {
  position: relative; padding: 28px 26px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.benefit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); }
.benefit:nth-child(2)::before { background: var(--ink); }
.benefit:nth-child(3)::before { background: var(--blue); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.benefit__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.benefit__icon svg { width: 24px; height: 24px; }
.benefit:nth-child(1) .benefit__icon { background: var(--gold-soft); color: var(--gold-deep); }
.benefit:nth-child(2) .benefit__icon { background: var(--line-2); color: var(--charcoal); }
.benefit:nth-child(3) .benefit__icon { background: var(--blue-soft); color: var(--blue); }
.benefit h3 { font-size: 1.25rem; margin-bottom: 8px; }
.benefit p { color: var(--slate); margin: 0; }

/* ---------- Rail (projects) ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.rail-head h2 { margin: 0; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); background: transparent; color: #fff; display: grid; place-items: center; transition: all .2s; }
.rail-nav button:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.rail-nav button svg { width: 20px; height: 20px; }
.sec:not(.sec--ink) .rail-nav button { border-color: var(--line); color: var(--ink); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-right: var(--gutter); scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.work { display: block; color: #fff; }
.work:hover { color: #fff; }
.work__img { position: relative; aspect-ratio: 4 / 3.1; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work:hover .work__img img { transform: scale(1.05); }
.work__go { position: absolute; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; transform: scale(.8); opacity: 0; transition: all .25s; }
.work__go svg { width: 20px; height: 20px; transform: rotate(-45deg); }
.work:hover .work__go { transform: none; opacity: 1; }
.work__cat { display: block; margin-top: 18px; font-size: .88rem; color: var(--gold-2); font-weight: 600; text-transform: capitalize; }
.work h3 { color: #fff; font-size: 1.3rem; margin: 4px 0 0; }
.sec:not(.sec--ink) .work, .sec:not(.sec--ink) .work h3 { color: var(--ink); }
.sec:not(.sec--ink) .work__cat { color: var(--blue); }

/* ---------- Testimonials ---------- */
.quotes { columns: 3 300px; column-gap: 22px; }
.quote { position: relative; break-inside: avoid; margin: 0 0 22px; padding: 28px 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.quote::before { content: "\201C"; position: absolute; top: 6px; right: 16px; font-family: var(--f-display); font-size: 4.2rem; line-height: 1; color: var(--gold); opacity: .22; pointer-events: none; }
.quote__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 14px; }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0 0 20px; color: var(--ink); font-size: 1.04rem; line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; font-weight: 700; font-family: var(--f-display); flex: none; }
.quote__name { font-weight: 600; color: var(--ink); line-height: 1.2; }
.quote__role { font-size: .9rem; color: var(--slate); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); transition: transform .22s ease, box-shadow .22s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.plan--featured { background: var(--ink); border-color: var(--ink); color: #c9ced8; position: relative; transform: translateY(-12px); box-shadow: var(--shadow-2); }
.plan--featured:hover { transform: translateY(-16px); }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan__tag { position: absolute; top: 20px; right: 20px; background: var(--gold); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; margin-bottom: 8px; }
.plan .plan__price { font-family: var(--f-display); font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin: 14px 0 6px; }
.plan--featured .plan__price { color: #fff; }
.plan__price small { font-family: var(--f-body); font-size: .95rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.plan--featured .plan__price small { color: #9aa1b1; }
.plan > p { color: var(--slate); font-size: .97rem; }
.plan--featured > p { color: #9aa1b1; }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 18px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan--featured ul { border-color: rgba(255,255,255,.12); }
.plan li { display: flex; gap: 10px; font-size: .97rem; }
.plan li svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.plan--featured li svg { color: var(--gold); }
.plan .btn { margin-top: auto; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.post { display: flex; flex-direction: column; color: inherit; }
.post:hover { color: inherit; }
.post__img { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--paper); margin-bottom: 18px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__meta { font-size: .88rem; color: var(--slate); margin-bottom: 8px; display: flex; gap: 14px; }
.post h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 8px; }
.post:hover h3 { color: var(--blue-deep); }
.post p { color: var(--slate); font-size: .96rem; }

/* ---------- SEO content + FAQ ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--charcoal); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-md); margin: 1.4em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); font-size: 1.1rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--paper); }

.seo-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; }
.seo-block h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.seo-block p { color: var(--slate); }
.seo-block h3 { font-size: 1.12rem; margin: 22px 0 6px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; list-style: none; }
.seo-links a { display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .94rem; font-weight: 500; background: #fff; }
.seo-links a:hover { border-color: var(--blue); color: var(--blue-deep); }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-wrap .sec-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-wrap h2 { max-width: 14ch; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-family: var(--f-display); font-size: 1.14rem; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.faq summary .pm svg { width: 16px; height: 16px; transition: transform .25s; }
.faq details[open] summary .pm { background: var(--blue); border-color: var(--blue); color: #fff; }
.faq details[open] summary .pm svg { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-deep); }
.faq__a { padding: 0 52px 24px 0; color: var(--slate); }
.faq__a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #e3ecfb; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(234,88,12,.9); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 10px; max-width: 22ch; }
.cta-band p { margin: 0; max-width: 52ch; color: #d6e3f8; }
.cta-band__act { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; background: var(--ink); color: #b8bec9; padding: clamp(16px, 2vw, 26px) 0 clamp(14px, 1.8vw, 22px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -180px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(11,58,138,.35), transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.55rem, 2.6vw, 2.15rem); max-width: 28ch; margin: 6px 0 6px; letter-spacing: -0.03em; line-height: 1.15; }
.page-hero__lead { font-size: .98rem; line-height: 1.5; max-width: 68ch; margin: 0; color: #b8bec9; }
.page-hero .tri { position: absolute; left: 0; right: 0; bottom: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: .84rem; line-height: 1.3; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: #8a90a0; }
.crumbs li + li::before { content: "/"; color: #555b67; }
.crumbs a { color: #c9ced8; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold-2); }

/* ---------- Detail layout ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail__aside { display: grid; gap: 20px; align-content: start; }
.detail__hero-img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 36px; background: var(--paper); }
.detail__hero-img img { width: 100%; max-height: 520px; object-fit: cover; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; }
.side-card h2, .side-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.side-list { list-style: none; }
.side-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; margin: 0 -12px; border-radius: 10px; color: var(--charcoal); font-size: .96rem; }
.side-list a svg { width: 16px; height: 16px; flex: none; color: var(--slate-2); }
.side-list a:hover, .side-list .is-current a { background: var(--blue-soft); color: var(--blue-deep); }
.side-list .is-current a { font-weight: 600; }
.side-card--ink { background: var(--ink); border-color: var(--ink); color: #b8bec9; }
.side-card--ink h3 { color: #fff; }
.side-contact { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.side-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.side-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }
.side-contact a { color: #fff; }
.feature-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; }
.feature-grid li { display: flex; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; font-weight: 500; color: var(--ink); }
.feature-grid svg { flex: none; width: 22px; height: 22px; color: var(--blue); }
.meta-list { list-style: none; display: grid; gap: 0; }
.meta-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.meta-list li span:first-child { color: var(--slate); }
.meta-list li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager a, .pager span { display: flex; flex-direction: column; gap: 4px; max-width: 48%; color: var(--ink); }
.pager small { color: var(--slate); font-size: .86rem; }
.pager strong { font-family: var(--f-display); font-size: 1.05rem; line-height: 1.3; }
.pager a:hover strong { color: var(--blue-deep); }
.pager .next { text-align: right; margin-left: auto; }
.pager .is-disabled { opacity: .4; }

.post-head__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #b8bec9; font-size: .95rem; margin-top: 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: -16px 0 36px; }
.gallery img { border-radius: var(--r-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 36px; flex-wrap: wrap; }
.share span { font-weight: 600; color: var(--ink); margin-right: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .2s; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.comments { margin-top: 56px; }
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment p { margin: 4px 0 0; }
.comment small { color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--charcoal); font-size: .88rem; }
.tags a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.search-box { display: flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.search-box input { flex: 1; border: 0; padding: 12px 14px; min-width: 0; }
.search-box input:focus { outline: none; }
.search-box button { border: 0; background: var(--ink); color: #fff; padding: 0 16px; display: grid; place-items: center; }
.search-box button svg { width: 18px; height: 18px; }
.mini-post { display: flex; gap: 12px; align-items: center; padding: 10px 0; color: var(--ink); }
.mini-post img { width: 64px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; }
.mini-post strong { font-size: .95rem; line-height: 1.3; display: block; font-weight: 600; }
.mini-post small { color: var(--slate); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; list-style: none; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .is-disabled { opacity: .4; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: inherit; }
a.c-card:hover { border-color: var(--blue); color: inherit; }
.c-card__icon { width: 48px; height: 48px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.c-card__icon svg { width: 22px; height: 22px; }
.c-card--wa .c-card__icon { background: #e6f7ee; color: #128c4b; }
.c-card--mail .c-card__icon { background: var(--gold-soft); color: var(--gold-deep); }
.c-card small { display: block; color: var(--slate); font-size: .88rem; margin-bottom: 2px; }
.c-card strong { color: var(--ink); font-weight: 600; line-height: 1.4; word-break: break-word; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 380px; border: 0; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa1b1; padding-top: clamp(56px, 7vw, 96px); }
.ft-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 56px; }
.ft-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.ft-brand .ft-logo-light { filter: brightness(0) invert(1); }
.ft-brand p { max-width: 36ch; font-size: .97rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ft-links { list-style: none; display: grid; gap: 10px; }
.ft-links a { color: #b8bec9; font-size: .96rem; }
.ft-links a:hover { color: var(--gold-2); }
.ft-contact { list-style: none; display: grid; gap: 14px; }
.ft-contact li { display: flex; gap: 10px; font-size: .96rem; line-height: 1.5; }
.ft-contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.ft-contact a { color: #d6dae2; }
.ft-contact a:hover { color: var(--gold-2); }
.ft-social { display: flex; gap: 10px; margin-top: 22px; }
.ft-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #d6dae2; transition: all .2s; }
.ft-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.ft-social svg { width: 17px; height: 17px; }
.ft-cta { display: none; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.ft-cta strong { display: block; color: #fff; font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; font-weight: 700; line-height: 1.2; }
.ft-cta span { font-size: .97rem; }
.ft-cta__act { display: flex; gap: 12px; flex-wrap: wrap; }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; font-size: .9rem; }
.ft-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ft-bottom a { color: #9aa1b1; }
.ft-bottom a:hover { color: #fff; }
.ft-word { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.05em; line-height: .78; font-size: clamp(4rem, 15vw, 13rem); text-align: center; color: rgba(255,255,255,.035); user-select: none; overflow: hidden; white-space: nowrap; margin-top: 8px; }

/* ---------- Floating actions & modal ---------- */
.fab-wa { position: fixed; right: 20px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(18,140,75,.7); transition: transform .2s; }
.fab-wa:hover { color: #fff; transform: scale(1.06); }
.fab-wa svg { width: 28px; height: 28px; }
.mbar { display: none; }

.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(21,23,28,.6); animation: fade .2s ease; }
.modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; animation: rise .28s cubic-bezier(.2,.8,.2,1); }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.modal__close svg { width: 18px; height: 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
body.no-scroll { overflow: hidden; }

/* Tools marquee */
.tools-band { padding: 22px 0 8px; }
.tools__label { margin: 0 0 12px; text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.tools { display: flex; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tools__track { display: flex; gap: 14px; flex: none; animation: marquee 40s linear infinite; }
.tools:hover .tools__track { animation-play-state: paused; }
.tools__item { flex: none; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--charcoal); background: #fff; font-size: .96rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-100% - 14px)); } }

/* Legal */
.legal { max-width: 78ch; }
.legal-updated { color: var(--slate); font-size: .95rem; }
.legal-block h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal-block ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal-block li { margin-bottom: .4em; }

/* 404 */
.empty-state { text-align: center; padding: 40px 0; color: var(--slate); }

/* Reveal (single orchestrated hero entrance) */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { opacity: 0; transform: translateY(14px); animation: hero-in .7s cubic-bezier(.2,.8,.2,1) forwards; }
  .hero [data-in="2"] { animation-delay: .08s; }
  .hero [data-in="3"] { animation-delay: .16s; }
  .hero [data-in="4"] { animation-delay: .24s; }
  .hero [data-in="5"] { animation-delay: .32s; }
  @keyframes hero-in { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .tools__track { animation: none; }
}

/* ---------- Responsive ---------- */
html.nav-compact .hdr__phone span { display: none; }
@media (max-width: 1340px) { .nav__link { padding: 10px 9px; font-size: .9rem; } }
/* Auto-fit: JS adds .nav-tight when the menu doesn't fit — switch to the mobile menu */
html.nav-tight .nav, html.nav-tight .hdr__phone, html.nav-tight .hdr__cta { display: none; }
html.nav-tight .hdr { justify-content: space-between; }
html.nav-tight .hdr__burger { display: inline-flex; }
@media (max-width: 1140px) {
  .nav, .hdr__phone, .hdr__actions .btn--gold { display: none; }
  .hdr { justify-content: space-between; }
  .hdr__burger { display: inline-flex; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav, .hdr__phone, .hdr__actions .btn--gold { display: none; }
  .hdr { justify-content: space-between; }
  .hdr__burger { display: inline-flex; }
  .hero__grid, .split, .contact-grid, .detail, .faq-wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .detail__aside, .faq-wrap .sec-aside { position: static; }
  .sec-head { grid-template-columns: 1fr; }
  .tiles, .posts, .plans { grid-template-columns: 1fr 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { box-shadow: none; padding-left: 0; }
  .stat:nth-child(n+3) { box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
  .plan--featured, .plan--featured:hover { transform: none; }
  .rail { grid-auto-columns: minmax(280px, 44%); }
  .split__badge { left: 16px; }
  .seo-blocks { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 86px; }
  .funnel__grid { grid-template-columns: 1fr; }
  .funnel__step { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .funnel__step:first-child { border-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .tiles, .posts, .plans, .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 24px 20px 20px; border: 1px solid var(--line); margin-top: 0; }
  .plan:hover, .benefit:hover { transform: none; }
  .svc-row a { grid-template-columns: 64px 1fr 40px; gap: 16px; padding: 20px 4px; }
  .svc-row__img { width: 64px; height: 56px; }
  .svc-row p { grid-column: 2 / 4; grid-row: 2; }
  .svc-row__go { width: 40px; height: 40px; grid-row: 1; grid-column: 3; }
  .rail { grid-auto-columns: 84%; }
  .rail-nav { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band::after { width: 260px; height: 260px; border-width: 44px; right: -110px; bottom: -130px; }
  .ft-top { grid-template-columns: 1fr; gap: 32px; }
  .ft-cta { grid-template-columns: 1fr; }
  .feature-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .faq__a { padding-right: 0; }
  .hero__cta .btn { flex: 1 1 auto; }
  .fab-wa { bottom: 88px; right: 14px; width: 50px; height: 50px; }
  .mbar {
    display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px -16px rgba(21,23,28,.35);
  }
  .mbar__call {
    flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(11,58,138,.8);
  }
  .mbar__call:hover, .mbar__call:active { color: #fff; background: var(--blue-deep); }
  .mbar__call svg { width: 24px; height: 24px; }
  .mbar__cta {
    flex: 1; min-height: 52px; border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--gold); color: #fff; font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
    animation: cta-blink 2.2s ease-in-out infinite;
  }
  .mbar__cta svg { width: 20px; height: 20px; }
  .pager { flex-direction: column; }
  .pager a, .pager span { max-width: 100%; }
  .pager .next { text-align: left; margin-left: 0; }
}
@media (max-width: 420px) {
  .feature-grid, .gallery, .stats { grid-template-columns: 1fr; }
  .stat { padding-left: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
  .stat:first-child { box-shadow: none; }
  .phone__btn { padding: 0 8px; gap: 6px; }
}
@media print {
  .site-header, .site-footer, .mbar, .fab-wa, .modal, .lead-card { display: none !important; }
}


/* ---------- Google & Meta partner badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; list-style: none; }
.badge-chip { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.badge-chip:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: transparent; }
.badge-chip img { height: 44px; width: auto; }
.badge-chip span { display: flex; flex-direction: column; line-height: 1.25; font-size: .78rem; color: var(--slate); font-weight: 500; }
.badge-chip strong { font-size: .92rem; color: var(--ink); font-weight: 700; }
.badge-chip__check { width: 18px; height: 18px; color: var(--ok); flex: none; }

.partners { position: relative; padding: clamp(56px, 7vw, 96px) 0; background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); overflow: hidden; }
.partners::before { content: ""; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(234,88,12,.18); pointer-events: none; }
.partners__grid { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.partners__lead p { color: var(--slate); max-width: 46ch; }
.partners__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.p-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 22px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-2); color: inherit; transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.p-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--pc, var(--blue)); }
.p-card--google { --pc: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75%); }
.p-card--meta { --pc: linear-gradient(90deg, #0064e0, #0082fb); }
a.p-card:hover { color: inherit; transform: translateY(-4px); }
.p-card__logo { height: 92px; display: flex; align-items: center; }
.p-card__logo img { max-height: 92px; width: auto; }
.p-card h3 { font-size: 1.12rem; margin: 0; }
.p-card p { margin: 0; font-size: .92rem; color: var(--slate); }
.p-card__verify { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ok); }
.p-card__verify svg { width: 18px; height: 18px; }
.ft-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.ft-badges a, .ft-badges span { background: #fff; border-radius: 10px; padding: 6px 10px; display: inline-flex; }
.ft-badges img { height: 34px; width: auto; }
@media (max-width: 1024px) { .partners__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .partners__cards { grid-template-columns: 1fr; }
  .badge-chip { flex: 1 1 100%; }
  .hero .badges { grid-template-columns: 1fr; }
}


/* ---------- Device-friendly safety rules ---------- */
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: manual; }
p, li, a, span, strong { overflow-wrap: break-word; }
input, select, textarea, button { max-width: 100%; }
@media (max-width: 480px) {
  .hdr__logo img { height: 28px; }
  .t-display { font-size: 1.95rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .wrap { padding: 0 16px; }
  .lead-card { padding: 20px 16px; border-radius: 18px; }
  .btn { padding: 0 18px; white-space: normal; text-align: center; line-height: 1.25; }
  .hero__cta .btn { width: 100%; }
  .badge-chip strong { font-size: .86rem; }
  .cta-band { padding: 28px 20px; }
  .modal { padding: 10px; }
  .modal__dialog { max-height: calc(100vh - 20px); }
}


/* ---------- Service pages: admin (CKEditor) content made responsive ---------- */
.cms-content { max-width: 100%; overflow-wrap: anywhere; }
.cms-content * { max-width: 100%; box-sizing: border-box; }
.cms-content img { height: auto !important; width: auto; max-width: 100% !important; border-radius: var(--r-md); }
.cms-content figure { margin: 1.4em 0; }
.cms-content figure.image { display: table; margin-left: auto; margin-right: auto; }
.cms-content figure.image img { display: block; margin: 0 auto; }
.cms-content figure.image figcaption, .cms-content figcaption { display: table-caption; caption-side: bottom; font-size: .88rem; color: var(--slate); text-align: center; padding-top: 8px; }
.cms-content .image-style-side, .cms-content .image-style-align-right { float: right; max-width: 45%; margin: 0 0 1em 1.5em; }
.cms-content .image-style-align-left { float: left; max-width: 45%; margin: 0 1.5em 1em 0; }
.cms-content .image-style-block-align-left { margin-left: 0; }
.cms-content .image-style-block-align-right { margin-right: 0; }
.cms-content::after { content: ""; display: table; clear: both; }
.cms-content figure.table, .cms-content .table-wrap { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; }
.cms-content table { width: 100% !important; min-width: 480px; border-collapse: collapse; font-size: .95rem; display: table; }
.cms-content td, .cms-content th { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.cms-content th, .cms-content thead td { background: var(--paper); font-weight: 600; color: var(--ink); }
.cms-content iframe, .cms-content video, .cms-content embed, .cms-content object { width: 100% !important; max-width: 100%; border: 0; border-radius: var(--r-md); }
.cms-content .media-embed, .cms-content figure.media { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; }
.cms-content .media-embed iframe, .cms-content figure.media iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.cms-content pre { overflow-x: auto; background: var(--ink); color: #e6e8ee; padding: 16px; border-radius: var(--r-md); font-size: .88rem; }
.cms-content code { font-size: .9em; }
.cms-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.cms-content [style*="width"] { max-width: 100% !important; }
.cms-content [style*="font-size"] { line-height: 1.5; }
.cms-content h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cms-content h4, .cms-content h5, .cms-content h6 { font-size: 1.05rem; margin-top: 1.4em; }
/* Old Bootstrap-style columns inside saved content */
.cms-content .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.cms-content .row > [class*="col"] { flex: 1 1 260px; padding: 0 10px; min-width: 0; }
.cms-content .text-center { text-align: center; }
.cms-content .img-fluid { max-width: 100%; height: auto; }

.mobile-cta { display: none; margin: 32px 0 0; padding: 20px; border-radius: var(--r-lg); background: var(--gold-soft); border: 1px solid #fbd3b5; }
.mobile-cta p { margin: 0 0 14px; color: var(--ink); }
.mobile-cta__act { display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-cta__act .btn { flex: 1 1 140px; }
.tiles--auto { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.side-list__child a { padding-left: 26px; font-size: .9rem; color: var(--slate); }
.side-list__child a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); position: absolute; margin-left: -14px; }

@media (max-width: 1024px) {
  .mobile-cta { display: block; }
  .detail { gap: 40px; }
  .detail__hero-img img { max-height: 340px; }
}
@media (max-width: 640px) {
  .cms-content .image-style-side, .cms-content .image-style-align-right, .cms-content .image-style-align-left { float: none; max-width: 100%; margin: 1em 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .detail__hero-img { margin-bottom: 24px; border-radius: 16px; }
  .side-card { padding: 20px; }
  .prose h2, .cms-content h2 { font-size: 1.4rem; }
  .prose h3, .cms-content h3 { font-size: 1.15rem; }
  .tiles .tile__body { padding: 18px; }
}

/* Grid children must be allowed to shrink — stops wide CMS content from stretching the page on mobile */
.hero__grid > *, .split > *, .contact-grid > *, .detail > *, .faq-wrap > *, .partners__grid > *, .seo-blocks > *, .ft-top > *, .tiles > *, .posts > *, .plans > * { min-width: 0; }
@media (max-width: 1024px) {
  .hero__grid, .split, .contact-grid, .detail, .faq-wrap, .partners__grid { grid-template-columns: minmax(0, 1fr); }
}
.cms-content table, .cms-content td, .cms-content th { overflow-wrap: normal; word-break: normal; }
.cms-content td, .cms-content th { min-width: 96px; }
.table-wrap, .cms-content figure.table { background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)), linear-gradient(90deg, rgba(255,255,255,0), #fff 70%) 100% 0, radial-gradient(farthest-side at 100% 50%, rgba(21,23,28,.14), transparent) 100% 0; background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%; background-attachment: local, local, scroll; }

/* ---------- Catalog pages (services & software) ---------- */
.tile__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 14px; }
.tile__icon svg { width: 22px; height: 22px; }
.tiles > .tile:nth-child(3n+2) .tile__icon { background: var(--gold-soft); color: var(--gold-deep); }
.tiles > .tile:nth-child(3n+3) .tile__icon { background: var(--line-2); color: var(--charcoal); }
.svc-row__ico { width: 100%; height: 100%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.svc-row__ico svg { width: 28px; height: 28px; }
.svc-row:nth-child(even) .svc-row__ico { background: var(--gold-soft); color: var(--gold-deep); }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; margin: 18px 0 8px; }
.mini-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.mini-card h3 { font-size: 1rem !important; margin: 0 0 6px !important; }
.mini-card p { margin: 0; font-size: .93rem; color: var(--slate) !important; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; font-size: .88rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; margin: 18px 0 0; counter-reset: s; }
.steps li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.steps__n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font-weight: 800; font-size: .92rem; }
.steps strong { display: block; color: var(--ink); margin-bottom: 4px; }
.steps p { margin: 0; font-size: .92rem; color: var(--slate); }
.drawer__label { padding: 12px 10px 4px; font-size: .78rem; font-weight: 700; color: var(--gold-deep); }
@media (max-width: 1200px) { .ft-top { grid-template-columns: 1fr 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ft-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ft-top { grid-template-columns: 1fr; } }

/* Gentle "blink" for the mobile Free consultation button */
@keyframes cta-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,88,12,.55); filter: brightness(1); }
  50% { box-shadow: 0 0 0 7px rgba(234,88,12,0); filter: brightness(1.08); }
}
@media (prefers-reduced-motion: reduce) { .mbar__cta { animation: none; } }
@media (min-width: 761px) { .mbar { display: none !important; } }

/* ---------- Offices (Noida & Gorakhpur) ---------- */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 22px; }
.office { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.office__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.office__tag { align-self: flex-start; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); }
.office:nth-child(2) .office__tag { background: var(--blue-soft); color: var(--blue-deep); }
.office h3 { font-size: 1.25rem; margin: 0; }
.office__addr { font-style: normal; display: flex; gap: 10px; color: var(--charcoal); line-height: 1.55; }
.office__addr svg, .office__meta svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.office__meta { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.office__meta li { display: flex; gap: 10px; align-items: center; }
.office__meta a { color: var(--ink); font-weight: 600; }
.office__act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.office__map { line-height: 0; border-top: 1px solid var(--line); background: var(--paper); }
.office__map iframe { width: 100%; height: 260px; border: 0; }
@media (max-width: 480px) { .office__body { padding: 20px; } .office__act .btn { flex: 1 1 140px; } .office__map iframe { height: 220px; } }

/* Header gets a wider container so Services / Software / Digital Marketing dropdowns fit on laptops */
.site-header .wrap { max-width: 1400px; }
.hdr { gap: 16px; }
@media (max-width: 1300px) { .nav__link { padding: 9px 8px; font-size: .88rem; gap: 4px; } .hdr__logo img { height: 30px; } }
@media (max-width: 1220px) { .nav__link { padding: 8px 6px; font-size: .85rem; } .hdr__cta { padding: 0 12px; font-size: .88rem; } }
.mega__links { display: inline-flex; gap: 22px; flex-wrap: wrap; }

/* Homepage: shorter gaps, and no double padding where two bands share a background */
.is-home { --sec: clamp(40px, 4.2vw, 60px); }
.is-home .partners { padding: clamp(44px, 4.5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.is-home .partners + .sec { padding-top: clamp(28px, 3vw, 40px); }
.is-home .sec-head { margin-bottom: clamp(22px, 3vw, 36px); }
.is-home .sec:not(.sec--paper):not(.sec--ink) + .sec:not(.sec--paper):not(.sec--ink) { padding-top: clamp(12px, 2vw, 24px); }
.is-home .sec--ink + .sec.sec--ink { padding-top: clamp(4px, 1vw, 12px); }
.is-home .rail-head { margin-bottom: 28px; }
