:root {
  --bg-main: #FAFBFD;
  --bg-milk: #F6F8FD;
  --bg-tint: #EFF4FC;
  --bg-tint-meadow: #F3F8F5;
  --bg-tint-hover: #E5EDFA;
  --brand-navy: #1F2A6B;
  --brand-navy-dark: #151D4F;
  --brand-navy-light: #35459E;
  --brand-engraving: #3862A8;
  --accent-green: #2E9E44;
  --accent-green-dark: #237D35;
  --accent-green-soft: #EAF7ED;
  --accent-clay: #9C543A;
  --text-primary: #161C3A;
  --text-secondary: #525B7A;
  --border-soft: #DCE3F2;
  --shadow-soft: 0 10px 30px rgba(31, 42, 107, 0.075);
  --shadow-hover: 0 18px 40px rgba(31, 42, 107, 0.14);
  --radius-card: 24px;
  --radius-sm: 14px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  --pattern-meadow-hills: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='180' viewBox='0 0 480 180'%3E%3Cg fill='none' stroke='%233862A8' stroke-width='1.15' stroke-opacity='0.055'%3E%3Cpath d='M-40 42 Q 120 14, 240 42 T 520 42'/%3E%3Cpath d='M-40 54 Q 120 26, 240 54 T 520 54'/%3E%3Cpath d='M-40 66 Q 120 38, 240 66 T 520 66'/%3E%3Cpath d='M-40 124 Q 120 152, 240 124 T 520 124'/%3E%3Cpath d='M-40 136 Q 120 164, 240 136 T 520 136'/%3E%3C/g%3E%3Cpath d='M-40 94 Q 120 68, 240 94 T 520 94' fill='none' stroke='%232E9E44' stroke-width='1.1' stroke-opacity='0.05'/%3E%3C/svg%3E");

  --pattern-label-arcs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke='%231F2A6B' stroke-opacity='0.045'%3E%3Ccircle cx='340' cy='20' r='170' stroke-width='3'/%3E%3Ccircle cx='340' cy='20' r='194' stroke-width='2.5'/%3E%3Ccircle cx='340' cy='20' r='218' stroke-width='2'/%3E%3C/g%3E%3Cpath d='M138 118 C154 102, 174 106, 168 122 C162 132, 146 128, 138 118 Z' fill='%232E9E44' fill-opacity='0.06'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  background-image:
    radial-gradient(circle at 8% 22%, rgba(56, 98, 168, 0.04) 0%, transparent 42%),
    radial-gradient(circle at 92% 65%, rgba(46, 158, 68, 0.038) 0%, transparent 45%),
    var(--pattern-meadow-hills);
  background-size: auto, auto, 480px 180px;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo__title, .btn, .spec-stamp__val {
  font-family: 'Nunito', 'Manrope', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/*Шапка*/
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 251, 253, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--border-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-navy);
  line-height: 1.15;
}

.logo__emblem {
  width: 104px;
  height: 65px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.logo__sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav__link:hover,
.nav__link.active {
  color: var(--brand-navy);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-green);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  background: var(--bg-tint);
  border: 1.5px solid var(--border-soft);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  width: 20px;
  height: 2.5px;
  background: var(--brand-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/*КНОПКИ*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(31, 42, 107, 0.22);
}

.btn--primary:hover {
  background: var(--brand-navy-dark);
  transform: translateY(-2px);
}

.btn--green {
  background: var(--accent-green);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(46, 158, 68, 0.22);
}

.btn--green:hover {
  background: var(--accent-green-dark);
  transform: translateY(-2px);
}

.btn--tint {
  background: var(--bg-tint);
  color: var(--brand-navy);
  border-color: var(--border-soft);
}

.btn--tint:hover {
  background: var(--bg-tint-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}

.btn--outline:hover {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.btn--white {
  background: #FFFFFF;
  color: var(--brand-navy);
  box-shadow: 0 8px 22px rgba(15, 22, 64, 0.18);
}

.btn--white:hover {
  background: var(--bg-tint);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--outline-white:hover {
  background: #FFFFFF;
  color: var(--brand-navy);
  border-color: #FFFFFF;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

/*Секции*/
.section {
  position: relative;
  padding: 76px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 680px 360px at 96% 12%, rgba(56, 98, 168, 0.055) 0%, transparent 70%),
    radial-gradient(ellipse 560px 340px at 4% 88%, rgba(46, 158, 68, 0.048) 0%, transparent 70%),
    linear-gradient(180deg, rgba(250, 251, 253, 0.92) 0%, rgba(245, 248, 253, 0.94) 100%);
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-meadow-hills);
  background-size: 480px 180px;
  pointer-events: none;
  z-index: 0;
}

