/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 64px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  text-align: center;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }

.btn--white { background: #fff; color: #1a1a1a; }
.btn--dark { background: #1a1a1a; color: #fff; }
.btn--orange { background: #ff7300; color: #fff; border-radius: 8px; }
.btn--orange-round { background: #fa8669; color: #fff; }
.btn--peach { background: #f5914f; color: #fff; }
.btn--outline {
  background: transparent;
  color: #1a1a1a;
  border: 3px solid #1a1a1a;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.5px;
}

.nav__list {
  display: flex;
  gap: 32px;
}
.nav__list a {
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav__list a:hover { color: #ff7300; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #e63946 0%, #7b2d8e 50%, #4a1a6b 100%);
  color: #fff;
  text-align: center;
}
.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 24px;
}
.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  opacity: .9;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* === SECTIONS COMMON === */
.section-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ff7300;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* === AGENT === */
.agent {
  padding: 100px 0 80px;
}
.agent__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.agent__card {
  background: #f7f7f8;
  border-radius: 16px;
  padding: 32px;
}
.agent__card h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #888;
  margin-bottom: 12px;
}
.agent__card p, .agent__card li {
  font-size: 16px;
  line-height: 1.6;
}
.agent__card ul { padding-left: 20px; list-style: disc; }
.agent__card li { margin-bottom: 6px; }

/* === PROBLEMS === */
.problems {
  padding: 80px 0 100px;
  background: #f7f7f8;
}
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problems__card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow .3s, transform .3s;
}
.problems__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.problems__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe0cc, #ffd0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #e63946;
}
.problems__card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.problems__card p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

/* === CONTACT FORM === */
.contact {
  padding: 100px 0;
}
.contact__form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s;
  background: #fff;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: #ff7300;
}
.contact__channel {
  display: flex;
  gap: 12px;
}
.contact__channel select { flex: 0 0 160px; }
.contact__channel input { flex: 1; }
.contact__form .btn { align-self: flex-start; }

/* === CONSULTATION === */
.consultation {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #fff;
  text-align: center;
}
.consultation .section-title { color: #fff; }
.consultation__subtitle {
  font-size: 20px;
  opacity: .8;
  margin-bottom: 40px;
  margin-top: -20px;
}
.consultation__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.consultation__buttons .btn--outline {
  color: #fff;
  border-color: #fff;
}

/* === ABOUT === */
.about {
  padding: 100px 0;
}
.about__inner {
  display: flex;
  gap: 60px;
  align-items: center;
}
.about__photo { flex: 0 0 280px; }
.about__img {
  width: 280px;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
}
.about__text { flex: 1; }
.about__text p {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.7;
  color: #444;
}
.about__quote {
  font-style: italic;
  font-size: 18px !important;
  color: #1a1a1a !important;
  border-left: 4px solid #ff7300;
  padding-left: 20px;
  margin: 24px 0 32px !important;
}

/* === CONTACTS === */
.contacts {
  padding: 80px 0;
  background: #f7f7f8;
  text-align: center;
}
.contacts__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}
.contacts__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  padding: 12px 24px;
  background: #fff;
  border-radius: 12px;
  transition: box-shadow .2s;
}
.contacts__link:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* === FOOTER === */
.footer {
  padding: 24px 0;
  border-top: 1px solid #e0e0e0;
}
.footer__inner {
  display: flex;
  justify-content: center;
}
.footer__copy {
  font-size: 14px;
  color: #999;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .agent__grid { grid-template-columns: 1fr; }
  .problems__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { flex-direction: column; text-align: center; }
  .about__photo { flex: none; }
  .about__quote { text-align: left; }
}

@media (max-width: 640px) {
  .nav__burger { display: flex; }
  .nav__list {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav__list--open { display: flex; }

  .hero { padding: 120px 0 60px; }
  .problems__grid { grid-template-columns: 1fr; }
  .contact__channel { flex-direction: column; }
  .contact__channel select { flex: none; }
  .consultation__buttons { flex-direction: column; align-items: center; }
  .contacts__links { flex-direction: column; align-items: center; }
}
