:root {
  --navy-900: #0a2540;
  --navy-800: #10314f;
  --blue:     #0076ce;
  --blue-d:   #005ea6;
  --ink:      #1f2933;
  --ink-soft: #5f6b78;
  --line:     #e2e7ec;
  --bg-alt:   #f4f7fa;
  --radius:   8px;
  --wrap:     1220px;
  --shadow:   0 2px 12px rgba(10, 37, 64, .08);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .55em; font-weight: 700; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; color: var(--navy-900); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); }
a:hover, a:focus-visible { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* ---------- header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 74px; }

.brand { margin-right: auto; }
.brand img { width: 118px; height: auto; }

.primary-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: 9px 14px; border-radius: var(--radius);
  color: #e3ecf5; text-decoration: none; font-size: .92rem; font-weight: 500;
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--navy-800); color: #fff; }

.header__hotline { margin: 0; text-align: right; font-size: .74rem; color: #9db4c9; line-height: 1.3; }
.header__hotline span { display: block; }
.header__hotline a { display: block; font-size: 1.05rem; font-weight: 700; color: #fff; text-decoration: none; }
.header__hotline a:hover { color: #6cc0ff; }

.nav-toggle {
  display: none; width: 46px; height: 42px; background: none;
  border: 1px solid #2b435c; border-radius: var(--radius); cursor: pointer;
}
.nav-toggle__box { display: block; position: relative; width: 22px; height: 2px; margin: 0 auto; background: #fff; }
.nav-toggle__box::before, .nav-toggle__box::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff;
}
.nav-toggle__box::before { top: -7px; }
.nav-toggle__box::after  { top:  7px; }

/* ---------- hero ---------- */

.slider { position: relative; background: var(--navy-900); }
.slide { margin: 0; display: none; }
.slide.is-active { display: block; }
.slide img { width: 100%; aspect-ratio: 64 / 25; object-fit: cover; }

.slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(10, 37, 64, .5); color: #fff; font-size: 1.6rem; line-height: 1;
}
.slider__nav:hover { background: var(--blue); }
.slider__nav--prev { left: 16px; }
.slider__nav--next { right: 16px; }

.hero__text { padding: 30px 0 6px; }
.hero__text h1 { color: var(--navy-900); }
.hero__text p { max-width: 66ch; color: var(--ink-soft); }

/* ---------- sections ---------- */

.section { padding: 46px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { position: relative; padding-bottom: 12px; margin-bottom: 26px; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--blue); border-radius: 2px; }
.subtitle { margin: 32px 0 14px; color: var(--navy-900); }

.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.needs > * { min-width: 0; }
.need {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.need img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.need figcaption { padding: 14px 16px 16px; }
.need h3 { color: var(--navy-900); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.need p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; min-width: 0; }
.cat h3 { color: var(--blue-d); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cat ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; color: var(--ink-soft); }
.cat li { padding: 4px 0; }

.prices { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.prices li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: .88rem;
}

.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promos > * { min-width: 0; }
.promo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promo img { width: 100%; aspect-ratio: 30 / 17; object-fit: cover; }
.promo figcaption { padding: 14px 16px; }
.promo h3 { margin: 0; font-size: .98rem; color: var(--navy-900); }

.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.panel h3 { color: var(--navy-900); font-size: 1rem; }
.panel h3 + ul { margin-bottom: 18px; }
.panel ul:last-child { margin-bottom: 0; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 6px; font-size: .92rem; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: .58em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
}

.section--contact { background: var(--navy-900); color: #cdddec; }
.section--contact .section__title { color: #fff; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact__box { background: rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 20px 22px; min-width: 0; }
.contact__box h3 { color: #6cc0ff; }
.contact a { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.contact a:hover { color: #6cc0ff; }
.contact p:last-child { margin-bottom: 0; font-size: .88rem; }

/* ---------- footer ---------- */

.site-footer { background: #0d1b28; color: #93a6b8; font-size: .92rem; padding-top: 36px; }
.footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 26px; padding-bottom: 24px; }
.footer__name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.footer__badge { display: inline-block; border: 1px solid #2a3c4d; border-radius: 999px; padding: 4px 14px; font-size: .8rem; }
.footer__head { color: #fff; font-weight: 700; margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #93a6b8; text-decoration: none; }
.site-footer a:hover { color: #6cc0ff; }
.footer__bottom { border-top: 1px solid #1d2c3a; padding: 16px 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__bottom img { width: 120px; height: auto; }
.footer__bottom p { margin: 0; font-size: .84rem; }

/* ---------- mobile ---------- */

@media (max-width: 1080px) {
  .needs { grid-template-columns: repeat(2, 1fr); }
  .cats, .promos { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 34px 0; }

  .nav-toggle { display: block; }
  .primary-nav { display: none; width: 100%; order: 4; padding-bottom: 12px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 11px 8px; border-bottom: 1px solid #22384f; border-radius: 0; }
  .header__in { flex-wrap: wrap; }
  .header__hotline { text-align: left; }

  .needs, .cats, .promos, .contact, .footer__in { grid-template-columns: 1fr; }
  .slide img { aspect-ratio: 16 / 9; }
  .slider__nav { width: 34px; height: 34px; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
