/* ==========================================================================
   Строительная компания «Вкомфорте» (г. Плавск)
   White / Light Theme with Vibrant Orange Accents & Tabs
   ========================================================================== */

:root {
  /* White & Light Color Palette */
  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-warm: #fff9f2;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-light: #f1f5f9;

  /* Orange Accents & Tabs */
  --accent-orange: #ff7b00;
  --accent-orange-hover: #e56b00;
  --accent-orange-active: #cc5e00;
  --accent-orange-glow: rgba(255, 123, 0, 0.28);
  --accent-orange-subtle: rgba(255, 123, 0, 0.1);
  --accent-orange-border: rgba(255, 123, 0, 0.35);

  --accent-blue: #2563eb;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --text-on-orange: #ffffff;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: rgba(255, 123, 0, 0.5);

  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --shadow-orange: 0 8px 25px rgba(255, 123, 0, 0.32);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass & Card Utilities */
.glass {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #e66800 100%);
  color: var(--text-on-orange);
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-orange-hover) 0%, #cc5900 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 123, 0, 0.42);
}

.btn--secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1.5px solid var(--border-subtle);
}

.btn--secondary:hover {
  background: #f1f5f9;
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: var(--text-main);
}

.btn--outline-light:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.badge--gold {
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange-border);
}

