/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #FFFFFF;
  color: #1A1A1A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 90px 0;
}

.section__heading {
  text-align: center;
  margin-bottom: 56px;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1A1A1A;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
}

.section__line {
  width: 60px;
  height: 3px;
  background: #F5B041;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  gap: 8px;
}

.btn--primary {
  background: #F5B041;
  color: #1A1A1A;
  border-color: #F5B041;
}

.btn--primary:hover {
  background: #e09e2e;
  border-color: #e09e2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 176, 65, 0.35);
}

.btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: #1A1A1A;
  border-color: #1A1A1A;
}

.btn--outline:hover {
  background: #1A1A1A;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

.btn--full {
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo__icon {
  flex-shrink: 0;
  display: block;
}

.logo__text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.375rem;
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -0.5px;
  user-select: none;
}

.logo__icon {
  font-size: 1.5rem;
  color: #F5B041;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1A1A1A;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5B041;
  transition: width 0.25s ease;
}

.nav__link:hover {
  color: #F5B041;
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  font-weight: 700;
  font-size: 1.0625rem;
  color: #1A1A1A;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header__phone:hover {
  color: #F5B041;
}

/* ===== BURGER ===== */
.burger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #1A1A1A;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger span:nth-child(3) {
  bottom: 0;
}

.burger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/hero/hero.jpg') center/cover no-repeat;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 176, 65, 0.12), transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F5B041;
  background: rgba(245, 176, 65, 0.1);
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(245, 176, 65, 0.2);
}

.hero__title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
}

.hero__stat {
  text-align: left;
}

.hero__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #F5B041;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* ===== MATERIALS ===== */
.materials {
  background: #FFFFFF;
}

.materials__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.material-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.material-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: #F5B041;
}

.material-card__preview {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.material-card__svg {
  width: 56px;
  height: 56px;
  opacity: 0.85;
}

.material-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.material-card__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.material-card__body p {
  font-size: 0.8125rem;
  color: #6B7280;
  flex: 1;
  line-height: 1.5;
  margin-bottom: 12px;
}

.material-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F5B041;
}

/* ===== CALCULATOR ===== */
.calculator {
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

.calc__wrapper {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  max-width: 800px;
  margin: 0 auto;
}

.calc__step {
  display: none;
}

.calc__step--active {
  display: block;
}

.calc__step-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 24px;
}

.calc__materials {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.calc__mat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  background: #FFFFFF;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.calc__mat-btn:hover {
  border-color: #F5B041;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245, 176, 65, 0.15);
}

.calc__mat-btn.calc__mat-btn--active {
  border-color: #F5B041;
  background: rgba(245, 176, 65, 0.05);
  box-shadow: 0 4px 16px rgba(245, 176, 65, 0.2);
}

.calc__mat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: block;
}

.calc__mat-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1A1A1A;
}

.calc__mat-price {
  font-size: 0.75rem;
  font-weight: 500;
  color: #F5B041;
}

.calc__selected {
  font-size: 1rem;
  color: #6B7280;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #F3F4F6;
  border-radius: 10px;
}

.calc__selected strong {
  color: #1A1A1A;
}

.calc__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.calc__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1A1A;
}

.calc__input,
.calc__select {
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #1A1A1A;
  background: #F9FAFB;
  outline: none;
  transition: border-color 0.3s ease;
}

.calc__input:focus,
.calc__select:focus {
  border-color: #F5B041;
  background: #FFFFFF;
}

.calc__select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%236B7280'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.calc__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #1A1A1A;
  border-radius: 16px;
  margin-bottom: 24px;
}

.calc__total-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.calc__total-price {
  font-size: 2rem;
  font-weight: 800;
  color: #F5B041;
}

.calc__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ===== GALLERY ===== */
.gallery {
  background: #FFFFFF;
  overflow: hidden;
}

.gallery__wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.gallery__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: #F5B041 #E5E7EB;
  flex: 1;
}

.gallery__track::-webkit-scrollbar {
  height: 6px;
}

.gallery__track::-webkit-scrollbar-track {
  background: #E5E7EB;
  border-radius: 3px;
}

.gallery__track::-webkit-scrollbar-thumb {
  background: #F5B041;
  border-radius: 3px;
}

.gallery__card {
  min-width: 280px;
  height: 220px;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.gallery__card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery__label {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9375rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F5B041;
  color: #1A1A1A;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(245, 176, 65, 0.3);
  user-select: none;
}

.gallery__arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(245, 176, 65, 0.4);
}

.gallery__arrow:disabled,
.gallery__arrow--disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox__card {
  width: 400px;
  height: 300px;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lightbox__card .gallery__label {
  font-size: 1.125rem;
  font-weight: 700;
}

/* ===== CONTACTS ===== */
.contacts {
  background: #FFFFFF;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contacts__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contacts__phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A1A;
  transition: color 0.2s ease;
}

.contacts__phone:hover {
  color: #F5B041;
}

.contacts__email {
  font-size: 1rem;
  font-weight: 500;
  color: #6B7280;
  transition: color 0.2s ease;
}

.contacts__email:hover {
  color: #1A1A1A;
}

.contacts__text {
  font-size: 1rem;
  color: #4B5563;
}

.contacts__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  color: #FFFFFF;
}

.social-btn--wa {
  background: #25D366;
}

.social-btn--wa:hover {
  background: #1ebc57;
  transform: translateY(-2px);
}

