/* SIBUCOM — «Линия сибирского горизонта» */
:root {
  --ink: #00273f;
  --ink-2: #06384d;
  --teal: #0b5960;
  --teal-soft: #77bfc2;
  --cloud: #f4f7f5;
  --snow: #ffffff;
  --mist: #dfe9e7;
  --stone: #56666c;
  --copper: #d67a48;
  --copper-deep: #b9582f;
  --danger: #b53e34;
  --success: #2f7664;
  --text: #122b35;
  --line: rgba(0, 39, 63, .14);
  --glass: rgba(255, 255, 255, .12);
  --shadow-sm: 0 10px 35px rgba(0, 39, 63, .08);
  --shadow-lg: 0 30px 80px rgba(0, 39, 63, .18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shell: 1240px;
  --header-h: 92px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background: var(--cloud);
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--snow); background: var(--teal); }

.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.section { padding: 132px 0; }

.skip-link {
  position: fixed;
  z-index: 10000;
  left: 20px;
  top: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--snow);
  background: var(--ink);
  transition: transform .2s;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #f6a87c;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(244, 247, 245, .84);
  border-bottom: 1px solid rgba(0, 39, 63, .08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: height .35s var(--ease), box-shadow .35s, background .35s;
}

.site-header.is-scrolled {
  height: 76px;
  background: rgba(244, 247, 245, .96);
  box-shadow: 0 12px 42px rgba(0, 39, 63, .11);
}

.header__inner { height: 100%; display: flex; align-items: center; gap: 38px; }
.brand { flex: 0 0 auto; width: 250px; }
.brand img { width: 100%; height: auto; }

.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.desktop-nav a, .client-link { position: relative; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }

.desktop-nav a::after, .client-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--copper);
  transition: right .3s var(--ease);
}

.desktop-nav a:hover::after, .client-link:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 20px; }
.client-link { color: var(--teal); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

/* Buttons */
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  background: var(--ink);
  color: var(--snow);
  box-shadow: 0 12px 30px rgba(0, 39, 63, .14);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
}

.button:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0, 39, 63, .23); }
.button:active { transform: translateY(-1px); }

.button--small { min-height: 46px; padding-inline: 20px; font-size: 13px; }
.button--accent { color: var(--ink); background: var(--copper); box-shadow: 0 16px 40px rgba(182, 76, 36, .28); }
.button--accent:hover { color: var(--snow); background: var(--copper-deep); }
.button--light { color: var(--ink); background: var(--snow); }
.button--outline { color: var(--ink); background: transparent; border-color: rgba(0, 39, 63, .32); box-shadow: none; }
.button--outline:hover { color: var(--snow); background: var(--ink); border-color: var(--ink); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--snow); font-weight: 700; }
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translate(4px, 4px); }
.text-link--dark { color: var(--ink); }

/* Type */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow > span { width: 30px; height: 2px; background: var(--copper); }
.eyebrow--dark { color: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .case-slide h3, blockquote {
  font-family: "Literata", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.045em;
}

.section-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: end; gap: 70px; margin-bottom: 68px; }
.section-head h2, .about__copy h2, .faq__intro h2, .consultation__copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.03;
}

.section-intro { margin: 0; max-width: 480px; color: var(--stone); font-size: 18px; }

/* Hero */
.hero {
  position: relative;
  min-height: 900px;
  padding: calc(var(--header-h) + 72px) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--snow);
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  transform: scale(1.06);
  background: url("assets/library-original.jpg") center 46% / cover no-repeat;
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 25, 42, .97) 0%, rgba(0, 39, 63, .88) 46%, rgba(0, 39, 63, .56) 72%, rgba(0, 39, 63, .28) 100%),
    linear-gradient(0deg, rgba(0, 30, 48, .92) 0%, transparent 38%);
}

.hero__contours { position: absolute; right: -7vw; top: 10%; width: 50vw; aspect-ratio: 1; opacity: .46; }
.hero__contours span, .consultation__contours span {
  position: absolute;
  inset: var(--inset, 0);
  border: 1px solid rgba(119, 191, 194, .32);
  border-radius: 46% 54% 60% 40% / 52% 40% 60% 48%;
  transform: rotate(var(--rotate, 0deg));
}

