/* Calgary Graphic — design tokens and components (v3 "colourful" direction) */
:root {
  --blue: #5172FD;
  --blue-hover: #3d5ef0;
  --orange: #FB532D;
  --yellow: #F8AE1D;
  --navy: #031F9C;
  --light-blue: #7C95FD;
  --ink: #1e1e24;
  --ink-card: #2a2a33;
  --ink-line: #33333d;
  --body: #4c4c5c;
  --muted: #9898a9;
  --muted-dark: #b4b4c0;
  --border: #ececef;
  --border-2: #d0d0d8;
  --soft: #f4f4f6;
  --input: #f9f9fa;
  --white: #ffffff;

  --gutter: clamp(16px, 3vw, 24px);
  --section-gap: clamp(64px, 9vw, 112px);
  --grid-gap: clamp(16px, 2vw, 24px);
  --panel-radius: clamp(24px, 3vw, 36px);

  --sh-btn: 0 8px 20px rgba(81, 114, 253, .28);
  --sh-hover: 0 20px 44px rgba(25, 33, 61, .10);
  --sh-float: 0 20px 48px rgba(25, 33, 61, .08);
  --sh-mega: 0 24px 60px rgba(25, 33, 61, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Switzer', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); }
*:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
.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; }

/* Progressive enhancement: with JS, only the active product tab shows. */
.js .tabpanel:not(.is-active) { display: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 920px; }
.wrap-upload { max-width: 880px; }
.section { padding-top: var(--section-gap); }
.section-sm { padding-top: clamp(40px, 5vw, 56px); }
.section-hero { padding-top: clamp(12px, 2vw, 24px); }
.section-prod { padding-top: clamp(40px, 6vw, 64px); }
.section-stats { padding-top: clamp(24px, 3vw, 40px); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 300px)), 1fr)); gap: var(--grid-gap); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split-top { align-items: start; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }

.panel { background: var(--soft); border-radius: var(--panel-radius); padding: clamp(32px, 5vw, 72px) clamp(22px, 5vw, 64px); }
.panel-dark { background: var(--ink); color: var(--white); }
.panel-orange { background: var(--orange); color: var(--white); }

/* ---------- Type ---------- */
.h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.h1-home { font-size: clamp(42px, 5.8vw, 74px); max-width: 13ch; }
.h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.h2-sm { font-size: clamp(26px, 3vw, 34px); }
.h3 { font-size: clamp(20px, 2vw, 23px); letter-spacing: -.02em; font-weight: 700; }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--body); text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.55; color: var(--body); }
.on-dark .h2, .h2.on-dark { color: var(--white); }
.on-dark .lead, .lead.on-dark { color: var(--muted-dark); }
.accent { color: var(--blue); }

.kicker { display: inline-flex; align-self: flex-start; padding: 7px 16px; border-radius: 999px; background: #e8edff; color: var(--navy); font-size: 14px; font-weight: 600; }
.kicker-white { background: var(--white); }
.kicker-orange { background: #ffece7; color: #b8321a; }
.kicker-yellow { background: #fef4de; color: #7a4f00; }
.kicker-solid-yellow { background: var(--yellow); color: var(--ink); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; font-family: inherit; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--blue); color: var(--white); padding: 16px 26px; border: 0; box-shadow: var(--sh-btn); }
.btn-primary:hover { background: var(--blue-hover); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--ink); padding: 15px 25px; border: 1px solid var(--border-2); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); padding: 16px 26px; border: 0; }
.btn-white:hover { background: var(--ink); color: var(--white); }
.btn-white.hover-yellow:hover { background: var(--yellow); color: var(--ink); }
.btn-sm { padding: 12px 20px; font-size: 15px; box-shadow: none; }
.btn-xs { padding: 11px 16px; font-size: 14px; box-shadow: none; }
.btn-block { justify-content: center; }
.btn svg, .link-arrow svg { flex: none; }

.link-arrow { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue); }
.link-arrow:hover { color: var(--blue-hover); }
.link-arrow.on-dark { color: var(--light-blue); }
.link-arrow.on-dark:hover { color: var(--white); }

