/* ==========================================================================
   IGRAIN CYPRUS LTD — корпоративный лендинг
   Палитра Corporate Navy · Шрифты Manrope (заголовки) + Inter (текст)
   ========================================================================== */

/* ---------- Шрифты (локально, лицензия SIL OFL) ---------- */
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токены ---------- */
:root {
  --navy: #142638;
  --navy-90: #1b3147;
  --navy-80: #233c55;
  --white: #ffffff;
  --gray: #f3f5f4;
  --green: #168c55;
  --green-dark: #117446;
  --red: #d72d36;

  --ink: #142638;
  --text: #33414f;
  --muted: #66727e;
  --line: #e1e6e9;
  --on-navy: #ffffff;
  --on-navy-2: rgba(255, 255, 255, .74);
  --line-navy: rgba(255, 255, 255, .14);
  --error: #c62a32;

  --f-head: "Manrope", "Segoe UI", Arial, sans-serif;
  --f-body: "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 84px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 18px 40px rgba(20, 38, 56, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
body.is-locked { overflow: hidden; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--gray { background: var(--gray); }

/* ---------- Типографика ---------- */
.h1, .h2, .h3 { font-family: var(--f-head); color: var(--ink); letter-spacing: -.01em; overflow-wrap: break-word; }
.h1 { font-weight: 800; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; text-transform: uppercase; }
.h2 { font-weight: 700; font-size: clamp(28px, 3.1vw, 42px); line-height: 1.15; text-transform: uppercase; }
.h3 { font-weight: 600; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 22px; background: var(--green); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; text-align: center; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); box-shadow: 0 10px 24px rgba(22, 140, 85, .28); }
.btn--outline-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; box-shadow: none; }

/* ==========================================================================
   1. Шапка
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: var(--white); border-bottom: 1px solid transparent; transition: height .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.header.is-scrolled { height: 70px; border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20, 38, 56, .07); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; flex: none; }
.logo img { display: block; width: auto; height: 40px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__link { position: relative; display: inline-block; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--green); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header .btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; border-radius: var(--radius-sm); color: var(--navy); }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* Мобильное меню */
.mobile-nav { position: fixed; inset: 70px 0 0; z-index: 49; background: var(--white); padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mobile-nav a:not(.btn) { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 22px; font-weight: 700; color: var(--ink); }
.mobile-nav a:not(.btn):hover { color: var(--green); }
.mobile-nav .btn { margin-top: 28px; }

/* ==========================================================================
   2. Первый экран
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 0; display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); animation: heroIn 2.4s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(20, 38, 56, .92) 0%, rgba(20, 38, 56, .72) 42%, rgba(20, 38, 56, .25) 100%),
  linear-gradient(180deg, rgba(20, 38, 56, .35) 0%, rgba(20, 38, 56, 0) 30%, rgba(20, 38, 56, .55) 100%); }
.hero__inner { width: 100%; padding-top: var(--header-h); padding-bottom: 72px; }
.hero__title { max-width: 15ch; color: #fff; }
.hero__title span { display: block; color: #fff; }
.hero__title span + span { margin-top: .12em; }
.hero__accent { display: block; width: 64px; height: 4px; margin-bottom: 32px; background: var(--green); border-radius: 2px; }
.hero__text { margin-top: 28px; max-width: 620px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, .86); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; color: #fff; transition: background-color .25s, border-color .25s; }
.hero__scroll svg { width: 18px; height: 18px; animation: nudge 2.4s ease-in-out infinite; }
.hero__scroll:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ==========================================================================
   3. О компании — светлый блок с фото терминала и карточками
   ========================================================================== */
.about { position: relative; overflow: hidden; isolation: isolate; background: var(--white); }
.about__bg { position: absolute; top: 0; right: 0; width: min(62%, 980px); height: min(78%, 620px); z-index: -1; pointer-events: none; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .9; }
/* растворяем фото в белом фоне слева и снизу */
.about__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, #fff 0%, rgba(255,255,255,.75) 22%, rgba(255,255,255,.15) 55%, rgba(255,255,255,0) 100%),
  linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.85) 78%, #fff 100%); }
.about__head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.about__head .h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 22px; background: var(--green); }