.hero__contours span:nth-child(2) { --inset: 10%; --rotate: 18deg; }
.hero__contours span:nth-child(3) { --inset: 22%; --rotate: -11deg; }
.hero__contours span:nth-child(4) { --inset: 35%; --rotate: 31deg; border-color: rgba(214, 122, 72, .54); }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, .62fr); gap: 72px; align-items: end; flex: 1; }
.hero__copy { max-width: 790px; padding-bottom: 56px; }
.hero h1 { margin: 0 0 28px; max-width: 850px; font-size: clamp(56px, 6.1vw, 88px); line-height: .99; text-wrap: balance; }
.hero__lead { max-width: 670px; margin-bottom: 34px; color: rgba(255, 255, 255, .76); font-size: 20px; line-height: 1.55; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 22px; margin-top: 48px; max-width: 600px; }
.hero__trust img { width: 150px; height: auto; padding: 9px; border-radius: 8px; background: rgba(255,255,255,.94); }
.hero__trust p { margin: 0; max-width: 330px; color: rgba(255, 255, 255, .66); font-size: 13px; line-height: 1.45; }

.glass { background: var(--glass); border: 1px solid rgba(255, 255, 255, .22); box-shadow: var(--shadow-lg); backdrop-filter: blur(24px) saturate(130%); -webkit-backdrop-filter: blur(24px) saturate(130%); }
.hero__case { align-self: end; margin-bottom: 56px; padding: 30px; border-radius: var(--radius-md); }

.case__topline { display: flex; align-items: center; gap: 9px; margin-bottom: 52px; color: rgba(255, 255, 255, .7); font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8cd1b2; box-shadow: 0 0 0 6px rgba(140, 209, 178, .13); }
.case__label { margin-bottom: 12px; color: var(--teal-soft); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero__case h2 { margin-bottom: 15px; font-size: 29px; line-height: 1.14; }
.hero__case > p:not(.case__label) { color: rgba(255, 255, 255, .68); font-size: 14px; }
.case__phone { display: block; margin: 25px 0 18px; font-size: 22px; font-weight: 700; }
.hero__case .button { width: 100%; }

.hero__foot { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.metric { display: flex; align-items: baseline; gap: 14px; padding: 26px 0; }
.metric + .metric { padding-left: 42px; border-left: 1px solid rgba(255, 255, 255, .18); }

.metric strong { font-family: "Literata", serif; font-size: 36px; font-weight: 600; line-height: 1; }
.metric strong::after { content: "+"; color: var(--copper); font-family: "Onest", sans-serif; font-size: 18px; }
.metric:nth-child(3) strong::after { content: "°"; }
.metric span { color: rgba(255, 255, 255, .58); font-size: 13px; }

/* Marquee */
.marquee { position: relative; overflow: hidden; color: var(--snow); background: var(--teal); }
.marquee__track { width: max-content; display: flex; align-items: center; gap: 28px; padding: 17px 0; animation: marquee 34s linear infinite; }
.marquee__track span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.marquee__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

@keyframes marquee { to { transform: translateX(-45%); } }

/* Services */
.services { background: var(--cloud); }
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service-card {
  position: relative;
  grid-column: span 2;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s, color .35s, background .35s;
}

.service-card::before { content: ""; position: absolute; inset: auto -35% -55% 35%; aspect-ratio: 1; border: 1px solid rgba(119, 191, 194, .25); border-radius: 48% 52% 43% 57%; transition: transform .6s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0, 39, 63, .15); }
.service-card:hover::before { transform: rotate(22deg) scale(1.12); }

.service-card--primary { color: var(--snow); background: var(--ink); }
.service-card--primary::before { border-color: rgba(119, 191, 194, .45); }

.service-card--wide { grid-column: span 3; min-height: 260px; justify-content: space-between; }
.service-card--tint { background: #dceceb; }

.service-card__index { position: absolute; right: 26px; top: 22px; color: var(--stone); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.service-card--primary .service-card__index { color: rgba(255, 255, 255, .68); }

.service-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: auto; border-radius: 18px; color: var(--teal); background: var(--mist); }
.service-card--primary .service-card__icon { color: var(--snow); background: rgba(255, 255, 255, .13); }
.service-card__icon svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.service-card h3 { position: relative; margin: 24px 0 12px; color: inherit; font-family: "Literata", serif; font-size: 30px; font-weight: 600; line-height: 1.1; }
.service-card p { position: relative; margin-bottom: 26px; color: var(--stone); font-size: 14px; }
.service-card--primary p { color: rgba(255, 255, 255, .66); }

.card-link { position: relative; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; font-weight: 700; }
.card-link b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-weight: 500; transition: transform .3s var(--ease), background .3s, color .3s; }
.service-card:hover .card-link b { transform: rotate(45deg); color: var(--snow); background: var(--copper); border-color: var(--copper); }

/* Route */
.route { position: relative; min-height: 780px; display: flex; align-items: center; overflow: hidden; color: var(--snow); background: var(--ink); }

.route__image { position: absolute; inset: -6%; opacity: .45; background: url("assets/city-original.jpg") center / cover no-repeat; will-change: transform; }
.route::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 28, 47, .97), rgba(0, 39, 63, .64)); }

