/* sections.css - Header, hero, advantages, process, form, coverage, faq, contacts, footer, sticky-cta */

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  transition: padding var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 15px;
  transition: padding var(--transition);
}

.header.scrolled .header__inner {
  padding: 8px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  transition: width var(--transition), height var(--transition);
}

.header.scrolled .logo__img {
  width: 40px;
  height: 40px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo__brand .logo__name {
  color: var(--color-dark);
}

.logo__brand .logo__accent {
  color: var(--color-primary);
}

.logo__tagline {
  font-size: 14px;
  font-weight: 500;
  color: #888;
  white-space: nowrap;
  margin-left: 4px;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 15px;
}

.phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.phone-hours {
  font-size: 12px;
  color: #888;
  margin-top: 3px;
  white-space: nowrap;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-dark);
  transition: color var(--transition);
}

.phone-link:hover {
  color: var(--color-primary);
}

.phone-icon {
  flex-shrink: 0;
}

.messengers {
  display: flex;
  gap: 8px;
}

.messenger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: transform var(--transition);
}

.messenger-btn:hover {
  transform: scale(1.1);
}

.messenger-btn--telegram {
  background: rgba(0, 136, 204, 0.1);
}

.messenger-btn--viber {
  background: rgba(121, 75, 147, 0.1);
}

.messenger-btn--whatsapp {
  background: rgba(37, 211, 102, 0.1);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 130px 20px 110px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  margin: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85), rgba(230, 57, 70, 0.6));
  pointer-events: none;
}

.hero__content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 44px;
  opacity: 0.95;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero__accent {
  color: var(--color-accent);
  font-weight: 700;
}

/* Hero features — glassmorphism cards with white icons */
.hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.hero__feature:hover {
  transform: translateY(-6px) scale(1.04);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.hero__feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__feature:hover .hero__feature-icon-wrap {
  transform: scale(1.1);
}

.hero__feature-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
}

.hero__feature-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.hero__cta {
  font-size: 18px;
}

.hero__shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

/* ===== STATS ===== */
.stats {
  padding: 70px 0;
  background: var(--color-bg-alt);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stats__item {
  padding: 20px;
}

.stats__number {
  display: block;
  font-size: 52px;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: -1px;
}

.stats__label {
  font-size: 14px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ===== ADVANTAGES ===== */
.advantages {
  padding: 90px 0;
  background: var(--color-bg);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* ===== PROCESS ===== */
.process {
  padding: 90px 0;
  background: var(--color-bg-alt);
}

.process__steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  z-index: 0;
  opacity: 0.3;
}

.process__step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-red);
}

.process__step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.process__step-text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ===== FORM SECTION ===== */
.form-section {
  padding: 90px 0;
  background: var(--color-bg-alt);
}

/* ===== COVERAGE ===== */
.coverage {
  padding: 90px 0;
  text-align: center;
}

.coverage__text {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.coverage__cities {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.coverage__city {
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.coverage__city:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== FAQ ===== */
.faq {
  padding: 90px 0;
  background: var(--color-bg-alt);
}

.faq__list {
  max-width: 840px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item:last-child {
  border-bottom: 0;
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: color var(--transition), background var(--transition);
}

.faq__question:hover {
  color: var(--color-primary);
  background: rgba(230, 57, 70, 0.02);
}

.faq__icon {
  font-size: 26px;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 28px;
}

.faq__item.active .faq__answer {
  max-height: 400px;
  padding-bottom: 22px;
}

.faq__answer p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== CONTACTS ===== */
.contacts {
  padding: 90px 0;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contacts__item {
  text-align: center;
  padding: 36px 28px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contacts__item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.contacts__icon {
  margin-bottom: 15px;
}

.contacts__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.contacts__link {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  transition: color var(--transition);
}

.contacts__link:hover {
  color: var(--color-primary-light);
}

.contacts__messengers {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.contacts__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contacts__msg:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: var(--shadow-md);
}

.contacts__msg--tg {
  background: #0088cc;
}

.contacts__msg--wa {
  background: #25D366;
}

.contacts__msg--vb {
  background: #7360F2;
}

.contacts__msg img {
  filter: brightness(0) invert(1);
}

.contacts__hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.contacts__hours {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.contacts__hours span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.contacts__address {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 12px;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark-deep));
  color: #fff;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
  opacity: 0.4;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.footer__logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  filter: drop-shadow(0 0 12px rgba(230, 57, 70, 0.3));
}

.footer__logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
}

.footer__logo-name {
  color: #fff;
}

.footer__logo-accent {
  color: var(--color-primary);
}

.footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer__link:hover {
  color: #fff;
  text-decoration-color: var(--color-primary);
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background var(--transition), transform var(--transition);
}

.footer__socials a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer__socials img {
  filter: brightness(0) invert(1);
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 800;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta.hidden {
  transform: translateY(100%) !important;
}

.sticky-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.sticky-cta__phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.sticky-cta__phone:hover {
  color: var(--color-primary);
}

.sticky-cta__btn {
  padding: 12px 24px;
  font-size: 16px;
}
