/* ------------------------------------------------------------------
   Avencom Telekom — site styles
   Type: IBM Plex Sans Condensed (display) + IBM Plex Sans (text)
   Palette: white / concrete panel / anthracite ink / brand orange
------------------------------------------------------------------- */

:root {
  --bg: #ffffff;
  --panel: #f0f3f4;
  --panel-2: #e6eaec;
  --ink: #22262a;
  --ink-2: #5c6166;
  --ink-3: #8a9095;
  --rule: #dfe3e6;
  --rule-strong: #c9cfd3;
  --orange: #f07e1b;
  --orange-deep: #c5640c;
  --orange-tint: #fdeedf;
  --dark: #1c2024;
  --dark-2: #272c31;
  --on-dark: #eef1f3;
  --on-dark-2: #a6adb3;

  --display: "IBM Plex Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 4px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Type scale --------------------------------------------------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-weight: 600; font-size: clamp(38px, 5.4vw, 66px); }
h2 { font-weight: 600; font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-weight: 600; font-size: 22px; line-height: 1.2; }

.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 34em; }

/* Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: var(--radius);
  padding: 10px 18px; font-size: 15px; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); }

.link-more {
  display: inline-block; margin-top: 18px; color: var(--orange-deep); font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.link-more:hover { color: var(--ink); }

/* Header ------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.head-row { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand img { width: 200px; height: auto; }

.nav { display: flex; align-items: center; gap: 32px; flex: 1; }
.nav ul { display: flex; gap: 26px; margin-left: auto; }
.nav ul a {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav ul a:hover { color: var(--ink); border-bottom-color: var(--orange); }

.head-actions { display: flex; align-items: center; gap: 18px; }
.head-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .01em;
  text-decoration: none; color: var(--ink);
}
.head-phone svg { color: var(--orange); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer;
  position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero --------------------------------------------------------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy h1 { max-width: 12em; }
.hero-copy .lede { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px 40px;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule);
}
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts dt { font-size: 13px; color: var(--ink-3); }
.hero-facts dd { font-weight: 500; font-size: 15px; }
.hero-facts .fact-strong { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1; }

/* Route diagram */
.route { position: relative; }
.route-svg { width: 100%; height: auto; }
.route figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); max-width: 40em; }

.route .node-label { font-family: var(--display); font-weight: 600; font-size: 16px; fill: var(--ink); }
.route .node-label-core { font-size: 19px; }
.route .node-sub { font-family: var(--text); font-size: 12px; fill: var(--ink-3); }