.route__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .9fr; gap: 110px; align-items: center; }
.route__copy { max-width: 600px; }

.route__copy h2 { margin: 0 0 28px; font-size: clamp(48px, 5vw, 76px); line-height: 1; }
.route__copy > p:not(.eyebrow) { max-width: 530px; margin-bottom: 34px; color: rgba(255, 255, 255, .72); font-size: 18px; }

.route__steps { margin: 0; padding: 12px 32px; border-radius: var(--radius-lg); list-style: none; }
.route__steps li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 30px 0; }
.route__steps li + li { border-top: 1px solid rgba(255, 255, 255, .18); }

.route__steps > li > span { color: var(--teal-soft); font-size: 13px; font-weight: 700; }
.route__steps h3 { margin: 0 0 7px; font-size: 19px; }
.route__steps p { margin: 0; color: rgba(255, 255, 255, .62); font-size: 14px; }

/* Cases slider */
.cases { background: #e7efed; }
.section-head--compact { margin-bottom: 36px; }
.section-head--compact h2 { font-size: clamp(43px, 4.3vw, 66px); }

.slider-controls { display: flex; justify-content: flex-end; gap: 10px; }
.slider-button { width: 54px; height: 54px; border: 1px solid rgba(0, 39, 63, .22); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; transition: background .3s, color .3s, transform .3s; }
.slider-button:hover { color: var(--snow); background: var(--ink); transform: translateY(-2px); }

.case-slider { overflow: hidden; border-radius: var(--radius-lg); background: var(--snow); box-shadow: var(--shadow-sm); }
.case-slide { min-height: 430px; padding: clamp(38px, 6vw, 78px); background: radial-gradient(circle at 88% 10%, rgba(119, 191, 194, .22), transparent 30%); animation: slideIn .55s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }

.case-slide__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }
.case-slide__meta span { padding: 7px 12px; border-radius: 999px; color: var(--teal); background: var(--mist); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.case-slide h3 { max-width: 850px; margin: 0 0 22px; color: var(--ink); font-size: clamp(38px, 4.5vw, 64px); line-height: 1.06; }
.case-slide > p { max-width: 690px; margin-bottom: 30px; color: var(--stone); font-size: 18px; }

.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.slider-dots button { width: 38px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(0, 39, 63, .22); cursor: pointer; transition: width .3s, background .3s; }
.slider-dots button.is-active { width: 72px; background: var(--copper); }

/* Insights */
.insights { background: var(--cloud); }
.insights__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; }

