/* =========================================================
   МІНГОЛД v2 — світлий, живий, фотографічний дизайн
   Palette: білий + зелений/салатовий/жовтий/блакитний
   Fonts: Poppins (заголовки) / Inter (текст) / IBM Plex Mono (дані)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root{
  --bg:            #F8FAF6;
  --bg-soft:       #F5FAEF;   /* легкий салатовий відтінок */
  --bg-soft-2:     #EFF7FB;   /* легкий блакитний відтінок */
  --bg-dark:       #1E2A16;   /* темно-зелений, для футера/модалок */

  --ink:           #1E2A16;
  --ink-soft:      #5B6656;
  --ink-on-dark:       #FFFFFF;
  --ink-on-dark-soft:  #C7D1BC;

  --green:         #3E9142;
  --green-dark:    #2C6E30;
  --green-pale:    #E4F3E1;

  --lime:          #9ACD32;
  --lime-dark:     #749926;

  --yellow:        #F6C445;
  --yellow-dark:   #C99A1E;

  --blue:          #4FB6E8;
  --blue-dark:     #2E8FBE;

  --line:          #E3ECD9;
  --white:         #FFFFFF;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;

  --shadow-s: 0 2px 8px rgba(30,42,22,0.06);
  --shadow-m: 0 12px 32px rgba(30,42,22,0.12);

  --font-display: 'Open Sans', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-mono: 'Open Sans', sans-serif;

  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 700; margin: 0; color: var(--ink); }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; border:none; background:none; }

.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--green); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-dark); font-weight:600;
}
.eyebrow::before{ content:""; width:8px; height:8px; border-radius:50%; background: var(--yellow); flex:none; }

/* =========================== HEADER =========================== */
.site-header{
  position: sticky; top:0; z-index: 60;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height: 88px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{
  height: 78px; width:auto;
  animation: logo-breathe 4s ease-in-out infinite;
}
@keyframes logo-breathe{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce){ .brand img{ animation: none; } }
.brand-name{ font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); line-height:1.15; }
.brand-name small{ display:block; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; }
.main-nav{ display:flex; align-items:center; gap: 4px; }
.main-nav a{ padding: 10px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); border-radius: 999px; transition: color .15s ease, background .15s ease; }
.main-nav a:hover{ color: var(--ink); background: var(--bg-soft); }
.main-nav a.is-active{ color: var(--green-dark); font-weight: 600; background: var(--green-pale); }
.header-cta{ display:flex; align-items:center; gap:14px; }
.header-tel{ font-family: var(--font-mono); font-size: 13.5px; color: var(--ink); white-space:nowrap; }
.nav-toggle{ display:none; width: 42px; height: 42px; border-radius: var(--radius-s); border: 1px solid var(--line); align-items:center; justify-content:center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{ content:""; display:block; width:18px; height:2px; background: var(--ink); position:relative; }
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

/* =========================== BUTTONS =========================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; font-family: var(--font-display);
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px) scale(1.045); }
.btn-primary{ background: var(--green); color: var(--white); }
.btn-primary:hover{ background: var(--green-dark); }
.btn-blue{ background: #2E9E8F; color: var(--white); }
.btn-blue:hover{ background: #257F73; }
.btn-yellow{ background: var(--yellow); color: #5C4108; }
.btn-yellow:hover{ background: var(--yellow-dark); color:#fff; }
.btn-outline{ background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-outline:hover{ background: var(--bg-soft); border-color: var(--green); }
.btn-block{ width:100%; justify-content:center; }
.btn[disabled]{ opacity:.45; cursor:not-allowed; transform:none; }

/* =========================== HERO =========================== */
.hero{
  position: relative;
  padding: 110px 0 90px;
  overflow:hidden;
  min-height: 560px;
  display:flex; align-items:center;
}
.hero-slideshow{ position:absolute; inset:0; z-index:0; background: var(--bg-dark); overflow:hidden; }
.hero-slide{
  position:absolute; inset:0;
  background-size: cover; background-position: center 42%;
  transform: translateX(100%);
  animation: hero-slide-push 16s infinite;
}
@keyframes hero-slide-push{
  0%{ transform: translateX(100%); }
  6%{ transform: translateX(0%); }
  22%{ transform: translateX(0%); }
  28%{ transform: translateX(-100%); }
  100%{ transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce){
  .hero-slide{ animation: none; transform:translateX(-200%); }
  .hero-slide:first-child{ transform:translateX(0); }
}
.hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg, rgba(20,26,14,0.78) 0%, rgba(20,26,14,0.58) 45%, rgba(20,26,14,0.32) 75%, rgba(20,26,14,0.2) 100%);
}
.hero .eyebrow{ color: rgba(255,255,255,0.92); }
.hero .eyebrow::before{ background: var(--yellow); }
.hero h1{
  color:#fff;
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -0.01em; margin: 18px 0 20px;
}
.hero h1 span{ color: var(--lime); }
.hero-lede{ font-size: 17.5px; color: rgba(255,255,255,0.88); max-width: 48ch; margin-bottom: 30px; }
.hero-actions{ display:flex; align-items:center; gap: 16px; flex-wrap:wrap; margin-bottom: 36px; }
.hero-stats{ display:flex; gap: 30px; flex-wrap:wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.25); }
.hero-stat b{ display:block; font-family: var(--font-display); font-size: 26px; color:#fff; }
.hero-stat span{ font-size: 12.5px; color: rgba(255,255,255,0.78); }
.hero .wrap{ position:relative; z-index:2; }
.hero-inner{ max-width: 640px; }

/* Помітна пульсуюча анімація для CTA-кнопки — хвиля, що розходиться навколо, текст і розмір кнопки не змінюються */
.btn-pulse{ position: relative; z-index: 0; }
.btn-pulse::before,
.btn-pulse::after{
  content:"";
  position:absolute; inset:0;
  border-radius: 999px;
  background: var(--yellow);
  z-index:-1;
  animation: btn-pulse-ring 2.2s ease-out infinite;
}
.btn-pulse::after{ animation-delay: 1.1s; }
@keyframes btn-pulse-ring{
  0%   { transform: scale(1);   opacity: 0.65; }
  100% { transform: scale(1.55); opacity: 0; }
}
.btn-pulse:hover::before, .btn-pulse:hover::after{ animation-play-state: paused; opacity:0; }
@media (prefers-reduced-motion: reduce){ .btn-pulse::before, .btn-pulse::after{ animation: none; content:none; } }

/* Спокійне однокольорове світіння — для кнопки на мапі */
@keyframes btn-glow-pulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(44,110,48,0); }
  50%{ box-shadow: 0 0 0 8px rgba(44,110,48,0.28); }
}
.btn-glow{ animation: btn-glow-pulse 2.6s ease-in-out infinite; }
.btn-glow:hover{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){ .btn-glow{ animation: none; } }

