:root {
  --brand: #0f3154;
  --brand-dark: #0b2742;
  --brand-soft: #eaf2f8;
  --text: #1f2a37;
  --muted: #5f6c7b;
  --white: #ffffff;
  --border: #dce7f0;
  --shadow: 0 18px 40px rgba(15, 49, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 49, 84, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand);
}

.logo img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
}

.site-nav a {
  font-weight: 600;
  color: var(--brand);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-dark);
}

.lang-menu {
  position: relative;
}

.lang-button,
.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.2;
}

.lang-button {
  border: 1px solid var(--border);
  background: var(--brand-soft);
  color: var(--brand);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  background: var(--brand);
  color: var(--white);
}

.lang-list {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(220px, 100vw);
  padding: 0.4rem 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1001;
}

.lang-list li {
  margin: 0;
}

.lang-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  border-radius: 0.85rem;
}

.lang-list a:hover,
.lang-list a:focus-visible {
  background: rgba(15, 49, 84, 0.08);
}

.lang-list a.active {
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(15, 49, 84, 0.08);
}

.lang-flag {
  font-size: 1rem;
}

.lang-arrow {
  font-size: 0.8rem;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  background: var(--brand);
  color: var(--white) !important;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  padding: 4rem 0 3rem;
  background:
    url("img/dzianiny_hero.png") center/cover no-repeat;
}

.hero-mobile-image {
  display: none;
}

.hero-mobile-image img {
  width: 100%;
  height: auto;
}

.hero-content {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  background: rgba(255, 255, 255, 0.92);
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 49, 84, 0.08);
  color: var(--brand);
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  color: var(--brand);
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.hero-text,
.section p,
.why-text p,
.contact-card li {
  color: var(--muted);
}

.button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.9rem 1.4rem;
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--brand-dark);
}

.hero-card,
.contact-card,
.offer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.flag-inline {
  font-size: 1.2rem;
  margin-right: 0.25rem;
}
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--brand-soft);
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-intro,
.section-summary {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.section-summary {
  margin-top: 4.5rem;
  margin-bottom: 0;
  padding: 1.1rem 1.25rem;
  border-left: 6px solid var(--brand);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 49, 84, 0.08);
  line-height: 1.65;
}

.offer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.offer-card {
  overflow: hidden;
  color: var(--brand);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.offer-card:hover,
.offer-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(15, 49, 84, 0.35);
  box-shadow: 0 22px 42px rgba(15, 49, 84, 0.2);
}


.offer-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.offer-card h3 {
  margin: 0;
  padding: 1rem 1.1rem 1.1rem;
  font-size: 1rem;
}

.offer-card--more {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.offer-card--more:hover,
.offer-card--more:focus-within {
  border-color: var(--brand-dark);
  box-shadow: 0 22px 42px rgba(11, 39, 66, 0.3);
}

.offer-card-icon {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  line-height: 1;
}

.offer-card--more-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.offer-card--more p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.6;
}

.offer-card--more h3 {
  background: var(--white);
  color: var(--brand);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.why-grid {
  display: grid;
  gap: 2rem;
}

.why-image {
  min-height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.why-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.why-slogan {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand);
  color: var(--brand) !important;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.site-footer {
  background: #081d31;
  color: var(--white);
  padding: 4rem 0;
}

.footer-text {
  color: var(--white);
  line-height: 1.6;
}

.site-footer .eyebrow,
.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.contact-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-card li {
  color: rgba(255, 255, 255, 0.9);
}

.footer-photo {
  position: relative;
  height: 240px;
  background: url("img/dzianiny_hero.png") center/cover no-repeat;
}

.footer-photo span {
  position: absolute;
  inset: 0;
  background: rgba(15, 49, 84, 0.82);
}

.copyright-bar {
  padding: 0.7rem 1rem;
  background: #061523;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 0.78rem;
}

.copyright-bar p {
  margin: 0;
}

.copyright-bar a {
  color: var(--white);
  font-weight: 600;
  transition: color 0.2s ease;
}

.copyright-bar a:hover,
.copyright-bar a:focus-visible {
  color: #9fc4e4;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 600;
}

.contact-icon {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .why-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(1120px, calc(100% - 0.8rem));
  }

  .footer-photo {
    height: 100px;
  }

  .copyright-bar {
    font-size: 0.7rem;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.65rem 0;
  }

  .logo {
    grid-column: 1 / span 6;
    grid-row: 2;
    min-width: 0;
  }

  .logo img {
    width: 100%;
    max-width: 200px;
  }

  .site-nav {
    display: contents;
  }

  .site-nav > a:nth-child(1),
  .site-nav > a:nth-child(2),
  .site-nav > a:nth-child(3) {
    grid-row: 1;
    justify-content: center;
    min-width: 0;
    text-align: center;
    font-size: 0.8rem;
  }

  .site-nav > a:nth-child(1) {
    grid-column: 1 / span 4;
  }

  .site-nav > a:nth-child(2) {
    grid-column: 5 / span 4;
  }

  .site-nav > a:nth-child(3) {
    grid-column: 9 / span 4;
  }

  .site-nav .nav-button {
    grid-column: 10 / span 3;
    grid-row: 2;
    min-width: 0;
    padding: 0.6rem 0.25rem;
    font-size: 0.75rem;
    text-align: center;
  }

  .lang-menu {
    grid-column: 7 / span 3;
    grid-row: 2;
    min-width: 0;
  }

  .lang-button {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 0.6rem 0.25rem;
    font-size: 0.75rem;
  }

  .hero-mobile-image {
    display: block;
  }
}

@media (min-width: 960px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
