/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #f8fafc;
  --accent-color: #10b981;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --transition: all 0.3s ease;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section__title,
.feature__title {
  font-family: "Inter", Arial, sans-serif;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 2rem);
  font-weight: 700;
  text-decoration: underline;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
}

body,
p,
.section__subtitle,
.feature__text,
.service__description,
.form__label,
.form__input,
.form__radio,
.btn,
.review__text,
.footer {
  font-family: "Inter", Arial, sans-serif;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
  white-space: nowrap;
  text-align: center;
}

.btn--primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn--large {
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--border-radius-lg);
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1000;
}

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

.logo {
  /* font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.025em; */
  width: 300px;
  transform: translate(-40px, 6px);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 15px;
}

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

.nav__phone {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* Mobile drawer and overlay */
.nav__overlay {
  width: 100vw;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.nav__overlay--active {
  opacity: 1;
  visibility: visible;
}

.nav__menu {
  /* existing desktop styles remain */
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 80%;
  max-width: 320px;
  background: #ababab;
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  padding: 80px 20px 20px;
}

.mobile-nav--active {
  transform: translateX(0);
}

.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav__link,
.mobile-nav__phone {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 18px;
}

.mobile-nav__cta {
  width: 100%;
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
    z-index: 1002;
  }

  .nav__menu {
    display: none;
  }

  .nav__menu li {
    list-style: none;
  }

  .nav__menu a.nav__link,
  .nav__menu a.nav__phone,
  .nav__menu .btn {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .nav__menu {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("images/IMG_2713.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 0;
  /* margin-top: 72px; */
  position: relative;
  /* overflow: hidden; */
  /* min-height: 80vh; */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  text-align: left;
  max-width: 900px;
  margin: 0;
  position: relative;
  z-index: 2;
  padding-left: 0;
  padding-top: 6rem;
  /* margin-bottom: 50px; */
}

.hero__content h2 {
  margin-bottom: 2.5rem;
}

.hero__container {
  display: flex;
  align-items: center;
  height: 100vh;
}

.hero__title {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4rem;
  font-style: italic;
  /* text-align: center; */
  opacity: 0.8;
}

.hero__badge {
  position: absolute;
  bottom: 2.8rem;
  right: 0px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 16px 20px;
  max-width: 350px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.badge__icon {
  font-size: 18px;
  flex-shrink: 0;
}

.badge__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Hero Features */
.hero__features {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  padding: 50px 0;
  margin-top: 0;
  position: relative;
  z-index: 3;
}

.hero__features .container > span {
  color: var(--primary-color);
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  display: block;
  margin-bottom: 30px;
}

.features__grid {
  display: flex;
  /* grid-template-columns: repeat(3, 1fr); */
  align-items: stretch;
  /* border: 2px solid #60a5fa; */
  /* padding: 40px 30px; */
  /* background: rgba(40, 80, 160, 0.1);
  backdrop-filter: blur(3px); */
}

.hero__features-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature {
  width: 300px;
  text-align: center;
  padding: 32px 0 0 0;
  background: rgba(40, 80, 160, 0.18);
  transition: all 0.1s ease;
  backdrop-filter: blur(3px);
  border: none;
  transform-origin: center center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  border: 1px solid #60a5fa;
  color: #fff;
  /* Начальное состояние для анимации */
  opacity: 0;
  transform: translateY(50px);
}

.feature__icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.feature:hover .feature__image {
  transform: scale(1.05);
}

.feature__title {
  color: #fff;
  margin-bottom: 12px;
  font-size: 35px;
  font-weight: 700;
}

.feature__text {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}

/* General Section Styles */
section {
  padding: 80px 0;
}

.section__title {
  text-align: center;
  margin-bottom: 36px;
  color: var(--text-dark);
}

.section__subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 18px;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section__subtitle + p {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin: 0 auto 18px auto;
  max-width: 700px;
  line-height: 1.7;
  text-align: center;
}

.section__subtitle + p + p,
.section__subtitle + p + p + p {
  font-size: 2rem;
  color: var(--text-dark);
  margin: 0 auto 14px auto;
  max-width: 600px;
  line-height: 1.6;
  text-align: center;
}

.section__desc-strong {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
  text-align: center;
  margin: 24px auto 18px auto;
  max-width: 700px;
  line-height: 1.5;
}

/* Services Section */
.services {
  color: var(--white);
  position: relative;
  padding: 0 0 40px 0;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("images/IMG_2698.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  z-index: 1;
}

.services .container {
  position: relative;
  z-index: 2;
}

.services__grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: stretch;
}

.service__card {
  background: transparent;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 3px solid var(--primary-dark);
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  align-items: stretch;
  position: relative;
  cursor: pointer;
}

/* .service__card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(0, 0, 0, 0.3),
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  background-size: 300% 300%;
  border-radius: var(--border-radius-lg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: gradientMove 2s ease infinite;
}

.service__card:hover::before {
  opacity: 1;
} */

.service__real-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.service__card:hover .service__real-image {
  transform: scale(1.05);
}

.service__card:nth-child(1) {
  align-self: flex-start;
  margin-right: auto;
}

.service__card:nth-child(2) {
  align-self: flex-end;
  margin-left: auto;
  flex-direction: row-reverse;
}

.service__card:nth-child(3) {
  align-self: flex-start;
  margin-right: auto;
  flex-direction: row;
  max-width: 1000px;
}

.service__card:nth-child(3) .service__image {
  min-height: 300px;
}

.service__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service__image {
  flex: 1;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
}

/* Service Content */
.service__content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  filter: drop-shadow(2px 4px 6px black);
  /* background-image: url("images/bg-08.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
}

.service__content--full {
  padding: 40px;
}

.service__title {
  margin-bottom: 16px;
  color: var(--text-dark);
  font-size: 22px;
  text-transform: uppercase;
}

.services h2 {
  background-color: var(--white);
  color: var(--text-dark) !important;
  position: relative;
  z-index: 1;
}

.services .service__title {
  color: var(--white);
}

.services .section__title {
  color: var(--white);
}

.section__title {
  text-transform: uppercase;
}

.service__description {
  margin-bottom: 24px;
  color: var(--text-gray);
}

.services .service__description {
  color: var(--white);
  line-height: 1.7;
  flex: 1;
}

.service__badge {
  background: var(--accent-color);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 14px;
}

/* Animated Placeholder Images */
.planning-image {
  background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
}

.blueprint-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      90deg,
      rgba(59, 130, 246, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: blueprintMove 10s linear infinite;
}

.floating-elements {
  position: relative;
  z-index: 2;
}

.element.room {
  position: absolute;
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: var(--border-radius);
  font-size: 12px;
  font-weight: 600;
  animation: floatRoom 3s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.element.room:nth-child(1) {
  top: -40px;
  left: -20px;
  animation-delay: 0s;
}

.element.room:nth-child(2) {
  top: 10px;
  right: -30px;
  animation-delay: 1s;
}

.element.room:nth-child(3) {
  bottom: -30px;
  left: 10px;
  animation-delay: 2s;
}

.electrical-image {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
}

.electrical-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.wire {
  position: absolute;
  background: var(--primary-color);
  border-radius: 2px;
  animation: wireGlow 2s ease-in-out infinite alternate;
}

.wire-1 {
  width: 60%;
  height: 3px;
  top: 30%;
  left: 20%;
  transform: rotate(15deg);
}

.wire-2 {
  width: 40%;
  height: 3px;
  top: 60%;
  right: 25%;
  transform: rotate(-20deg);
}

.wire-3 {
  width: 50%;
  height: 3px;
  bottom: 25%;
  left: 15%;
  transform: rotate(45deg);
}

.electrical-points {
  position: relative;
  z-index: 2;
}

.point {
  position: absolute;
  font-size: 24px;
  animation: pointPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.point.outlet {
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.point.switch {
  top: 50%;
  right: 30%;
  animation-delay: 0.5s;
}

.point.socket {
  bottom: 30%;
  left: 50%;
  animation-delay: 1s;
}

/* Review Images */
.apartment-image {
  background: linear-gradient(135deg, #fef3c7 0%, #f59e0b 100%);
}

.apartment-layout {
  position: relative;
  width: 80%;
  height: 80%;
  background: rgba(245, 158, 11, 0.1);
  border: 2px dashed rgba(245, 158, 11, 0.3);
  border-radius: var(--border-radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}

.apartment-layout .room {
  background: rgba(245, 158, 11, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  animation: roomGlow 3s ease-in-out infinite alternate;
}

.apartment-layout .kitchen {
  animation-delay: 0s;
}

.apartment-layout .living {
  animation-delay: 0.5s;
}

.apartment-layout .bedroom {
  animation-delay: 1s;
}

.apartment-layout .bathroom {
  animation-delay: 1.5s;
}

.house-image {
  background: linear-gradient(135deg, #dbeafe 0%, #3b82f6 100%);
}

.house-structure {
  position: relative;
  width: 100px;
  height: 80px;
}

.house-roof {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 30px solid #dc2626;
  animation: roofShine 4s ease-in-out infinite;
}

.house-walls {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 50px;
  background: #fbbf24;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 2px;
  padding: 5px;
}

.window {
  background: #60a5fa;
  border-radius: 2px;
  animation: windowBlink 5s ease-in-out infinite;
}

.window:nth-child(2) {
  animation-delay: 1s;
}

.door {
  grid-column: 1 / -1;
  background: #8b5cf6;
  border-radius: 2px 2px 0 0;
  margin-top: 10px;
  animation: doorOpen 6s ease-in-out infinite;
}

.cafe-image {
  background: linear-gradient(135deg, #f3e8ff 0%, #8b5cf6 100%);
}

.cafe-layout {
  position: relative;
  width: 90%;
  height: 90%;
}

.table {
  position: absolute;
  font-size: 16px;
  animation: tableFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.table-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.table-2 {
  top: 20%;
  right: 20%;
  animation-delay: 1s;
}

.table-3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 2s;
}

.counter {
  position: absolute;
  bottom: 20%;
  right: 20%;
  font-size: 20px;
  animation: counterPulse 2s ease-in-out infinite;
}

.coffee-machine {
  position: absolute;
  top: 50%;
  right: 10%;
  font-size: 14px;
  animation: machineWork 4s ease-in-out infinite;
}

/* Animations */
@keyframes blueprintMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

@keyframes floatRoom {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes wireGlow {
  0% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
  }
}

@keyframes pointPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes roomGlow {
  0% {
    box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
  }
}

@keyframes roofShine {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

@keyframes windowBlink {
  0%,
  90%,
  100% {
    background: #60a5fa;
  }
  95% {
    background: #fbbf24;
  }
}

@keyframes doorOpen {
  0%,
  85%,
  100% {
    transform: scaleX(1);
  }
  90%,
  95% {
    transform: scaleX(0.8);
  }
}

@keyframes tableFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

@keyframes counterPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes machineWork {
  0%,
  70%,
  100% {
    transform: rotate(0deg);
  }
  75%,
  80% {
    transform: rotate(5deg);
  }
  85%,
  90% {
    transform: rotate(-5deg);
  }
}

/* Advantages Section */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advantages__cards {
  display: flex;
  align-items: stretch;
  /* gap: 20px; */
  /* background: none;
  position: relative;
  background-image: url("images/bg-03.jpg");
  background-size: cover;
  background-position: center;
  border: 2px solid #60a5fa;
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  background: rgba(40, 80, 160, 0.1);
  backdrop-filter: blur(3px); */
}
/* 
.advantages__cards {
  position: relative;
  background: none;
  background-image: url("images/bg-03.jpg");
  background-size: cover;
  background-position: center;
  border: 2px solid #60a5fa;
  padding: 40px 30px;
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
  */

/* .advantages__cards::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 80, 160, 0.45);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
} */

.advantage__card {
  text-align: center;
  padding: 32px 24px;
  background: rgb(57 112 223 / 82%);
  /* border-radius: var(--border-radius-lg); */
  transition: all 0.1s ease;
  backdrop-filter: blur(3px);
  border: 2px solid #60a5fa;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  flex: 1;
  opacity: 0;
  transform: translateY(50px);
  filter: drop-shadow(2px 4px 6px black);
}

.advantage__card h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.advantage__card p {
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
}

.advantage {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.advantage__icon {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 3rem;
  overflow: hidden;
}

.advantage__title {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.advantage__text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Process Section */
.process {
  background: var(--gray-50);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}

.timeline__item:nth-child(odd) {
  flex-direction: row;
}

.timeline__item:nth-child(odd) .timeline__content {
  margin-left: auto;
  text-align: right;
  padding-right: 40px;
}

.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline__item:nth-child(even) .timeline__content {
  margin-right: auto;
  text-align: left;
  padding-left: 40px;
}

.timeline__number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px var(--white);
}

.timeline__content {
  background: var(--white);
  padding: 24px 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  max-width: 300px;
}

.timeline__title {
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 18px;
}

.timeline__text {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Form Section */
.form-section {
  background: var(--white);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--gray-50);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.form__input,
.form__select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
}

.form__input:focus,
.form__select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__radio-group {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.form__radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 15px;
}

.form__radio input {
  display: none;
}

.form__radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  transition: var(--transition);
}

.form__radio input:checked + .form__radio-mark {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.form__radio input:checked + .form__radio-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

.form__submit {
  width: 100%;
  margin-top: 8px;
}

.reviews-section {
  padding: 0px 0 100px;
}

.reviews-section .swiper {
  max-width: 100%;
  margin-bottom: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  box-sizing: border-box;
}

.reviews-section .swiper-slide {
  width: 700px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-section .swiper-slide img {
  width: 100%;
  height: auto;
  max-width: 700px;
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 32px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

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

.footer__phone {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.footer__telegram {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer__telegram:hover {
  background: #0088cc;
  transform: scale(1.1);
}

.footer__telegram img {
  filter: brightness(1) invert(0);
  transition: filter 0.3s ease;
}

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

.footer__bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal__content {
  background: var(--white);
  margin: 5% auto;
  padding: 48px;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal__close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-gray);
}

.modal__close:hover {
  color: var(--text-dark);
}

.modal__title {
  margin-bottom: 32px;
  text-align: center;
  color: var(--text-dark);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .advantages__cards {
    flex-wrap: wrap;
    gap: 20px;
    padding: 35px 25px;
  }

  .advantage__card {
    padding: 28px 22px;
    min-height: 180px;
  }

  .advantage__card p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  .nav__menu {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: 80px 0 40px;
    min-height: 70vh;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__badge {
    position: static;
    margin: 30px auto 0;
    max-width: 100%;
    bottom: auto;
    right: auto;
  }

  .hero__features {
    padding: 40px 0;
  }

  .hero__features .container > span {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 20px;
  }

  section {
    padding: 60px 0;
  }
  .section__title {
    margin-bottom: 24px;
  }
  .section__subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .service__card {
    margin-bottom: 0;
  }

  .service__content {
    padding: 24px;
  }

  .timeline::before {
    display: none;
  }

  .timeline__item {
    margin-bottom: 32px;
    flex-direction: column !important;
    text-align: center;
  }

  .timeline__item .timeline__content {
    margin: 16px 0 0 0 !important;
    padding: 0 !important;
    text-align: center !important;
    max-width: 100%;
  }

  .timeline__number {
    width: 50px;
    height: 50px;
    font-size: 18px;
    box-shadow: none;
  }

  .form__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantages__cards {
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px;
  }

  .advantage__card {
    padding: 24px 20px;
    min-height: 150px;
    flex: none;
  }

  .advantage__card p {
    font-size: 16px;
  }

  .footer__content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

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

  .footer__telegram {
    width: 36px;
    height: 36px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .services__grid {
    gap: 40px;
  }

  .service__card,
  .service__card:nth-child(1),
  .service__card:nth-child(2),
  .service__card:nth-child(3) {
    flex-direction: column !important;
    align-self: stretch !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .service__image {
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0 30px;
    min-height: 60vh;
  }

  .logo {
    /* font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.025em; */
    width: 300px;
    transform: translate(-100px, 6px);
  }
  .hero__content {
    padding-top: 0;
  }

  .hero__badge {
    margin: 20px 0 0;
    padding: 14px 16px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    position: absolute;
    bottom: 0;
  }

  .hero__note {
    margin-top: 2rem;
  }

  .badge__text {
    font-size: 12px;
  }

  .hero__features .container > span {
    font-size: 25px;
    margin-bottom: 15px;
  }

  .features__grid {
    flex-direction: column;
    padding: 20px 40px;
    gap: 0px;
    background: none;
  }

  .feature {
    min-height: 100px;
    padding: 24px 16px;
  }

  .timeline__item {
    margin-bottom: 24px;
  }

  .timeline__item .timeline__content {
    padding: 20px !important;
  }

  .timeline__item:nth-child(even) .timeline__content {
    padding-left: 0;
  }

  .timeline__content {
    padding: 20px;
  }

  .modal__content {
    margin: 10% auto;
    padding: 32px 24px;
    width: 95%;
  }

  .advantages__cards {
    padding: 20px 15px;
    gap: 0px;
  }

  .advantage__card {
    padding: 20px 16px;
    min-height: 120px;
    flex: none;
  }

  .advantage__card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .service__real-image {
    position: absolute;
    object-fit: fill;
  }

  .footer__telegram {
    width: 32px;
    height: 32px;
  }
  .contact-form {
    padding: 24px 16px;
  }
  .form__grid {
    gap: 16px;
  }
  .timeline__number {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service__card,
.advantage {
  animation: fadeInUp 0.6s ease-out;
}

/* Убираем конфликтующую анимацию для элементов с GSAP */
.feature,
.advantage__card,
.reviews-swiper .swiper-slide {
  animation: none;
}

/* Smooth scrolling behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Services Note */
.services__note {
  /* text-align: center; */
  margin-top: 40px;
}

.services__note p {
  color: var(--white);
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

/* Measurement Image */
.measurement-image {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.measurement-tools {
  position: relative;
  width: 90%;
  height: 90%;
}

.laser-line {
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #ef4444;
  transform: translateY(-50%);
  animation: laserPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px #ef4444;
}

.measurement-points {
  position: relative;
  width: 100%;
  height: 100%;
}

.measure-point {
  position: absolute;
  top: 30%;
  left: 30%;
  font-size: 20px;
  animation: pointBlink 3s ease-in-out infinite;
}

.distance {
  position: absolute;
  top: 45%;
  right: 25%;
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  animation: distanceShow 4s ease-in-out infinite;
}

.angle {
  position: absolute;
  bottom: 30%;
  left: 40%;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  animation: angleRotate 5s ease-in-out infinite;
}

/* Measurement Animations */
@keyframes laserPulse {
  0%,
  100% {
    opacity: 0.7;
    box-shadow: 0 0 5px #ef4444;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px #ef4444;
  }
}

@keyframes pointBlink {
  0%,
  80%,
  100% {
    opacity: 1;
  }
  85%,
  95% {
    opacity: 0.3;
  }
}

@keyframes distanceShow {
  0%,
  60%,
  100% {
    transform: scale(1);
  }
  70%,
  80% {
    transform: scale(1.1);
  }
}

@keyframes angleRotate {
  0%,
  70%,
  100% {
    transform: rotate(0deg);
  }
  75%,
  85% {
    transform: rotate(5deg);
  }
}

@keyframes gradientMove {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.examples-section .swiper {
  /* height: 500px; */
  max-width: 100%;
  margin-bottom: 40px;
  /* padding-top: 32px; */
  padding-bottom: 32px;
  box-sizing: border-box;
}
.examples-slider-block span {
  font-size: 25px;
  font-weight: 600;
  text-decoration: underline;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.examples-slider-block h3 {
  font-size: 35px;
}

.examples-section .swiper-slide {
  width: 700px !important;
  /* height: 500px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.examples-section .swiper-slide img {
  width: 100%;
  height: auto;
  max-width: 700px;
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* === Swiper Examples Responsive === */
@media (max-width: 1024px) {
  .examples-section .swiper-slide {
    width: 500px !important;
    /* height: 350px; */
  }
  .examples-section .swiper-slide img {
    max-width: 500px;
    max-height: 350px;
  }
  .examples-section .swiper {
    /* height: 350px; */
    padding-top: 24px;
    padding-bottom: 24px;
  }

  /* Reviews responsive */
  .reviews-section .swiper-slide {
    width: 500px !important;
  }
  .reviews-section .swiper-slide img {
    max-width: 500px;
    max-height: 350px;
  }
  .reviews-section .swiper {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .examples-section .swiper-slide {
    width: 90vw !important;
    /* height: 200px; */
  }
  .examples-section .swiper-slide img {
    max-width: 100vw;
    max-height: 200px;
  }
  .examples-section .swiper {
    /* height: 200px; */
    padding-top: 12px;
    padding-bottom: 12px;
  }

  /* Reviews responsive */
  .reviews-section .swiper-slide {
    width: 90vw !important;
  }
  .reviews-section .swiper-slide img {
    max-width: 100vw;
    max-height: 200px;
  }
  .reviews-section .swiper {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .examples-slider-block h3 {
    font-size: 28px;
  }
}

.swiper-button-next,
.swiper-button-prev {
  cursor: pointer;
}

.swiper-css-mode > .swiper-wrapper {
  padding: 40px 0;
}

.why-us,
.examples-section {
  /* padding-top: 0; */
  padding-bottom: 0;
}
.why-us {
  padding-top: 0;
  position: relative;
  color: var(--white);
}

.why-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("images/IMG_2716.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  z-index: 1;
}

.why-us .container {
  position: relative;
  z-index: 2;
  padding: 30px 24px;
}

.why-us p {
  text-align: left;
  margin: 0;
}

.why-us .section__desc-strong {
  text-align: left;
  margin: 0;
}

.why-us .section__subtitle {
  margin-bottom: 10px;
  color: var(--white);
}

.why-us .section__title {
  color: var(--white);
}

.why-us p {
  color: var(--white);
}

.why-us .section__desc-strong {
  color: var(--white);
  margin: 20px 0;
  max-width: 900px;
  font-size: 3rem;
}

.why-us .advantage__card {
  background: rgba(255, 255, 255, 0.1);
  /* border: 2px solid var(--white); */
  backdrop-filter: blur(10px);
}

.why-us .advantage__card p {
  color: var(--white);
  font-size: 25px;
}

@media (max-width: 600px) {
  .why-us .section__desc-strong {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
  }
  .why-us .advantage__card p {
    font-size: 20px;
    text-align: center;
  }
}
