/* Эврикласс — цвета из логотипа */
:root {
  --yellow: #ffdb00;
  --yellow-soft: #fff4b8;
  --navy: #050b30;
  --navy-light: #0d1642;
  --purple: #5a2d82;
  --white: #fff;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --green-dark: #1a4d3a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--navy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(5, 11, 48, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
}

.header .nav {
  display: flex;
  gap: 28px;
}
.header .nav a {
  font-weight: 600;
  font-size: 16px;
}
.header .nav a:hover {
  color: var(--purple);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.btn:active {
  transform: translateY(0);
}

.btn--header {
  background: var(--navy);
  color: var(--white);
}
.btn--primary {
  background: var(--yellow);
  color: var(--navy);
}

/* Shine effect on primary buttons */
.btn--shine {
  position: relative;
  overflow: hidden;
}
.btn--shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 3s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -100%; }
  20%, 100% { left: 100%; }
}

.btn--full {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* Hero */
.hero {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--white) 60%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.hero__lead {
  margin: 0 0 24px;
  font-size: 18px;
  color: var(--navy-light);
}

.hero__list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.hero__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.hero__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

.hero__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.hero__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section */
.section {
  padding: 64px 0;
}
.section--light {
  background: var(--gray-light);
}
.section--yellow {
  background: var(--yellow-soft);
}

.section__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  text-align: center;
  color: var(--navy);
}
.section__subtitle {
  margin: 0 0 40px;
  text-align: center;
  color: var(--gray);
  font-size: 18px;
}

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

.card {
  padding: 28px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.card__icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.card__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.card__text {
  margin: 0;
  font-size: 16px;
  color: var(--gray);
}

/* Two col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col__content p {
  margin: 0 0 16px;
  color: var(--navy-light);
}
.two-col__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.two-col__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Prices */
.prices {
  max-width: 480px;
  margin: 0 auto 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
}
.price-row:last-of-type {
  border-bottom: none;
}
.price-row__name {
  font-weight: 600;
  color: var(--navy);
}
.price-row__value {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
}
.price-row__note {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--gray);
}

.prices__discount {
  text-align: center;
  margin: 0 0 24px;
  font-weight: 700;
  color: var(--navy);
}
#prices .btn {
  display: block;
  margin: 0 auto;
  text-align: center;
}

/* Form */
.form-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.form .field {
  display: block;
  margin-bottom: 20px;
}
.form .field__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.form .field__input {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  transition: border-color 0.2s;
}
.form .field__input:focus {
  outline: none;
  border-color: var(--yellow);
}
.form .field__input--select {
  cursor: pointer;
}
.form .field--check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form .field__check {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}
.form .field__checktext {
  font-size: 14px;
  color: var(--gray);
}
.form .field__checktext a {
  color: var(--navy);
  text-decoration: underline;
}
.form .field__checktext a:hover {
  color: var(--purple);
}

.form .btn {
  margin-top: 8px;
}
.form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Contacts */
.contacts__address {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
  color: var(--navy);
}
.contacts__note {
  text-align: center;
  margin: 0 0 32px;
  color: var(--gray);
}
.team-pic {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.team-pic img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
.footer {
  padding: 40px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.footer a {
  color: var(--yellow);
}
.footer__logo {
  margin-bottom: 24px;
}
.footer__logo img {
  height: 40px;
  width: auto;
  opacity: 0.95;
}
.footer__legal {
  margin: 0 0 8px;
  font-size: 14px;
  opacity: 0.9;
}
.footer__links {
  margin: 20px 0 0;
  font-size: 14px;
}
.footer__links a + a {
  margin-left: 20px;
}

/* Sticky CTA (mobile) */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 14px 20px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.sticky-cta:hover {
  color: var(--navy);
  text-decoration: none;
  background: var(--yellow-soft);
}

/* Mobile */
@media (max-width: 900px) {
  .header .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
  }
  .header .nav.is-open {
    display: flex;
  }
  .btn--header {
    display: none;
  }
  .burger {
    display: flex;
  }
  .burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .burger span { transition: transform 0.2s, opacity 0.2s; }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__img {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero__list {
    text-align: left;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .two-col__img {
    order: -1;
  }
  .sticky-cta {
    display: block;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 40px 0;
  }
  .form-wrap {
    padding: 20px;
  }
  .price-row {
    grid-template-columns: 1fr;
  }
  .price-row__value {
    grid-column: 1;
  }
}
