* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-card: #111118;
  --accent: #ff6a00;
  --accent-glow: rgba(255, 106, 0, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --font-family: 'Rajdhani', 'Montserrat', sans-serif;
  --border-radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

@media (min-width: 1600px) {
  .container {
    padding: 0 48px;
  }
}

@media (min-width: 2200px) {
  .container {
    padding: 0 80px;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(255, 106, 0, 0.15);
  backdrop-filter: blur(12px);
}

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

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

.logo__img {
  height: 40px;
  width: auto;
  display: block;
}

.logo__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav__link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.nav__link:hover,
.nav__link--active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* Hero */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 106, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

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

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 2.5vw, 48px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.3;
}

.hero__title--big {
  font-size: clamp(32px, 4vw, 72px);
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.1;
}

.hero__subtitle {
  color: #aaa;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 400;
  max-width: clamp(280px, 30vw, 500px);
  margin-top: 4px;
}

.hero__dots {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
  transition: background 0.3s;
}

.hero__dot--active {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.3) 0%, transparent 70%);
  z-index: 0;
}

.hero__sparks {
  position: absolute;
  inset: -40px;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.hero__sparks span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ff6a00;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff6a00, 0 0 12px rgba(255, 106, 0, 0.6);
  animation: sparkFloat 3s ease-in-out infinite;
}

.hero__sparks span:nth-child(1) { left: 8%; top: 10%; animation-delay: 0s; }
.hero__sparks span:nth-child(2) { left: 22%; top: 70%; animation-delay: 0.4s; animation-duration: 3.5s; animation-name: sparkFloat2; }
.hero__sparks span:nth-child(3) { left: 40%; top: 25%; animation-delay: 0.9s; animation-duration: 2.8s; }
.hero__sparks span:nth-child(4) { left: 60%; top: 85%; animation-delay: 1.3s; width: 3px; height: 3px; animation-name: sparkFloat3; }
.hero__sparks span:nth-child(5) { left: 78%; top: 15%; animation-delay: 1.7s; animation-duration: 3.2s; }
.hero__sparks span:nth-child(6) { left: 92%; top: 55%; animation-delay: 2.1s; width: 5px; height: 5px; animation-name: sparkFloat2; }
.hero__sparks span:nth-child(7) { left: 50%; top: 90%; animation-delay: 2.5s; animation-duration: 3.8s; animation-name: sparkFloat3; }
.hero__sparks span:nth-child(8) { left: 15%; top: 45%; animation-delay: 0.6s; animation-duration: 2.5s; width: 2px; height: 2px; animation-name: sparkFloat2; }
.hero__sparks span:nth-child(9) { left: 35%; top: 60%; animation-delay: 1.1s; animation-duration: 3.1s; }
.hero__sparks span:nth-child(10) { left: 70%; top: 40%; animation-delay: 1.9s; animation-duration: 2.9s; animation-name: sparkFloat3; }

@keyframes sparkFloat {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { opacity: 1; transform: translateY(-40px) translateX(10px) scale(1.2); }
  90% { opacity: 0.4; }
  100% { transform: translateY(-80px) translateX(20px) scale(0.3); opacity: 0; }
}

@keyframes sparkFloat2 {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { opacity: 1; transform: translateY(20px) translateX(-15px) scale(0.8); }
  90% { opacity: 0.3; }
  100% { transform: translateY(40px) translateX(-30px) scale(0.2); opacity: 0; }
}

@keyframes sparkFloat3 {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { opacity: 1; transform: translateY(-20px) translateX(-20px) scale(1.1); }
  90% { opacity: 0.5; }
  100% { transform: translateY(-50px) translateX(-40px) scale(0.4); opacity: 0; }
}

.hero__carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
}

.hero__img-photo {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  filter:
    drop-shadow(0 0 30px rgba(255, 106, 0, 0.4))
    drop-shadow(0 0 60px rgba(255, 106, 0, 0.25));
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__slide--active {
  opacity: 1;
  transform: scale(1);
}

.hero__dot {
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: clamp(12px, 1.4vw, 18px) clamp(24px, 3vw, 48px);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
  font-family: var(--font-family);
  font-size: clamp(12px, 1.2vw, 16px);
  width: auto;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

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

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1000px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.section:last-of-type::after {
  display: none;
}

.section__label {
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 3vw, 52px);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 60px;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}

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

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

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
}

.card--service {
  border: 1px solid var(--accent);
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.25);
  padding: 40px 24px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1600px) {
  .card--service {
    max-width: 560px;
    padding: 48px 32px;
  }
}

.card--service:hover {
  box-shadow: 0 0 40px rgba(255, 106, 0, 0.4);
  transform: translateY(-4px);
}

.card__icon {
  display: block;
  margin: 0 auto 24px;
  color: var(--accent);
}

.card__icon-img {
  display: block;
  margin: 0 auto 24px;
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card__text {
  color: var(--text-secondary);
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.6;
}

/* Portfolio */
.card--portfolio {
  border: 1px solid rgba(255, 106, 0, 0.3);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.card--portfolio:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  line-height: 0;
}

.card__image svg {
  display: block;
}

.card__caption {
  padding: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #ccc;
  border-top: 1px solid rgba(255, 106, 0, 0.15);
}

/* Advantages */
.card--advantage {
  text-align: center;
  padding: 36px 20px;
  border: 1px solid rgba(255, 106, 0, 0.2);
  transition: border-color 0.3s, transform 0.3s;
}

.card--advantage:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.2);
  transform: translateY(-4px);
}