.route .node-office rect { fill: var(--panel-2); stroke: none; }
.route .node-office rect:not(:first-child) { fill: #fff; }
.route .node-office .door { fill: var(--ink-3); }

.route .core-ring { fill: #fff; stroke: var(--orange); stroke-width: 3; }
.route .core-ring-2 { fill: none; stroke: var(--orange); stroke-width: 1; opacity: .35; transform-origin: 300px 200px; transform: scale(1.22); }
.route .core-dots { fill: var(--orange); }

.route .node-dest rect { fill: var(--panel-2); }
.route .dest-icon { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

.route .pk { fill: var(--orange); }
.route .link { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.4s ease-out forwards; }
.route .link:nth-child(2) { animation-delay: .15s; }
.route .link:nth-child(3) { animation-delay: .3s; }
.route .packets { opacity: 0; animation: appear .4s ease-out 1s forwards; }
.route .core-ring-2 { animation: ring 3.6s ease-out 1.1s infinite; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes ring {
  0% { transform: scale(1.05); opacity: .5; }
  60% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .route .link { animation: none; stroke-dashoffset: 0; }
  .route .packets { animation: none; opacity: 1; }
  .route .core-ring-2 { animation: none; }
  .route .pk animateMotion { display: none; }
}

/* Hero slider ------------------------------------------------- */
.h1 { font-weight: 600; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.05; letter-spacing: -0.01em; }
.slider { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.slide[hidden] { display: block; }
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide .hero-copy { transform: translateY(10px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.slide.is-active .hero-copy { transform: none; }

.slider-tabs { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px 28px; margin-top: 36px; }
.tab {
  position: relative; background: none; border: 0; padding: 14px 0 6px; cursor: pointer;
  font-family: var(--text); font-size: 15px; font-weight: 500; color: var(--ink-3);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab-bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--rule); overflow: hidden; }
.tab-bar::after {
  content: ""; position: absolute; inset: 0; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
}
.tab.is-active .tab-bar::after { transform: scaleX(1); }
.slider.is-playing .tab.is-active .tab-bar::after { animation: tabfill var(--interval, 8s) linear forwards; }
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.slider-pause {
  align-self: center; margin-left: auto; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--rule-strong); background: #fff; color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.slider-pause:hover { border-color: var(--ink); color: var(--ink); }
.slider-pause .ico-play { display: none; }
.slider-pause[aria-pressed="true"] .ico-pause { display: none; }
.slider-pause[aria-pressed="true"] .ico-play { display: block; }

/* Slide 2: number porting */
.route-port .port-old rect { fill: var(--panel-2); }
.route-port .port-new rect { fill: #fff; stroke: var(--orange); stroke-width: 2.5; }
.route-port .core-dots { fill: var(--orange); }
.route-port .port-tag rect { fill: var(--ink); }
.route-port .port-num { font-family: var(--display); font-weight: 600; font-size: 19px; fill: #fff; letter-spacing: .02em; }
.route-port .port-check circle { fill: var(--orange); }
.route-port .port-check { opacity: 0; }
.route-port .port-old { transition: opacity .4s; }
.slide.is-active .route-port .port-tag { animation: port 2s cubic-bezier(.6,0,.2,1) .8s forwards; }
.slide.is-active .route-port .port-check { animation: appear .3s ease-out 2.7s forwards; }
.slide.is-active .route-port .port-old { animation: fadeold .5s ease-out 2.4s forwards; }
@keyframes port { from { transform: translateX(0); } to { transform: translateX(390px); } }
@keyframes fadeold { to { opacity: .45; } }

/* Slide 3: cloud PBX */
.route-pbx .pbx-cloud { fill: #fff; stroke: var(--orange); stroke-width: 3; }
.route-pbx .core-dots { fill: var(--orange); }
.route-pbx .pbx-in rect { fill: var(--ink); }
.route-pbx .pbx-in .node-label { fill: #fff; }
.route-pbx .pbx-ext rect { fill: var(--panel-2); transition: fill .3s; }
.route-pbx .pbx-ext .ext-label { font-size: 14px; }
.route-pbx .pbx-call { opacity: 0; offset-path: path("M170 60 L280 140 L310 236 L250 310"); offset-rotate: 0deg; }
.slide.is-active .route-pbx .pbx-call { animation: pbxcall 2.2s ease-in-out .8s forwards; }
.slide.is-active .route-pbx .pbx-ext-target rect { animation: exthit .3s ease-out 2.9s forwards; }
.slide.is-active .route-pbx .pbx-ext-target .ext-label { animation: extlabel .3s ease-out 2.9s forwards; }
@keyframes pbxcall { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes exthit { to { fill: var(--orange); } }
@keyframes extlabel { to { fill: #fff; } }

/* Slide 4: redundant links + data center */
.route-net .net-rack rect:first-child { fill: var(--panel-2); }
.route-net .net-rack rect:not(:first-child) { fill: #fff; }
.route-net .net-rack circle { fill: var(--orange); }
.route-net { --cut: #e0b9a0; }
.route-net .net-a { transition: stroke .3s; }
.route-net .net-pk-a { opacity: 0; offset-path: path("M96 176 C200 176 260 150 344 170"); offset-rotate: 0deg; }
.route-net .net-pk-b { opacity: 0; offset-path: path("M96 224 C200 224 260 250 344 230"); offset-rotate: 0deg; }
.route-net .net-alert { opacity: 0; }
.route-net .net-alert rect { fill: var(--orange-tint); stroke: var(--orange); stroke-width: 1; }
.route-net .net-alert-text { fill: var(--orange-deep); font-weight: 500; }
.slide.is-active .route-net .net-pk-a { animation: netA 6s linear .4s forwards; }
.slide.is-active .route-net .net-pk-b { animation: netB 6s linear .4s forwards; }
.slide.is-active .route-net .net-a { animation: netcut 6s linear .4s forwards; }
.slide.is-active .route-net .net-alert { animation: netalert 6s linear .4s forwards; }
@keyframes netA {
  0% { offset-distance: 0%; opacity: 1; } 20% { offset-distance: 100%; opacity: 1; } 20.1% { offset-distance: 0%; }
  40% { offset-distance: 100%; opacity: 1; } 40.1% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes netB {
  0%, 44% { offset-distance: 0%; opacity: 0; } 45% { opacity: 1; } 65% { offset-distance: 100%; opacity: 1; } 65.1% { offset-distance: 0%; }
  85% { offset-distance: 100%; opacity: 1; } 85.1% { offset-distance: 0%; } 100% { offset-distance: 75%; opacity: 1; }
}
@keyframes netcut { 0%, 41% { stroke: var(--rule-strong); stroke-dasharray: 0; } 42%, 100% { stroke: var(--cut); stroke-dasharray: 5 7; } }
@keyframes netalert { 0%, 43% { opacity: 0; } 46%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide .hero-copy { transition: none; }
  .slider.is-playing .tab.is-active .tab-bar::after { animation: none; transform: scaleX(1); }
  .slide.is-active .route-port .port-tag { animation: none; transform: translateX(390px); }
  .slide.is-active .route-port .port-check { animation: none; opacity: 1; }
  .slide.is-active .route-port .port-old { animation: none; opacity: .45; }
  .slide.is-active .route-pbx .pbx-call { animation: none; }
  .slide.is-active .route-pbx .pbx-ext-target rect { animation: none; fill: var(--orange); }
  .slide.is-active .route-pbx .pbx-ext-target .ext-label { animation: none; fill: #fff; }
  .slide.is-active .route-net .net-pk-a, .slide.is-active .route-net .net-pk-b,
  .slide.is-active .route-net .net-a, .slide.is-active .route-net .net-alert { animation: none; }
  .slide.is-active .route-net .net-alert { opacity: 1; }
  .slide.is-active .route-net .net-a { stroke: var(--cut); stroke-dasharray: 5 7; }
}

@media (max-width: 860px) {
  .slider-tabs { gap: 6px 18px; margin-top: 28px; }
  .tab { font-size: 14px; }
}

/* Hero, dark variant (add .hero-dark to .hero) ---------------- */
.hero-dark {
  --hd-bg: #191d21;
  --hd-node: #2a3036;
  --hd-node-2: #343b42;
  --hd-line: #3c444b;
  --hd-text: #ffffff;
  --hd-muted: #9aa1a7;
  --hd-dim: #6f767c;
  position: relative; isolation: isolate;
  background: var(--hd-bg); color: var(--hd-text);
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 65% at 76% 42%, rgba(240,126,27,.17), transparent 72%),
    radial-gradient(circle, rgba(255,255,255,.075) 1px, transparent 1.5px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 100%);
  mask-image: linear-gradient(#000 55%, transparent 100%);
}
.hero-dark h1, .hero-dark .h1 { color: var(--hd-text); }
.hero-dark .lede { color: #c3c9ce; }
.hero-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.hero-dark .btn-ghost:hover { border-color: #fff; }

.hero-dark .tab { color: var(--hd-dim); }
.hero-dark .tab:hover, .hero-dark .tab.is-active { color: var(--hd-text); }
.hero-dark .tab-bar { background: rgba(255,255,255,.14); }
.hero-dark .slider-pause { background: transparent; border-color: rgba(255,255,255,.24); color: #cfd4d8; }
.hero-dark .slider-pause:hover { border-color: #fff; color: #fff; }

.hero-dark .hero-facts { border-top-color: rgba(255,255,255,.12); }
.hero-dark .hero-facts dt { color: var(--hd-dim); }
.hero-dark .hero-facts dd { color: var(--hd-text); }
.hero-dark .route figcaption { color: var(--hd-muted); }

/* diagrams on dark */
.hero-dark .route .node-label { fill: var(--hd-text); }
.hero-dark .route .node-sub { fill: var(--hd-muted); }
.hero-dark .route-svg g[stroke], .hero-dark .port-path { stroke: var(--hd-line); }

.hero-dark .route .node-office rect { fill: var(--hd-node); }
.hero-dark .route .node-office rect:not(:first-child) { fill: #f3c48f; opacity: .9; }
.hero-dark .route .node-office .door { fill: #4d545b; opacity: 1; }
.hero-dark .route .core-ring { fill: #202529; }
.hero-dark .route .node-dest rect { fill: var(--hd-node); }
.hero-dark .route .dest-icon { stroke: #fff; }

.hero-dark .route-port .port-old rect { fill: var(--hd-node); }
.hero-dark .route-port .port-new rect { fill: #202529; }
.hero-dark .route-port .port-tag rect { fill: #fff; }
.hero-dark .route-port .port-num { fill: var(--ink); }

.hero-dark .route-pbx .pbx-cloud { fill: #202529; }
.hero-dark .route-pbx .pbx-in rect { fill: #fff; }
.hero-dark .route-pbx .pbx-in .node-label { fill: var(--ink); }
.hero-dark .route-pbx .pbx-ext rect { fill: var(--hd-node); }

.hero-dark .route-net .net-rack rect:first-child { fill: var(--hd-node); }
.hero-dark .route-net .net-rack rect:not(:first-child) { fill: var(--hd-node-2); }
.hero-dark .route-net .net-alert rect { fill: rgba(240,126,27,.14); }
.hero-dark .route-net .net-alert-text { fill: #ffb166; }
.hero-dark .route-net { --cut: #6d4a33; }

/* Sections: ledger layout -------------------------------------- */
.sec { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--rule); }
.sec-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.sec-head { position: sticky; top: 100px; }
.sec-head p { margin-top: 16px; color: var(--ink-2); max-width: 26em; }
.sec-head h2 { max-width: 9em; }

.sec-panel { background: var(--panel); border-top: 0; }
.sec-dark { background: var(--dark); color: var(--on-dark); border-top: 0; }
.sec-dark .sec-head p { color: var(--on-dark-2); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.svc { padding: 26px 0 28px; border-top: 1px solid var(--rule); }
.svc:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.svc h3 { margin-top: 14px; }
.svc p { margin-top: 8px; color: var(--ink-2); font-size: 16px; max-width: 30em; }
.svc-ico { width: 32px; height: 32px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 28px 28px 30px; border-left: 4px solid var(--orange); }
.why-item p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

/* Tariff */
.tariff table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tariff caption { text-align: left; font-size: 14px; color: var(--ink-3); padding-bottom: 12px; caption-side: top; }
.tariff th, .tariff td { text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--rule); }
.tariff thead th { font-size: 13px; font-weight: 500; color: var(--ink-3); border-bottom-color: var(--ink); padding-top: 0; }
.tariff tbody th { font-weight: 400; }
.tariff .num { text-align: right; font-family: var(--display); font-weight: 600; font-size: 22px; }
.tariff thead .num { font-family: var(--text); font-size: 13px; font-weight: 500; }
.tariff tbody tr:hover { background: var(--orange-tint); }
.tariff-note { margin-top: 16px; font-size: 14px; color: var(--ink-3); max-width: 40em; }

/* Steps (real sequence, hence numbering) */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px;
  padding: 26px 0; border-top: 1px solid var(--dark-2);
}
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li { grid-template-rows: auto 1fr; }
.steps h3 { align-self: start; }
.steps li::before { align-self: start; }
.steps li > * { grid-column: 2; }
.steps li::before {
  grid-column: 1; grid-row: 1 / span 2;
  content: counter(step);
  font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; color: var(--orange);
}
.steps h3 { color: #fff; }
.steps p { margin-top: 8px; color: var(--on-dark-2); font-size: 16px; max-width: 36em; }

/* Docs + bank */
.docs-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.docs li { border-top: 1px solid var(--rule); }
.docs li:first-child { border-top: 0; }
.docs a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; text-decoration: none; font-weight: 500;
}
.docs a:hover span { color: var(--orange-deep); }
.docs small { font-size: 12px; font-weight: 500; color: var(--ink-3); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 2px 7px; }
.bank { background: var(--panel); border-radius: var(--radius); padding: 24px 26px 26px; }
.bank h3 { font-size: 20px; }
.bank > p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.bank dl { margin-top: 18px; display: grid; gap: 14px; }
.bank dt { font-size: 13px; color: var(--ink-3); }
.bank dd { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* Contact */
.sec-contact { background: var(--panel); border-top: 0; }
.contact-lines { margin-top: 28px; display: grid; gap: 14px; }
.contact-big {
  font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 48px); line-height: 1;
  text-decoration: none; color: var(--ink); letter-spacing: -.01em;
}
.contact-big:hover { color: var(--orange-deep); }
.contact-free { font-size: 15px; color: var(--ink-2); }
.contact-lines a { color: var(--orange-deep); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-lines address { color: var(--ink-2); }

.quote { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--rule); }
.field { display: grid; gap: 6px; margin-top: 18px; border: 0; padding: 0; min-width: 0; }
.field:first-child { margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 0; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 4px; padding: 11px 12px; background: #fff;
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.field textarea { resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px;
  border: 1px solid var(--rule-strong); border-radius: 999px; padding: 7px 14px 7px 10px; cursor: pointer; white-space: nowrap;
}
.checks label:has(input:checked) { border-color: var(--orange); background: var(--orange-tint); }
.checks input { accent-color: var(--orange); margin: 0; }
.quote .btn { margin-top: 24px; width: 100%; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* Footer ------------------------------------------------------- */
.site-foot { background: var(--dark); color: var(--on-dark-2); font-size: 14px; }
.foot-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, 1.4fr);
  gap: 40px; padding: 56px 0 40px;
}
.foot-brand img { width: 170px; }
.foot-brand p { margin-top: 18px; max-width: 26em; }
.foot-nav ul { display: grid; gap: 10px; }
.foot-nav a, .foot-bottom a { color: var(--on-dark); text-decoration: none; }
.foot-nav a:hover, .foot-bottom a:hover { color: var(--orange); }
.foot-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.foot-legal dt { font-size: 12px; color: var(--ink-3); }
.foot-legal dd { color: var(--on-dark); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 20px 0 28px; border-top: 1px solid var(--dark-2);
}
.foot-bottom p:last-child { display: flex; gap: 20px; }

/* Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sec-head { position: static; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .route { max-width: 640px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; margin: 0; }
  .nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .head-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 16px; }
  .head-phone { justify-content: center; }

  .svc-grid { grid-template-columns: 1fr; gap: 0; }
  .svc:nth-child(-n+2) { border-top: 1px solid var(--rule); padding-top: 26px; }
  .svc:first-child { border-top: 0; padding-top: 0; }
  .why { grid-template-columns: 1fr; }
  .docs-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-top: 18px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; }
  .steps li::before { font-size: 30px; }
  .foot-legal { grid-template-columns: 1fr; }
}

/* Subpages ----------------------------------------------------- */
.nav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }

.page-head { background: var(--panel); padding: clamp(36px, 5vw, 60px) 0 clamp(36px, 5vw, 60px); }
.page-head h1 { max-width: 14em; }
.page-head .lede { margin-top: 18px; }
.page-head .hero-actions { margin-top: 28px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--orange-deep); }

.h3-title { font-size: 26px; margin-top: 48px; }
.h3-title:first-child { margin-top: 0; }

.sec-detail .sec-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.sec-side { position: sticky; top: 100px; }
.svc-nav ul { border-top: 1px solid var(--rule); }
.svc-nav a {
  display: block; padding: 11px 0; border-bottom: 1px solid var(--rule);
  font-size: 15px; color: var(--ink-2); text-decoration: none;
}
.svc-nav a:hover { color: var(--ink); }
.svc-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; box-shadow: inset 3px 0 0 var(--orange); padding-left: 12px; }

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 20px; }
.offer h3 { font-size: 20px; }
.offer p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.who { margin-top: 14px; color: var(--ink-2); max-width: 40em; }

.steps-light li { border-top-color: var(--rule); }
.steps-light h3 { color: var(--ink); }
.steps-light p { color: var(--ink-2); }
.detail .steps { margin-top: 20px; }
.detail .steps li { padding: 20px 0; }
.detail .steps li::before { font-size: 32px; }
.detail .steps li { grid-template-columns: 52px minmax(0, 1fr); }

.spec { margin-top: 16px; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: 14px; color: var(--ink-3); }
.spec dd { font-weight: 500; }

.docs-compact { margin-top: 12px; }
.note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.note a { color: var(--orange-deep); }

.related { margin-top: 16px; border-top: 1px solid var(--rule); }
.related a { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.related a span { font-weight: 500; }
.related a small { font-size: 14px; color: var(--ink-3); }
.related a:hover span { color: var(--orange-deep); }

.svc-grid-links .svc-link { display: block; text-decoration: none; color: inherit; }
.svc-grid-links .svc-link:hover h3 { color: var(--orange-deep); }
.svc-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--orange-deep); }

.link-more-dark { color: #ffb166; }
.link-more-dark:hover { color: #fff; }

.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 40em; }

.prose h3 { margin-top: 28px; font-size: 20px; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: var(--ink-2); max-width: 40em; }
.prose ul { margin-top: 12px; padding-left: 20px; list-style: disc; color: var(--ink-2); }
.prose li + li { margin-top: 6px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

.docs-detail a span { display: grid; gap: 2px; }
.docs-detail a strong { font-weight: 500; }
.docs-detail a em { font-style: normal; font-size: 14px; color: var(--ink-3); font-weight: 400; }
.bank-wide { background: #fff; }
.bank-wide dd { font-size: 20px; }

.contact-list { margin-top: 6px; display: grid; gap: 8px; }
.contact-list div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 15px; }
.contact-list dt { color: var(--ink-3); }
.contact-lines address a { display: inline-block; margin-top: 6px; font-size: 15px; }

.cta-band { background: var(--dark); color: var(--on-dark); padding: clamp(40px, 5vw, 64px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.cta-band h2 { color: #fff; max-width: 14em; }
.cta-band p { margin-top: 10px; color: var(--on-dark-2); max-width: 34em; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 15px; text-align: center; min-height: 1.4em; }
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { color: var(--ink); font-weight: 500; }

.notfound { padding: clamp(64px, 10vw, 140px) 0; text-align: left; }
.notfound-code { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 10vw, 120px); line-height: 1; color: var(--orange); }
.notfound h1 { margin-top: 12px; }
.notfound .lede { margin-top: 14px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.notfound-links a { display: inline-block; padding: 9px 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius); text-decoration: none; font-weight: 500; }
.notfound-links a:hover { border-color: var(--ink); }

@media (max-width: 1024px) {
  .sec-detail .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-side { position: static; }
  .svc-nav ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .svc-nav a { border: 1px solid var(--rule-strong); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
  .svc-nav a[aria-current="page"] { box-shadow: none; padding-left: 14px; background: var(--ink); color: #fff; border-color: var(--ink); }
}
@media (max-width: 860px) {
  .offers { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .contact-list div { grid-template-columns: 1fr; gap: 0; }
}
