/* ===== АТГ Сервіс Буд — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #F59E0B;
  --primary-dark: #D97706;
  --primary-light: #FBBF24;
  --secondary: #1E3A5F;
  --bg-dark: #0F172A;
  --bg-card: #1E293B;
  --bg-card-glass: rgba(30, 41, 59, 0.8);
  --bg-hero-overlay: rgba(15, 23, 42, 0.75);
  --text-primary: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dark: #CBD5E1;
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(245, 158, 11, 0.4);
  --success: #10B981;
  --danger: #EF4444;
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 40px rgba(245, 158, 11, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
  --header-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

/* === HEADER (Sticky) === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.header-logo-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-schedule {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-schedule svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

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

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

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

.messenger-icon svg {
  width: 20px;
  height: 20px;
}

.messenger-icon.viber {
  background: rgba(124, 77, 255, 0.15);
  color: #7C4DFF;
}

.messenger-icon.viber:hover {
  background: #7C4DFF;
  color: white;
}

.messenger-icon.telegram {
  background: rgba(0, 136, 204, 0.15);
  color: #0088CC;
}

.messenger-icon.telegram:hover {
  background: #0088CC;
  color: white;
}

.messenger-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.messenger-icon.whatsapp:hover {
  background: #25D366;
  color: white;
}

/* --- CTA Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0F172A;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
  color: #0F172A;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #0F172A;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  }

  50% {
    box-shadow: 0 4px 30px rgba(245, 158, 11, 0.6);
  }
}

/* --- Mobile Menu Button --- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* --- Hero Marquee Running Text --- */
.hero-marquee-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  transform: rotate(-12deg) scale(1.3);
  transform-origin: center center;
}

.hero-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
}

.hero-marquee-track span {
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 900;
  color: rgba(245, 158, 11, 0.04);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 60px;
  flex-shrink: 0;
  user-select: none;
}

.hero-marquee-track-2 {
  animation-direction: reverse;
  animation-duration: 45s;
}

.hero-marquee-track-3 {
  animation-duration: 55s;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Form */
.hero-form-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.hero-form-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-form-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.form-trust svg {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-img .service-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #0F172A;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card-body {
  padding: 24px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 4px 0;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* === CALCULATORS SECTION === */
.calculators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.calc-card {
  padding: 40px;
}

.calc-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.calc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calc-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.calc-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.calc-card h3+p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.calc-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.calc-result {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.calc-result-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-result-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.calc-result-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.calc-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* === ADVANTAGES SECTION === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 40px 24px;
}

.advantage-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.advantage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === CATALOG SECTION === */
.catalog-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline-start: 20px;
  scrollbar-width: none;
  /* Firefox */
}

.catalog-table-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}

.catalog-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.catalog-table thead {
  background: rgba(245, 158, 11, 0.1);
}

.catalog-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  scroll-snap-align: start;
}

.catalog-table th:nth-child(1) {
  width: 35%;
  min-width: 200px;
}

.catalog-table th:nth-child(2) {
  width: 45%;
  min-width: 250px;
}

.catalog-table th:nth-child(3) {
  width: 20%;
  min-width: 150px;
}

.catalog-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-dark);
  scroll-snap-align: start;
}

.catalog-table tbody tr:hover {
  background: rgba(245, 158, 11, 0.05);
}

.catalog-table .price {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

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

.catalog-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}

.catalog-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catalog-gallery-item:hover img {
  transform: scale(1.05);
}

/* === HOW WE WORK SECTION === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #0F172A;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === SOCIAL PROOF SECTION === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 32px;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  fill: var(--primary);
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0F172A;
  font-size: 1.1rem;
}

.review-author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.review-author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Gallery */
.proof-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}

.proof-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.proof-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.proof-gallery-item:hover img {
  transform: scale(1.06);
}

/* === GALLERY SECTION === */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 12px 24px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-tab:hover {
  background: rgba(245, 158, 11, 0.1);
  color: var(--text-primary);
  border-color: rgba(245, 158, 11, 0.3);
}

.gallery-img {
  width: 100%;
  height: 400px;
  /* Adjust height as needed */
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

.gallery-tab.active {
  background: var(--primary);
  color: #0F172A;
  border-color: var(--primary);
}

.gallery-tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.gallery-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Swiper Customization */
.gallery-slider {
  padding-bottom: 50px;
  /* space for pagination */
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gallery-slider .swiper-slide {
  height: auto;
}

.gallery-slider .placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
}

/* Custom Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
  background: rgba(15, 23, 42, 0.8);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(4px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary);
  color: #0F172A !important;
  border-color: var(--primary);
}

/* Custom Pagination */
.swiper-pagination-bullet {
  background: var(--text-muted) !important;
  opacity: 0.5 !important;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  opacity: 1 !important;
  transform: scale(1.3);
}

/* === FAQ SECTION === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  gap: 16px;
  user-select: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-logo p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contacts-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.footer-contacts-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contacts-list a {
  color: var(--text-dark);
}

.footer-contacts-list a:hover {
  color: var(--primary);
}

.footer-form .form-group {
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === FLOATING BUTTONS === */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

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

.float-btn svg {
  width: 26px;
  height: 26px;
}

.float-btn.phone-btn {
  background: var(--primary);
  color: #0F172A;
  animation: pulse-glow 2s infinite;
}

.float-btn.viber-btn {
  background: #7C4DFF;
  color: white;
  border: none;
}

.float-btn.telegram-btn {
  background: #0088CC;
  color: white;
}

.float-btn.whatsapp-btn {
  background: #25D366;
  color: white;
}

/* === BACKGROUND ACCENTS === */
.bg-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
}

.bg-accent-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.bg-accent-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -150px;
  left: -100px;
}

/* === Placeholder images (CSS-generated) === */
.placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .service-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .calculators-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-schedule {
    display: none;
  }

  .catalog-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 60px 0;
  }

  .header-info {
    display: none;
  }

  .header-contacts-mobile {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-form-card {
    padding: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalog-gallery {
    grid-template-columns: 1fr;
  }

  .proof-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 1.6rem;
  }

  .glass-card {
    padding: 24px;
  }

  .calc-card {
    padding: 24px;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .catalog-table th:nth-child(1) {
    min-width: 150px;
  }

  .catalog-table th:nth-child(2) {
    min-width: 200px;
  }

  .catalog-table th:nth-child(3) {
    min-width: 120px;
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  :root {
    --max-width: 1360px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* === MESSENGER MODAL === */
.messenger-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.messenger-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.messenger-modal-content {
  width: 90%;
  max-width: 400px;
  padding: 32px 24px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.messenger-modal-overlay.active .messenger-modal-content {
  transform: translateY(0);
}

.messenger-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.msg-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.msg-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.msg-btn.viber-select {
  background: #ffffff;
  color: #7C4DFF;
  border: 1px solid #7C4DFF;
}

.msg-btn.telegram-select {
  background: #0088CC;
}

.msg-btn.whatsapp-select {
  background: #25D366;
}