:root {
  --primary: #fab43b;
  --primary-dark: #d89a33;
  --bg-dark: #070b1a;
  --bg-light: #f7f8fb;
  --text-main: #121636;
  --text-secondary: rgba(18, 22, 54, 0.72);
  --border-color: rgba(18, 22, 54, 0.08);
  --card-bg: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 20px 70px rgba(10, 15, 40, 0.15);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --transition: all 0.25s ease;
}

* {
  box-sizing: border-box;
}

*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  font-display: swap;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #181410;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--primary-dark);
  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-width: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

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

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

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

a.inline-link {
  color: var(--primary);
  text-decoration: underline;
}

a.inline-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 48px 0 120px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(250, 180, 59, 0.22), rgba(7, 11, 26, 0.95)), url('assets/img/bg-main.png') center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay,
.hero__gradient {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__overlay {
  background: linear-gradient(130deg, rgba(7, 11, 26, 0.85), rgba(10, 16, 40, 0.6));
}

.hero__gradient {
  background: radial-gradient(circle at 80% 20%, rgba(250, 180, 59, 0.35) 0%, transparent 60%);
}

.hero .container,
.hero__content,
.nav {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
}

.nav__logo img {
  height: 120px;
  width: auto;
}

.nav__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav__link,
.nav__icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.nav__link:hover,
.nav__icon:hover {
  background: rgba(250, 180, 59, 0.18);
  border-color: rgba(250, 180, 59, 0.35);
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(250, 180, 59, 0.15);
  border: 1px solid rgba(250, 180, 59, 0.35);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 700;
}

.hero__text {
  margin: 0 0 32px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-height: 44px;
  min-width: 120px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--primary);
  color: #181410;
  border: 1px solid var(--primary);
  box-shadow: 0 18px 32px rgba(250, 180, 59, 0.28);
  transition: var(--transition);
}

.button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(250, 180, 59, 0.32);
}

.button:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
}

.button--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.button--ghost:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.hero__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.hero__list li::before {
  content: '•';
  font-size: 20px;
  color: var(--primary);
  line-height: 1;
  margin-top: -2px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--light {
  background: var(--bg-light);
}

.section--white {
  background: #ffffff;
}

.section--cards {
  background: linear-gradient(180deg, #ffffff 0%, #f2f5ff 100%);
}

.section__grid {
  display: grid;
  gap: 48px;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section__header--center {
  text-align: center;
  align-items: center;
}

.section__eyebrow {
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-dark);
}

.section__title {
  margin: 0 0 15px 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.section__subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.section__subtitle--accent {
  color: rgba(255, 255, 255, 0.82);
}

.rich-text {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  color: var(--text-secondary);
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.rich-text ul {
  padding-left: 18px;
  margin: 16px 0;
}

.rich-text li {
  margin-bottom: 10px;
}

.bold {
  color: var(--text-main);
}

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(10, 15, 40, 0.18);
}

.card__icon {
  width: 64px;
  height: 64px;
}

.card__title {
  margin: 0;
  font-size: 20px;
}

.card__text {
  margin: 0;
  color: var(--text-secondary);
}

.tariffs__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tariffs__grid--secondary {
  margin-top: 24px;
}

.tariffs__notice {
  margin-top: 36px;
  background: rgba(250, 180, 59, 0.12);
  border: 1px solid rgba(250, 180, 59, 0.25);
  color: #5f4308;
}

.certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.certificate {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(18, 22, 54, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.certificate img {
  width: 72px;
  height: auto;
}

.certificate span {
  font-weight: 600;
  color: var(--text-main);
}

.certificate:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 24px 48px rgba(10, 15, 40, 0.15);
}

.contact {
  display: grid;
  gap: 24px;
}

.contact__item {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(10, 15, 40, 0.1);
}

.contact__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.contact__link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact__link:hover {
  color: var(--primary-dark);
}

.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0;
}

.footer__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.footer__logo-main img {
  height: 52px;
}

.footer__text {
  margin: 16px 0 12px;
  color: rgba(255, 255, 255, 0.72);
}

.footer__copy {
  margin: 0;
  letter-spacing: 0.06em;
  font-size: 14px;
}

.footer__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: var(--transition);
}

.footer__logo img {
  max-height: 44px;
  width: auto;
}

.footer__logo:hover {
  background: rgba(250, 180, 59, 0.18);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav__contacts {
    justify-content: flex-start;
  }

  .hero {
    padding-bottom: 96px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav__contacts {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link,
  .nav__icon {
    width: 100%;
    justify-content: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__cta {
    flex-direction: column;
  }

  .rich-text {
    padding: 24px;
  }

  .card {
    padding: 24px;
  }

  .certificates {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