.chip { font-size: 15px; font-weight: 500; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); }
.chip-link { font-size: 14px; font-weight: 500; padding: 9px 14px; border-radius: 999px; background: var(--soft); }
.chip-link:hover { background: #e8edff; color: var(--ink); }
.chip-blue { background: #e8edff; border-color: #e8edff; font-weight: 600; }
.chip-blue:hover { color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Tiles & icons ---------- */
.tile { display: grid; place-items: center; font-weight: 800; flex: none; background: var(--t); color: var(--on); }
.tile-soft { background: var(--s); color: var(--t); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--t); flex: none; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { display: flex; }
.logo-mark span { width: 18px; height: 18px; border-radius: 50%; }
.logo-mark span:nth-child(1) { background: var(--blue); }
.logo-mark span:nth-child(2) { background: var(--orange); margin-left: -6px; mix-blend-mode: multiply; }
.logo-mark span:nth-child(3) { background: var(--yellow); margin-left: -6px; mix-blend-mode: multiply; }
.logo-word { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: var(--white); font-size: 14px; padding: 10px 0; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; align-items: center; }
.topbar span { font-weight: 500; }
.topbar a { color: var(--white); }
.topbar a.book { color: var(--yellow); font-weight: 700; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--blue); }
.nav-products { position: relative; padding: 26px 0; }
.nav-products > .nav-link { display: flex; align-items: center; gap: 6px; }
.mega { position: absolute; top: 100%; left: -28px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 12px; width: 540px; box-shadow: var(--sh-mega); display: none; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-products:hover .mega, .nav-products:focus-within .mega, .nav-products.is-open .mega { display: grid; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; }
.mega-item:hover { background: var(--soft); color: var(--ink); }
.mega-item .tile { width: 40px; height: 40px; border-radius: 12px; font-size: 13px; }
.mega-item b { display: block; font-weight: 600; font-size: 15px; }
.mega-item small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.mega-all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; margin-top: 4px; border-radius: 14px; background: var(--soft); font-weight: 600; font-size: 15px; }

.nav-mobile-actions { display: none; align-items: center; gap: 10px; }
.burger { width: 46px; height: 46px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; border: 0; cursor: pointer; color: var(--ink); padding: 0; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

.mnav { border-top: 1px solid var(--border); background: var(--white); max-height: calc(100vh - 76px); overflow-y: auto; }
.mnav .wrap { padding-top: 16px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 4px; }
.mnav-label { font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 4px; }
.mnav-cat { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--input); min-height: 44px; font-weight: 600; font-size: 16px; }
.mnav-cat .tile { width: 36px; height: 36px; border-radius: 10px; font-size: 12px; }
.mnav-link { display: flex; align-items: center; min-height: 52px; padding: 0 4px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mnav-link:last-of-type { border-bottom: 0; }
.mnav .btn { justify-content: center; margin-top: 12px; }

@media (max-width: 1079.98px) {
  .nav-desktop { display: none; }
  .nav-mobile-actions { display: flex; }
}
@media (max-width: 420px) {
  .header-bar { gap: 12px; }
  .logo { gap: 8px; }
  .logo-word { font-size: 19px; }
  .nav-mobile-actions { gap: 8px; }
}
@media (min-width: 1080px) {
  .mnav { display: none !important; }
}

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r, 24px); background: var(--soft); min-width: 0; height: var(--h); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Page hero ---------- */
.hero-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-panel.no-img { grid-template-columns: 1fr; }
.hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-text .lead { max-width: 52ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.crumbs li { display: flex; gap: 8px; }
.crumbs li + li::before { content: "/"; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }

.home-hero { overflow: hidden; }
.home-hero .hero-text { gap: 26px; }
.home-hero .lead { max-width: 48ch; }
.float-card { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 300px; background: var(--white); border-radius: 18px; padding: 14px 18px; box-shadow: 0 16px 40px rgba(25, 33, 61, .14); display: flex; align-items: center; gap: 14px; pointer-events: none; }
.float-card .tile { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--ink); }
.float-card b { display: block; font-weight: 700; font-size: 15px; }
.float-card small { display: block; font-size: 13px; color: var(--body); }

/* ---------- Cards ---------- */
.stat { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 20px; }
.stat .tile { width: 52px; height: 52px; border-radius: 14px; background: var(--s); }
.stat .tile i { width: 14px; height: 14px; border-radius: 50%; background: var(--t); }
.stat b { display: block; font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.stat small { display: block; font-size: 14px; color: var(--body); }

.card { background: var(--soft); border-radius: 28px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; min-height: 220px; transition: transform .2s, box-shadow .2s, background .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); background: var(--white); color: var(--ink); }
.card .tile { width: 52px; height: 52px; border-radius: 16px; font-size: 15px; }
.card .h3 { margin-top: 8px; }
.card .cta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue); }
.card-cat { gap: 14px; min-height: 250px; }
.card-cat .tile { width: 56px; height: 56px; }
.card-cat .h3 { font-size: 24px; margin-top: 10px; }
.card-cat .cta { padding-top: 0; }

