/*
 * Unifia School — design system
 * Signature: the seam (stitched orange line) and the hang-tag, borrowed from
 * garment making. Bold Montserrat display, quiet system-font body.
 */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin.woff2) format("woff2");
}

:root {
  --ink: #1e2a44;
  --ink-2: #141c30;
  --cobalt: #0b5fd0;
  --cobalt-2: #084aa6;
  --sky: #dfeafb;
  --chalk: #f2f5f9;
  --orange: #f26a21;
  --orange-2: #d9530f;
  --orange-ink: #bf4a0d; /* orange that passes WCAG AA for text and button fills */
  --text: #3b465c;
  --muted: #5f697d;
  --line: #dfe4ec;
  --white: #fff;
  --r-media: 22px;
  --r-card: 16px;
  --r-small: 10px;
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
h2 { font-size: clamp(25px, 3vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--text); max-width: 62ch; }
.lead a { font-weight: 600; }
.kicker { font: 700 15px/1.3 var(--head); color: var(--cobalt); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 34px; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 7px, transparent 7px 12px); }
.eyebrow { font: 700 15px var(--head); color: var(--cobalt); margin-bottom: 12px; }
.text-link { font-weight: 700; text-decoration: none; font-family: var(--head); font-size: 15px; }
.text-link:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 13px 24px; border-radius: 999px; font: 700 15px/1.2 var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: var(--ink-2); box-shadow: 0 10px 24px -10px rgba(242, 106, 33, .65); }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--cobalt); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn--line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; margin-bottom: 10px; }
.i-wa { width: 19px; height: 19px; color: #1fae55; }
.btn .icon { width: 18px; height: 18px; flex: none; stroke-width: 4; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Signature elements */
.seam { height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 20px); opacity: .9; }
.hangtag { position: absolute; margin: 0; z-index: 3; transform-origin: 50% 0; }
.hangtag span { position: relative; display: block; max-width: 230px; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.4; padding: 26px 18px 16px; border-radius: 8px 8px 14px 14px; box-shadow: 0 18px 40px -12px rgba(20, 28, 48, .35); }
.hangtag span::before { content: ""; position: absolute; top: 9px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--chalk); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); }
.hangtag::before { content: ""; position: absolute; top: -34px; left: 50%; width: 2px; height: 40px; background: var(--orange); transform: rotate(14deg); transform-origin: bottom; }
.hangtag strong { color: var(--cobalt); }
.tags { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.tag { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px 14px 14px 6px; padding: 12px 18px 12px 34px; font-size: 15px; color: var(--ink); }
.tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; border: 2px solid var(--orange); }