.social-btn--tg {
  background: #0088cc;
}

.social-btn--tg:hover {
  background: #0077b5;
  transform: translateY(-2px);
}

.contacts__form {
  background: #F3F4F6;
  border-radius: 24px;
  padding: 32px;
}

.contacts__form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
}

/* ===== FORM ===== */
.form__input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-size: 1rem;
  color: #1A1A1A;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  margin-bottom: 12px;
}

.form__input::placeholder {
  color: #9CA3AF;
}

.form__input:focus {
  border-color: #F5B041;
  background: #FFFFFF;
}

.form__textarea {
  resize: vertical;
  min-height: 80px;
}

.form__policy {
  font-size: 0.75rem;
  color: #9CA3AF;
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}

/* ===== MAP ===== */
.map {
  padding: 0 0 60px;
  background: #FFFFFF;
}

.map__link {
  display: block;
  text-decoration: none;
}

.map__placeholder {
  width: 100%;
  height: 260px;
  border-radius: 20px;
  background: linear-gradient(135deg, #E5E7EB, #F3F4F6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #6B7280;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
  border: 2px solid #E5E7EB;
}

.map__placeholder:hover {
  background: linear-gradient(135deg, #F5B041, #F7DC6F);
  color: #1A1A1A;
  border-color: #F5B041;
}

.map__icon {
  font-size: 2.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #1A1A1A;
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer__col .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo__icon {
  flex-shrink: 0;
  display: block;
}

.footer__col .logo__text {
  color: #FFFFFF;
}  margin-bottom: 12px;
  display: inline-flex;
}

.footer__col .logo__icon {
  color: #F5B041;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer__col h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #F5B041;
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== MODAL ===== */
.modal__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal__overlay.active {
  display: flex;
}

.modal__window {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: modalIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #F3F4F6;
  cursor: pointer;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  color: #6B7280;
}

.modal__close:hover {
  background: #E5E7EB;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.modal__desc {
  font-size: 0.9375rem;
  color: #6B7280;
  margin-bottom: 24px;
}

.modal__details {
  background: #F3F4F6;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.modal__details strong {
  color: #1A1A1A;
}

/* ===== TOAST ===== */
.toast__container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: #1A1A1A;
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.4s ease, toastOut 0.4s ease 3s forwards;
  min-width: 280px;
}

.toast--success {
  background: #059669;
}

.toast--error {
  background: #DC2626;
}

@keyframes toastIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ===== RESPONSIVE: 768px (Tablet) ===== */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    padding: 80px 32px 32px;
    transition: right 0.3s ease;
    gap: 20px;
    align-items: flex-start;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
  }

  .nav.active {
    right: 0;
  }

  .nav__link {
    font-size: 1rem;
  }

  .header__phone {
    display: none;
  }

  .header__actions .btn--sm {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero__stat-num {
    font-size: 1.375rem;
  }

  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 1.75rem;
  }

  .materials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc__wrapper {
    padding: 24px;
  }

  .calc__materials {
    grid-template-columns: repeat(3, 1fr);
  }

  .calc__form {
    grid-template-columns: 1fr;
  }

  .gallery__card {
    min-width: 240px;
    height: 180px;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .lightbox__card {
    width: 320px;
    height: 240px;
  }
}

/* ===== RESPONSIVE: 600px (Mobile) ===== */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section__heading {
    margin-bottom: 36px;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .section__subtitle {
    font-size: 0.9375rem;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 0.9375rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn--lg {
    width: 100%;
  }

  .hero__stats {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero__stat {
    text-align: center;
  }

  .hero__stat-num {
    font-size: 1.125rem;
  }

  .hero__stat-label {
    font-size: 0.75rem;
  }

  .materials__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .calc__wrapper {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .calc__step-title {
    font-size: 1.125rem;
  }

  .calc__materials {
    grid-template-columns: 1fr 1fr;
  }

  .calc__total {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px;
  }

  .calc__total-price {
    font-size: 1.5rem;
  }

  .calc__actions {
    flex-direction: column;
  }

  .calc__actions .btn {
    width: 100%;
  }

  .gallery__wrapper {
    gap: 8px;
  }

  .gallery__arrow {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }

  .gallery__card {
    min-width: 200px;
    height: 150px;
  }

  .contacts__form {
    padding: 24px 20px;
  }

  .contacts__phone {
    font-size: 1.25rem;
  }

  .contacts__social {
    flex-direction: column;
  }

  .social-btn {
    width: 100%;
  }

  .map__placeholder {
    height: 180px;
    font-size: 0.875rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__col .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo__icon {
  flex-shrink: 0;
  display: block;
}

    justify-content: center;
  }

  .footer__desc {
    max-width: 100%;
    margin: 0 auto;
  }

  .modal__window {
    padding: 28px 24px;
  }
}

/* ===== RESPONSIVE: 480px (Small Mobile) ===== */

/* ===== FOOTNOTE ===== */
.footnote {
  padding: 24px 0;
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
}

.footnote__text {
  font-size: 0.8125rem;
  color: #6B7280;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.star {
  color: #F5B041;
  font-weight: 700;
  font-size: 0.75em;
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.5rem;
  }

  .calc__materials {
    grid-template-columns: 1fr;
  }

  .gallery__card {
    min-width: 160px;
    height: 120px;
  }

  .gallery__label {
    font-size: 0.8125rem;
  }
}