.feature-article { overflow: hidden; border-radius: var(--radius-md); background: var(--snow); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.feature-article:hover { transform: translateY(-6px); }

.feature-article__image { min-height: 330px; background: linear-gradient(0deg, rgba(0,39,63,.1), transparent), url("assets/library-original.jpg") center / cover no-repeat; }
.feature-article__content { padding: 32px; }

.tag { display: inline-block; margin-bottom: 18px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feature-article h3 { margin-bottom: 16px; color: var(--ink); font-family: "Literata", serif; font-size: 32px; line-height: 1.15; }
.feature-article p { color: var(--stone); }

.article-list { border-top: 1px solid var(--line); }

.article-row { display: grid; grid-template-columns: 122px 1fr 34px; gap: 22px; align-items: start; padding: 26px 8px; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s; }
.article-row:hover { padding-left: 18px; background: rgba(255,255,255,.6); }

.article-row span { display: flex; flex-direction: column; gap: 4px; color: var(--teal); font-size: 12px; }
.article-row b { font-weight: 700; }
.article-row small { color: var(--stone); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }

.article-row h3 { margin: 0; color: var(--ink); font-family: "Onest", sans-serif; font-size: 18px; font-weight: 600; line-height: 1.35; }
.article-row i { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; transition: transform .3s, color .3s, background .3s; }

.article-row:hover i { transform: rotate(45deg); color: var(--snow); background: var(--teal); }
.article-row--all { grid-template-columns: 1fr 34px; align-items: center; color: var(--ink); font-weight: 700; }
.article-row--all span { color: var(--ink); font-size: 14px; }

/* About */
.about { background: var(--snow); }
.about__grid { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(60px, 8vw, 120px); align-items: center; }

.about__visual { position: relative; }
.about__image { min-height: 660px; border-radius: var(--radius-lg); background: linear-gradient(180deg, transparent, rgba(0,39,63,.25)), url("assets/meeting-original.jpg") 45% center / cover no-repeat; box-shadow: var(--shadow-lg); }
.about__badge { position: absolute; right: -28px; bottom: 30px; width: 210px; padding: 24px; border-radius: 24px; color: var(--snow); background: rgba(0, 39, 63, .78); }
.about__badge strong { display: block; font-family: "Literata", serif; font-size: 42px; line-height: 1; }
.about__badge span { display: block; margin-top: 8px; color: rgba(255,255,255,.7); font-size: 12px; }

.about__copy h2 { margin-bottom: 28px; }
.about__copy > p:not(.eyebrow) { color: var(--stone); font-size: 18px; }
blockquote { margin: 36px 0; padding-left: 28px; border-left: 3px solid var(--copper); color: var(--ink); font-size: 25px; line-height: 1.36; }

/* FAQ */
.faq { background: #e7efed; }
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq__intro { position: sticky; top: 120px; align-self: start; }

.faq__intro h2 { margin-bottom: 20px; }
.faq__intro > p:not(.eyebrow) { max-width: 340px; color: var(--stone); }

/* Accordion is static HTML structure */
.accordion__item { border-top: 1px solid rgba(0, 39, 63, .18); }
.accordion__item:last-child { border-bottom: 1px solid rgba(0, 39, 63, .18); }

.accordion h3 { margin: 0; }
.accordion button { width: 100%; min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border: 0; text-align: left; color: var(--ink); background: transparent; cursor: pointer; font-size: 19px; font-weight: 650; }
.accordion button i { position: relative; flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid rgba(0, 39, 63, .24); border-radius: 50%; transition: transform .35s, background .35s; }
.accordion button i::before, .accordion button i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 18px; height: 1.5px; background: var(--ink); }
.accordion button i::after { transform: rotate(90deg); transition: opacity .3s; }

.accordion__item.is-open button i { transform: rotate(180deg); background: rgba(119,191,194,.18); }
.accordion__item.is-open button i::after { opacity: 0; }

.accordion__panel { overflow: hidden; }
.accordion__panel p { max-width: 650px; margin: -3px 70px 28px 0; color: var(--stone); }


/* Consultation and form states */
.consultation { position: relative; overflow: hidden; padding: 130px 0; color: var(--snow); background: var(--ink); }

.consultation__contours { position: absolute; left: -12vw; bottom: -22vw; width: 55vw; aspect-ratio: 1; opacity: .65; }
.consultation__contours span:nth-child(2) { --inset: 13%; --rotate: 15deg; }
.consultation__contours span:nth-child(3) { --inset: 29%; --rotate: -18deg; border-color: rgba(214,122,72,.48); }

.consultation__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .85fr; gap: 110px; align-items: center; }
.consultation__copy h2 { color: var(--snow); }
.consultation__copy > p:not(.eyebrow) { max-width: 540px; margin: 28px 0; color: rgba(255, 255, 255, .66); font-size: 18px; }

.consultation__contacts { display: flex; flex-direction: column; gap: 5px; margin-top: 46px; }
.consultation__contacts a { font-size: 25px; font-weight: 700; }
.consultation__contacts span { color: rgba(255,255,255,.55); font-size: 13px; }

.consultation-form { padding: 38px; border-radius: var(--radius-lg); }

.field { position: relative; margin-bottom: 24px; }
.field label { display: flex; justify-content: space-between; margin-bottom: 8px; color: rgba(255, 255, 255, .84); font-size: 12px; font-weight: 600; }
.field label span { color: rgba(255,255,255,.68); font-weight: 400; }

.field input, .field textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); border-radius: 0; outline: none; resize: vertical; color: var(--snow); background: transparent; transition: border .25s, background .25s; }