.section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  height: 360px;
  background-image: var(--pattern-label-arcs);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.section--tint {
  background:
    radial-gradient(ellipse 640px 320px at 6% 18%, rgba(46, 158, 68, 0.055) 0%, transparent 72%),
    radial-gradient(ellipse 680px 360px at 94% 85%, rgba(31, 42, 107, 0.06) 0%, transparent 72%),
    linear-gradient(180deg, #EEF3FC 0%, #F3F8F5 52%, #EDF2FB 100%);
}

.section--tint::after {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

/*Разделители секций*/
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 44px;
  display: block;
}

.wave-divider--to-tint {
  background: #F5F8FD;
  margin-top: -1px;
}

.wave-divider--to-light {
  background: #EDF2FB;
  margin-top: -1px;
}

.wave-divider--to-footer {
  background: #EDF2FB;
  margin-top: -1px;
}

.wave-divider--from-light {
  background: #F5F8FD;
  margin-top: -1px;
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--brand-navy);
  border: 1.5px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(31, 42, 107, 0.05);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
}

.section--tint .section__eyebrow {
  background: #FFFFFF;
}

.section__title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1.18;
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 10px;
}

/* Hero */
.hero {
  position: relative;
  padding: 58px 0 88px;
  background:
    radial-gradient(circle at 82% 24%, rgba(56, 98, 168, 0.5) 0%, rgba(31, 42, 107, 0) 56%),
    linear-gradient(145deg, #192259 0%, #1F2A6B 55%, #263582 100%);
  color: #FFFFFF;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='200' viewBox='0 0 520 200'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.2' stroke-opacity='0.055'%3E%3Cpath d='M-40 60 Q 130 22, 260 60 T 560 60'/%3E%3Cpath d='M-40 76 Q 130 38, 260 76 T 560 76'/%3E%3Cpath d='M-40 92 Q 130 54, 260 92 T 560 92'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 200px;
  pointer-events: none;
}

.hero__wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.hero__wave-bottom svg {
  width: 100%;
  height: 46px;
  display: block;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero__eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4CD964;
}

.hero__title {
  font-size: clamp(2.15rem, 4.1vw, 3.15rem);
  font-weight: 900;
  line-height: 1.14;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.hero__title span {
  color: #9EE8AC;
}

.hero__desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-item__val {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
}

.stat-item__label {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero__card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%);
  color: var(--text-primary);
  border-radius: 28px;
  padding: 22px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 48px rgba(13, 19, 56, 0.3);
  position: relative;
}

.hero__card-logo-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, #FFFFFF 0%, #F1F5FD 64%, #E3ECFA 100%);
  border: 1.5px solid var(--border-soft);
  border-radius: 20px;
  width: 100%;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  margin-bottom: 16px;
}

/* Дуги в лого */
.hero__card-logo-box::before,
.hero__card-logo-box::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid rgba(56, 98, 168, 0.11);
  box-shadow:
    inset 0 0 0 10px transparent,
    inset 0 0 0 12px rgba(56, 98, 168, 0.08),
    inset 0 0 0 22px transparent,
    inset 0 0 0 24px rgba(46, 158, 68, 0.08);
  pointer-events: none;
}