/* Image slots */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-media); background: var(--chalk); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media--ph { display: grid; place-items: center; color: var(--cobalt); background-color: #e9f0fa; background-image: repeating-linear-gradient(135deg, rgba(11, 95, 208, .06) 0 2px, transparent 2px 9px), linear-gradient(160deg, #eef4fc, #dde8f8); }
.media--ph .icon { width: 30%; max-width: 130px; height: auto; opacity: .9; stroke-width: 2; }
.media--navy { color: #8fb6f2; background-color: var(--ink); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 9px), radial-gradient(120% 90% at 20% 0%, #2c3c60, var(--ink-2)); }
.media--cobalt { color: #fff; background-color: var(--cobalt); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 9px), radial-gradient(120% 90% at 80% 0%, #2a7ee8, var(--cobalt-2)); }
.media--sky { color: var(--cobalt); background-color: var(--sky); background-image: repeating-linear-gradient(135deg, rgba(11, 95, 208, .07) 0 2px, transparent 2px 9px), radial-gradient(120% 90% at 20% 0%, #eef5ff, #cfe0f8); }
.media--orange { color: #fff; background-color: var(--orange-ink); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 9px), radial-gradient(120% 90% at 80% 0%, #ff8a4c, var(--orange-2)); }

/* Topbar + header */
.topbar { background: var(--ink); color: #c4cde0; font-size: 13.5px; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar__contact { display: flex; gap: 20px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; backdrop-filter: saturate(1.5) blur(10px); transition: border-color .2s, box-shadow .2s; }
.header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 28, 48, .5); }
.header__in { position: relative; display: flex; align-items: center; gap: 24px; height: 78px; }
.header__cta { margin-left: auto; }
.header__cta .btn { white-space: nowrap; }
.brand img { width: 220px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 13px; font: 600 15px/1.2 var(--head); color: var(--ink); text-decoration: none; border-radius: 10px; white-space: nowrap; }
.nav__link:hover, .nav__link.is-active { color: var(--cobalt); }
.nav__link.is-active { box-shadow: inset 0 -3px 0 -1px var(--orange); border-radius: 0; }
.nav__toggle { display: none; }
.has-menu > .nav__link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
/* The large menu is anchored to the header row so it never overflows the viewport. */
.nav__item.has-menu { position: static; }
@media (min-width: 1181px) { .nav, .nav__list, .nav__item { align-self: stretch; height: 100%; } .header__in { align-items: stretch; } .brand, .header__cta { align-self: center; } .header__cta { margin-left: 0; } }
.nav__item.has-menu--narrow { position: relative; }
.mega { position: absolute; top: calc(100% - 6px); left: 0; right: 0; margin-inline: auto; width: min(900px, 100%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 30px; padding: 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 30px 60px -24px rgba(20, 28, 48, .35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mega--narrow { top: calc(100% + 8px); left: -20px; right: auto; margin: 0; width: max-content; min-width: 270px; grid-template-columns: 1fr; }
.has-menu:hover > .mega, .has-menu:focus-within > .mega, .has-menu.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__title { font: 700 13px/1 var(--head); color: var(--orange-ink); margin: 0 0 12px; }
.mega a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.mega a:hover { color: var(--cobalt); }
.nav__cta { display: none; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 11px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 56px 0 0; background: linear-gradient(180deg, #f4f8fd 0%, #fff 78%); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -12vw; top: -20vw; width: 62vw; height: 62vw; border-radius: 50%; background: var(--sky); opacity: .7; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.2fr .9fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 26px; }
.hero__title > span { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title > span > span { display: inline-block; }
.collage { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: min(600px, 52vw); }
.collage .media { height: 100%; aspect-ratio: auto !important; }
.collage__a { grid-row: 1 / 3; border-radius: 120px 22px 22px 22px; }
.collage__b { border-radius: 22px 22px 22px 80px; }
.collage__c { border-radius: 22px; }
.collage__stitch { position: absolute; inset: -4% -6%; width: 112%; height: 108%; pointer-events: none; z-index: 2; overflow: visible; }
.collage__tag { left: 38%; bottom: -26px; transform: rotate(-4deg); }
.swatchrail { position: relative; margin-top: 56px; padding: 0 0 40px; }
.swatchrail ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.swatchrail li { display: flex; gap: 14px; align-items: center; margin: 0; padding: 18px; font-size: 14.5px; line-height: 1.45; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 14px 30px -24px rgba(20, 28, 48, .45); }
.swatchrail strong { display: block; color: var(--ink); font: 700 15.5px/1.3 var(--head); margin-bottom: 2px; }
.swatchrail__ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--sky); color: var(--cobalt); }
.swatchrail li:nth-child(2) .swatchrail__ic { background: var(--ink); color: #fff; }
.swatchrail li:nth-child(3) .swatchrail__ic { background: #ffe6d6; color: var(--orange-ink); }
.swatchrail li:nth-child(4) .swatchrail__ic { background: var(--cobalt); color: #fff; }
.swatchrail__ic .icon { width: 26px; height: 26px; }

/* Ticker of cities */
.ticker { position: relative; background: var(--ink); overflow: hidden; padding: 16px 0; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 34px 0 0; white-space: nowrap; }
.ticker li::after { content: ""; width: 7px; height: 7px; margin-left: 22px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 106, 33, .18); }
.ticker__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #ffb48a; flex: none; }
.ticker__ic .icon { width: 22px; height: 22px; stroke-width: 3; }
.ticker__txt { font-size: 16px; color: #b9c3d6; }
.ticker__txt strong { font: 700 17px var(--head); color: #fff; letter-spacing: -.01em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 92px 0; }
.section--chalk { background: var(--chalk); }
.section--navy { background: var(--ink); color: #cfd7e8; }
.section__head { max-width: 780px; margin-bottom: 44px; }
.section__head p:not(.eyebrow) { font-size: 18px; color: var(--muted); margin: 0; }
.section__head h2::after { content: ""; display: block; width: 76px; height: 4px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 18px); }
.section__head--light h2 { color: #fff; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; }
.section__head--row > div:first-child { max-width: 760px; }
.section__title { font-size: clamp(21px, 2.2vw, 26px); margin: 10px 0 22px; }
.section__title + .link-cards { margin-bottom: 44px; }
.section__foot { margin-top: 30px; }

/* Bento of levels */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.bento__item { position: relative; display: block; border-radius: var(--r-media); overflow: hidden; text-decoration: none; color: #fff; min-height: 260px; isolation: isolate; }
.bento__item--1 { grid-row: 1 / 3; }
.bento__item--4 { grid-column: 2 / 4; }
.bento__item .media img { object-position: 50% 18%; }
.bento__item .media { position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; border-radius: 0; }
.bento__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 28, 48, 0) 30%, rgba(20, 28, 48, .88) 100%); }
.bento__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; display: flex; flex-direction: column; gap: 4px; }
.bento__age { align-self: flex-start; font: 700 13px var(--head); background: var(--orange-ink); color: #fff; padding: 5px 11px; border-radius: 999px; margin-bottom: 8px; }
.bento__title { font: 800 clamp(21px, 2.1vw, 28px)/1.15 var(--head); letter-spacing: -.02em; }
.bento__text { font-size: 15.5px; color: #dfe6f3; max-width: 46ch; }
.bento__item:hover, .bento__item:focus-visible, .helpcard__tel:hover { color: #fff; }
.bento__item:hover .media img, .pcard:hover .media img { transform: scale(1.04); }
.bento__item--1 .bento__title { font-size: clamp(26px, 3vw, 38px); }

/* Product rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--cobalt) transparent; }
.pcard { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.pcard .media { margin-bottom: 12px; border-radius: 18px; }
.pcard__title { font: 800 19px/1.25 var(--head); color: var(--ink); }
.pcard__text { font-size: 15px; color: var(--muted); }
.pcard:hover .pcard__title { color: var(--cobalt); }
.rail-nav { display: flex; gap: 10px; flex: none; }
.rail-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.rail-btn:hover { background: var(--ink); color: #fff; }
.rail-btn svg { width: 22px; height: 22px; }

/* Project journey: horizontal stepped line (home) */
.journey { background-color: #fff; background-image: linear-gradient(rgba(30, 42, 68, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 42, 68, .045) 1px, transparent 1px); background-size: 34px 34px; }
.journey__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.journey__head h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.035em; margin-bottom: 14px; }
.journey__head h2 span { color: var(--cobalt); }
.journey__head p { font-size: 18px; color: var(--muted); margin: 0; }
.journey__steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.journey__steps::before, .journey__steps::after { content: ""; position: absolute; top: 38px; left: 10%; right: 10%; height: 2px; }
.journey__steps::before { background: var(--line); }
.journey__steps::after { background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 16px); transform-origin: left; transform: scaleX(var(--p)); }
.journey__steps li { position: relative; z-index: 1; margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.journey__icon { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--sky)); border: 1px solid #c9daf3; color: var(--cobalt); box-shadow: 0 12px 26px -14px rgba(11, 95, 208, .55), inset 0 -4px 10px rgba(11, 95, 208, .08); transition: transform .3s var(--ease), background .3s; }
.journey__icon::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #fff; }
.journey__icon .icon { width: 32px; height: 32px; }
.journey__steps li:hover .journey__icon { transform: translateY(-4px); background: radial-gradient(circle at 35% 30%, #fff, #cfe0f8); }
.journey__n { font: 700 13px var(--head); letter-spacing: .12em; color: var(--orange-ink); margin: 20px 0 10px; }
.journey__steps h3 { font-size: 18.5px; margin: 0 0 10px; }
.journey__steps h3 a { color: inherit; text-decoration: none; }
.journey__steps h3 a:hover { color: var(--cobalt); }
.journey__steps p { font-size: 15.5px; color: var(--muted); margin: 0; max-width: 30ch; }
.journey__cta { text-align: center; margin: 52px 0 0; }
.js .journey__steps:not(.is-in) .journey__icon { transform: scale(0); }
.js .journey__steps.is-in .journey__icon { animation: pop .6s var(--ease) both; }
.js .journey__steps.is-in li:nth-child(2) .journey__icon { animation-delay: .15s; }
.js .journey__steps.is-in li:nth-child(3) .journey__icon { animation-delay: .3s; }
.js .journey__steps.is-in li:nth-child(4) .journey__icon { animation-delay: .45s; }
.js .journey__steps.is-in li:nth-child(5) .journey__icon { animation-delay: .6s; }
@media (max-width: 960px) {
  .journey__steps { grid-template-columns: 1fr; gap: 30px; max-width: 520px; margin: 0 auto; }
  .journey__steps::before, .journey__steps::after { top: 39px; bottom: 40px; left: 38px; right: auto; width: 2px; height: auto; }
  .journey__steps::after { background: repeating-linear-gradient(180deg, var(--orange) 0 10px, transparent 10px 16px); transform-origin: top; transform: scaleY(var(--p)); }
  .journey__steps li { display: grid; grid-template-columns: 78px 1fr; column-gap: 20px; text-align: left; align-items: start; }
  .journey__icon { grid-row: 1 / 4; }
  .journey__n { margin: 6px 0 4px; }
  .journey__steps p { max-width: none; }
}

/* Service explorer (home): tabs + panel */
.svx { background: #fff; }
.svx__head { max-width: 800px; margin: 0 auto 44px; text-align: center; }
.svx__head h2::after { content: ""; display: block; width: 76px; height: 4px; margin: 18px auto 0; background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 18px); }
.svx__head p { font-size: 18px; color: var(--muted); margin: 18px 0 0; }
.svx__box { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(20, 28, 48, .45); }
.svx__tabs { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #f8fafc; border-right: 1px solid var(--line); }
.svx__tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; background: transparent; text-align: left; cursor: pointer; color: var(--text); font: inherit; transition: background .2s, box-shadow .2s; }
.svx__tab:hover { background: #fff; }
.svx__tab[aria-selected="true"] { background: #fff; box-shadow: 0 12px 26px -18px rgba(20, 28, 48, .5); }
.svx__tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--orange); }
.svx__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--sky); color: var(--cobalt); transition: background .2s, color .2s; }
.svx__ic .icon { width: 24px; height: 24px; }
.svx__tab[aria-selected="true"] .svx__ic { background: var(--cobalt); color: #fff; }
.svx__tabtxt { display: flex; flex-direction: column; min-width: 0; }
.svx__tabtxt strong { font: 700 16px/1.3 var(--head); color: var(--ink); }
.svx__tabtxt small { font-size: 13.5px; color: var(--muted); }
.svx__panels { position: relative; min-width: 0; }
.js .svx__panel { display: none; }
.js .svx__panel.is-active { display: block; animation: svxIn .45s var(--ease); }
@keyframes svxIn { from { opacity: 0; transform: translateY(10px); } }
.svx__panel { padding: 26px; }
.svx__media { border-radius: 20px; }
.svx__body { padding: 24px 8px 6px; }
.svx__body h3 { font-size: clamp(21px, 2.2vw, 26px); margin: 0 0 10px; letter-spacing: -.02em; }
.svx__body p { font-size: 16.5px; color: var(--muted); margin: 0 0 16px; max-width: 62ch; }
.svx__points { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svx__points li { margin: 0; padding: 8px 14px 8px 32px; position: relative; border-radius: 999px; background: var(--chalk); font-size: 14.5px; color: var(--ink); font-weight: 600; }
.svx__points li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.svx__link { display: inline-flex; align-items: center; gap: 8px; font: 700 15.5px var(--head); color: var(--cobalt); text-decoration: none; }
.svx__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svx__link:hover svg { transform: translateX(4px); }
.svx__foot { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; text-align: center; }
.svx__foot p { margin: 0; color: var(--text); }
.svx__foot strong { color: var(--ink); }
@media (max-width: 960px) {
  .svx__box { grid-template-columns: 1fr; }
  .svx__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .svx__tabs::-webkit-scrollbar { display: none; }
  .svx__tab { flex: none; width: auto; padding: 10px 14px; }
  .svx__tab small { display: none; }
  .svx__ic { width: 34px; height: 34px; border-radius: 10px; }
  .svx__ic .icon { width: 19px; height: 19px; }
  .svx__tab[aria-selected="true"]::before { left: 14px; right: 14px; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .svx__panel { padding: 16px; }
}

/* Blog cards (same structure as the Unifia blog) */
.link-cards.link-cards--guides { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.bcard:hover { transform: translateY(-4px); border-color: #c9d6ea; box-shadow: 0 26px 50px -30px rgba(20, 28, 48, .45); color: var(--text); }
.bcard__img { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--ink-2); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.04); }
.bcard__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.bcard__cat { font-size: 16px; color: var(--ink); }
.bcard__date { font: 600 15px var(--head); color: var(--orange-ink); margin: 2px 0 12px; }
.bcard__title { font: 800 20px/1.3 var(--head); color: var(--ink); letter-spacing: -.015em; margin-bottom: 10px; }
.bcard__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-bottom: 22px; }
.bcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 15.5px var(--head); color: var(--orange-ink); }
.bcard__more svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.bcard:hover .bcard__more svg { transform: translateX(4px); }
.bcard:hover .bcard__title { color: var(--cobalt); }
.bcard--featured { grid-column: span 2; }
.bcard--featured .bcard__title { font-size: 26px; }
@media (max-width: 1100px) { .link-cards.link-cards--guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .link-cards.link-cards--guides { grid-template-columns: 1fr; } .bcard--featured { grid-column: auto; } .bcard__body { padding: 22px; } }

/* Article cover */
.gcover { max-width: 1034px; margin-top: 36px; }
.gcover img { width: 100%; height: auto; border-radius: var(--r-media); box-shadow: 0 30px 60px -34px rgba(20, 28, 48, .55); }

/* FAQ split (home) */
.faqsplit { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faqsplit__aside { position: sticky; top: 110px; }
.faqsplit__aside h2::after { content: ""; display: block; width: 76px; height: 4px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 18px); }
.faqsplit__aside > p { font-size: 17px; color: var(--muted); }
.helpcard { margin-top: 26px; padding: 26px; border-radius: var(--r-card); background: var(--ink); color: #c9d2e4; }
.helpcard__title { font: 800 20px var(--head); color: #fff; margin-bottom: 6px; }
.helpcard .btn { margin-top: 8px; }
.helpcard .i-wa { color: var(--ink-2); }
/* On dark cards the default navy hover would vanish into the card: go white instead. */
.helpcard .btn--primary:hover, .quote-card .btn--primary:hover, .next-step .btn--primary:hover { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.helpcard .btn--primary:hover .i-wa { color: #1fae55; }
.helpcard__tel { display: block; text-align: center; color: #fff; font: 700 16px var(--head); text-decoration: none; margin-top: 4px; }
.helpcard__tel:hover { color: #ffb48a; }
.faqsplit__list { display: grid; gap: 12px; }
.faq__item--card { background: var(--chalk); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq__item--card[open] { background: #fff; border-color: var(--cobalt); box-shadow: 0 18px 40px -28px rgba(11, 95, 208, .55); }
.faq__item--card summary { padding: 20px 40px 20px 0; }
.faq__item--card summary::after { right: 2px; }

/* Parent brand banner */
.parent { background: var(--chalk); color: var(--text); border-top: 1px solid var(--line); }
.parent__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; flex-wrap: wrap; }
.parent p { margin: 0; max-width: 760px; font-size: 16px; }
.parent strong { color: var(--ink); }

/* Service pillars (city pages) */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.pillar { padding: 22px; border-radius: var(--r-card); background: var(--chalk); border-top: 3px solid var(--cobalt); }
.pillar .icon { width: 38px; height: 38px; color: var(--cobalt); margin-bottom: 10px; }
.pillar h3 { font-size: 17px; margin: 0 0 6px; }
.pillar p { font-size: 15px; margin: 0; }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

/* Photo cards (product / level / service links inside content) */
.mini-card.mini-card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mini-card.mini-card--photo .mini-card__media { border-radius: 0; margin: 0; width: 100%; height: auto; }
.mini-card--photo .mini-card__media img { transition: transform .5s var(--ease); }
.mini-card--photo:hover .mini-card__media img { transform: scale(1.05); }
.mini-card.mini-card--photo h3, .mini-card.mini-card--photo p, .mini-card.mini-card--photo .mini-card__more { padding-inline: 18px; }
.mini-card.mini-card--photo h3 { margin: 16px 0 6px; }
.mini-card.mini-card--photo .mini-card__more { padding-bottom: 18px; margin-top: auto; padding-top: 10px; }
.mini-card--photo .media--ph .icon { width: 64px; }

/* Off-screen card grids: skip rendering (and their image downloads) until scrolled near */
.content .mini-cards, .content .ptiles, .section .link-cards, .bento, .rail, .svx__box, .layout + .section { content-visibility: auto; contain-intrinsic-size: auto 640px; }

/* Card grids sized to their item count: no orphan cards */
.mini-cards.mini-cards--n2, .mini-cards.mini-cards--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-cards.mini-cards--n3, .mini-cards.mini-cards--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .mini-cards.mini-cards--n2, .mini-cards.mini-cards--n3, .mini-cards.mini-cards--n4, .mini-cards.mini-cards--n6 { grid-template-columns: 1fr; } }

/* Product tiles (city pages) */
.ptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.ptile { display: block; border-radius: var(--r-card); overflow: hidden; background: #f3f5f8; text-decoration: none; border: 1px solid transparent; transition: border-color .2s, transform .2s var(--ease); }
.ptile:hover { border-color: var(--cobalt); transform: translateY(-3px); }
.ptile .media { border-radius: 0; }
.ptile span { display: block; padding: 12px 14px 14px; font: 700 15px/1.3 var(--head); color: var(--ink); background: #fff; }
.ptile:hover span { color: var(--cobalt); }
.staffband { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 20px; border-radius: var(--r-card); background: var(--sky); color: var(--text); text-decoration: none; font-size: 15.5px; }
.staffband .icon { width: 34px; height: 34px; color: var(--cobalt); flex: none; }
.staffband strong { color: var(--ink); }
.staffband:hover { background: #d3e3f9; color: var(--text); }
@media (max-width: 640px) { .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Versus (home): centered head, facing cards, row labels */
.vs__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.vs__head h2 { color: #fff; }
.vs__head h2::after { content: ""; display: block; width: 76px; height: 4px; margin: 18px auto 0; background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 18px); }
.vs__head p { color: #b9c3d6; font-size: 18px; margin: 18px 0 0; }
.vs__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.vs__card { border-radius: var(--r-media); padding: 32px 34px 18px; }
.vs__card--them { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.vs__card--us { background: var(--cobalt); box-shadow: 0 30px 60px -28px rgba(11, 95, 208, .8); }
.vs__title { font: 800 20px var(--head); color: #fff; margin: 0 0 18px; text-align: center; }
.vs__card ul { list-style: none; margin: 0; padding: 0; }
.vs__card li { position: relative; margin: 0; padding: 14px 0 14px 40px; border-top: 1px solid rgba(255, 255, 255, .12); min-height: 86px; }
.vs__card li::before { content: ""; position: absolute; left: 0; top: 18px; width: 24px; height: 24px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.vs__card--them li::before { background-color: rgba(255, 255, 255, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' stroke='%23aab4c8' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.vs__card--us li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b5fd0' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.vs__k { display: block; font: 700 12.5px var(--head); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.vs__card--them .vs__k { color: #a7b1c6; }
.vs__card--them .vs__v { color: #c9d1e1; }
.vs__card--us .vs__k { color: #e4eeff; }
.vs__card--us .vs__v { color: #fff; font-weight: 600; }
.vs__badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: var(--ink-2); font: 800 18px var(--head); box-shadow: 0 0 0 8px var(--ink); z-index: 1; }
.vs__cta { text-align: center; margin: 44px 0 0; }
@media (max-width: 760px) {
  .vs__grid { grid-template-columns: 1fr; gap: 0; }
  .vs__badge { position: relative; left: auto; top: auto; transform: none; justify-self: center; margin: -22px 0; width: 54px; height: 54px; font-size: 16px; }
  .vs__card { padding: 26px 22px 12px; }
  .vs__card li { min-height: 0; }
}

/* City grid */
.citygrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.citygrid__item { display: flex; flex-direction: column; gap: 2px; padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.citygrid__item:hover { background: var(--chalk); }
.citygrid__name { font: 800 21px var(--head); color: var(--ink); letter-spacing: -.01em; }
.citygrid__item:hover .citygrid__name { color: var(--cobalt); }
.citygrid__region { font-size: 14px; color: var(--muted); }

/* ---------- Inner page heroes ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 9px; color: #b2bacb; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }

.phero { padding: 40px 0 52px; background: linear-gradient(180deg, #f4f8fd, #fff); }
.phero--compact { padding-bottom: 26px; }
.phero__in { display: grid; gap: 52px; align-items: center; }
.phero--split .phero__in { grid-template-columns: 1.1fr .9fr; }
.phero h1 { max-width: 20ch; }
.phero--quote h1 { max-width: none; font-size: clamp(28px, 3.3vw, 42px); margin-bottom: 12px; }
.phero--quote .lead { max-width: 62ch; margin-bottom: 0; }
.phero__media { position: relative; }
.phero__media .hangtag { left: -28px; bottom: -22px; transform: rotate(-5deg); }
.media--hero { box-shadow: 0 30px 60px -30px rgba(20, 28, 48, .45); }

.lhero { padding: 40px 0 0; background: var(--chalk); }
.lhero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; }
.lhero__copy { padding-bottom: 56px; }
.lhero__age { display: flex; align-items: baseline; gap: 6px; margin: 0 0 6px; font: 800 clamp(70px, 11vw, 150px)/.9 var(--head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--cobalt); }
.lhero__age i { font-style: normal; color: var(--orange-ink); -webkit-text-stroke: 0; }
.lhero__age small { font-size: .28em; color: var(--ink); -webkit-text-stroke: 0; letter-spacing: 0; margin-left: 10px; }
.lhero__media .media { border-radius: var(--r-media) var(--r-media) 0 0; }
.levelnav { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-card) var(--r-card) 0 0; margin-top: -1px; box-shadow: 0 -10px 30px -20px rgba(20, 28, 48, .3); position: relative; }
.levelnav a { display: flex; flex-direction: column; padding: 18px 22px; text-decoration: none; border-bottom: 3px solid transparent; }
.levelnav a + a { border-left: 1px solid var(--line); }
.levelnav strong { font: 800 17px var(--head); color: var(--ink); }
.levelnav span { font-size: 14px; color: var(--muted); }
.levelnav a[aria-current] { border-bottom-color: var(--orange-ink); }
.levelnav a[aria-current] strong, .levelnav a:hover strong { color: var(--cobalt); }
.tagband { padding-top: 40px; }

.prhero { padding: 36px 0 56px; }
.prhero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.gallery { display: grid; gap: 14px; position: sticky; top: 104px; }
.media--pack { background: #f3f5f8; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__thumbs .media { border-radius: 14px; }
.techpack { position: relative; margin: 28px 0 6px; padding: 24px 26px; border-radius: var(--r-card); background: var(--chalk); outline: 2px dashed rgba(242, 106, 33, .55); outline-offset: -10px; }
.techpack__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 800 18px var(--head); color: var(--ink); margin-bottom: 14px; }
.techpack__title span { font: 500 13px var(--body); color: var(--muted); }
.techpack dl { margin: 0; }
.techpack dl div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.techpack dt { font-weight: 600; color: var(--muted); font-size: 14.5px; }
.techpack dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 15px; }
.techpack__swatches { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.techpack__swatches i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px #fff; }
.techpack__swatches span { font-size: 13.5px; color: var(--muted); margin-left: 6px; }

.ghero { padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.ghero__in { max-width: 900px; margin-inline: auto; text-align: center; }
.ghero .crumbs ol, .ghero .meta { justify-content: center; }
.ghero .lead { margin-inline: auto; }
.ghero h1 { font-size: clamp(30px, 4.2vw, 48px); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--muted); margin: 0; }
.meta span { display: inline-flex; align-items: center; }
.meta span + span::before { content: ""; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--orange); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 80; }
.progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.glayout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 64px; padding-block: 48px 80px; justify-content: center; }

.gtoc { position: sticky; top: 110px; align-self: start; font-size: 14.5px; }
.gtoc__title { font: 800 15px var(--head); color: var(--ink); }
.gtoc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.gtoc li { margin: 0; }
.gtoc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.gtoc a:hover, .gtoc a.is-current { color: var(--cobalt); border-left-color: var(--orange-ink); }
.content--read { font-size: 18px; }

.chero { position: relative; padding: 40px 0 60px; background: var(--chalk); overflow: hidden; }
.chero::before { content: attr(data-city); position: absolute; right: -2vw; bottom: -4vw; font: 800 clamp(90px, 17vw, 240px)/1 var(--head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(11, 95, 208, .13); white-space: nowrap; pointer-events: none; }
.chero__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.chero__card { background: #fff; border-radius: var(--r-media); padding: 12px; box-shadow: 0 30px 60px -30px rgba(20, 28, 48, .4); }
.chero__card .media { border-radius: 16px; box-shadow: none; }
.cityfacts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.cityfacts div { padding: 14px 12px 6px; }
.cityfacts div + div { border-left: 1px solid var(--line); }
.cityfacts dt { font-size: 13px; color: var(--muted); }
.cityfacts dd { margin: 0; font: 700 14.5px/1.35 var(--head); color: var(--ink); }

/* ---------- Content body ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; padding-block: 56px 88px; }
.content { min-width: 0; }
.content h3 { margin-top: 1.3em; }
.block { margin-bottom: 52px; }
.block__intro { color: var(--muted); }
.aside > .quote-card { position: sticky; top: 104px; }
.quote-card { background: var(--ink); color: #c9d2e4; border-radius: var(--r-card); padding: 28px; }
.quote-card__title { font: 800 21px/1.25 var(--head); color: #fff; margin-bottom: 10px; }
.quote-card p { font-size: 15.5px; }
.quote-card .steps li { background: rgba(255, 255, 255, .06); padding: 16px 18px; }
.quote-card .steps h3 { color: #fff; }
.quote-card .steps p { color: #c9d2e4; font-size: 14.5px; }
.quote-card .btn--line { color: #fff; border-color: rgba(255, 255, 255, .3); }
.quote-card .btn--line:hover { background: #fff; color: var(--ink); }
.quote-card__points { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; }
.quote-card__points li { padding-left: 24px; position: relative; }
.quote-card__points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 3px; background: var(--orange); }
.quote-card--plain { background: #fff; color: var(--text); border: 1px solid var(--line); margin-top: 18px; }
.quote-card--plain .quote-card__title { color: var(--ink); }
.quote-card--plain .btn--ghost { width: 100%; }

.summary { position: relative; background: var(--sky); border-radius: var(--r-card); padding: 24px 28px 22px; margin-bottom: 44px; }
.summary::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 17px); }
.summary__title { font: 800 17px var(--head); color: var(--ink); margin-bottom: 8px; }
.summary ul { margin: 0; }
.summary li { margin-bottom: 6px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin: 0; padding: 18px 20px; border-radius: var(--r-small); background: var(--chalk); }
.steps h3 { font-size: 17px; margin: 3px 0 4px; }
.steps p { margin: 0; font-size: 15.5px; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); color: var(--cobalt); font: 800 15px var(--head); }
.steps--compact li { background: none; padding: 8px 0; }

.table-wrap { overflow-x: auto; border-radius: var(--r-small); border: 1px solid var(--line); margin: 0 0 12px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); font: 700 14px var(--head); color: #fff; }
tbody tr:nth-child(even) { background: #fafbfd; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--ink); }
.table-note { font-size: 14.5px; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 11px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mini-card { display: block; padding: 22px; border-radius: var(--r-card); background: var(--chalk); color: var(--text); text-decoration: none; transition: background .2s, transform .2s var(--ease); }
a.mini-card:hover { background: var(--sky); color: var(--text); transform: translateY(-3px); }
.mini-card .icon { width: 42px; height: 42px; color: var(--cobalt); margin-bottom: 12px; }
.mini-card h3 { font-size: 17px; margin: 0 0 6px; }
.mini-card p { font-size: 15px; margin: 0; }
.mini-card__more { display: inline-block; margin-top: 10px; font: 700 13.5px var(--head); color: var(--cobalt); }

.callout { border-radius: var(--r-card); padding: 20px 24px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout__title { font: 800 16px var(--head); color: var(--ink); margin-bottom: 6px; }
.callout--info { background: var(--sky); }
.callout--tip { background: #e6f5ec; }
.callout--warning { background: #fdeee4; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare__col { border-radius: var(--r-card); padding: 22px 24px; background: var(--chalk); }
.compare__col:last-child { background: var(--ink); color: #cfd7e8; }
.compare__col:last-child h3 { color: #fff; }
.compare__col h3 { margin-top: 0; }
.compare__col ul { margin: 0; }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 52px; }

.faq { margin-bottom: 40px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font: 700 17.5px/1.4 var(--head); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 12px; height: 12px; border-right: 2.5px solid var(--cobalt); border-bottom: 2.5px solid var(--cobalt); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq__item summary:hover { color: var(--cobalt); }
.faq__a { padding-bottom: 16px; animation: open .3s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

.next-step { background: var(--ink); color: #cfd7e8; border-radius: var(--r-media); padding: 34px; margin-top: 20px; }
.next-step__title { font: 800 24px var(--head); color: #fff; }
.next-step .actions { margin-top: 18px; }

.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.link-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: var(--r-card); padding: 24px; text-decoration: none; border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.link-card:hover { border-color: var(--cobalt); transform: translateY(-3px); }
.link-card__kicker { font: 700 13px var(--head); color: var(--orange-ink); }
.link-card__title { font: 800 18px/1.3 var(--head); color: var(--ink); }
.link-card__text { font-size: 15px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--static { list-style: none; padding: 0; margin: 0; }
.chips--static li { margin: 0; padding: 9px 16px; border-radius: 999px; background: var(--chalk); color: var(--ink); font-size: 15px; font-weight: 600; }


/* Quote form */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; padding-bottom: 64px; }
.section--flush { padding-top: 36px; }
.quote__form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-media); padding: 34px; box-shadow: 0 30px 60px -40px rgba(20, 28, 48, .4); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 800 19px var(--head); color: var(--ink); margin-bottom: 16px; padding: 0; }
legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cobalt); color: #fff; font-size: 14px; }
legend small { font: 500 13.5px var(--body); color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font: 600 14.5px var(--body); color: var(--ink); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: 16px var(--body); color: var(--ink); background: var(--chalk); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, background .2s; }
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--line); }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(11, 95, 208, .12); }
.quote__submit .fine { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.hp { position: absolute; left: -9999px; }
.notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; }
.notice ul { margin: 0; }
.notice--error { background: #fdeee9; color: #8a2414; }

/* CTA band + footer */
.cta-band { position: relative; background: var(--cobalt); color: #e2ecff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 12px, transparent 12px 20px); }
.cta-band__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 70px 0; }
.cta-band__title { font: 800 clamp(24px, 2.8vw, 34px)/1.2 var(--head); color: #fff; margin-bottom: 10px; letter-spacing: -.02em; }
.cta-band__sub { margin: 0; }
.cta-band .eyebrow { color: #fff; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .btn--accent { background: var(--orange); color: var(--ink-2); }
.cta-band .btn--accent:hover { background: #fff; color: var(--ink); }
.footer { background: var(--ink); color: #b9c3d6; padding: 68px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand img { width: 220px; margin-bottom: 16px; }
.footer__title { font: 800 14px var(--head); color: #fff; margin: 0 0 12px; }
.footer__title:not(:first-child) { margin-top: 24px; }
.footer a { display: block; color: #b9c3d6; text-decoration: none; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer__brand p { color: #b9c3d6; }
.footer__contact a { color: #fff; font-weight: 600; }
.footer__contact a, .footer__cities a { display: inline; }
.footer__cities a:not(:last-child)::after { content: ", "; color: #8a96ad; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding: 20px 0 26px; font-size: 14px; color: #9aa6bd; }
.footer__bottom p { margin: 0; }
.footer__bottom a { display: inline; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -6px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Motion ---------- */
/* One orchestrated hero sequence, then motion only where it explains something. */
.hero__title > span > span { animation: rise .8s var(--ease) both; }
.hero__title > span:nth-child(2) > span { animation-delay: .08s; }
.hero__title > span:nth-child(3) > span { animation-delay: .16s; }
.hero .kicker, .hero__lead, .hero__actions { animation: fade .7s .3s var(--ease) both; }
.hero__actions { animation-delay: .4s; }
.collage .media { animation: unroll 1s var(--ease) both; }
.collage__a { animation: settle 1.2s var(--ease) both !important; } /* LCP image: visible from the first frame */
.collage__b { animation-delay: .3s !important; }
.collage__c { animation-delay: .45s !important; }
.stitch-draw { stroke-dasharray: 1100; stroke-dashoffset: 1100; animation: draw 1.8s .7s var(--ease) forwards; }
.collage__tag { animation: swing 1.4s 1.5s var(--ease) both; }
.swatchrail__ic { animation: pop .5s var(--ease) both; }
.swatchrail li:nth-child(1) .swatchrail__ic { animation-delay: .9s; }
.swatchrail li:nth-child(2) .swatchrail__ic { animation-delay: 1s; }
.swatchrail li:nth-child(3) .swatchrail__ic { animation-delay: 1.1s; }
.swatchrail li:nth-child(4) .swatchrail__ic { animation-delay: 1.2s; }
.phero__media .hangtag { animation: swing 1.4s .5s var(--ease) both; }
.js [data-reveal] { clip-path: inset(0 0 100% 0 round 22px); transition: clip-path 1s var(--ease); }
.js [data-reveal].is-in { clip-path: inset(0 0 0 0 round 22px); }
.js .bento [data-reveal]:nth-child(2) { transition-delay: .1s; }
.js .bento [data-reveal]:nth-child(3) { transition-delay: .2s; }
.js .bento [data-reveal]:nth-child(4) { transition-delay: .3s; }

@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { transform: scale(1.06); } }
@keyframes unroll { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.15); } }
@keyframes swing { 0% { opacity: 0; transform: translateY(-20px) rotate(-22deg); } 45% { opacity: 1; transform: rotate(6deg); } 70% { transform: rotate(-8deg); } 85% { transform: rotate(-3deg); } 100% { transform: rotate(-5deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .swatchrail ul { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; gap: 28px; }
  .aside > .quote-card { position: static; }
  .quote { grid-template-columns: 1fr; }
  .glayout { grid-template-columns: 1fr; gap: 24px; }
  .gtoc { position: static; background: var(--chalk); border-radius: var(--r-card); padding: 18px 22px; }
  .rail { grid-auto-columns: minmax(240px, 34%); }
  .citygrid { grid-template-columns: repeat(3, 1fr); }
}
/* Navigation switches to the drawer below 1180px, where the full menu no longer fits on one line. */
@media (max-width: 1180px) {
  .burger { display: block; }
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .header { backdrop-filter: none; background: #fff; }
  body.nav-open .header { z-index: 70; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); height: 100dvh; display: flex; flex-direction: column; background: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); padding: 88px 20px 24px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; z-index: 60; }
  .nav__cta { display: block; margin-top: auto; padding-top: 24px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(20, 28, 48, .45); z-index: 55; }
  body.nav-open .burger { position: fixed; top: 18px; right: 16px; z-index: 61; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 15px 6px; font-size: 16.5px; }
  .nav__link.is-active { box-shadow: none; color: var(--cobalt); }
  .has-menu > .nav__link::after { display: none; }
  .nav__toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; }
  .nav__toggle span { width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease); }
  .nav__toggle[aria-expanded="true"] span { transform: rotate(-135deg); }
  .mega, .has-menu:hover > .mega, .has-menu:focus-within > .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; min-width: 0; width: 100%; box-shadow: none; border: 0; padding: 0 6px 18px; grid-template-columns: 1fr; gap: 4px; transition: none; }
  .mega__title { margin: 12px 0 4px; }
  .mega a { padding: 8px 0; font-size: 15.5px; }
  .nav::before { content: "Menu"; position: absolute; top: 26px; left: 26px; font: 800 20px var(--head); color: var(--ink); }
  .has-menu.is-open > .mega { display: grid; }
}
@media (max-width: 640px) {
  .header__cta .btn { display: none; }
}
@media (max-width: 960px) {
  .faqsplit { grid-template-columns: 1fr; gap: 28px; }
  .faqsplit__aside { position: static; }
  .topbar__in > p:first-child { display: none; }
  .topbar__in { justify-content: flex-end; }
  .brand img { width: 180px; }
  .hero__in, .phero--split .phero__in, .lhero__in, .prhero__in, .chero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 36px; }
  .collage { height: 92vw; max-height: 560px; }
  .collage__tag { left: auto; right: 8px; }
  .swatchrail ul { grid-template-columns: 1fr 1fr; }
  .gallery { position: static; }
  .lhero__copy { padding-bottom: 0; }
  .lhero__media .media { aspect-ratio: 16/10 !important; }
  .phero__media .hangtag { left: 8px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item--1 { grid-row: auto; grid-column: 1 / 3; min-height: 340px; }
  .bento__item--4 { grid-column: 1 / 3; }
  .link-cards { grid-template-columns: 1fr 1fr; }
  .cta-band__in { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .ticker::before, .ticker::after { width: 28px; }
  .ticker { padding: 12px 0; }
  .ticker li { padding-right: 24px; gap: 10px; }
  .ticker li::after { margin-left: 16px; }
  .ticker__ic { width: 34px; height: 34px; }
  .ticker__txt, .ticker__txt strong { font-size: 15px; }
  .swatchrail ul { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .swatchrail ul, .bento, .link-cards, .compare, .fields, .photo-pair { grid-template-columns: 1fr; }
  .bento__item--1, .bento__item--4 { grid-column: auto; }
  .bento__item { min-height: 240px; }
  .citygrid { grid-template-columns: 1fr 1fr; }
  .citygrid__item { padding: 16px; }
  .citygrid__name { font-size: 18px; }
  .levelnav { grid-template-columns: 1fr 1fr; }
  .levelnav a:nth-child(3) { border-left: 0; }
  .levelnav a { border-top: 1px solid var(--line); }
  .rail { grid-auto-columns: 78%; }
  .actions .btn { width: 100%; }
  .quote__form { padding: 24px 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px 1fr; padding: 16px; }
  .cityfacts { grid-template-columns: 1fr; }
  .cityfacts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .techpack dl div { grid-template-columns: 100px 1fr; }
  .hangtag span { max-width: 170px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .stitch-draw { stroke-dashoffset: 0; }
  .js [data-reveal] { clip-path: none; }
  .ticker__track { transform: none; }
  .journey__steps::after { transform: none; }
}
