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

:root {
  --navy:    #1B2A4A;
  --sand:    #F5F0E8;
  --steel:   #7B8FA1;
  --terra:   #C4622D;
  --terra-d: #A34E22;
  --white:   #FFFFFF;
  --dark:    #111827;
  --mid:     #4B5563;
  --border:  #DDD6CB;
  --shadow:  0 4px 24px rgba(27,42,74,.12);
  --r:       8px;
  --trans:   .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--sand);
  color: var(--dark);
  line-height: 1.65;
  font-size: 16px;
}

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

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--trans);
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
}
.btn-primary:hover { background: var(--terra-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,98,45,.35); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ===== SECTION HEADINGS ===== */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 600px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo__icon {
  width: 44px;
  height: 44px;
}
.logo__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.15;
}
.logo__text span {
  color: var(--terra);
}
.logo__sub {
  font-size: .68rem;
  font-weight: 400;
  color: var(--steel);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
}

.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--trans);
  position: relative;
  padding-bottom: 2px;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra);
  transition: var(--trans);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

.header__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header__phone {
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  transition: var(--trans);
}
.header__phone:hover { color: var(--terra); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  overflow: hidden;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.03) 0,
      rgba(255,255,255,.03) 1px,
      transparent 1px,
      transparent 60px
    );
  pointer-events: none;
}
.hero__accent {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,98,45,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 80px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,98,45,.2);
  border: 1px solid rgba(196,98,45,.4);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  color: #F4A96A;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 24px;
}
.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--terra);
}
.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}
.hero__stat-num sup { font-size: 1rem; vertical-align: super; }
.hero__stat-label {
  font-size: .8rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.hero__image-wrap {
  position: relative;
}
.hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(196,98,45,.3);
  border-radius: calc(var(--r) * 2);
  z-index: 0;
}
.hero__img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: var(--r);
  position: relative;
  z-index: 1;
}
.hero__img-placeholder {
  width: 100%;
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, #243458 0%, #2d4070 100%);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: .85rem;
  text-align: center;
  padding: 24px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.08);
}
.hero__img-placeholder svg { margin-bottom: 12px; opacity: .5; }

/* ===== BENEFITS BAR ===== */
.benefits-bar {
  background: var(--terra);
  padding-block: 20px;
}
.benefits-bar__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.benefits-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
}
.benefits-bar__item svg { flex-shrink: 0; }

/* ===== ABOUT ===== */
.about {
  padding-block: 100px;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__img-wrap {
  position: relative;
}
.about__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8e0d4 0%, #d4c8bb 100%);
  border-radius: calc(var(--r) * 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-size: .85rem;
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--border);
}
.about__badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--r);
  text-align: center;
  box-shadow: var(--shadow);
}
.about__badge-float strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--terra);
}
.about__badge-float span { font-size: .8rem; color: var(--steel); }
.about__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .97rem;
  color: var(--mid);
}
.about__list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ===== CATEGORIES ===== */
.categories {
  background: var(--navy);
  padding-block: 100px;
}
.categories .section-title { color: var(--white); }
.categories .section-sub { color: rgba(255,255,255,.6); }
.categories__head {
  text-align: center;
  margin-bottom: 56px;
}
.categories__head .section-label { color: #F4A96A; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: calc(var(--r) * 1.5);
  overflow: hidden;
  transition: var(--trans);
  cursor: default;
}
.cat-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(196,98,45,.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.cat-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.cat-card__img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #243458 0%, #1a2d4d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  text-align: center;
  padding: 16px;
  gap: 8px;
}
.cat-card__body {
  padding: 22px 24px 26px;
}
.cat-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(196,98,45,.15);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cat-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cat-card__desc {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
}

/* ===== WHY ===== */
.why {
  padding-block: 100px;
}
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.why__sticky {
  position: sticky;
  top: 90px;
}
.why__img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, #e8e0d4 0%, #cfc4b5 100%);
  border-radius: calc(var(--r) * 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-size: .85rem;
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--border);
  margin-top: 32px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-item {
  display: flex;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--border);
}
.why-item:last-child { border-bottom: none; }
.why-item__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  text-align: right;
}
.why-item__content {}
.why-item__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.why-item__text {
  font-size: .93rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ===== STATS ===== */
.stats {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f6b 100%);
  padding-block: 80px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__num span { color: var(--terra); }
.stat-item__label {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.stat-item__divider {
  width: 36px;
  height: 2px;
  background: var(--terra);
  margin: 12px auto;
}

/* ===== REVIEWS ===== */
.reviews {
  padding-block: 100px;
  background: #FDFAF6;
}
.reviews__head {
  text-align: center;
  margin-bottom: 56px;
}
.reviews__head .section-sub { margin-inline: auto; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 1.5);
  padding: 32px;
  transition: var(--trans);
}
.review-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--terra);
}
.review-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.review-card__stars svg { color: #F59E0B; }
.review-card__text {
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.review-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .93rem;
  color: var(--navy);
}
.review-card__role {
  font-size: .8rem;
  color: var(--steel);
}

/* ===== CONTACT ===== */
.contact {
  padding-block: 100px;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact__info {}
.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact__item-icon {
  width: 48px;
  height: 48px;
  background: rgba(196,98,45,.1);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--terra);
}
.contact__item-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 4px;
}
.contact__item-value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}
.contact__item-value a { transition: var(--trans); }
.contact__item-value a:hover { color: var(--terra); }

/* ===== FORM ===== */
.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 2);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.form__sub {
  font-size: .9rem;
  color: var(--steel);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: .83rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-group label span { color: var(--terra); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--dark);
  background: var(--sand);
  transition: var(--trans);
  outline: none;
}
.form-control:focus {
  border-color: var(--terra);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196,98,45,.12);
}
.form-control.error {
  border-color: #EF4444;
  background: #FFF5F5;
}
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}
.form__error-msg {
  font-size: .78rem;
  color: #EF4444;
  margin-top: 4px;
  display: none;
}
.form__error-msg.visible { display: block; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__submit {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  font-size: 1rem;
  justify-content: center;
}
.form__success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form__success.visible { display: block; }
.form__success-icon {
  width: 72px;
  height: 72px;
  background: rgba(34,197,94,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #16A34A;
}
.form__success-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.form__success-text { font-size: .95rem; color: var(--mid); }

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #e8e0d4 0%, #d4c8bb 100%);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-size: .85rem;
  text-align: center;
  gap: 8px;
  border: 1px dashed var(--border);
  margin-top: 28px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding-top: 60px;
  padding-bottom: 0;
  color: rgba(255,255,255,.65);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand {}
.footer__brand .logo { margin-bottom: 16px; }
.footer__brand p {
  font-size: .87rem;
  line-height: 1.65;
  max-width: 280px;
}
.footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: .88rem;
  transition: var(--trans);
}
.footer__links a:hover { color: var(--white); padding-left: 4px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px;
}
.footer__copy {
  font-size: .82rem;
}
.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__legal a {
  font-size: .82rem;
  transition: var(--trans);
}
.footer__legal a:hover { color: var(--white); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__inner { padding-block: 60px; }
  .hero__image-wrap { display: none; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__badge-float { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why__inner { grid-template-columns: 1fr; }
  .why__sticky { position: static; }
  .why__img-placeholder { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 50;
  }
  .nav.open a {
    padding-block: 12px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .burger { display: flex; }
  .header__btn { display: none; }
  .benefits-bar__list { gap: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__stats { gap: 24px; }
  .stats__grid { grid-template-columns: 1fr; }
}

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