.hero__card-logo-box::before {
  left: -172px;
  transform: translateY(-50%);
}

.hero__card-logo-box::after {
  right: -172px;
  transform: translateY(-50%);
}

.hero__card-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.hero__card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Grid & Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFDFE 100%);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/*Акцент*/
.card::before {
  content: '';
  position: absolute;
  top: -34px;
  right: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(56, 98, 168, 0.09);
  box-shadow: inset 0 0 0 7px transparent, inset 0 0 0 9px rgba(46, 158, 68, 0.09);
  pointer-events: none;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-navy-light);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  transform: scale(1.08);
  border-color: rgba(56, 98, 168, 0.18);
  box-shadow: inset 0 0 0 7px transparent, inset 0 0 0 9px rgba(46, 158, 68, 0.18);
}

.card--tint {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FD 100%);
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  background: var(--bg-tint);
  border: 1px solid rgba(220, 227, 242, 0.7);
}

.spec-stamp {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.spec-stamp__circle {
  min-width: 48px;
  height: 48px;
  padding: 0 7px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid var(--brand-navy);
  color: var(--brand-navy);
  font-weight: 900;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(31, 42, 107, 0.1);
}

.spec-stamp__leaves {
  width: 24px;
  height: 24px;
  margin-left: -4px;
  flex-shrink: 0;
}

.card__tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--bg-tint);
  border: 1px solid rgba(220, 227, 242, 0.8);
  color: var(--brand-navy);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.card__title {
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

/*Мануал*/
.manual-stub {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5FC 65%, #F2F8F4 100%);
  border: 2px dashed var(--brand-navy-light);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  margin-top: 36px;
  box-shadow: var(--shadow-soft);
}

.manual-stub__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--brand-navy);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  margin-bottom: 14px;
}

.manual-stub__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
}

.manual-stub__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.manual-stub__text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Filter Pills */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: #FFFFFF;
  color: var(--brand-navy);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(31, 42, 107, 0.04);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}

/*Ревью бейдж*/
.yandex-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-soft);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.yandex-badge__score {
  background: #FFCC00;
  color: #161C3A;
  font-weight: 900;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
}

.review-stars {
  color: #FFB800;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-author {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-navy);
}

.review-source {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/*Карта и контакты*/
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 26px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-tint);
  border-radius: 16px;
  border: 1.5px solid var(--border-soft);
}

.contact-item:hover {
  background: var(--bg-tint-hover);
  border-color: var(--brand-navy-light);
}

.contact-item__label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: block;
}

.contact-item__value {
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 1rem;
}

.messenger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.map-wrapper iframe {
  width: 100%;
  flex-grow: 1;
  min-height: 360px;
  border: 0;
}

.map-caption {
  padding: 14px 20px;
  background: var(--bg-tint);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
}

/*Форма*/
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border-soft);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(31, 42, 107, 0.08);
}

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent-green-soft);
  color: var(--accent-green-dark);
  font-weight: 700;
  font-size: 0.92rem;
  display: none;
}

/*Баннер страницы*/
.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 86% 24%, rgba(56, 98, 168, 0.45) 0%, rgba(31, 42, 107, 0) 56%),
    linear-gradient(145deg, #192259 0%, #1F2A6B 55%, #263582 100%);
  color: #FFFFFF;
  padding: 54px 0 70px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='160' viewBox='0 0 520 160'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.15' stroke-opacity='0.05'%3E%3Cpath d='M-40 50 Q 130 18, 260 50 T 560 50'/%3E%3Cpath d='M-40 66 Q 130 34, 260 66 T 560 66'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 160px;
  pointer-events: none;
}

.page-hero .section__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.page-hero .section__title {
  color: #FFFFFF;
}

.page-hero .section__subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.page-hero__wave svg {
  width: 100%;
  height: 32px;
  display: block;
}