.ind-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--s); transition: box-shadow .2s; }
.ind-card:hover { color: var(--ink); box-shadow: 0 14px 32px rgba(25, 33, 61, .1); }
.ind-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ind-card b { font-weight: 700; font-size: 19px; }
.ind-card .tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--white); }
.ind-card p { font-size: 15px; line-height: 1.5; color: var(--body); }

.step { background: var(--soft); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step .tile { width: 46px; height: 46px; border-radius: 50%; font-size: 17px; }
.step h3 { font-size: 19px; font-weight: 700; margin-top: 8px; color: var(--ink); }
.step p { font-size: 15px; line-height: 1.55; color: var(--body); }
.step-dark { background: var(--ink-card); }
.step-dark h3 { color: var(--white); }
.step-dark p { color: var(--muted-dark); }
.step-white { background: var(--white); }


/* Products catalogue rows */
.cat-row { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); padding: clamp(14px, 1.6vw, 20px); border: 1px solid var(--border); border-radius: 32px; align-items: center; }
.cat-row .img { flex: 1 1 300px; min-width: 0; }
.cat-row .txt { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 8px clamp(6px, 1.4vw, 20px) 8px 0; }
.cat-row .title { display: flex; align-items: center; gap: 14px; }
.cat-row .tile { width: 44px; height: 44px; border-radius: 12px; font-size: 13px; }
.cat-row h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; font-weight: 700; }
.cat-row p { font-size: 17px; line-height: 1.55; color: var(--body); max-width: 62ch; }
.cat-row .chips { gap: 8px; }


.compare { border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: var(--s); display: flex; flex-direction: column; gap: 14px; }
.compare h3 { font-size: 26px; }
.compare p { font-size: 17px; line-height: 1.55; color: var(--body); }

.ba { display: flex; flex-direction: column; gap: 12px; }
.ba > span { font-weight: 700; }

