/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; padding-block: 14px; transition: padding 0.2s; }
.site-header__bar {
  display: flex; align-items: center; gap: 18px; background: var(--surface);
  border-radius: var(--r-md); padding: 14px 16px 14px 32px; box-shadow: 0 4px 18px rgba(15, 28, 56, 0.06);
}
.site-header.is-scrolled .site-header__bar { box-shadow: var(--shadow); }
.brand { display: block; padding-block: 2px; }
.brand img { height: 30px; width: auto; }
.nav { margin-inline: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; color: var(--text); transition: background 0.2s, color 0.2s;
}
.nav__link:hover, .nav__link.is-active { background: var(--field); }
.nav__dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px; padding: 8px; display: none;
}
.nav__dropdown.is-open .dropdown, .nav__dropdown:hover .dropdown { display: block; }
.dropdown::before { content: ''; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.dropdown a { display: block; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; }
.dropdown a:hover { background: var(--field); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.search { position: relative; }
.search input {
  width: 236px; height: 40px; padding: 0 44px 0 16px; text-overflow: ellipsis; border: 0; border-radius: var(--r-pill);
  background: var(--field); font-size: 13.5px;
}
.search input::placeholder { color: #8a94a6; }
.search button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); display: grid; place-items: center; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; background: var(--field); place-items: center; }
.mobile-menu { background: var(--surface); margin: 8px var(--gutter) 0; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 16px 0; max-height: calc(100vh - 110px); overflow: auto; }
.mobile-menu .container { display: grid; gap: 14px; }
.mobile-menu li > a, .mobile-menu__group > span { display: block; padding: 11px 6px; font-weight: 600; }
.mobile-menu__group > span { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.mobile-menu__group ul a { padding-left: 16px; font-weight: 500; }
.search--mobile input { width: 100%; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 50px;
  padding: 0 8px 0 24px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 42px; font-size: 13.5px; padding-left: 18px; gap: 10px; }
.btn--block { width: 100%; }
.btn__arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.btn--sm .btn__arrow { width: 28px; height: 28px; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow); }
.btn--light { background: #fff; color: var(--navy); }
.btn--accent { background: var(--orange); color: #fff; padding: 0 24px; }
.btn--accent:hover { background: var(--orange-600); }
.btn--ghost { background: transparent; color: var(--navy); padding: 0 8px; gap: 10px; }
.btn--ghost .ico { color: var(--orange); }
.hero .btn--ghost { color: #fff; }
.btn--wa { background: #25d366; color: #fff; padding: 0 24px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.center-row { display: flex; justify-content: center; margin-top: 34px; }

/* ===== Cards & primitives ===== */
.card { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow); border: 0; }
a.card { display: block; transition: transform 0.25s, box-shadow 0.25s; }
a.card:hover, a.card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); outline: none; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
a.card:hover .card__media img { transform: scale(1.05); }
.card__media--contain { background: #fff; }
.card__media--contain img { object-fit: contain; padding: 8px; }
.card__body { padding: 20px 22px 24px; display: grid; gap: 8px; justify-items: start; }
.card__body h3 { font-size: 18px; }
.card__body p { color: var(--muted); font-size: 14.5px; }
.img-failed { opacity: 0; }
.icon-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; }
.icon-badge--orange { background: var(--orange-50); color: var(--orange); }
.icon-badge--blue { background: var(--blue-50); color: var(--blue); }
.chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: var(--r-pill); background: var(--field); color: var(--navy); font-size: 12px; font-weight: 600; }
.chip--orange { background: var(--orange-50); color: var(--orange); margin-left: 6px; vertical-align: middle; }
.chip--float { position: absolute; left: 14px; top: 14px; background: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 600; font-size: 14px; margin-top: 4px; }
.tag {
  display: inline-block; padding: 7px 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px); color: #fff; font-size: 12px; letter-spacing: 0.1em; font-weight: 600;
}
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.14em; font-weight: 700; color: var(--orange); margin-bottom: 10px; }

.section-heading { display: grid; gap: 6px; margin-bottom: 30px; }
.section-heading h2, .about-intro h2, .split h2 { font-size: clamp(26px, 2.8vw, 46px); }
.section-heading p { color: var(--muted); max-width: 640px; }
.section-heading--center { text-align: center; justify-items: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head-row .section-heading { margin: 0; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.checklist { display: grid; gap: 10px; margin-top: 20px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.checklist .ico { color: var(--orange); }
.checklist--dark li { color: var(--text); }

.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 46px 24px; color: var(--muted); }
.empty h3 { color: var(--navy); }
.empty .ico { color: var(--orange); }

/* ===== Forms ===== */
.field { display: grid; gap: 6px; position: relative; }
.field__label { font-size: 13px; font-weight: 600; color: var(--text); }
.field__label b { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: var(--r-sm); background: var(--field); padding: 13px 16px; font-size: 14.5px;
  transition: box-shadow 0.2s, background 0.2s; appearance: none;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(28, 79, 160, 0.16); }
.field .is-invalid, .is-invalid { box-shadow: 0 0 0 2px rgba(214, 48, 49, 0.45) !important; }
.field--select > .ico { position: absolute; right: 16px; bottom: 17px; pointer-events: none; color: var(--muted); }
.form-status { font-size: 13.5px; min-height: 1.2em; }
.form-status.is-ok { color: #1c8a4a; }
.form-status.is-error { color: #c0392b; }

/* ===== Footer ===== */
.site-footer { margin-top: 56px; background: #e9eef4; padding: 34px 0 26px; }
.footer-top { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 28px; padding: 28px 32px; margin-bottom: 38px; }
.footer-top h2 { font-size: 26px; margin-bottom: 6px; }
.footer-top p { color: var(--muted); }
.footer-contacts { display: grid; gap: 16px; }
.footer-contacts li, .footer-contacts__row > div { display: flex; gap: 12px; align-items: flex-start; }
.footer-contacts__row { display: grid !important; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px !important; }
.footer-contacts b { display: block; font-size: 13px; color: var(--navy); }
.footer-contacts span, .footer-contacts a { font-size: 13.5px; color: var(--muted); }
.footer-contacts a:hover { color: var(--orange); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 30px; border-bottom: 1px solid #d5dde8; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-main h3 { font-size: 15px; margin-bottom: 14px; }
.footer-main li { margin-bottom: 9px; }
.footer-main li a { color: var(--muted); font-size: 14px; }
.footer-main li a:hover { color: var(--orange); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy); transition: background 0.2s, color 0.2s; }
.social a:hover { background: var(--orange); color: #fff; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--orange); }
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.fab:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .search:not(.search--mobile) { display: none; }
  .menu-toggle { display: grid; }
  .site-header__actions { margin-left: auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top, .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 72px; }
  .header-cta { display: none; }
  .grid--2, .grid--3, .grid--4, .grid-2 { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .footer-top, .footer-main { grid-template-columns: 1fr; }
  .footer-top { padding: 22px; }
  .footer-contacts__row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { height: 48px; }
}