/* KTI — Kuhn Tech Innovations
   Homepage styles. City pages use city-page.css, demos are self-contained. */

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

:root {
  --navy:   #1C2B3A;   /* brand navy (logo) */
  --navy-2: #243447;
  --navy-3: #2E4258;
  --teal:   #2A7F74;   /* brand teal (logo) */
  --teal-lt:#4DB3A5;
  --amber:  #C8853A;
  --bg:     #F6F7F8;
  --bg-2:   #EEF1F3;
  --white:  #FFFFFF;
  --muted:  #657483;
  --line:   #DDE2E7;
  --line-d: rgba(255,255,255,.14);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1240px;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--sans);
  font-size: 1.04rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
em { font-style: italic; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal-lt); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 4px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; }

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(28,43,58,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
  transition: background .3s, border-color .3s, box-shadow .3s;
}

/* logo — unchanged from the previous site */
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo .kti {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.5rem;
  color: #fff; letter-spacing: -0.5px;
}
.nav-logo .divider {
  width: 1px; height: 18px; background: rgba(255,255,255,.25);
  display: inline-block; vertical-align: middle; margin: 0 4px;
}
.nav-logo .full-name {
  font-size: 0.78rem; font-weight: 400; color: rgba(255,255,255,.65);
  letter-spacing: 0.04em; text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: .9rem; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.8); position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--teal-lt); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:not(.nav-cta):hover { color: #fff; }
.nav-links a:not(.nav-cta):hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-call { color: var(--teal-lt) !important; font-weight: 600 !important; }
.nav-cta { background: var(--teal); color: #fff !important; padding: 10px 20px !important; border-radius: 6px; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--teal-lt); transform: translateY(-1px); }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.nav-burger span, .nav-burger::before, .nav-burger::after {
  content: ''; position: absolute; left: 9px; right: 9px; height: 2px; background: #fff;
  transition: transform .25s, opacity .25s, top .25s;
}
.nav-burger::before { top: 13px; } .nav-burger span { top: 19px; } .nav-burger::after { top: 25px; }
.nav-open .nav-burger::before { top: 19px; transform: rotate(45deg); }
.nav-open .nav-burger::after  { top: 19px; transform: rotate(-45deg); }
.nav-open .nav-burger span    { opacity: 0; }


/* light version, used once the bar is over a light section */
nav.light { background: rgba(246,247,248,.94); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(28,43,58,.06); }
nav .kti, nav .nav-links a, nav .full-name, nav .divider { transition: color .3s, background .3s; }
nav.light .nav-logo .kti { color: var(--navy); }
nav.light .nav-logo .divider { background: var(--line); }
nav.light .nav-logo .full-name { color: var(--muted); }
nav.light .nav-links a:not(.nav-cta) { color: var(--navy-3); }
nav.light .nav-links a:not(.nav-cta):hover { color: var(--navy); }
nav.light .nav-links a:not(.nav-cta)::after { background: var(--teal); }
nav.light .nav-call { color: var(--teal) !important; }
nav.light .nav-cta { background: var(--navy); }
nav.light .nav-cta:hover { background: var(--teal); }
nav.light .nav-burger span, nav.light .nav-burger::before, nav.light .nav-burger::after { background: var(--navy); }

/* ── shared type ─────────────────────────────────── */
.note {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.note::before { content: ''; width: 28px; height: 2px; background: currentColor; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 em { color: var(--teal); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 6px; border: 1.5px solid var(--navy);
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .arr { display: inline-block; transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-solid { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28,43,58,.22); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal[data-dir="left"]  { transform: translateX(-28px); }
.reveal[data-dir="right"] { transform: translateX(28px); }
.reveal.in { opacity: 1; transform: none; }

.section { padding: clamp(80px, 10vw, 140px) var(--gutter); position: relative; }
.section > *, .hero-inner, .trust-inner { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 560px at 88% 12%, rgba(77,179,165,.38), transparent 62%), radial-gradient(700px 500px at 0% 100%, rgba(42,127,116,.35), transparent 60%), linear-gradient(135deg, #1C2B3A 0%, #22405a 52%, #1d5a60 100%);
  padding: calc(var(--nav-h) + clamp(50px, 7vw, 100px)) var(--gutter) clamp(70px, 8vw, 110px);
}
.hero::before { /* faint blueprint grid that drifts */
  content: ''; position: absolute; inset: -60px; z-index: 0; opacity: .22;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 64px 64px; animation: drift 40s linear infinite;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
@keyframes drift { to { transform: translate(64px, 64px); } }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 90px); align-items: center; }

.hero .note { color: var(--teal-lt); }
.hero-text > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-text > :nth-child(1) { animation-delay: .1s; }
.hero-text > :nth-child(2) { animation-delay: .22s; }
.hero-text > :nth-child(3) { animation-delay: .36s; }
.hero-text > :nth-child(4) { animation-delay: .5s; }
.hero-text > :nth-child(5) { animation-delay: .62s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.04; margin: 22px 0 26px; font-weight: 700; }
.hero h1 em {
  font-style: italic; font-weight: 600; color: var(--teal-lt);
  background: linear-gradient(var(--teal-lt), var(--teal-lt)) no-repeat 0 96% / 0 2px;
  animation: underline 1.1s 1.1s cubic-bezier(.6,0,.2,1) forwards;
}
@keyframes underline { to { background-size: 100% 2px; } }
.hero-lede { max-width: 33em; font-size: 1.15rem; color: rgba(255,255,255,.8); margin-bottom: 34px; }
.hero-lede b { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-line { color: #fff; border-color: rgba(255,255,255,.45); }
.hero .btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-aside { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: rgba(255,255,255,.62); font-size: .92rem; }
.hero-aside::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-lt); flex-shrink: 0; }

/* hero background: connected network, full bleed */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-net .edges line { stroke: rgba(127,224,208,.16); stroke-width: 1; }
.hero-net .pulse circle { fill: #9ff0e1; filter: drop-shadow(0 0 6px #7fe0d0); }
.hero-net .n { fill: rgba(159,240,225,.55); animation: twinkle 5s ease-in-out infinite; animation-delay: var(--t); }
.hero-net .n.big { fill: #9ff0e1; filter: drop-shadow(0 0 8px #7fe0d0); }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(28,43,58,.88) 0%, rgba(28,43,58,.55) 38%, transparent 62%); }

/* hero bento */
.bento { opacity: 0; animation: rise .9s .3s cubic-bezier(.2,.7,.2,1) forwards; }
.bento-head { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.bento-head::after { content: ''; flex: 1; height: 1px; background: var(--line-d); }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 126px; gap: 10px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; text-decoration: none; color: #fff;
  background: rgba(16,30,44,.82); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 14px 12px;
  backdrop-filter: blur(6px); transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
  opacity: 0; animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards;
}
.tile:nth-child(1) { animation-delay: .5s; } .tile:nth-child(2) { animation-delay: .6s; } .tile:nth-child(3) { animation-delay: .7s; }
.tile:nth-child(4) { animation-delay: .8s; } .tile:nth-child(5) { animation-delay: .9s; } .tile:nth-child(6) { animation-delay: 1s; } .tile:nth-child(7) { animation-delay: 1.1s; }
.tile:hover { transform: translateY(-4px); border-color: var(--teal-lt); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.tl b { display: block; font-size: .92rem; line-height: 1.2; }
.tl small { display: block; font-size: .76rem; color: rgba(255,255,255,.6); margin-top: 2px; line-height: 1.3; }
.t-site   { grid-column: 1 / 3; grid-row: 1 / 3; }
.t-domain { grid-column: 3 / 5; grid-row: 1; }
.t-shop   { grid-column: 3; grid-row: 2; }
.t-map    { grid-column: 4; grid-row: 2; }
.t-search { grid-column: 1 / 3; grid-row: 3 / 5; }
.t-plat   { grid-column: 3 / 5; grid-row: 3; }
.t-talk   { grid-column: 3 / 5; grid-row: 4; }
.bento-foot { margin-top: 12px; font-size: .84rem; color: rgba(255,255,255,.6); }
.bento-foot a { color: var(--teal-lt); font-weight: 600; text-decoration: none; margin-left: 4px; }
.bento-foot a:hover { text-decoration: underline; }

/* tile: website building itself */
.v-site { flex: 1; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 8px 10px; background: rgba(255,255,255,.03); overflow: hidden; }
.vb { display: flex; gap: 4px; margin-bottom: 9px; } .vb i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.vl { height: 9px; border-radius: 3px; margin-bottom: 7px; background: rgba(255,255,255,.35); transform-origin: left; animation: grow 7s ease-in-out infinite; }
.vl.l1 { width: 86%; } .vl.l2 { width: 64%; animation-delay: .35s; } .vl.l3 { width: 38%; background: var(--teal-lt); animation-delay: .7s; }
.vcards { display: flex; gap: 6px; margin-top: 10px; } .vcards span { flex: 1; height: 38px; border-radius: 5px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); animation: pop 7s ease-in-out infinite; }
.vcards span:nth-child(2) { animation-delay: .25s; } .vcards span:nth-child(3) { animation-delay: .5s; }
@keyframes grow { 0% { transform: scaleX(0); } 12%, 86% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes pop { 0%, 18% { opacity: 0; transform: translateY(10px); } 30%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* tile: domain moving across */
.v-domain { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; margin-bottom: 8px; }
.v-domain .old { color: rgba(255,255,255,.45); text-decoration: line-through; }
.v-domain .new { color: var(--teal-lt); }
.v-domain .track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; min-width: 20px; }
.v-domain .track b { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #9ff0e1); animation: move 4.2s ease-in-out infinite; }
@keyframes move { 0% { width: 0; } 70%, 100% { width: 100%; } }

/* tile: cart */
.v-shop { position: relative; flex: 1; }
.v-shop svg { position: absolute; right: 2px; bottom: 0; width: 34px; height: 34px; stroke: var(--teal-lt); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v-shop i { position: absolute; width: 9px; height: 9px; border-radius: 2px; background: var(--teal-lt); right: 14px; top: -6px; opacity: 0; animation: drop 3.2s ease-in infinite; }
.v-shop .d2 { right: 20px; animation-delay: 1s; background: #e3b15f; } .v-shop .d3 { right: 9px; animation-delay: 2s; background: #fff; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 60% { transform: translateY(26px); opacity: 1; } 70%, 100% { transform: translateY(30px); opacity: 0; } }

/* tile: map pin */
.v-map { position: relative; flex: 1; margin: -4px -4px 4px; border-radius: 8px; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 16px 16px; }
.v-map .pin { position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #7fe0d0; box-shadow: 0 0 12px #7fe0d0; animation: pindrop 3s cubic-bezier(.3,1.5,.5,1) infinite; }
.v-map .pin::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy); }
@keyframes pindrop { 0% { transform: translate(-6px, -30px); opacity: 0; } 20%, 100% { transform: none; opacity: 1; } }

/* tile: search + AI */
.v-search { flex: 1; display: flex; flex-direction: column; gap: 7px; margin-bottom: 8px; position: relative; }
.v-search .sb { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 6px 12px; font-size: .78rem; background: rgba(255,255,255,.05); }
.v-search .sb svg { width: 14px; height: 14px; stroke: var(--teal-lt); fill: none; stroke-width: 2; flex-shrink: 0; }
.typed { overflow: hidden; white-space: nowrap; border-right: 1.5px solid #9ff0e1; width: 0; animation: type 8s steps(15) infinite; }
@keyframes type { 0% { width: 0; } 30%, 92% { width: 15ch; } 100% { width: 0; } }
.res { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.1); font-size: .72rem; opacity: 0; animation: showres 8s infinite; }
.res b { width: 38px; height: 7px; border-radius: 3px; background: rgba(255,255,255,.25); }
.res.top { border-color: var(--teal-lt); background: rgba(42,127,116,.25); animation-delay: .15s; }
.res.top em { font-style: normal; font-weight: 600; } .res.top u { margin-left: auto; text-decoration: none; color: #e3b15f; font-size: .66rem; letter-spacing: -1px; }
.res:not(.top) { animation-delay: .3s; }
@keyframes showres { 0%, 32% { opacity: 0; transform: translateY(6px); } 40%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.v-search .ai { align-self: flex-start; font-size: .68rem; font-weight: 600; color: #0f2a2c; background: #9ff0e1; border-radius: 99px; padding: 3px 10px; opacity: 0; animation: showai 8s infinite; }
@keyframes showai { 0%, 55% { opacity: 0; transform: scale(.8); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* tile: platform chips */
.v-plat { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; margin-right: -10px; }
.v-plat span { font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); animation: bob 4s ease-in-out infinite; }
.v-plat span:nth-child(2) { animation-delay: .5s; } .v-plat span:nth-child(3) { animation-delay: 1s; } .v-plat span:nth-child(4) { animation-delay: 1.5s; }
.v-plat .more { animation-delay: 2s; border-style: dashed; border-color: var(--teal-lt); color: var(--teal-lt); }
@keyframes bob { 50% { transform: translateY(-3px); border-color: var(--teal-lt); } }

/* tile: conversation */
.v-talk { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; font-size: .72rem; }
.v-talk span { padding: 4px 10px; border-radius: 10px; width: fit-content; opacity: 0; animation: chat 8s infinite; }
.v-talk .b1 { background: rgba(255,255,255,.12); border-bottom-left-radius: 2px; }
.v-talk .b2 { background: var(--teal); align-self: flex-end; border-bottom-right-radius: 2px; animation-delay: 1.1s; }
@keyframes chat { 0% { opacity: 0; transform: translateY(6px); } 8%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* capability panel */
.panel {
  background: rgba(20,36,50,.82); border: 1px solid var(--line-d); border-radius: 12px;
  backdrop-filter: blur(6px); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(24px); animation: rise .9s .35s cubic-bezier(.2,.7,.2,1) forwards;
}
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line-d); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.panel-head span:last-child { color: var(--teal-lt); letter-spacing: .06em; text-transform: none; font-weight: 500; font-size: .82rem; }
.cap-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.cap-grid li { border-bottom: 1px solid var(--line-d); border-right: 1px solid var(--line-d); }
.cap-grid li:nth-child(2n) { border-right: 0; }
.cap-grid a {
  display: block; text-decoration: none; padding: 22px 22px 20px; position: relative; overflow: hidden;
  opacity: 0; animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d) * 70ms + 650ms);
  transition: background .3s;
}
.cap-grid a::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal-lt); transform: scaleY(0); transform-origin: top; transition: transform .35s; }
.cap-grid a:hover { background: rgba(255,255,255,.07); }
.cap-grid a:hover::before { transform: scaleY(1); }
.cap-grid svg { width: 26px; height: 26px; stroke: var(--teal-lt); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; transition: transform .35s; }
.cap-grid a:hover svg { transform: translateY(-3px) scale(1.08); }
.cap-grid b { display: block; font: 700 1.04rem/1.25 var(--sans); color: #fff; }
.cap-grid small { display: block; margin-top: 2px; font-size: .84rem; color: rgba(255,255,255,.58); }
.panel-foot { display: flex; justify-content: space-between; gap: 14px; padding: 15px 22px; font-size: .86rem; color: rgba(255,255,255,.65); }
.panel-foot a { color: var(--teal-lt); font-weight: 600; text-decoration: none; white-space: nowrap; }
.panel-foot a:hover { text-decoration: underline; }

/* ── TRUST STRIP ─────────────────────────────────── */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 0 var(--gutter); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 24px 26px 0; display: flex; gap: 14px; align-items: flex-start; border-right: 1px solid var(--line); margin-right: 24px; }
.trust-item:last-child { border-right: 0; margin-right: 0; }
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item b { display: block; font-size: .95rem; line-height: 1.3; }
.trust-item span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ── SERVICES (four kinds of work) ───────────────── */
.svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(30px, 6vw, 100px); }
.svc-head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.svc-head h2 { margin: 16px 0 22px; }
.svc-head p { max-width: 24em; color: var(--navy-3); }
.svc-hint { display: block; margin-top: 26px; font-size: .84rem; color: var(--muted); }
.svc-hint::before { content: '↓ '; color: var(--teal); }

.svc-list { list-style: none; border-top: 1px solid var(--navy); }
.svc-row { border-bottom: 1px solid var(--navy); position: relative; isolation: isolate; outline-offset: -2px; }
.svc-row::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: scaleY(0); transform-origin: top; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.svc-row::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); transform: scaleY(0); transform-origin: top; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.svc-row:hover::before, .svc-row:focus-within::before, .svc-row:hover::after, .svc-row:focus-within::after,
.svc-row.open::before, .svc-row.open::after { transform: scaleY(1); }
.svc-top { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: baseline; padding: 28px 16px 8px; }
.svc-n { font: 600 .85rem var(--sans); letter-spacing: .08em; color: var(--teal); }
.svc-title { font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--serif); transition: transform .35s; }
.svc-row:hover .svc-title, .svc-row.open .svc-title { transform: translateX(6px); }
.svc-line { padding: 0 16px 6px 90px; font-weight: 500; color: var(--navy-3); }
.svc-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.svc-row:hover .svc-more, .svc-row:focus-within .svc-more, .svc-row.open .svc-more { grid-template-rows: 1fr; }
.svc-more > div { overflow: hidden; padding: 0 16px 0 90px; }
.svc-more p { color: var(--navy-3); margin: 10px 0 14px; max-width: 38em; font-size: .98rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.svc-tags span { font-size: .78rem; font-weight: 600; color: var(--teal); background: rgba(42,127,116,.1); border-radius: 4px; padding: 4px 11px; }
.svc-also { margin-top: 30px; font-size: .95rem; color: var(--navy-3); max-width: 40em; }
.svc-also b { color: var(--navy); }
.svc-link { display: inline-block; margin: 2px 0 22px; font-weight: 700; font-size: .92rem; color: var(--teal); text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.svc-link span { display: inline-block; transition: transform .25s; margin-left: 4px; }
.svc-link:hover { border-bottom-color: var(--teal); }
.svc-link:hover span { transform: translateX(5px); }
.svc-all { margin-top: 26px; }

/* ── WORK ────────────────────────────────────────── */
.work { background: var(--navy); color: #fff; }
.work .note { color: var(--teal-lt); }
.work-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.work h2 { margin: 16px 0 22px; }
.work h2 em { color: var(--teal-lt); }
.work-grid > div:first-child p { color: rgba(255,255,255,.78); max-width: 28em; margin-bottom: 14px; }
.work .work-count { font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--teal-lt) !important; margin: 22px 0 26px !important; }
.work .btn { border-color: rgba(255,255,255,.5); color: #fff; }
.work .btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.work-hint { display: block; text-align: center; margin-top: 4px; font-size: .82rem; color: rgba(255,255,255,.55); }

.hero-carousel { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hc-stage { display: flex; align-items: center; gap: 12px; width: 100%; }
.hc-window { flex: 1; min-width: 0; overflow: hidden; border-radius: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); }
.hc-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.hc-slide { flex: 0 0 100%; min-width: 0; }
.hc-arrow {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: transparent;
  border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 0 3px;
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s;
}
.hc-arrow:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hc-bar { background: #2A3441; padding: 9px 12px; display: flex; align-items: center; gap: 9px; }
.hc-dots-browser { display: flex; gap: 5px; flex-shrink: 0; }
.hc-dots-browser span { width: 8px; height: 8px; border-radius: 50%; }
.hc-dots-browser span:nth-child(1) { background: #FF5F57; }
.hc-dots-browser span:nth-child(2) { background: #FFBD2E; }
.hc-dots-browser span:nth-child(3) { background: #28C840; }
.hc-url { flex: 1; background: var(--navy); border-radius: 4px; padding: 3px 9px; font: .66rem ui-monospace, monospace; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-preview-link { display: block; text-decoration: none; }
.hc-preview { height: clamp(300px, 34vw, 449px); overflow: hidden; position: relative; background: #fff; }
.hc-screenshot { width: 100%; display: block; transform: translateY(0); }
.hc-indicators { display: flex; gap: 8px; align-items: center; }
.hc-dot { height: 6px; width: 6px; border-radius: 3px; background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s, width .3s; }
.hc-dot.active { background: var(--teal-lt); width: 24px; }

/* ── PRICING ─────────────────────────────────────── */
.pricing { background: var(--white); }
.pricing-head { max-width: 42em; margin-bottom: 52px; }
.pricing-head h2 { margin: 16px 0 18px; }
.pricing-head p { color: var(--navy-3); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 36px 34px 32px; position: relative; transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(28,43,58,.12); }
.plan.pop { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan.pop::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--teal-lt); border-radius: 10px 10px 0 0; }
.plan-flag { position: absolute; right: 24px; top: 24px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--teal); color: #fff; padding: 5px 12px; border-radius: 99px; }
.plan-name { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.plan.pop .plan-name { color: var(--teal-lt); }
.plan-price { font: 700 clamp(3rem, 5vw, 4rem)/1 var(--serif); margin: 14px 0 4px; }
.plan-price small { font: 400 1rem var(--sans); color: var(--muted); margin-left: 4px; }
.plan.pop .plan-price small, .plan.pop .plan-fee { color: rgba(255,255,255,.6); }
.plan-fee { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.plan-desc { color: var(--navy-3); margin-bottom: 20px; font-size: .98rem; }
.plan.pop .plan-desc { color: rgba(255,255,255,.8); }
.plan ul { list-style: none; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 28px; }
.plan.pop ul { border-color: var(--line-d); }
.plan li { padding: 5px 0 5px 28px; position: relative; font-size: .96rem; }
.plan li::before { content: ''; position: absolute; left: 3px; top: .62em; width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.plan.pop li::before { border-color: var(--teal-lt); }
.plan .btn { width: 100%; justify-content: center; }
.plan.pop .btn-solid { background: var(--teal); border-color: var(--teal); }
.plan.pop .btn-solid:hover { background: #fff; color: var(--navy); border-color: #fff; }
.plan-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 14px; }
.plan.pop .plan-note { color: rgba(255,255,255,.55); }
.plan-note a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.quote-strip { margin-top: 56px; max-width: 980px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 8px; background: var(--bg); display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 28px 32px; }
.quote-strip h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.quote-strip h3 em { color: var(--teal); }
.quote-strip p { color: var(--navy-3); font-size: .96rem; max-width: 34em; }

/* ── PROCESS ─────────────────────────────────────── */
.how h2 { max-width: 14em; margin: 16px 0 64px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.steps::before { content: ''; position: absolute; z-index: 0; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.steps::after { content: ''; position: absolute; z-index: 0; left: 0; top: 27px; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 2s cubic-bezier(.5,0,.2,1) .2s; }
.steps.in::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; }
.step-n { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--navy); font: 700 1.3rem var(--serif); margin-bottom: 24px; position: relative; z-index: 1; transition: background .3s, color .3s, border-color .3s; }
.step:hover .step-n { background: var(--teal); border-color: var(--teal); color: #fff; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { font-size: .96rem; color: var(--navy-3); }

/* ── ABOUT ───────────────────────────────────────── */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.about h2 { margin: 16px 0 24px; }
.about-grid > div:first-child p { max-width: 36em; margin-bottom: 16px; color: var(--navy-3); }
.facts { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.facts b { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); padding-top: 4px; }
.quote { background: var(--navy); color: #fff; padding: 44px 40px 36px; border-radius: 10px; position: relative; overflow: hidden; }
.quote::before { content: '“'; position: absolute; top: -10px; left: 24px; font: 700 7rem/1 var(--serif); color: var(--teal-lt); opacity: .5; }
.quote p { font: 400 clamp(1.2rem, 2vw, 1.5rem)/1.45 var(--serif); font-style: italic; margin-top: 30px; }
.quote footer { margin-top: 24px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-lt); }
.towns { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--navy-3); font-size: 1rem; }
.towns a { text-decoration: none; border-bottom: 1px solid var(--teal); transition: color .2s; }
.towns a:hover { color: var(--teal); }
.towns b { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-right: 10px; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 100px); }
.faq h2 { margin: 16px 0 18px; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.faq-head p { color: var(--navy-3); max-width: 22em; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font: 700 1.2rem/1.3 var(--serif); transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font: 300 1.8rem/1 var(--sans); color: var(--teal); flex-shrink: 0; transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list summary:hover { color: var(--teal); }
.faq-a { padding: 0 40px 26px 0; color: var(--navy-3); font-size: 1rem; animation: fadeDown .35s ease; }
.faq-a a { color: var(--teal); font-weight: 600; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ── CONTACT ─────────────────────────────────────── */
.contact { background: var(--navy); color: #fff; background-image: radial-gradient(900px 500px at 0% 100%, rgba(42,127,116,.3), transparent 60%); }
.contact .note { color: var(--teal-lt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 110px); }
.contact h2 { margin: 16px 0 22px; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.contact h2 em { color: var(--teal-lt); }
.contact-grid > div:first-child > p { color: rgba(255,255,255,.78); max-width: 26em; }
.direct { margin-top: 38px; display: grid; gap: 20px; }
.direct a { font: 700 1.5rem var(--serif); text-decoration: none; transition: color .2s; }
.direct a:hover { color: var(--teal-lt); }
.direct span { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); display: block; margin-bottom: 2px; }

.form { display: grid; gap: 20px; align-content: start; background: rgba(255,255,255,.05); border: 1px solid var(--line-d); border-radius: 12px; padding: clamp(24px, 3vw, 38px); }
.form .fl { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); border-radius: 6px;
  color: #fff; font: 400 1rem var(--sans); padding: 12px 14px; transition: border-color .2s, background .2s;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal-lt); background: rgba(255,255,255,.1); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.35); }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.needs label { cursor: pointer; }
.needs input { position: absolute; opacity: 0; pointer-events: none; }
.needs span { display: inline-block; font-size: .84rem; font-weight: 500; padding: 7px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; transition: all .2s; }
.needs label:hover span { border-color: var(--teal-lt); }
.needs input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.needs input:focus-visible + span { outline: 2px solid var(--teal-lt); outline-offset: 2px; }
.form button { justify-self: start; background: var(--teal); color: #fff; border: 0; font: 600 1rem var(--sans); padding: 15px 30px; border-radius: 6px; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.form button:hover:not(:disabled) { background: var(--teal-lt); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.form button:disabled { opacity: .8; cursor: default; }
.email-error { display: block; color: #ffb199; font-size: .85rem; margin-top: 6px; }
.input-error { border-color: #ff7b5c !important; }

/* ── FOOTER ──────────────────────────────────────── */
footer.site { background: var(--navy); color: rgba(255,255,255,.65); padding: 0 var(--gutter) 46px; }
.foot-top { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line-d); padding-top: 38px; display: flex; flex-wrap: wrap; gap: 28px 60px; justify-content: space-between; align-items: start; }
.foot-logo { font: 700 2.2rem 'Playfair Display', serif; color: #fff; letter-spacing: -.5px; line-height: 1; }
.foot-logo small { display: block; font: 400 .72rem var(--sans); letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 10px; }
.foot-col h4 { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 12px; }
.foot-col ul { list-style: none; display: grid; gap: 6px; }
.foot-col a { text-decoration: none; font-size: .93rem; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-col.cities ul { grid-template-columns: repeat(2, auto); gap: 6px 28px; }
.foot-copy { max-width: var(--max); margin: 40px auto 0; font-size: .8rem; color: rgba(255,255,255,.4); }

.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 12px 18px; border-radius: 99px; box-shadow: 0 10px 28px rgba(28,43,58,.35);
  transform: translateY(90px); opacity: 0; transition: transform .4s, opacity .4s, background .2s;
}
.float-call.visible { transform: translateY(0); opacity: 1; }
.float-call:hover { background: var(--navy); }

/* ── SUBPAGES (pricing, about) ───────────────────── */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--nav-h) + clamp(30px, 4.2vw, 56px)) var(--gutter) clamp(38px, 5vw, 62px);
  background: radial-gradient(800px 420px at 90% 0%, rgba(77,179,165,.35), transparent 60%), linear-gradient(135deg, #1C2B3A 0%, #22405a 55%, #1d5a60 100%); }
.page-hero::before { content: ''; position: absolute; inset: -60px; opacity: .18; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 64px 64px; animation: drift 40s linear infinite; mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 70%); }
.page-hero-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.page-hero-inner > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.page-hero-inner > :nth-child(2) { animation-delay: .12s; } .page-hero-inner > :nth-child(3) { animation-delay: .26s; } .page-hero-inner > :nth-child(4) { animation-delay: .4s; }
.page-hero .note { color: var(--teal-lt); }
.page-hero h1 { font-size: clamp(2.5rem, 4.9vw, 3.9rem); line-height: 1.06; margin: 16px 0 16px; max-width: 16em; }
.page-hero h1 em { font-style: italic; font-weight: 600; color: var(--teal-lt); }
.page-hero p { max-width: 40em; font-size: 1.06rem; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.page-hero p:last-child { margin-bottom: 0; }
.page-hero .btn { padding: 11px 22px; }
.page-hero .btn-line { color: #fff; border-color: rgba(255,255,255,.45); }
.page-hero .btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(30px, 6vw, 100px); }
.split h2 { margin-top: 16px; }
.factors { list-style: none; border-top: 1px solid var(--navy); }
.factors li { padding: 24px 0; border-bottom: 1px solid var(--navy); display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; counter-increment: f; position: relative; }
.factors { counter-reset: f; }
.factors li::before { content: counter(f, decimal-leading-zero); grid-row: 1 / 3; font: 600 .85rem var(--sans); letter-spacing: .08em; color: var(--teal); padding-top: 6px; }
.factors b { font: 700 1.4rem/1.2 var(--serif); }
.factors span { color: var(--navy-3); max-width: 36em; font-size: .98rem; }

.quote-how { background: var(--bg-2); }
.quote-how h2 { margin: 16px 0 50px; }
.qsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.qstep { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 8px; padding: 28px 26px; transition: transform .3s, box-shadow .3s; }
.qstep:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,43,58,.1); }
.qstep span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.05rem var(--serif); margin-bottom: 16px; }
.qstep h3 { font-size: 1.35rem; margin-bottom: 8px; }
.qstep p { color: var(--navy-3); font-size: .97rem; }

.packages { background: var(--white); }
.pk-head { max-width: 40em; margin-bottom: 48px; }
.pk-head h2 { margin: 16px 0 16px; }
.pk-head p { color: var(--navy-3); }
.packages > .quote-strip:first-child { margin-top: 0; }
.plan-price.small { font: 600 1.55rem/1.2 var(--serif); margin: 14px 0 14px; }
.plan.pop .plan-price.small { color: #fff; }

.cta-band { background: var(--navy); color: #fff; background-image: radial-gradient(800px 420px at 0% 100%, rgba(42,127,116,.35), transparent 60%); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band .note { color: var(--teal-lt); }
.cta-band h2 { margin: 14px 0 14px; }
.cta-band h2 em { color: var(--teal-lt); }
.cta-band p { color: rgba(255,255,255,.78); max-width: 30em; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-link { color: #fff; font: 700 1.25rem var(--serif); text-decoration: none; border-bottom: 1px solid var(--teal-lt); transition: color .2s; }
.cta-link:hover { color: var(--teal-lt); }

/* ── SUBPAGE HERO: split layout with a page-specific tool ── */
.page-hero.has-visual .page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero.has-visual h1 { max-width: 11em; }
.ph-alt { font-size: .98rem !important; color: rgba(255,255,255,.7) !important; margin-bottom: 0 !important; }
.ph-alt a { color: var(--teal-lt); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.ph-visual { background: rgba(16,30,44,.7); border: 1px solid var(--line-d); border-radius: 12px; backdrop-filter: blur(6px); box-shadow: 0 24px 60px rgba(0,0,0,.28); }

/* pricing: quote builder */
.scope { padding: 16px 20px 18px; }
.sc-head, .am-head { display: flex; justify-content: space-between; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.sc-count { color: var(--teal-lt); letter-spacing: .04em; text-transform: none; font-weight: 600; font-size: .82rem; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.sc-chip { font: 500 .8rem var(--sans); color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 5px 12px; cursor: pointer; transition: all .2s; }
.sc-chip:hover { border-color: var(--teal-lt); }
.sc-chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); }
.sc-chip[aria-pressed="true"]::before { content: '✓ '; }
.sc-sum { margin: 14px 0 14px; padding: 10px 14px; min-height: 74px; border: 1px dashed rgba(255,255,255,.25); border-radius: 8px; background: rgba(255,255,255,.04); }
.sc-empty { font-size: .86rem !important; color: rgba(255,255,255,.5) !important; margin: 0 !important; }
.sc-list { list-style: none; display: grid; gap: 5px; }
.sc-list li { font-size: .86rem; padding-left: 20px; position: relative; animation: lipop .35s cubic-bezier(.2,.7,.2,1); }
.sc-list li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--teal-lt); border-bottom: 2px solid var(--teal-lt); transform: rotate(-45deg); }
@keyframes lipop { from { opacity: 0; transform: translateX(-8px); } }
.sc-go { width: 100%; justify-content: center; padding: 10px 22px !important; }

/* faq: live search */
.fsearch { padding: 22px 24px; }
.fs-label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.fs-box { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 0 16px; border: 2px solid transparent; transition: border-color .2s, box-shadow .2s; }
.fs-box:focus-within { border-color: var(--teal-lt); box-shadow: 0 0 0 4px rgba(77,179,165,.25); }
.fs-box svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.fs-box input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 1.05rem var(--sans); color: var(--navy); padding: 15px 0; min-width: 0; }
.fs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fs-chip { font: 500 .84rem var(--sans); color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 6px 14px; cursor: pointer; transition: all .2s; }
.fs-chip:hover { border-color: var(--teal-lt); }
.fs-chip.on { background: var(--teal); border-color: var(--teal); }
.fs-count { margin: 14px 0 0 !important; font-size: .86rem !important; color: rgba(255,255,255,.6) !important; }
.fs-empty { max-width: 860px; margin: 0 auto 24px; padding: 18px 20px; background: var(--bg-2); border-left: 4px solid var(--teal); border-radius: 6px; color: var(--navy-3); }
.fs-empty a { color: var(--teal); font-weight: 600; }
.faq-list details[hidden] { display: none; }

/* about: service-area map */
.areamap { overflow: hidden; padding: 0; }
.am-head { padding: 14px 18px 0; }
.areamap svg { display: block; width: 100%; height: auto; }
.areamap .state { stroke: rgba(255,255,255,.28); stroke-dasharray: 5 6; }
.areamap .state-l { font: 600 9px var(--sans); letter-spacing: .24em; fill: rgba(255,255,255,.35); }
.areamap .pin { cursor: pointer; opacity: 0; animation: nodein .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 110ms + 500ms); }
.areamap .pd { fill: #fff; stroke: var(--teal); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(127,224,208,.8)); transition: fill .2s; }
.areamap .pr { fill: none; stroke: #7fe0d0; stroke-width: 1.3; transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-out infinite; animation-delay: calc(var(--i) * .35s); }
.areamap text { font: 600 12px var(--sans); fill: rgba(255,255,255,.88); transition: fill .2s; }
.areamap .pin:hover text { fill: #9ff0e1; }
.areamap .pin:hover .pd { fill: #9ff0e1; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@keyframes nodein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cred-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cred-chips li { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: #fff; padding: 6px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; background: rgba(255,255,255,.06); }

/* demos: fanned previews + hero filters */
.fan { position: relative; height: 300px; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.fan a { position: absolute; top: 24px; left: calc(var(--i) * 17%); width: 52%; height: 240px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 18px 44px rgba(0,0,0,.4); transform: rotate(calc((var(--i) - 1.5) * 5deg)) translateY(calc(var(--i) * -4px)); transform-origin: 50% 110%; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .3s; z-index: calc(var(--i) + 1); }
.fan a img { width: 100%; height: calc(100% - 20px); object-fit: cover; object-position: top; display: block; }
.fan-bar { display: flex; gap: 4px; height: 20px; align-items: center; padding: 0 9px; background: #2A3441; }
.fan-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.fan:hover a { transform: rotate(calc((var(--i) - 1.5) * 9deg)) translate(calc((var(--i) - 1.5) * 16px), calc(var(--i) * -4px)); }
.fan a:hover { transform: rotate(0) translateY(-16px) scale(1.05) !important; z-index: 9; box-shadow: 0 28px 60px rgba(0,0,0,.55); }
.page-hero .tier-toggle { margin: 22px 0 0; padding: 0; }
.page-hero .toggle-btn { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.page-hero .toggle-btn:hover { border-color: var(--teal-lt); }
.page-hero .toggle-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.page-hero .toggle-count { background: rgba(255,255,255,.18); color: #fff; }

/* ── NAV DROPDOWN (About > Locations) ── */
.nav-links .has-menu { position: relative; display: flex; align-items: center; gap: 2px; }
.menu-toggle { background: none; border: 0; width: 20px; height: 24px; cursor: pointer; position: relative; color: inherit; }
.menu-toggle::before { content: ''; position: absolute; left: 5px; top: 7px; width: 6px; height: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); transition: transform .25s; opacity: .8; }
.has-menu:hover .menu-toggle::before, .has-menu.open .menu-toggle::before, .has-menu:focus-within .menu-toggle::before { transform: rotate(-135deg) translate(-1px,-1px); }
nav .has-menu > a, nav .has-menu .menu-toggle { color: rgba(255,255,255,.8); }
nav.light .has-menu > a, nav.light .has-menu .menu-toggle { color: var(--navy-3); }
.submenu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 200px; list-style: none; padding: 8px; border-radius: 10px;
  background: var(--navy-2); border: 1px solid var(--line-d); box-shadow: 0 20px 44px rgba(0,0,0,.3);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu { opacity: 1; visibility: visible; transform: none; }
.nav-links .submenu a { display: block; padding: 10px 14px; border-radius: 6px; font-size: .9rem; color: rgba(255,255,255,.85) !important; transition: background .2s; }
.nav-links .submenu a::after { display: none !important; }
.nav-links .submenu a:hover { background: rgba(255,255,255,.1); color: #fff !important; }
nav.light .submenu { background: #fff; border-color: var(--line); box-shadow: 0 20px 44px rgba(28,43,58,.14); }
nav.light .nav-links .submenu a { color: var(--navy-3) !important; }
nav.light .nav-links .submenu a:hover { background: var(--bg-2); color: var(--navy) !important; }

/* ── LOCATIONS PAGE ── */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.loc-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px 20px; position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.loc-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.loc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(28,43,58,.12); border-color: var(--teal); }
.loc-card:hover::after { transform: scaleX(1); }
.loc-pin { width: 38px; height: 38px; border-radius: 10px; background: rgba(42,127,116,.1); display: grid; place-items: center; margin-bottom: 14px; transition: background .3s; }
.loc-pin svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.loc-card:hover .loc-pin { background: var(--teal); }
.loc-card:hover .loc-pin svg { stroke: #fff; }
.loc-card h3 { font-size: 1.4rem; margin-bottom: 2px; }
.loc-card small { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.loc-card p { font-size: .92rem; color: var(--navy-3); margin-bottom: 16px; }
.loc-go { margin-top: auto; font-weight: 700; font-size: .9rem; }
.loc-go i { font-style: normal; display: inline-block; color: var(--teal); transition: transform .25s; margin-left: 4px; }
.loc-card:hover .loc-go i { transform: translateX(5px); }
.loc-more { margin-top: 44px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 30px 34px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; background: var(--white); }
.loc-more h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.loc-more p { color: var(--navy-3); max-width: 38em; }
.loc-more .cta-actions { justify-items: start; }
.hero-note-line { font-size: .98rem !important; color: rgba(255,255,255,.9) !important; border-left: 3px solid var(--teal-lt); padding-left: 14px; }

/* ── CITY PAGES ── */
.ph-visual.ph-plain { background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.page-hero .hc-preview { height: clamp(230px, 24vw, 330px); }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.city-svc { background: var(--bg); }
.lc-head { margin-bottom: 40px; max-width: 42em; }
.lc-head h2 { margin: 14px 0 14px; }
.lc-head p { color: var(--navy-3); }
.lc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lc-grid.four { grid-template-columns: repeat(4, 1fr); }
.lcard { display: block; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 10px; padding: 26px 24px 22px; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
a.lcard:hover, .lcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,43,58,.1); }
.lcard .li { width: 42px; height: 42px; border-radius: 10px; background: rgba(42,127,116,.1); display: grid; place-items: center; margin-bottom: 14px; }
.lcard .li svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lcard h3 { font-size: 1.25rem; margin-bottom: 8px; }
.lcard p { font-size: .94rem; color: var(--navy-3); }
.lcard .lg { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .88rem; color: var(--teal); }
.city-local { background: var(--bg-2); }
.ind-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ind { font-size: .92rem; font-weight: 500; padding: 9px 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); transition: border-color .2s, color .2s, transform .2s; }
.ind:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.city-who h2 { margin: 14px 0 16px; }
.city-who > p { color: var(--navy-3); max-width: 42em; }
.contact .note.city-note { color: var(--teal-lt); }

/* about: values */
.values { padding: 16px 20px 20px; }
.pt-head { display: flex; justify-content: space-between; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pt-head span:last-child { color: var(--teal-lt); letter-spacing: .04em; text-transform: none; font-weight: 600; font-size: .82rem; }
.vlist { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.vlist li { display: flex; gap: 16px; align-items: flex-start; background: #fff; color: var(--navy); border-radius: 10px; padding: 12px 16px; position: relative; overflow: hidden;
  opacity: 0; transform: translateX(24px); animation: vin .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 180ms + 500ms);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.vlist li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--teal); transform: scaleY(0); transform-origin: top; animation: vbar .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 180ms + 900ms); }
@keyframes vin { to { opacity: 1; transform: none; } }
@keyframes vbar { to { transform: scaleY(1); } }
.vlist li:hover { transform: translateX(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.vc-ic { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: rgba(42,127,116,.12); }
.vc-ic svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vlist h3 { font-size: 1.3rem; line-height: 1.1; margin-bottom: 2px; color: var(--navy); }
.page-hero .vlist p { margin: 0 !important; font-size: .9rem !important; line-height: 1.4; color: var(--navy-3) !important; }

/* FAQ page body */
.faq-page { background: var(--bg-2); }
.faq-wrap { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq-page .faq-list { counter-reset: q; border: 0; }
.faq-page .faq-list details { counter-increment: q; background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; transition: border-color .3s, box-shadow .3s; overflow: hidden; position: relative; }
.faq-page .faq-list details:first-child { border: 1px solid var(--line); }
.faq-page .faq-list details:hover { border-color: var(--teal); }
.faq-page .faq-list details[open] { border-color: var(--teal); box-shadow: 0 16px 40px rgba(28,43,58,.1); }
.faq-page .faq-list details::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--teal); transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.faq-page .faq-list details[open]::before { transform: scaleY(1); }
.faq-page .faq-list summary { padding: 24px 28px; font: 700 clamp(1.15rem, 1.7vw, 1.4rem)/1.3 var(--serif); gap: 20px; justify-content: flex-start; }
.faq-page .faq-list summary::before { content: counter(q, decimal-leading-zero); font: 700 .85rem var(--sans); letter-spacing: .08em; color: var(--teal); min-width: 26px; }
.faq-page .faq-list summary::after { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); color: var(--teal); font-size: 1.5rem; transition: transform .3s, background .3s, color .3s; }
.faq-page .faq-list details[open] summary::after { background: var(--teal); color: #fff; }
.faq-page .faq-a { padding: 0 32px 28px 82px; font-size: 1.05rem; line-height: 1.7; }
.faq-page .fs-empty { margin: 0 0 18px; max-width: none; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 18px; }
.fa-card { background: var(--navy); color: #fff; border-radius: 14px; padding: 30px 28px 26px; background-image: radial-gradient(420px 260px at 100% 0%, rgba(77,179,165,.3), transparent 60%); }
.fa-card .note { color: var(--teal-lt); }
.fa-card h3 { font-size: 1.9rem; margin: 12px 0 10px; }
.fa-card h3 em { color: var(--teal-lt); }
.fa-card p { color: rgba(255,255,255,.78); font-size: .97rem; margin-bottom: 20px; }
.fa-card .btn { width: 100%; justify-content: center; }
.fa-direct { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.fa-direct a { color: #fff; font: 700 1.05rem var(--serif); text-decoration: none; word-break: break-word; transition: color .2s; }
.fa-direct a:hover { color: var(--teal-lt); }
.fa-links { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.fa-links li + li { border-top: 1px solid var(--line); }
.fa-links a { display: flex; justify-content: space-between; padding: 16px 22px; text-decoration: none; font-weight: 600; font-size: .96rem; transition: color .2s, padding .25s; }
.fa-links a i { font-style: normal; color: var(--teal); transition: transform .25s; }
.fa-links a:hover { color: var(--teal); padding-left: 26px; }
.fa-links a:hover i { transform: translateX(4px); }

/* ── SERVICES MENU (mega dropdown) ───────────────── */
.nav-links .has-menu.mega { position: static; padding: 24px 0; margin: -24px 0; }
.submenu.mm { left: 0; right: 0; width: min(1000px, calc(100% - 2 * var(--gutter))); margin: 0 auto; top: 100%; min-width: 0; padding: 20px 28px 26px; border-radius: 0 0 14px 14px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 28px; }
.submenu.mm::before { top: -26px; height: 26px; }
.nav-links .submenu.mm a.mm-all { grid-column: 1 / -1; display: flex; justify-content: space-between; font-weight: 700; padding: 6px 10px 14px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.16); border-radius: 0; }
nav.light .nav-links .submenu.mm a.mm-all { border-bottom-color: var(--line); }
.nav-links .submenu.mm a.mm-all span { color: var(--teal-lt); transition: transform .25s; }
.nav-links .submenu.mm a.mm-all:hover span { transform: translateX(4px); }
.mm-col { display: grid; gap: 20px; align-content: start; }
.mm-group h5 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-lt); padding: 0 10px; margin-bottom: 6px; }
nav.light .mm-group h5 { color: var(--teal); }
.mm-group ul { list-style: none; }
.nav-links .submenu.mm .mm-group a { padding: 7px 10px; font-size: .9rem; }

/* ── SERVICES PAGE ───────────────────────────────── */
.sg-wrap { background: var(--bg); padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(48px, 6vw, 84px); }
.sg-inner { max-width: var(--max); margin: 0 auto; }
.sg-panel { display: block; }
.js .sg-panel { display: none; }
.js .sg-panel.active { display: block; }
/* entrance: everything in the panel rises in together (no per-item delays, and nothing holds a final state, so hover still works) */
.sg-panel.active .sg-top, .sg-panel.active .bucket, .sg-panel.active .sc-card { animation: scin .55s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes scin { from { opacity: 0; transform: translateY(18px); } }

/* all-services view: one tile per category */
.bk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bucket { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 16px; padding: 26px 26px 22px; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.bucket::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.bucket:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(28,43,58,.13); border-color: var(--teal); }
.bucket:hover::before { transform: scaleX(1); }
.bk-head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 14px; text-decoration: none; color: inherit; }
.bk-head::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.bk-n { font: 700 1.5rem var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--teal); }
.bk-head h3 { font-size: 1.7rem; line-height: 1.1; }
.bk-count { grid-column: 2; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.bk-blurb { margin: 14px 0 14px; color: var(--navy-3); font-size: .95rem; }
.bk-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bk-list a { position: relative; z-index: 2; display: inline-block; font-size: .84rem; font-weight: 600; color: var(--teal); background: rgba(42,127,116,.1); border-radius: 99px; padding: 5px 13px; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.bk-list a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.bk-open { margin-top: auto; font-weight: 700; font-size: .92rem; color: var(--navy); }
.bk-open i { font-style: normal; display: inline-block; color: var(--teal); transition: transform .25s; margin-left: 4px; }
.bucket:hover .bk-open i { transform: translateX(6px); }

/* category view: a card per service */
.sg-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 60px; flex-wrap: wrap; margin-bottom: 28px; }
.sg-top h2 { margin-top: 0; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.sg-top p { color: var(--navy-3); max-width: 26em; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.sc-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 26px; scroll-margin-top: calc(var(--nav-h) + 90px);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.sc-card:hover, .sc-card.picked { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(28,43,58,.11); border-color: var(--teal); }
.sc-n { display: block; font: 700 1.1rem var(--serif); color: transparent; -webkit-text-stroke: 1.1px var(--teal); margin-bottom: 10px; }
.sc-card h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 8px; }
.sc-card p { color: var(--navy-3); font-size: .97rem; }

/* services page: sticky pill bar */
.svc-tabs { position: sticky; top: var(--nav-h); z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tabs-wrap { position: relative; display: flex; align-items: center; gap: 14px; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.tabs-scroll { position: relative; flex: 1; min-width: 0; }
.tab-all { position: relative; margin-right: 6px; }
.tab-all::after { content: ''; position: absolute; right: -15px; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.tabs-inner { padding: 11px 2px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-behavior: smooth; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font: 600 .9rem var(--sans); text-decoration: none; white-space: nowrap; scroll-snap-align: center; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.tab small { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--bg-2); color: var(--muted); font-size: .72rem; font-weight: 700; transition: background .25s, color .25s; }
.tab:hover { border-color: var(--teal); transform: translateY(-1px); }
.tab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab.on small { background: var(--teal); color: #fff; }
/* when the pills don't all fit: edge fades and arrows make the scrolling obvious */
.tabs-wrap.can-right .tabs-inner { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
.tabs-wrap.can-left .tabs-inner { -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px); mask-image: linear-gradient(90deg, transparent, #000 72px); }
.tabs-wrap.can-left.can-right .tabs-inner { -webkit-mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, transparent, #000 72px, #000 calc(100% - 72px), transparent); }
.tabs-arrow { position: absolute; top: 50%; z-index: 3; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; box-shadow: 0 6px 16px rgba(28,43,58,.16); cursor: pointer; padding: 0; opacity: 0; pointer-events: none; transform: scale(.85); transition: opacity .25s, transform .25s, background .2s, border-color .2s; }
.tabs-arrow.left { left: 8px; } .tabs-arrow.right { right: 8px; }
.tabs-arrow::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.tabs-arrow.left::before { transform: translate(-30%, -50%) rotate(135deg); }
.tabs-arrow.right::before { transform: translate(-70%, -50%) rotate(-45deg); }
.tabs-arrow:hover { background: var(--navy); border-color: var(--navy); }
.tabs-arrow:hover::before { border-color: #fff; }
.tabs-wrap.can-left .tabs-arrow.left, .tabs-wrap.can-right .tabs-arrow.right { opacity: 1; pointer-events: auto; transform: none; }

/* faq: search now sits above the questions (light version) */
.fsearch.fs-body { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; }
.fs-body .fs-label { color: var(--navy-3); }
.fs-body .fs-box { background: var(--bg); border: 1.5px solid var(--line); }
.fs-body .fs-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42,127,116,.15); }
.fs-body .fs-chip { color: var(--navy); border-color: var(--line); background: var(--white); }
.fs-body .fs-chip:hover { border-color: var(--teal); }
.fs-body .fs-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-hero .fs-body .fs-count, .fs-body .fs-count { color: var(--muted) !important; }

/* faq: hero chat of real answers */
.fchat { padding: 16px 20px 16px; }
.fc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-d); }
.fc-av { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; font: 700 .95rem 'Playfair Display', serif; color: #fff; flex-shrink: 0; }
.fc-who b { display: block; font-size: 1rem; color: #fff; line-height: 1.2; }
.fc-who small { display: block; font-size: .78rem; color: var(--teal-lt); }
.fc-body { min-height: 196px; padding: 16px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.fc-msg { max-width: 86%; padding: 11px 16px; border-radius: 16px; font-size: .96rem; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.fc-msg.show { opacity: 1; transform: none; }
.fc-msg.q { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 4px; font-weight: 600; }
.fc-msg.a { align-self: flex-start; background: rgba(255,255,255,.95); color: var(--navy); border-bottom-left-radius: 4px; }
.fc-typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; border-radius: 16px; border-bottom-left-radius: 4px; background: rgba(255,255,255,.14); opacity: 0; position: absolute; transition: opacity .25s; pointer-events: none; }
.fc-typing.show { opacity: 1; position: static; }
.fc-typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.75); animation: fcdot 1s ease-in-out infinite; }
.fc-typing i:nth-child(2) { animation-delay: .15s; } .fc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fcdot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.fc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.fc-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.28); transition: width .3s, background .3s; }
.fc-dots i.on { width: 20px; background: var(--teal-lt); }

/* services: orbit hero */
.orbit svg.orb-m { display: none; }
.page-hero.svc-hero .page-hero-inner { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.page-hero.svc-hero h1 { font-size: clamp(2.2rem, 4.1vw, 3.3rem); margin: 14px 0 14px; }
.page-hero.svc-hero .page-hero-inner > .ph-text p { margin-bottom: 0; }
.orbit svg { display: block; width: 100%; height: auto; overflow: visible; }
.ob-ring { fill: none; stroke: rgba(255,255,255,.16); stroke-dasharray: 3 7; }
.ob-ring.r2 { stroke: rgba(127,224,208,.2); }
.orbit .sp { stroke: rgba(127,224,208,.22); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: svdraw2 .9s cubic-bezier(.5,0,.2,1) forwards; animation-delay: calc(.6s + var(--d, 0s)); }
.orbit .sp[data-i="1"] { --d: .1s; } .orbit .sp[data-i="2"] { --d: .2s; } .orbit .sp[data-i="3"] { --d: .3s; } .orbit .sp[data-i="4"] { --d: .4s; } .orbit .sp[data-i="5"] { --d: .5s; }
.orbit .sp { stroke-dasharray: 400; stroke-dashoffset: 400; }
@keyframes svdraw2 { to { stroke-dashoffset: 0; } }
.orbit .sp.on { stroke: #9ff0e1; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(127,224,208,.8)); }
.hub-core { fill: var(--teal); stroke: rgba(255,255,255,.55); stroke-width: 1.5; filter: drop-shadow(0 0 22px rgba(77,179,165,.6)); }
.hub-link { cursor: pointer; outline: none; }
.hub-link .hub-core { transition: fill .25s, stroke .25s; }
.hub-link:hover .hub-core, .hub-link:focus-visible .hub-core { fill: #36998b; stroke: #fff; }
.hub-link:focus-visible .hub-core { stroke-width: 3; }
.hub-halo { fill: none; stroke: #7fe0d0; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: hubhalo 3.2s ease-out infinite; }
@keyframes hubhalo { from { transform: scale(1); opacity: .75; } to { transform: scale(1.7); opacity: 0; } }
.hub-txt { transition: opacity .28s ease; }
.hub-txt.swap { opacity: 0; }
.hub-txt .h1 { font: 700 15px 'Playfair Display', serif; fill: #fff; letter-spacing: -.1px; }
.hub-txt .hc { font: 600 8.6px var(--sans); letter-spacing: .12em; text-transform: uppercase; fill: rgba(255,255,255,.8); }
.on-node { cursor: pointer; outline: none; opacity: 0; animation: ndin .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 110ms + 700ms); }
@keyframes ndin { from { opacity: 0; } to { opacity: 1; } }
.on-node .nd-core { fill: #16293c; stroke: rgba(255,255,255,.3); stroke-width: 1.4; transition: fill .3s, stroke .3s; }
.on-node .nd-ring { fill: none; stroke: #7fe0d0; stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .3s; }
.on-node g path { fill: none; stroke: #9ff0e1; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.on-node .nd-l { font: 600 13px var(--sans); fill: rgba(255,255,255,.7); transition: fill .3s; }
.on-node.on .nd-core { fill: var(--teal); stroke: #9ff0e1; }
.on-node.on .nd-ring { opacity: 1; animation: ndpulse 1.8s ease-out infinite; }
@keyframes ndpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.on-node.on g path { stroke: #fff; }
.on-node.on .nd-l { fill: #fff; }
.on-node:focus-visible .nd-core { stroke: #fff; stroke-width: 2.4; }
/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .tl-long { display: none; }
}
@media (max-width: 1020px) {
  .nav-links { gap: 22px; }
  .nav-call { display: none; }
  .bento { max-width: 600px; }
  .hero-inner, .svc, .faq, .about-grid, .contact-grid, .work-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .page-hero.has-visual .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submenu.mm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
  .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-grid, .lc-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero.has-visual .ph-visual { max-width: 560px; width: 100%; }
  .page-hero.has-visual h1 { max-width: 16em; }
  .fan { max-width: 520px; }
  .qsteps { grid-template-columns: 1fr; }
  .svc-head, .faq-head { position: static; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; margin-right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .steps::before, .steps::after { display: none; }
  .plans { grid-template-columns: 1fr; }
  .quote-strip { grid-template-columns: 1fr; gap: 16px; }
  .quote-strip .btn { justify-self: start; }
}
@media (max-width: 760px) {
  .orbit svg.orb-d { display: none; }
  .orbit svg.orb-m { display: block; }
  .page-hero .orbit { margin-top: 4px; }
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  .sc-grid { grid-template-columns: minmax(0, 1fr); }
  .full-name, .nav-logo .divider { display: none; }
  .nav-burger { display: block; }
  .nav-links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid var(--line-d); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .nav-open .nav-links { max-height: 560px; }
  .faq-page .faq-list summary { padding: 18px 18px; gap: 12px; }
  .faq-page .faq-a { padding: 0 20px 22px 20px; }
  .nav-links .has-menu, .nav-links .has-menu.mega { display: block; position: relative; padding: 0; margin: 0; }
  .has-menu .menu-toggle { display: block; position: absolute; right: var(--gutter); top: 8px; width: 40px; height: 40px; }
  .has-menu .menu-toggle::before { left: 14px; top: 15px; }
  /* every dropdown starts collapsed so the main sections are all visible */
  .has-menu .submenu { display: none; }
  .has-menu.open .submenu { display: block; }
  .submenu.mm { position: static; width: auto; margin: 0; padding: 4px 0 10px; grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: 0; }
  .nav-links .submenu.mm a.mm-all { padding: 12px var(--gutter) 12px calc(var(--gutter) + 18px) !important; margin: 0; }
  .mm-col { display: contents; }
  .has-menu.open .submenu.mm { display: flex; flex-direction: column; }
  .submenu.mm a.mm-all { order: 0; }
  .submenu.mm > .mm-col:nth-child(2) .mm-group { order: 1; }              /* Websites */
  .submenu.mm > .mm-col:nth-child(3) .mm-group:nth-child(1) { order: 2; } /* Online shops */
  .submenu.mm > .mm-col:nth-child(4) .mm-group:nth-child(1) { order: 3; } /* Search & visibility */
  .submenu.mm > .mm-col:nth-child(4) .mm-group:nth-child(2) { order: 4; } /* Analytics */
  .submenu.mm > .mm-col:nth-child(5) .mm-group { order: 5; }              /* Consulting & help */
  .submenu.mm > .mm-col:nth-child(3) .mm-group:nth-child(2) { order: 6; } /* Business tools */
  /* inside Services, each group is a collapsed row that opens to its links */
  .mm-group h5 { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter) 14px calc(var(--gutter) + 18px); margin: 0; cursor: pointer; border-top: 1px solid var(--line-d); }
  nav.light .mm-group h5 { border-top-color: var(--line); }
  .mm-group h5::after { content: ''; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; opacity: .8; }
  .mm-group.open h5::after { transform: rotate(-135deg) translate(-2px, -2px); }
  .mm-group ul { display: none; }
  .mm-group.open ul { display: block; }
  .nav-links .submenu.mm .mm-group a { padding: 10px var(--gutter) 10px calc(var(--gutter) + 38px) !important; }
  .nav-open .nav-links { max-height: 82vh; overflow-y: auto; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 0 6px; min-width: 0; }
  .submenu::before { display: none; }
  .nav-links .submenu a { padding: 12px var(--gutter) 12px calc(var(--gutter) + 18px) !important; border-radius: 0; font-size: .86rem; opacity: .85; }
  .loc-grid, .lc-grid, .lc-grid.four { grid-template-columns: minmax(0, 1fr); }
  .nav-links li a { display: block; padding: 15px var(--gutter); border-top: 1px solid var(--line-d); }
  .nav-links a::after { display: none; }
  .nav-call { display: block; }
  .nav-cta { border-radius: 0; background: var(--teal); }
  nav.light .nav-links { background: var(--bg); border-bottom-color: var(--line); }
  nav.light .nav-links li a { border-top-color: var(--line); }
  nav.light .nav-cta { background: var(--teal); color: #fff !important; }
  .cap-grid a { padding: 18px 16px 16px; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; margin-right: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .svc-top { grid-template-columns: 40px 1fr; padding-left: 8px; }
  .svc-line, .svc-more > div { padding-left: 62px; }
  .svc-more { grid-template-rows: 1fr; }
  .svc-more p { margin-top: 4px; }
  .steps { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .float-call span { display: none; }
}
@media (hover: none) {
  .svc-more { grid-template-rows: 1fr; }
  .svc-row::before, .svc-row::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-text > *, .page-hero-inner > *, .areamap .pin, .bento, .tile, .vl, .vcards span, .res, .ai, .v-talk span { opacity: 1; transform: none; }
  .hero h1 em { background-size: 100% 2px; }
}
