/* =============================================
   UniGroup — Ремонт коммерческих помещений
   Design: тёмно-синий + живое золото + белый
   ============================================= */

@import url('../fonts/manrope.css');

:root {
  --navy:       #0B1F3A;
  --navy-mid:   #132A4E;
  --navy-light: #1A3560;
  --gold:       #D4A843;
  --gold-light: #F0C96A;
  --gold-bg:    #FDF6E3;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FB;
  --gray-100:   #EEF0F4;
  --gray-400:   #9AA3B0;
  --gray-600:   #4B5563;
  --text:       #0B1F3A;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 2px 8px rgba(11,31,58,.08);
  --shadow-md:  0 8px 24px rgba(11,31,58,.12);
  --shadow-lg:  0 20px 48px rgba(11,31,58,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--white); }

/* ── Section labels ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-title { font-size: 36px; font-weight: 800; line-height: 1.18; color: var(--text); }
.section-title--white { color: var(--white); }
.section-sub { font-size: 17px; color: var(--gray-600); margin-top: 12px; max-width: 560px; line-height: 1.7; }
.section-sub--white { color: rgba(255,255,255,.7); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer; border: none; transition: all .18s;
  white-space: nowrap; text-decoration: none;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,168,67,.35); }
.btn--outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn--outline-white:hover { background: rgba(255,255,255,.08); }
.btn--outline-navy { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,31,58,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--white);
}
.logo__icon {
  width: 38px; height: 38px; background: var(--gold); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900; color: var(--navy);
}
.nav { display: flex; gap: 2px; }
.nav a {
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.header__right { display: flex; align-items: center; gap: 16px; }
.header__phone {
  font-size: 15px; font-weight: 700; color: var(--white);
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.header__phone svg { color: var(--gold); }
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .2s; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #1F4080 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(212,168,67,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,67,.15); border: 1px solid rgba(212,168,67,.35);
  border-radius: 20px; padding: 6px 16px;
  font-size: 13px; font-weight: 600; color: var(--gold-light);
  margin-bottom: 22px;
}
.hero__badge svg { flex-shrink: 0; }
.hero__title {
  font-size: 50px; font-weight: 800; line-height: 1.1;
  margin-bottom: 22px;
}
.hero__title .accent { color: var(--gold); }
.hero__desc { font-size: 18px; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 520px; line-height: 1.7; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero__stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 18px 20px;
}
.hero__stat-num { font-size: 30px; font-weight: 800; color: var(--gold); }
.hero__stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; line-height: 1.4; }

/* Form card */
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow-lg);
  color: var(--text);
}
.form-card__title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.form-card__sub { font-size: 14px; color: var(--gray-600); margin-bottom: 24px; }
.form-discount {
  background: var(--gold-bg); border: 1px solid rgba(212,168,67,.35);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 14px; font-weight: 600; color: #8B6514;
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-100); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--gray-50); transition: border-color .15s, background .15s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-submit { width: 100%; margin-top: 4px; padding: 14px; font-size: 15px; }
.form-note { font-size: 12px; color: var(--gray-400); text-align: center; margin-top: 10px; }

/* ══════════════════════════════
   УСЛУГИ
══════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card {
  border: 1.5px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 32px 28px; background: var(--white);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold); }
.service-card__num {
  font-size: 13px; font-weight: 800; color: var(--gold);
  letter-spacing: .08em; margin-bottom: 16px;
}
.service-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon svg { color: var(--gold); }
.service-card__title { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.service-card__desc { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.service-card__list { display: flex; flex-direction: column; gap: 7px; }
.service-card__list li {
  font-size: 13px; color: var(--gray-600);
  display: flex; align-items: flex-start; gap: 8px;
}
.service-card__list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Segments row */
.segments-row {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px;
}
.segment-tag {
  background: var(--navy); color: var(--white);
  border-radius: 100px; padding: 9px 20px;
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.segment-tag:hover { background: var(--navy-light); }
.segment-tag--outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--gray-100);
}
.segment-tag--outline:hover { border-color: var(--navy); }

/* ══════════════════════════════
   ПРЕИМУЩЕСТВА
══════════════════════════════ */
.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.adv-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 28px;
  transition: background .2s;
}
.adv-card:hover { background: rgba(255,255,255,.08); }
.adv-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(212,168,67,.15); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.adv-card__icon svg { color: var(--gold); }
.adv-card__title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.adv-card__desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ══════════════════════════════
   КАК МЫ РАБОТАЕМ
══════════════════════════════ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute; top: 26px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 0;
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.process-step__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold);
  color: var(--gold); font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.process-step__title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.process-step__desc { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ══════════════════════════════
   КЛИЕНТЫ
══════════════════════════════ */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.client-card {
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.client-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.client-card__since { font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; }
.client-card__name { font-size: 16px; font-weight: 700; }
.client-card__desc { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ══════════════════════════════
   ОТЗЫВЫ
══════════════════════════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.review-card {
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 28px;
}
.review-stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.review-text { font-size: 15px; color: var(--gray-600); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; }
.review-role { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* ══════════════════════════════
   FAQ
══════════════════════════════ */
.faq-list { margin-top: 48px; border-top: 1px solid var(--gray-100); }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text);
  transition: color .15s;
}
.faq-q:hover { color: var(--navy-light); }
.faq-q svg { flex-shrink: 0; transition: transform .25s; color: var(--gold); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 22px; font-size: 15px; color: var(--gray-600); line-height: 1.75; max-width: 720px; }
.faq-item.open .faq-a { display: block; }

/* ══════════════════════════════
   CTA
══════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1F4080 100%);
  padding: 80px 0; text-align: center;
}
.cta-section h2 { font-size: 38px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 36px; }
.cta-section .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════
   CONTACTS
══════════════════════════════ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 48px; }
.contact-list { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
}
.contact-item__icon svg { color: var(--gold); }
.contact-item__label { font-size: 12px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-item__val { font-size: 16px; font-weight: 700; color: var(--text); }
.contact-item__val a { color: var(--text); }
.contact-item__val a:hover { color: var(--navy-light); }
.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  transition: opacity .15s;
}
.social-btn:hover { opacity: .85; }
.social-btn--tg { background: #2AABEE; color: var(--white); }
.social-btn--wa { background: #25D366; color: var(--white); }
.map-placeholder {
  background: var(--gray-100); border-radius: var(--radius-lg);
  height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--gray-400); font-size: 14px;
}
.map-placeholder svg { color: var(--gray-400); width: 36px; height: 36px; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 56px 0 32px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand .logo { margin-bottom: 14px; }
.footer__desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer__req { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,.4); }
.footer__col h4 {
  color: var(--white); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .15s; }
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 10px;
}
.footer__legal { color: rgba(255,255,255,.35); }

/* ══════════════════════════════
   MOBILE MENU
══════════════════════════════ */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 28px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav a:last-child { border-bottom: none; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .form-card { max-width: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 64px 0 56px; }
  .hero__title { font-size: 36px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .services-grid, .advantages-grid, .clients-grid, .reviews-grid,
  .contacts-grid, .process-steps { grid-template-columns: 1fr; }
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta-section h2 { font-size: 28px; }
}