/* Анімація "дзвіночка" — кнопка в шапці злегка гойдається, як дзвіночок */
@keyframes btn-bell-ring{
  0%, 16%, 100%{ transform: rotate(0deg); }
  2%{ transform: rotate(-14deg); }
  4%{ transform: rotate(12deg); }
  6%{ transform: rotate(-9deg); }
  8%{ transform: rotate(7deg); }
  10%{ transform: rotate(-5deg); }
  12%{ transform: rotate(3deg); }
  14%{ transform: rotate(-1deg); }
}
.btn-bell{
  transform-origin: top center;
  animation: btn-bell-ring 4.5s ease-in-out infinite;
}
.btn-bell:hover{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){ .btn-bell{ animation: none; } }

/* =========================== SECTIONS =========================== */
section{ padding: 76px 0; }
.section-soft{ background: var(--bg-soft); }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(24px, 3vw, 34px); margin-top: 12px; line-height:1.15; }
.section-head p{ color: var(--ink-soft); margin-top: 12px; font-size: 16px; }

/* =========================== CALLBACK / CONSULTATION BLOCK =========================== */
.cb-block{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap:0;
  background: var(--bg-soft); border-radius: var(--radius-l); overflow:hidden; border: 1px solid var(--line);
}
.cb-text{ padding: 48px; display:flex; flex-direction:column; justify-content:center; }
.cb-text h2{ font-size: 26px; margin-bottom: 12px; }
.cb-text p{ color: var(--ink-soft); font-size: 15px; max-width: 36ch; margin-bottom:22px; }
.cb-text ul{ display:flex; flex-direction:column; gap:10px; }
.cb-text li{ display:flex; align-items:center; gap:10px; font-size: 14px; color: var(--ink); }
.cb-text li::before{ content:""; width:8px; height:8px; border-radius:50%; background: var(--lime); flex:none; }
.cb-form{ padding: 48px; background: var(--white); }