.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .64); }
.field input:focus, .field textarea:focus { border-color: var(--teal-soft); }

.field.is-error input, .field.is-error textarea { border-color: #ffb0a9; }
.field__error { display: none; margin-top: 6px; color: #ffc1bb; font-size: 11px; }
.field.is-error .field__error { display: block; }

.consent { display: flex; align-items: flex-start; gap: 10px; margin: 3px 0 24px; color: rgba(255,255,255,.8); font-size: 12px; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--copper); }

.consultation-form .button { width: 100%; }
.button__loader { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--snow); border-radius: 50%; animation: spin .8s linear infinite; }

.consultation-form.is-loading .button__loader { display: block; }
.consultation-form.is-loading button > span:first-child { opacity: .65; }

@keyframes spin { to { transform: rotate(360deg); } }
.form-status { min-height: 22px; margin: 14px 0 0; font-size: 12px; }
.form-status.is-success { color: #bdebd7; }
.form-status.is-error { color: #ffc1bb; }

/* Footer */
.site-footer { color: var(--snow); background: #001d2f; }

.footer__grid { display: grid; grid-template-columns: 1.3fr .65fr .85fr .9fr; gap: 64px; padding: 74px 0; }
.footer__brand img { width: 240px; opacity: .98; }
.footer__brand p { max-width: 300px; margin-top: 22px; color: rgba(255,255,255,.55); font-size: 13px; }

.footer__grid h2 { margin-bottom: 18px; color: rgba(255,255,255,.72); font-family: "Onest", sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.footer__grid a, .footer__grid span { color: rgba(255,255,255,.72); font-size: 13px; }
.footer__grid a:hover { color: var(--snow); }

.footer__contact > a:first-of-type { color: var(--snow); font-size: 18px; font-weight: 700; }

.footer__bottom { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.68); font-size: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.services__grid .reveal:nth-child(2), .hero__foot .reveal:nth-child(2) { transition-delay: .08s; }
.services__grid .reveal:nth-child(3), .hero__foot .reveal:nth-child(3) { transition-delay: .16s; }
.services__grid .reveal:nth-child(4) { transition-delay: .12s; }
.services__grid .reveal:nth-child(5) { transition-delay: .2s; }

/* Tablet */
@media (max-width: 1100px) {
  :root { --header-h: 82px; }
  .shell { width: min(100% - 44px, var(--shell)); }

  .desktop-nav, .client-link, .header__actions > .button { display: none; }
  .brand { width: 225px; }
  .header__actions { margin-left: auto; }
  .menu-toggle { width: 48px; height: 48px; display: grid; place-content: center; gap: 5px; border: 1px solid rgba(0,39,63,.18); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 20px; height: 2px; display: block; background: var(--ink); transition: transform .3s, opacity .3s; }

  .menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu { position: fixed; inset: var(--header-h) 0 0; padding: 38px 22px 28px; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transform: translateY(-16px); background: rgba(244,247,245,.98); transition: opacity .3s, transform .3s, visibility .3s; }
  .mobile-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }

  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-family: "Literata", serif; font-size: 28px; }

  .mobile-menu__footer { margin-top: auto; display: flex; flex-direction: column; gap: 6px; color: var(--stone); }
  .mobile-menu__footer a { color: var(--ink); font-size: 20px; font-weight: 700; }

  .hero { min-height: 930px; }
  .hero__grid { grid-template-columns: 1fr .68fr; gap: 32px; }
  .hero h1 { font-size: clamp(54px, 7.2vw, 72px); }
  .hero__case { padding: 25px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card--wide { grid-column: span 1; }
  .service-card--primary { grid-column: span 2; min-height: 320px; }

  .route__grid, .consultation__grid { gap: 60px; }
  .faq__grid { gap: 60px; }

  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer__contact { grid-column: 2; }
}

/* Mobile */
@media (max-width: 720px) {
  :root { --header-h: 72px; --radius-lg: 28px; --radius-md: 20px; }
  .shell { width: min(100% - 36px, var(--shell)); }
  .section { padding: 86px 0; }

  .site-header.is-scrolled { height: 66px; }
  .brand { width: 186px; }
  .menu-toggle { width: 44px; height: 44px; }

  .mobile-menu nav a { font-size: 25px; }

  .section-head, .about__grid, .faq__grid, .consultation__grid { grid-template-columns: 1fr; gap: 34px; }
  .section-head { margin-bottom: 42px; }
  .section-head h2, .about__copy h2, .faq__intro h2, .consultation__copy h2 { font-size: 42px; }

  .section-intro { font-size: 16px; }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + 52px); }
  .hero__media { background-position: 66% center; }
  .hero__veil { background: linear-gradient(180deg, rgba(0, 28, 47, .86), rgba(0, 32, 52, .98) 63%, rgba(0, 30, 48, 1)); }
  .hero__contours { top: 10%; right: -40vw; width: 110vw; }

  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: 36px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 52px); line-height: 1.05; }
  .hero__lead { font-size: 17px; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .hero__actions .button { width: 100%; }
  .hero__actions .text-link { justify-content: center; }

  .hero__trust { align-items: flex-start; margin-top: 36px; }
  .hero__trust img { width: 115px; }
  .hero__trust p { font-size: 11px; }

  .hero__case { margin: 0 0 32px; }

  .marquee__track { gap: 18px; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card, .service-card--wide, .service-card--primary { grid-column: auto; min-height: 300px; }
  .service-card--wide { min-height: 270px; }

  .route { min-height: 0; }
  .route__grid { grid-template-columns: 1fr; gap: 44px; }
  .route__copy h2 { font-size: 48px; }
  .route__steps { padding: 8px 22px; }

  .case-slide { min-height: 500px; padding: 34px 24px; }
  .case-slide__meta { margin-bottom: 34px; }
  .case-slide h3 { font-size: 39px; }
  .case-slide > p { font-size: 16px; }

  .slider-controls { justify-content: flex-start; }

  .insights__grid { grid-template-columns: 1fr; }
  .feature-article__image { min-height: 250px; }
  .feature-article h3 { font-size: 28px; }
  .article-row { grid-template-columns: 92px 1fr 28px; gap: 12px; padding: 22px 0; }
  .article-row h3 { font-size: 15px; }
  .article-row i { width: 28px; height: 28px; }

  .about__grid { gap: 52px; }

  /* DEFECT 1 fix: stack hero metrics vertically on 390px mobile */
  .hero__foot { grid-template-columns: 1fr; }
  .metric + .metric { padding-left: 0; border-left: none; }
  .metric { flex-wrap: wrap; }

  /* DEFECT 2 fix: keep about badge within 390px viewport */
  .about__badge { right: 0; }
}