.card--advantage .card__icon {
  margin-bottom: 16px;
}

.card--advantage .card__title {
  font-size: 14px;
  margin-bottom: 8px;
}

.card--advantage .card__text {
  font-size: 13px;
}

/* Contacts */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contacts__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts__form .btn--primary {
  width: auto;
  align-self: flex-start;
  border-radius: 8px;
}

.form__input {
  background: #111;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: var(--border-radius);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.15);
}

.form__input::placeholder {
  color: #555;
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  margin: 10px 0 14px;
  user-select: none;
}

.form__checkbox input[type="checkbox"] {
  display: none;
}

.form__checkmark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 106, 0, 0.4);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}

.form__checkbox:hover .form__checkmark {
  border-color: var(--accent);
}

.form__checkbox input[type="checkbox"]:checked + .form__checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.form__checkmark::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #0a0a0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s;
}

.form__checkbox input[type="checkbox"]:checked + .form__checkmark::after {
  opacity: 1;
}

.form__checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

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

.contacts__map {
  line-height: 0;
}

.contacts__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts__details::before {
  content: 'АДРЕС И ТЕЛЕФОН';
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
}

.contacts__address,
.contacts__phone {
  font-size: clamp(13px, 1.2vw, 17px);
  color: #ccc;
  letter-spacing: 0.5px;
}

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

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: var(--border-radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.social__link:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.2);
}

/* Footer */
.footer {
  padding: 40px 0;
}

.footer__line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
  margin-bottom: 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.footer__text {
  color: #999;
  font-size: 13px;
  margin-top: 8px;
  max-width: 480px;
  line-height: 1.7;
}

.footer__center {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

.footer__link {
  color: var(--accent);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer__company {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 106, 0, 0.12);
  text-align: center;
}

.footer__company p {
  color: #444;
  font-size: clamp(9px, 0.8vw, 11px);
  line-height: 1.5;
  margin: 1px 0;
  letter-spacing: 0.3px;
}

.footer__company p:first-child {
  color: #555;
  font-weight: 500;
  font-size: clamp(10px, 0.85vw, 12px);
  margin-bottom: 2px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 999;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-family);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

.skip-link:focus {
  top: 0;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating button */
.float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 1px;
  padding: clamp(10px, 1.2vw, 16px) clamp(16px, 1.8vw, 26px);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255, 106, 0, 0.5);
  transition: box-shadow 0.3s, transform 0.3s;
  font-family: var(--font-family);
}

.float-btn:hover {
  box-shadow: 0 6px 30px rgba(255, 106, 0, 0.7);
  transform: translateY(-2px);
}

/* FAQ */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  border: 1px solid rgba(255, 106, 0, 0.2);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq__item:hover {
  border-color: rgba(255, 106, 0, 0.4);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 20px 24px;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
}

.faq__question:hover {
  background: #1a1a24;
}

.faq__arrow {
  display: flex;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq__item--open .faq__arrow {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq__item--open .faq__answer {
  max-height: 200px;
  padding: 12px 24px 20px;
}

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

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

.gallery__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, 0.15);
  border-radius: var(--border-radius);
  transition: border-color 0.3s;
  cursor: pointer;
}

.gallery__item:hover {
  border-color: var(--accent);
}

.gallery__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  overflow: hidden;
}

.gallery__inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery__item:hover .gallery__inner img {
  transform: scale(1.05);
}

.gallery__label {
  position: relative;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(11px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff6a00;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 30px rgba(0,0,0,0.7);
  opacity: 0.85;
  text-align: center;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery__item:hover .gallery__label {
  opacity: 1;
}

/* Portfolio meta */
.card--portfolio {
  display: flex;
  flex-direction: column;
}

.card__meta {
  padding: 8px 16px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 106, 0, 0.08);
  margin-top: auto;
}

/* Phone clickable */
.contacts__phone-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.contacts__phone-link:hover {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 4px;
  cursor: pointer;
  padding: 6px;
  gap: 5px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--active span:nth-child(2) {
  opacity: 0;
}

.hamburger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__link {
    font-size: 11px;
    letter-spacing: 1px;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
    padding: 16px 24px 24px;
    gap: 0;
    z-index: 99;
    display: none;
  }

  .nav--open {
    display: flex;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 106, 0, 0.08);
    font-size: 14px;
    letter-spacing: 1.5px;
  }

  .nav__link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__image {
    order: -1;
  }

  .hero__carousel {
    max-width: 280px;
  }

  .section__title {
    margin-bottom: 40px;
  }

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

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

  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts__form .btn--primary {
    width: 100%;
  }

  .contacts__map iframe {
    height: 180px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer__center {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer__right {
    justify-content: center;
  }

  .footer__text {
    margin: 8px auto 0;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero__carousel {
    max-width: 220px;
  }

  .btn {
    padding: 12px 24px;
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .section__title {
    margin-bottom: 32px;
  }

  .container {
    padding: 0 16px;
  }

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

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

  .faq__question {
    padding: 16px;
  }

  .float-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
  }

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

  .card--service {
    padding: 28px 16px;
  }

  .card--advantage {
    padding: 24px 16px;
  }

  .card--portfolio .card__image img {
    height: 160px !important;
  }

  .footer__center {
    flex-direction: column;
    gap: 12px;
  }
}