/* =========================== CATEGORY CARDS (photo bg) =========================== */
.cat-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.cat-card{
  position:relative; height: 250px; border-radius: var(--radius-l); overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end; padding: 22px;
  background-size: cover; background-position: center;
  transition: transform .2s ease;
}
.cat-card:hover{ transform: translateY(-4px); }
.cat-card-zoom{ background-size: 180% !important; background-position: center 30% !important; }
.cat-card::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,26,14,0.05) 0%, rgba(20,26,14,0.82) 100%);
}
.cat-card > *{ position:relative; z-index:1; }
.cat-dot{ width:10px; height:10px; border-radius:50%; margin-bottom:10px; }
.cat-card h3{ color:#fff; font-size: 19px; margin-bottom: 6px; }
.cat-card p{ color: rgba(255,255,255,0.85); font-size: 13px; margin-bottom: 10px; }
.cat-card a{ font-family: var(--font-mono); font-size: 11.5px; color:#fff; font-weight:600; }

/* =========================== TRUST STRIP (безкінечна стрічка) =========================== */
.trust-marquee{
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.trust-track{
  display:flex; gap: 16px; width: max-content;
  animation: trust-marquee-scroll 22s linear infinite;
}
.trust-marquee:hover .trust-track{ animation-play-state: paused; }
@keyframes trust-marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(calc(-50% - 8px)); }
}
@media (prefers-reduced-motion: reduce){ .trust-track{ animation: none; } }

.trust-item{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-m);
  padding: 16px 20px; text-align:center;
  flex: 0 0 260px;
}
.trust-item:nth-child(4n+1){ background:#EAF6EC; border-color:#CFE8D4; }
.trust-item:nth-child(4n+2){ background:#F1F8DD; border-color:#DCEBB8; }
.trust-item:nth-child(4n+3){ background:#FCEECB; border-color:#F3DFA5; }
.trust-item:nth-child(4n){ background:#DFF3FB; border-color:#BEE3F3; }
.trust-icon{ width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 10px; }
.trust-icon svg{ width:24px; height:24px; }
.trust-item b{ display:block; font-family: var(--font-display); font-weight:700; font-size: 24px; margin-bottom:4px; }
.trust-item span{ font-size: 12.5px; color: var(--ink-soft); }

/* =========================== ABOUT-COMPANY (long text) =========================== */
.about-block{
  background: var(--bg-soft-2); border-radius: var(--radius-l); padding: 48px;
}
.about-block h2{ font-size: 28px; margin-bottom: 22px; }
.about-block p{ color: var(--ink-soft); font-size: 15.5px; line-height:1.8; margin-bottom: 16px; max-width: 82ch; }
.about-block p:last-child{ margin-bottom:0; }
.about-block b{ color: var(--ink); }

/* =========================== PHOTO STRIP =========================== */
.photo-strip{ display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.photo-card{ border-radius: var(--radius-l); overflow:hidden; border:1px solid var(--line); background:#fff; }
.photo-card img{ width:100%; height: 220px; object-fit: cover; }
.photo-card .cap{ padding: 16px 18px; }
.photo-card h4{ font-size: 15.5px; margin-bottom: 4px; }
.photo-card p{ font-size: 12.5px; color: var(--ink-soft); }

/* =========================== WHY US =========================== */
.why-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.why-item .icon{ width: 46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.why-item .icon svg{ width:22px; height:22px; }
.why-item h3{ font-size: 18.5px; margin-bottom: 8px; }
.why-item p{ color: var(--ink-soft); font-size: 14.5px; }

/* =========================== WAREHOUSE NETWORK =========================== */
.network-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.network-list{ display:grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.network-list li{ display:flex; align-items:baseline; gap:10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.network-list li b{ font-weight:600; }
.network-list li span{ font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); }

/* =========================== CTA BAND =========================== */
.cta-band{
  background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white); border-radius: var(--radius-l); padding: 52px;
  display:flex; align-items:center; justify-content:space-between; gap: 36px; flex-wrap:wrap;
}
.cta-band h2{ color: var(--white); font-size: clamp(22px,3vw,30px); max-width: 22ch; }
.cta-band p{ color: rgba(255,255,255,0.85); margin-top: 8px; }

/* =========================== FOOTER =========================== */
.site-footer{ background: var(--bg-dark); color: var(--ink-on-dark-soft); padding: 60px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand img{ height:40px; }
.footer-brand .brand-name{ color:#fff; }
.footer-brand .brand-name small{ color: var(--ink-on-dark-soft); }
.footer-brand p{ font-size: 13.5px; max-width: 32ch; margin-top:14px; }
.footer-col h4{ font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color:#fff; margin-bottom: 14px; font-weight:600; }
.footer-col li{ margin-bottom: 9px; font-size: 14px; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; display:flex; justify-content:space-between; font-size: 12.5px; flex-wrap:wrap; gap:10px; }

/* =========================== PAGE HERO (inner pages) =========================== */
.page-hero{ padding: 52px 0 44px; }
.page-hero .eyebrow{ margin-bottom: 14px; }
.page-hero h1{ font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; max-width: 22ch; }
.page-hero p{ margin-top: 14px; font-size: 16.5px; color: var(--ink-soft); max-width: 60ch; }
.crumb{ font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.crumb a{ color: var(--green-dark); }

/* =========================== FORMS =========================== */
.field{ margin-bottom: 16px; }
.field label{ display:block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label span{ font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.field input, .field textarea{
  width:100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg-soft-2);
  border-radius: var(--radius-s); font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder{ color: #94A085; }
.field input:focus, .field textarea:focus{ border-color: var(--green); background:#fff; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-status{ display:none; margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-s); font-size: 13.5px; font-weight: 500; }
.form-status.is-visible{ display:block; }
.form-status.ok{ background: var(--green-pale); color: var(--green-dark); }
.form-status.err{ background: #FBE2DD; color: #7A2C22; }

/* =========================== ORDER MODAL =========================== */
.modal-overlay{
  position: fixed; inset:0; z-index: 200;
  background: rgba(20,26,14,0.55);
  display:flex; align-items:center; justify-content:center; padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.modal-overlay.is-open{
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .25s ease, visibility 0s linear 0s;
}
.modal-card{
  background:#fff; border-radius: var(--radius-l); padding: 34px; max-width: 400px; width:100%;
  box-shadow: var(--shadow-m); position:relative; max-height: 92vh; overflow-y:auto;
  transform: translateY(14px) scale(0.97);
  transition: transform .28s cubic-bezier(.2,.8,.3,1.1);
}
.modal-overlay.is-open .modal-card{ transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce){
  .modal-overlay, .modal-card{ transition: none; }
}
.modal-close{ position:absolute; top:18px; right:20px; font-size: 20px; color: var(--ink-soft); line-height:1; }
.modal-card h3{ font-size: 21px; margin-bottom: 6px; }
.modal-sub{ font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }
.modal-phones{ margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display:flex; flex-direction:column; gap:5px; }
.modal-phones .lbl{ color: var(--ink-soft); font-size: 12px; margin-bottom:2px; }
.modal-phones a{ font-family: var(--font-mono); font-size: 14.5px; color: var(--green-dark); font-weight:600; }

.mono{ font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* =========================== FERTILIZER CALCULATOR =========================== */
.calc-section{
  position: relative;
  background:
    linear-gradient(180deg, rgba(20,26,14,0.82) 0%, rgba(20,26,14,0.55) 35%, rgba(20,26,14,0.15) 70%, rgba(20,26,14,0.35) 100%),
    url('../img/wheat-field-bags.jpg') center 35%/cover no-repeat;
}
.calc-section .eyebrow{ color: rgba(255,255,255,0.85); }
.calc-section .eyebrow::before{ background: var(--yellow); }
.calc-section .section-head h2{ color: #fff; }
.calc-section .section-head p{ color: rgba(255,255,255,0.82); }

.calc-card{
  background: var(--white); border-radius: var(--radius-l);
  max-width: 720px; box-shadow: var(--shadow-m);
}
.calc-card-inner{ padding: 36px; }
.calc-inputs{ display:grid; grid-template-columns: 1fr 1.4fr; gap: 20px; margin-bottom: 28px; }
.calc-inputs select{
  width:100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg-soft-2);
  border-radius: var(--radius-s); font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
.calc-inputs select:focus, .calc-inputs input:focus{ border-color: var(--green); background:#fff; }
.calc-result{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  background: var(--bg-soft); border-radius: var(--radius-m); padding: 22px;
  margin-bottom: 22px;
}
.calc-result-item{ text-align:center; }
.calc-result-item span{ display:block; font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.calc-result-item b{ font-family: var(--font-mono); font-size: 20px; color: var(--ink); }
.calc-result-price b{ color: var(--green-dark); }
.calc-foot{ display:flex; align-items:center; justify-content:space-between; gap: 20px; flex-wrap:wrap; }
.calc-note{ font-size: 12.5px; color: var(--ink-soft); max-width: 40ch; }

@media (max-width: 760px){
  .calc-card-inner{ padding: 24px; }
}
@media (max-width: 640px){
  .calc-inputs{ grid-template-columns: 1fr; }
  .calc-result{ grid-template-columns: 1fr; text-align:left; }
  .calc-result-item{ text-align:left; display:flex; align-items:center; justify-content:space-between; }
  .calc-foot{ flex-direction:column; align-items:stretch; }
  .calc-foot .btn{ width:100%; }
}

/* =========================== UKRAINE WAREHOUSE MAP =========================== */
.ua-map-wrap{
  display:grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items:center;
  background: var(--bg-soft); border-radius: var(--radius-l); padding: 32px;
}
.ua-map-canvas{ position: relative; width:100%; }
.ua-map-photo{ width:100%; height:auto; display:block; opacity: 0.55; }
.ua-map-svg{ width:100%; height:auto; }
.ua-map-svg-overlay{ position:absolute; inset:0; width:100%; height:100%; }
.ua-label{
  font-family: var(--font-mono); font-size: 8px; font-weight: 600; fill: var(--ink);
  paint-order: stroke; stroke: #fff; stroke-width: 2.5px; stroke-linejoin: round;
}
.ua-label-hub{ font-size: 8.5px; fill: var(--green-dark); }
.ua-node-minor circle{ fill: #B7C0AE; opacity: 0.8; }
.ua-node-minor text{
  font-family: var(--font-mono); font-size: 5px; fill: #9AA492;
  paint-order: stroke; stroke: #fff; stroke-width: 2px; stroke-linejoin: round;
}
.ua-flag{ font-size: 0.75em; vertical-align: middle; display: inline-block; }
.ua-node{ cursor: default; }
.ua-node circle:not(.ua-pulse){ transition: r .15s ease; }
.ua-node:hover circle:not(.ua-pulse){ r: 6; }
.ua-node-hub circle:not(.ua-pulse):not([r="2"]){ transition: none; }

@keyframes ua-node-pulse{
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(2.4); opacity: 0; }
}
.ua-pulse{
  transform-origin: center;
  transform-box: fill-box;
  animation: ua-node-pulse 2.6s ease-out infinite;
  animation-delay: var(--d, 0s);
}
@media (prefers-reduced-motion: reduce){ .ua-pulse{ animation: none; opacity: 0; } }

.ua-map-legend{ display:flex; flex-direction:column; gap: 20px; }
.ua-map-stat b{ display:block; font-family: var(--font-display); font-size: 30px; color: var(--green-dark); }
.ua-map-stat span{ font-size: 13px; color: var(--ink-soft); }
.ua-map-note{ font-size: 12px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; }
.ua-map-cta{ margin-top: 20px; width: auto; align-self: flex-start; }
.ua-route{ opacity: 0.6; }

@media (max-width: 900px){
  .ua-map-wrap{ grid-template-columns: 1fr; padding: 0 0 24px; gap: 20px; }
  .ua-map-canvas{
    width: 100vw; position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
  }
  .ua-map-legend{ flex-direction:row; flex-wrap:wrap; gap: 24px; padding: 0 24px; }
  .ua-map-cta{ align-self: center; margin-left: auto; margin-right: auto; }
  .ua-map-note{ border-top:none; padding-top:0; flex-basis:100%; }
}

/* Легка анімація появи блоків при прокрутці вниз */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 980px){
  .hero{ min-height: 480px; }
  .hero-overlay{ background: linear-gradient(180deg, rgba(20,26,14,0.55) 0%, rgba(20,26,14,0.68) 60%, rgba(20,26,14,0.8) 100%); }
  .hero-inner{ max-width:100%; }
  .cat-grid{ grid-template-columns: repeat(2,1fr); }
  .cb-block{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; gap: 28px; }
  .network-wrap{ grid-template-columns: 1fr; gap: 30px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .field-row{ grid-template-columns: 1fr; }
  .photo-strip{ grid-template-columns: 1fr; }
  .trust-item{ flex-basis: 220px; }
}
@media (max-width: 760px){
  .main-nav, .header-tel{ display:none; }
  .nav-toggle{ display:flex; }
  .brand-name small{ display:none; }
  .site-header .wrap{ gap: 10px; }
  .header-cta{ gap: 8px; }
  .site-header.is-open .main-nav{
    display:flex; position:absolute; top:88px; left:0; right:0;
    background: var(--bg); border-bottom:1px solid var(--line);
    flex-direction:column; padding: 10px 28px 20px; gap:0;
  }
  .cat-grid{ grid-template-columns: 1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; padding: 34px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .about-block{ padding: 30px; }
}

@media (max-width: 420px){
  .btn{ padding: 11px 18px; font-size: 13.5px; }
  .brand-name{ font-size: 15px; }
}

/* =========================== SCROLL TO TOP =========================== */
.scroll-top-btn{
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #fff; border: none; cursor: pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-m);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background .15s ease;
}
.scroll-top-btn svg{ width: 20px; height: 20px; }
.scroll-top-btn.is-visible{
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s, background .15s ease;
}
.scroll-top-btn:hover{ background: var(--green-dark); }
@media (max-width: 760px){
  .scroll-top-btn{ right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