/* Product detail */
.prod-layout { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 48px); align-items: flex-start; }
.prod-main { flex: 999 1 520px; min-width: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; background: var(--soft); padding: 6px; border-radius: 26px; margin-bottom: 32px; }
.tab { flex: 1 1 auto; text-align: center; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; background: transparent; color: var(--body); border: 0; cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(25, 33, 61, .12); }
.tabpanel-overview { display: flex; flex-direction: column; gap: 18px; }
.tabpanel-overview .h2 { font-size: clamp(26px, 3vw, 32px); }
.tabpanel-overview .lead { font-size: 17px; max-width: 66ch; }
.option { padding: 26px; border-radius: 24px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.option .tile { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
.option h3 { font-size: 21px; font-weight: 700; margin-top: 4px; }
.option p { font-size: 15px; line-height: 1.55; color: var(--body); }
.option .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.specs { display: flex; flex-direction: column; gap: 28px; }
.specs > div { display: flex; flex-direction: column; gap: 14px; }

.aside-quote { flex: 1 1 300px; min-width: 0; background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: clamp(24px, 3vw, 32px); position: sticky; top: 100px; box-shadow: var(--sh-float); display: flex; flex-direction: column; gap: 14px; }
.aside-quote .h3 { font-size: 24px; }
.aside-quote p { font-size: 15px; line-height: 1.55; color: var(--body); }
.facts { display: flex; flex-direction: column; background: var(--soft); border-radius: 18px; padding: 4px 18px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--body); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.aside-link { text-align: center; font-size: 14px; font-weight: 600; color: var(--blue); }

.gallery-item { display: flex; flex-direction: column; gap: 14px; }
.gallery-item span { font-size: 17px; font-weight: 700; padding: 0 4px; }

/* FAQ accordion */
.faq-layout { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.faq-layout > :first-child { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.faq-layout > :last-child { flex: 3 1 520px; min-width: 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { border-radius: 22px; background: var(--soft); overflow: hidden; }
.faq summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3, .faq summary span.q { font-size: 18px; font-weight: 700; line-height: 1.35; }
.faq .sign { width: 34px; height: 34px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; color: var(--blue); }
.faq .sign::before { content: "+"; }
.faq[open] .sign::before { content: "−"; }
.faq p { padding: 0 26px 24px; font-size: 16px; line-height: 1.6; color: var(--body); max-width: 72ch; }

/* Capabilities */
.cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding: 18px 22px; border-radius: 18px; background: var(--soft); align-items: center; }
.cap b { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; }
.cap small { font-size: 14px; color: var(--body); }

/* Industry needs */
.need { border: 1px solid var(--border); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.need .tile { width: 44px; height: 44px; border-radius: 12px; font-size: 14px; }
.need h3 { font-size: 20px; margin-top: 4px; }
.need p { font-size: 15px; line-height: 1.55; color: var(--body); }



/* About */
.stat-tile { padding: 18px; border-radius: 18px; background: var(--s); }
.stat-tile b { display: block; font-weight: 700; font-size: 22px; }
.stat-tile small { display: block; font-size: 14px; color: var(--body); }

/* Contact */
.contact-layout { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 40px); align-items: flex-start; }
.contact-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-main { flex: 2 1 460px; min-width: 0; }
.contact-card { border-radius: 26px; padding: 28px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 18px; font-style: normal; }
.contact-card > b { font-size: 22px; font-weight: 700; }
.contact-card small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.contact-card span { display: block; font-size: 17px; margin-top: 3px; }
.contact-card a { color: var(--white); }
.contact-card a:hover { color: var(--light-blue); }
.contact-quote { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; border-radius: 22px; background: #e8edff; font-weight: 600; }
.contact-quote:hover { color: var(--navy); }

/* Blog */
.article { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--border); border-radius: 28px; padding: 14px 14px 24px; transition: box-shadow .2s; }
.article:hover { box-shadow: 0 18px 40px rgba(25, 33, 61, .1); color: var(--ink); }
.article .thumb { height: 150px; border-radius: 18px; background: var(--s); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.article .tag { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--white); }
.article .ball { align-self: flex-end; width: 40px; height: 40px; border-radius: 50%; background: var(--t); }
.article .txt { padding: 0 10px; display: flex; flex-direction: column; gap: 8px; }
.article h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.article p { font-size: 15px; line-height: 1.55; color: var(--body); }
.article .read { font-size: 14px; font-weight: 600; color: var(--muted); }

/* Artwork */
.filetable { border: 1px solid var(--border); border-radius: 28px; overflow: hidden; }
.filetable > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 6px 24px; padding: 22px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--border); align-items: center; }
.filetable > div:last-child { border-bottom: 0; }
.filetable b { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; }
.filetable span { font-size: 15px; color: var(--ink); }
.filetable span + span { color: var(--body); }
.check { background: var(--soft); border-radius: 24px; padding: 26px; display: flex; gap: 16px; align-items: flex-start; }
.check .tile { width: 44px; height: 44px; border-radius: 12px; }
.check b { display: block; font-weight: 700; font-size: 18px; }
.check small { display: block; font-size: 15px; line-height: 1.5; color: var(--body); margin-top: 4px; }

/* Sitemap */
.sm-group { border: 1px solid var(--border); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.sm-group h2 { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.sm-group a { font-size: 16px; padding: 8px 0; border-top: 1px solid var(--soft); }

/* ---------- Forms ---------- */
.form { border: 1px solid var(--border); border-radius: 28px; padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; background: var(--white); }
.form-float { border: 0; box-shadow: var(--sh-float); display: block; }
.form-upload { box-shadow: 0 20px 48px rgba(25, 33, 61, .06); }
.form .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form h2 { font-size: 26px; grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; min-width: 0; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--input); color: var(--ink); outline-color: var(--blue); width: 100%; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.attach { cursor: pointer; border: 2px dashed var(--border-2); border-radius: 20px; padding: 22px; margin: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.attach b { display: block; font-weight: 700; font-size: 16px; }
.attach small { display: block; font-size: 14px; color: var(--body); margin-top: 2px; }
.attach .btn { pointer-events: none; }
.dropzone { grid-column: 1 / -1; cursor: pointer; border: 2px dashed var(--muted-dark); border-radius: 22px; padding: clamp(28px, 5vw, 44px) 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--input); transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--blue); background: #f3f5ff; }
.dropzone .tile { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); }
.dropzone b { font-weight: 700; font-size: 17px; }
.dropzone small { font-size: 14px; color: var(--body); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-actions small { font-size: 14px; color: var(--body); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b8321a; font-size: 14px; font-weight: 600; }

.success { border: 1px solid var(--border); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: var(--white); }
.success-float { border: 0; box-shadow: var(--sh-float); padding: clamp(24px, 4vw, 40px); gap: 14px; }
.success .tile { width: 56px; height: 56px; border-radius: 50%; background: #e8edff; }
.success h2 { font-size: 26px; }
.success-float h2 { font-size: 28px; }
.success p { font-size: 16px; line-height: 1.55; color: var(--body); max-width: 48ch; }
.success .btn { margin-top: 6px; }

/* Quote page */
.quote-layout { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 48px); align-items: flex-start; }
.quote-main { flex: 999 1 520px; min-width: 0; }
.quote-main .crumbs { margin-bottom: 22px; }
.quote-main .h1 { margin-bottom: 16px; }
.quote-main .lead { max-width: 52ch; margin-bottom: 32px; }
.quote-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.quote-aside > b { font-size: 18px; font-weight: 700; }
.next { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 20px; background: var(--white); align-items: start; }
.next .tile { width: 44px; height: 44px; border-radius: 50%; font-size: 15px; }
.next b { display: block; font-weight: 700; font-size: 16px; }
.next small { display: block; font-size: 14px; line-height: 1.5; color: var(--body); margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: center; }
.cta > div:first-child { display: flex; flex-direction: column; gap: 14px; flex: 1 1 440px; min-width: 0; }
.cta .h2 { color: var(--white); font-size: clamp(32px, 4.4vw, 54px); max-width: 17ch; }
.cta .lead { color: var(--white); max-width: 46ch; }
.cta > div:last-child { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta .mail { font-size: 15px; font-weight: 600; color: var(--white); }
.cta .mail:hover { color: var(--white); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { padding: var(--section-gap) clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px); }
.footer-panel { max-width: 1240px; margin: 0 auto; background: var(--ink); color: var(--white); border-radius: var(--panel-radius); padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 56px) 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 36px; padding-bottom: 44px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.footer-brand .logo-word { font-size: 20px; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--muted-dark); }
.footer-col h2 { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.footer-col a { color: var(--white); padding: 5px 0; display: inline-block; }
.footer-col a:hover { color: var(--light-blue); }
.footer-bottom { border-top: 1px solid var(--ink-line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--white); }

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