/*Подвал*/
.footer {
  position: relative;
  background:
    radial-gradient(circle at 14% 20%, rgba(56, 98, 168, 0.35) 0%, rgba(31, 42, 107, 0) 55%),
    linear-gradient(160deg, #1A235A 0%, #1F2A6B 60%, #161E4F 100%);
  color: #FFFFFF;
  padding: 54px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer__title {
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.footer__text {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.footer__links a:hover {
  color: #9EE8AC;
  text-decoration: underline;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
}

/*Анимки разные прикольные*/
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/*Респо*/
@media (max-width: 992px) {
  .hero__grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: #FAFBFD;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 18px;
    border-bottom: 2px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transform: translateY(-135%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav.open {
    transform: translateY(0);
  }

  .header__actions .btn--outline {
    display: none;
  }

  .burger {
    display: flex;
  }

  .logo__emblem {
    width: 86px;
    height: 54px;
  }

  .hero__card-logo-box {
    height: 230px;
    padding: 20px;
  }

  .hero__card-logo {
    max-width: 250px;
    max-height: 170px;
  }

  .wave-divider svg {
    height: 28px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }
}

/*корова, сам как она щас стану*/
.cow-peeker {
  position: fixed;
  right: 0;
  bottom: 18px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/*Контейнер поп-апа над коровкой*/
.cow-peeker__popup {
  pointer-events: auto;
  position: relative;
  margin-right: 10px;
  margin-bottom: 9px;
  transform-origin: calc(100% - 26px) bottom;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  animation: cowBubbleIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

/*Хвостик поп-апа, указывающий вниз на корову*/
.cow-peeker__popup::before {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  border-width: 8px 7px 0 7px;
  border-style: solid;
  border-color: var(--brand-navy) transparent transparent transparent;
  z-index: 2;
}

.cow-peeker__popup::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 23.5px;
  border-width: 6px 5.5px 0 5.5px;
  border-style: solid;
  border-color: #F4F7FD transparent transparent transparent;
  transition: border-color 0.25s ease;
  z-index: 3;
}

/*Компактная плашка «Связаться с нами»*/
.cow-peeker__bubble {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FD 100%);
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
  border-radius: var(--radius-pill);
  font-family: 'Nunito', 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 42, 107, 0.16);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cow-peeker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(46, 158, 68, 0.2);
}

.cow-peeker:not(.is-expanded) .cow-peeker__bubble:hover,
.cow-peeker:not(.is-expanded):hover .cow-peeker__bubble {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
  box-shadow: 0 14px 28px rgba(31, 42, 107, 0.26);
}

.cow-peeker:not(.is-expanded) .cow-peeker__bubble:hover ~ .cow-peeker__popup::after,
.cow-peeker:not(.is-expanded):hover .cow-peeker__popup::after {
  border-color: var(--brand-navy) transparent transparent transparent;
}

/*Развёрнутый поп-ап с формой*/
.cow-peeker__form-wrap {
  width: 318px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 135px);
  overflow-y: auto;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FD 100%);
  border: 2px solid var(--brand-navy);
  border-radius: 22px;
  padding: 16px 17px 17px;
  box-shadow: 0 18px 42px rgba(31, 42, 107, 0.24);
  transform-origin: calc(100% - 26px) bottom;
  animation: cowFormExpand 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cow-peeker.is-expanded .cow-peeker__bubble {
  display: none;
}

.cow-peeker.is-expanded .cow-peeker__form-wrap {
  display: block;
}

.cow-peeker.is-expanded .cow-peeker__popup::after {
  border-color: #F4F7FD transparent transparent transparent;
}

.cow-peeker__form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.cow-peeker__form-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cow-peeker__form-title {
  font-family: 'Nunito', 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--brand-navy);
}

.cow-peeker__form-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.cow-peeker__close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  background: #FFFFFF;
  color: var(--brand-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.cow-peeker__close:hover {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}

.cow-peeker__field {
  margin-bottom: 10px;
}

.cow-peeker__label {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.cow-peeker__input,
.cow-peeker__textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border-soft);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.cow-peeker__textarea {
  resize: vertical;
  min-height: 68px;
}

.cow-peeker__input:focus,
.cow-peeker__textarea:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(31, 42, 107, 0.1);
}

.cow-peeker__submit {
  width: 100%;
  margin-top: 2px;
}

.cow-peeker__status {
  display: none;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--accent-green-soft);
  color: var(--accent-green-dark);
  font-weight: 700;
  font-size: 0.81rem;
  line-height: 1.4;
}

/*Тело коровы*/
.cow-peeker__body {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  transform: translateX(105%);
  animation: cowPeekIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.cow-peeker__trigger {
  display: block;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cow-peeker:hover .cow-peeker__trigger,
.cow-peeker.is-expanded .cow-peeker__trigger {
  transform: translateX(-5px) rotate(-2deg);
}

.cow-peeker__svg {
  width: 76px;
  height: 92px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(31, 42, 107, 0.18));
}

/*кнопка сворачивания*/
.cow-peeker__hide {
  position: absolute;
  top: -4px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  background: #FFFFFF;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 4px 10px rgba(31, 42, 107, 0.14);
  z-index: 3;
}

.cow-peeker:not(.is-expanded):hover .cow-peeker__hide {
  opacity: 1;
  transform: scale(1);
}

.cow-peeker.is-expanded .cow-peeker__hide {
  display: none;
}

.cow-peeker__hide:hover {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}

/*Свёрнутая корова*/
.cow-peeker.is-minimized .cow-peeker__popup {
  opacity: 0 !important;
  pointer-events: none;
  transform: translateY(6px) scale(0.88) !important;
}

.cow-peeker.is-minimized .cow-peeker__trigger {
  transform: translateX(52px);
}

.cow-peeker.is-minimized:hover .cow-peeker__trigger {
  transform: translateX(42px);
}

.cow-peeker.is-minimized .cow-peeker__hide {
  display: none;
}

/* Анимации коровы */
.cow-peeker__eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: cowBlink 4.8s infinite;
}

.cow-peeker__clover {
  transform-box: fill-box;
  transform-origin: left bottom;
  animation: cowCloverSway 3.2s ease-in-out infinite;
}

.cow-peeker__ear-right {
  transform-box: fill-box;
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.cow-peeker.is-scrolling .cow-peeker__ear-right,
.cow-peeker.is-expanded .cow-peeker__ear-right {
  transform: rotate(-8deg);
}

@keyframes cowPeekIn {
  0% {
    transform: translateX(105%);
  }
  75% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes cowBubbleIn {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cowFormExpand {
  0% {
    opacity: 0;
    transform: scale(0.86) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes cowBlink {
  0%, 46%, 50%, 94%, 98%, 100% {
    transform: scaleY(1);
  }
  48%, 96% {
    transform: scaleY(0.08);
  }
}

@keyframes cowCloverSway {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-6deg);
  }
}

@media (max-width: 768px) {
  .cow-peeker {
    bottom: 12px;
  }

  .cow-peeker__popup {
    margin-right: 8px;
    margin-bottom: 7px;
  }

  .cow-peeker__bubble {
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  .cow-peeker__popup::before {
    right: 18px;
    border-width: 7px 6px 0 6px;
  }

  .cow-peeker__popup::after {
    right: 19.5px;
    border-width: 5px 4.5px 0 4.5px;
  }

  .cow-peeker__form-wrap {
    width: calc(100vw - 16px);
    max-width: 330px;
    padding: 14px 14px 15px;
  }

  .cow-peeker__svg {
    width: 60px;
    height: 73px;
  }

  .cow-peeker.is-minimized .cow-peeker__trigger {
    transform: translateX(42px);
  }
}