.badge--red {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge--green {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 9px 0;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar__location, .top-bar__contacts {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__location svg, .top-bar__contacts svg {
  color: var(--accent-orange);
}

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  font-weight: 700;
  margin-right: 12px;
}

.top-bar__phone:hover {
  color: var(--accent-orange);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-fast);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 98px;
}

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

.logo__img {
  height: 74px;
  max-width: 300px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo__img:hover {
  transform: scale(1.02);
}

.logo__img--footer {
  height: 82px;
  max-width: 320px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

/* Navigation Tabs (Вкладки меню) */
.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
}

.nav__link.active {
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  font-weight: 700;
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2.5px;
  background: var(--accent-orange);
  border-radius: 2px;
}

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

.burger {
  display: none;
  background: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 26px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section (White / Light Background with Soft Orange Accents)
   ========================================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(circle at 85% 20%, rgba(255, 123, 0, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 10% 80%, rgba(255, 123, 0, 0.06) 0%, transparent 45%),
              linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

.hero__container {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero__title .highlight {
  color: var(--accent-orange);
  background: linear-gradient(135deg, #ff7b00 0%, #e65c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item__num {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--accent-orange);
}

.stat-item__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 140px;
}

.hero-feature-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-feature-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-feature-card__header h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.hero-feature-card__header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-feature-card__badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section--alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 56px;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-orange);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card__list {
  margin-top: auto;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-card__list li {
  position: relative;
  padding-left: 18px;
}

.service-card__list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent-orange);
  font-size: 1.2rem;
  line-height: 1;
}

.service-card__link {
  font-weight: 700;
  color: var(--accent-orange);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link:hover {
  color: var(--accent-orange-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Calculator Section & ORANGE TABS (Вкладки калькулятора)
   ========================================================================== */
.calculator-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.calc-card {
  border-radius: var(--radius-lg);
  padding: 44px;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.calc-card__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

/* Orange Toggle Tabs (Оранжевые вкладки) */
.toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.toggle-btn {
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
}

/* Active Orange Tab (Активная оранжевая вкладка) */
.toggle-btn.active {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #e66800 100%);
  border-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

/* Area Slider */
.calc-range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-range-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-orange);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-medium);
  outline: none;
  cursor: pointer;
  margin: 12px 0 6px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-orange);
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Options / Packages */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-radio {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.option-radio input {
  display: none;
}

.option-radio__box {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}

.option-radio input:checked + .option-radio__box {
  border-color: var(--accent-orange);
}

.option-radio input:checked + .option-radio__box::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.option-radio:has(input:checked) {
  border-color: var(--accent-orange);
  background: var(--accent-orange-subtle);
}

.option-radio__content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.option-radio__content small {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Summary Box */
.calc-summary__box {
  background: #ffffff;
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-md);
}

.calc-summary__tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  font-weight: 800;
}

.calc-summary__total {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
}

.calc-summary__total .currency {
  color: var(--accent-orange);
}

.calc-summary__item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.calc-summary__item strong {
  color: var(--text-main);
}

.calc-summary__divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 0;
}

.calc-summary__form h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.form-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  margin-bottom: 12px;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-orange-glow);
}

.form-privacy {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 8px;
  text-align: center;
}

/* ==========================================================================
   Portfolio & ORANGE FILTER TABS (Оранжевые вкладки фильтра)
   ========================================================================== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

/* Orange Filter Tabs */
.filter-btn {
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 11px 24px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  transform: translateY(-2px);
}

/* Active Orange Filter Tab */
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #e66800 100%);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.project-card__img-wrap {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #f8fafc, #edf2f7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.project-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-orange);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(255, 123, 0, 0.3);
}

/* Illustrated Mockups */
.project-card__mockup {
  position: relative;
  width: 170px;
  height: 120px;
}

.mockup-roof {
  width: 0;
  height: 0;
  border-left: 85px solid transparent;
  border-right: 85px solid transparent;
  border-bottom: 50px solid var(--accent-orange);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.mockup-roof--barn {
  border-left: 85px solid transparent;
  border-right: 85px solid transparent;
  border-bottom: 65px solid #334155;
}

.mockup-walls {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 130px;
  height: 70px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.project-card__mockup--2 .mockup-walls {
  background: #fee2e2;
  border-color: #fca5a5;
}

.project-card__mockup--3 .mockup-walls {
  background: #f1f5f9;
}

.mockup-window {
  width: 22px;
  height: 28px;
  background: #fed7aa;
  border: 2px solid var(--accent-orange);
  margin-bottom: 12px;
}

.mockup-window--panoramic {
  width: 50px;
  height: 52px;
  background: #ffedd5;
  border: 2px solid var(--accent-orange);
}

.mockup-door {
  width: 18px;
  height: 38px;
  background: #9a3412;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.project-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.project-card__area {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-orange-border);
}

.project-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.project-card__specs strong {
  color: var(--text-main);
}

.project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.project-card__price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent-orange);
}

/* ==========================================================================
   Advantages & Process
   ========================================================================== */
.advantages {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.adv-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.adv-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.adv-card__num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(255, 123, 0, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.adv-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.adv-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.step-card__badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), #e66800);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(255, 123, 0, 0.35);
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

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

/* ==========================================================================
   Contacts Section
   ========================================================================== */
.contacts-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  border-radius: var(--radius-lg);
  padding: 48px;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.contacts-info {
  display: flex;
  flex-direction: column;
}

.contacts-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--accent-orange-subtle);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-detail-item p, .contact-detail-item a {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 600;
}

.contact-detail-item a:hover {
  color: var(--accent-orange);
}

.contacts-form-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

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

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

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__about {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 16px 0 20px;
  line-height: 1.6;
}

.footer__location-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--accent-orange);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--accent-orange);
  transform: translateX(3px);
  display: inline-block;
}

.footer__contact-item {
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.footer__contact-item strong {
  display: block;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.footer__contact-item a:hover {
  color: var(--accent-orange);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  padding: 36px;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.active .modal__dialog {
  transform: scale(1);
}

.modal__dialog--lg {
  max-width: 800px;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--transition-fast);
}

.modal__close:hover {
  background: #cbd5e1;
}

.modal__header {
  margin-bottom: 24px;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.modal__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  color: #fff;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-orange);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .services__grid, .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-card__grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-wrapper {
    grid-template-columns: 1fr;
  }
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header__inner {
    height: 84px;
  }
  .logo__img {
    height: 58px;
    max-width: 220px;
  }
  .nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform var(--transition-smooth);
  }
  .nav.active {
    transform: translateY(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }
  .services__grid, .advantages__grid, .projects-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .toggle-group {
    grid-template-columns: 1fr;
  }
  .calc-card {
    padding: 24px;
  }
  .footer__container {
    grid-template-columns: 1fr;
  }
}