.acards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.acard { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #1b3147 0%, var(--navy) 100%); border: 1px solid rgba(20, 38, 56, .9); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(20, 38, 56, .22); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.acard__head { display: flex; align-items: center; gap: 14px; padding: 24px 24px 0; }
.acard__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(22, 140, 85, .18); color: #34c784; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.acard__icon svg { width: 26px; height: 26px; }
.acard__title { font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 1.25; color: #fff; }
.acard__text { padding: 16px 24px 24px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.acard__text b { font-weight: 600; color: #fff; }
.acard__img { position: relative; margin-top: auto; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
/* зелёная полоса снизу растёт при наведении */
.acard__img::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--green); transform: scaleX(.32); transform-origin: left; transition: transform .5s var(--ease); }
.acard:hover { transform: translateY(-6px); border-color: rgba(52, 199, 132, .6); box-shadow: 0 26px 56px rgba(20, 38, 56, .32), 0 0 0 1px rgba(22, 140, 85, .3); }
.acard:hover .acard__icon { background: var(--green); color: #fff; transform: rotate(-6deg); }
.acard:hover .acard__img img { transform: scale(1.07); }
.acard:hover .acard__img::after { transform: scaleX(1); }

/* ==========================================================================
   4. Наше видение
   ========================================================================== */
.vision { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--on-navy); }
.vision__bg { position: absolute; inset: 0; z-index: -2; }
.vision__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; transform: scale(1.08); transition: transform 8s ease-out; }
.vision:hover .vision__bg img { transform: scale(1); }
.vision::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 38, 56, .55) 0%, rgba(20, 38, 56, .7) 38%, rgba(20, 38, 56, .94) 58%, rgba(20, 38, 56, .97) 100%); }
.vision__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; min-height: clamp(420px, 52vh, 560px); }
.vision .h2 { color: #fff; }
.vision .h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 22px; background: var(--green); }
.vision__lead { font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; color: #fff; margin-bottom: 28px; }
.vision__item { position: relative; padding: 22px 24px 22px 28px; margin-top: 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); transition: transform .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease); }
.vision__item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--green); transform: scaleY(.35); transition: transform .5s var(--ease); }
.vision__item:hover { transform: translateX(10px); background: rgba(255, 255, 255, .1); border-color: rgba(52, 199, 132, .45); color: #fff; }
.vision__item:hover::before { transform: scaleY(1); }

/* ==========================================================================
   5. Наша продукция — карточки: фото + подпись (ховер: медленный зум фото, стрелка, зелёная линия)
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.product { position: relative; display: flex; flex-direction: column; cursor: default; }
.product__thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 4px; background: var(--navy); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.19, 1, .22, 1), filter .6s var(--ease); }
.product__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,38,56,0) 55%, rgba(20,38,56,.35)); opacity: 0; transition: opacity .6s var(--ease); }
.product:hover .product__thumb img { transform: scale(1.2); }
.product:hover .product__thumb::after { opacity: 1; }
.product__body { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 20px 2px 18px; border-bottom: 1px solid rgba(20, 38, 56, .14); }
.product__body::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.product:hover .product__body::after { transform: scaleX(1); }
.product__num { font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--green); }
.product__name { font-family: var(--f-head); font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; color: var(--ink); }

/* ==========================================================================
   6. Наша экспертиза
   ========================================================================== */
.expertise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.exp { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.exp:hover { border-color: rgba(22, 140, 85, .45); box-shadow: var(--shadow); transform: translateY(-4px); }
.exp__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.exp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.exp:hover .exp__img img { transform: scale(1.05); }
.exp__num { position: absolute; left: 20px; top: 20px; min-width: 44px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 14px; display: inline-grid; place-items: center; }
.exp__body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.exp__body .h3 { text-transform: uppercase; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: .01em; }
.exp__body .h3::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 16px; border-radius: 2px; background: var(--green); transition: width .3s var(--ease); }
.exp:hover .exp__body .h3::after { width: 56px; }
.exp__body p { margin-top: 18px; font-size: 16px; color: var(--muted); }

/* ==========================================================================
   7. Контакты — тёмный фон с фото
   ========================================================================== */
.contacts { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; }
.contacts__bg { position: absolute; inset: 0; z-index: -2; }
.contacts__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.contacts::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 38, 56, .96) 0%, rgba(20, 38, 56, .9) 45%, rgba(20, 38, 56, .72) 100%); }
.contacts .h2 { color: #fff; }
.contacts .contact__lead { color: rgba(255, 255, 255, .8); }
.contacts .contact__info { border-top-color: rgba(255, 255, 255, .14); }
.contacts .contact__item { position: relative; padding: 20px 16px; margin: 0 -16px; border-bottom-color: rgba(255, 255, 255, .14); border-radius: 6px; transition: background-color .4s var(--ease); }
.contacts .contact__item:hover { background: rgba(255, 255, 255, .08); }
.contacts .contact__icon { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #34c784; }
.contacts .contact__label { color: rgba(255, 255, 255, .6); }
.contacts .contact__value { color: #fff; }
.contacts .contact__value--empty { color: rgba(255, 255, 255, .55); }
.contacts .form { box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.footer { border-top: 1px solid rgba(255, 255, 255, .08); }

/* ==========================================================================
   7. Контакты
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.contact__lead { margin-top: 24px; font-size: clamp(17px, 1.35vw, 19px); }
.contact__info { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green); }
.contact__icon svg { width: 20px; height: 20px; }
.contact__label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact__value { display: block; margin-top: 2px; font-size: 17px; color: var(--ink); font-weight: 500; }
.contact__value--empty { color: var(--muted); font-weight: 400; font-style: italic; }
a.contact__value:hover { color: var(--green); }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--shadow); max-width: 560px; justify-self: end; width: 100%; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.form__grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); margin-left: 2px; }
.field input, .field textarea { width: 100%; min-height: 44px; padding: 10px 14px; font-size: 15px !important; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9aa4ad; }
.field input:hover, .field textarea:hover { border-color: #c6cfd5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22, 140, 85, .14); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); box-shadow: 0 0 0 4px rgba(198, 42, 50, .1); }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: var(--error); }
.field.is-invalid .field__error { display: block; }
.agree { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; color: var(--text); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.agree a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.agree .field__error { grid-column: 2; }
.agree.is-invalid { color: var(--error); }
.agree.is-invalid .field__error { display: block; margin-top: 0; }
.form__submit { margin-top: 18px; min-height: 48px; }
.form__note { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(20, 38, 56, .06); border-left: 3px solid var(--navy); font-size: 15px; color: var(--ink); }
.form__note.is-visible { display: block; }
.form__note--ok { background: rgba(22, 140, 85, .08); border-left-color: var(--green); }
.form__note--err { background: rgba(198, 42, 50, .07); border-left-color: var(--error); }
.form__req { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   8. Подвал
   ========================================================================== */
.footer { background: var(--navy); color: var(--on-navy-2); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-navy); }
.footer .logo img { height: 40px; }
.footer__about { margin-top: 22px; max-width: 420px; font-size: 15px; line-height: 1.65; }
.footer__title { margin-bottom: 18px; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer__links { display: grid; gap: 10px; font-size: 15px; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__contacts { display: grid; gap: 10px; font-size: 15px; }
.footer__contacts .contact__value--empty { color: rgba(255, 255, 255, .5); }
.footer__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Появление при прокрутке ---------- */
/* Выезжающие блоки при прокрутке (как на juno-sa.com): слева, справа, снизу, с задержкой по очереди */
.js .reveal { opacity: 0; transform: translate3d(0, 50px, 0); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.js .reveal[data-reveal="left"] { transform: translate3d(-80px, 0, 0); }
.js .reveal[data-reveal="right"] { transform: translate3d(80px, 0, 0); }
.js .reveal[data-reveal="up"] { transform: translate3d(0, 70px, 0); }
.js .reveal[data-reveal="down"] { transform: translate3d(0, -50px, 0); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .15s; }
.js .reveal[data-delay="2"] { transition-delay: .3s; }
.js .reveal[data-delay="3"] { transition-delay: .45s; }

/* Появление первого экрана по очереди */
@keyframes hinUp { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes hinLeft { from { opacity: 0; transform: translate3d(-60px, 0, 0); } to { opacity: 1; transform: none; } }
.hin { opacity: 0; animation: hinUp 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hin-1 { animation-name: hinLeft; animation-delay: .2s; }
.hin-2 { animation-delay: .35s; }
.hin-3 { animation-delay: .6s; }
.hin-4 { animation-delay: .85s; }
.no-anim .hin { opacity: 1; animation: none; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1100px) {
  .header__inner { gap: 24px; }
  .nav__list { gap: 20px; }
  .nav__link { font-size: 14px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .header, .header.is-scrolled { height: 70px; }
  .nav, .header__cta { display: none; }
  .contact__grid, .vision__inner { grid-template-columns: minmax(0, 1fr); }
  .burger { display: block; }
  .logo img, .footer .logo img { height: 34px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .expertise { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .exp { flex-direction: row; }
  .exp__img { flex: 0 0 42%; aspect-ratio: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero::before { background: linear-gradient(180deg, rgba(20, 38, 56, .55) 0%, rgba(20, 38, 56, .78) 55%, rgba(20, 38, 56, .94) 100%); }
  .hero__inner { padding-top: var(--header-h); padding-bottom: 72px; }
  .hero__accent { margin-bottom: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .exp { flex-direction: column; }
  .exp__img { flex: none; aspect-ratio: 16 / 10; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 520px) {
  .products { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .logo img, .footer .logo img { height: 30px; }
  .btn { padding: 0 18px; }
}

@media (max-width: 1023px) {
}
@media (max-width: 680px) {
}
/* Первый экран ровно в высоту окна: на низких экранах уменьшаем текст, чтобы всё помещалось */
@media (max-height: 760px) {
  .hero__accent { margin-bottom: 20px; }
  .hero__title { font-size: clamp(28px, 6.2vh, 52px); }
  .hero__text { margin-top: 18px; font-size: 16px; }
  .hero__actions { margin-top: 26px; }
  .hero__scroll { display: none; }
}
@media (max-height: 600px) {
  .hero__title { font-size: clamp(24px, 6.4vh, 40px); }
  .hero__text { font-size: 15px; line-height: 1.5; }
  .hero__actions .btn { min-height: 46px; }
}

@media (max-width: 1100px) {
  .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__bg { width: 80%; height: 46%; }
}
@media (max-width: 600px) {
  .acards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .about__bg { width: 100%; height: 340px; }
  .about__bg img { opacity: .55; }
  .about__head .h2 br { display: none; }
}

/* Кнопки: мягкое свечение и удлиняющаяся стрелка при наведении */
.btn--green:hover { box-shadow: 0 0 0 1px rgba(22, 140, 85, .25), 0 8px 26px rgba(22, 140, 85, .45); }
.btn--outline-light:hover { box-shadow: 0 0 22px rgba(255, 255, 255, .25); }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(6px); }

/* Карточки экспертизы: подъём, зелёная рамка, затемнение фото */
.exp__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,38,56,0) 40%, rgba(20,38,56,.35)); opacity: 0; transition: opacity .4s var(--ease); }
.exp:hover .exp__img::after { opacity: 1; }
.exp:hover .exp__num { background: var(--green); }
.exp__num { transition: background-color .3s var(--ease); }

/* Контакты: иконки при наведении */
.contact__icon { transition: background-color .3s, color .3s, border-color .3s; }
.contact__item:hover .contact__icon { background: var(--green); border-color: var(--green); color: #fff; }

@media (max-width: 1023px) {
}
@media (max-width: 520px) {
  .products { gap: 28px; }
}

@media (max-width: 680px) and (max-height: 700px) {
  .hero__accent { display: none; }
  .hero__title { font-size: clamp(22px, 4.6vh, 28px); }
  .hero__text { margin-top: 14px; font-size: 14px; line-height: 1.5; }
  .hero__actions { margin-top: 20px; gap: 10px; }
  .hero__actions .btn { min-height: 44px; }
  .hero__inner { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hin { opacity: 1; animation: none; }
}

/* Ховеры блоков (общие) */
.exp__img img, .acard__img img { transition: transform 1.2s cubic-bezier(.19, 1, .22, 1) !important; }
.exp:hover .exp__img img, .acard:hover .acard__img img { transform: scale(1.2) !important; }
.form { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.form:hover { transform: translateY(-4px); box-shadow: 0 36px 80px rgba(0, 0, 0, .42); }
.section-head .h2::after, .about__head .h2::after, .vision .h2::after { transition: width .6s var(--ease); }
.section-head:hover .h2::after, .about__head:hover .h2::after, .vision__aside:hover .h2::after { width: 120px; }
@media (max-width: 1023px) {
  .vision__inner { min-height: 0; }
  .vision::before { background: linear-gradient(180deg, rgba(20,38,56,.75), rgba(20,38,56,.95)); }
  .form { justify-self: stretch; max-width: none; }
  .js .reveal[data-reveal="left"]:not(.is-visible), .js .reveal[data-reveal="right"]:not(.is-visible) { transform: translate3d(0, 50px, 0); }
}
@media (max-width: 680px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
main, .footer { overflow-x: clip; }

/* Contacts: real data */
.contacts a.contact__value { transition: color .25s var(--ease); }
.contacts a.contact__value:hover { color: #34c784; }
.contact__value { line-height: 1.45; overflow-wrap: anywhere; }
.footer__contacts { gap: 14px; }
.footer__contact { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.footer__contact svg { width: 18px; height: 18px; margin-top: 2px; color: #34c784; }
.footer__contact a { transition: color .2s; }
.footer__contact a:hover { color: #fff; }

