/* --- ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ --- */
:root {
  --bg-dark: #0c0e12;
  --bg-card: #141820;
  --gold: #d4a373;
  --gold-glow: rgba(212, 163, 115, 0.15);
  --text-main: #f8f9fa;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- ШАПКА САЙТА (HEADER) --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 14, 18, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo-img-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: #000;
}

.logo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  padding-right: 10px;
  display: flex;
  flex-direction: column;
}

.brand-title {
  white-space: nowrap;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

.brand-subtitle {
  white-space: nowrap;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--gold);
}

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

.phone-block {
  text-align: right;
}

/* --- КНОПКИ --- */
button {
  font-family: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, #e9edc9 0%, var(--gold) 100%);
  color: #0c0e12;
  font-weight: 700;
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 163, 115, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-card);
}

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

/* --- ГЛАВНЫЙ ЭКРАН (HERO) --- */
.hero {
  padding: 110px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(12, 14, 18, 0.88) 0%, rgba(18, 22, 31, 0.85) 100%),
              url('../img/fon.jpg') no-repeat center center;
  background-size: cover;
}

.hero-grid {
  display: block;
  max-width: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 24, 32, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

.hero-p {
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 35px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  background: rgba(12, 14, 18, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 25px;
  border: 1px solid var(--border-color);
}

.hero-feat-item h3 {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 2px;
  font-weight: 800;
}

.hero-feat-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- ОБЩИЕ СТИЛИ СЕКЦИЙ --- */
section {
  padding: 45px 0;
}

.sec-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.sec-sub {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.sec-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.sec-desc {
  color: var(--text-muted);
  font-size: 15px;
}

/* --- УСЛУГИ (SERVICES) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.service-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 15px;
  flex-grow: 0;
}

.service-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex-grow: 1;
}

.service-features li {
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.service-features li i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 12px;
}

.service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* --- ПОРТФОЛИО (ГАЛЕРЕЯ) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  justify-content: center;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

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

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

.gallery-overlay-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(12,14,18,0.95), transparent);
  padding: 25px 12px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* --- МОДАЛЬНОЕ ОКНО ПРОЕКТОВ (СЛАЙДЕР) --- */
.project-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  width: 95%;
  max-width: 900px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  max-height: 90vh;
}

.slider-wrapper {
  position: relative;
  flex: 1.5;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none;
  transition: opacity 0.3s ease;
  cursor: zoom-in;
}

.slider-img.active {
  display: block;
  animation: fadeIn 0.4s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.zoom-hint {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(12, 14, 18, 0.65);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 14, 18, 0.7);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  font-size: 18px;
}

.slider-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.project-info-pane {
  flex: 1;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--bg-card);
}

.project-info-pane h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.project-info-pane p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
}

.project-details-list {
  list-style: none;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  flex-grow: 1;
}

.project-details-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-details-list li:last-child {
  margin-bottom: 0;
}

.project-details-list li i {
  color: var(--gold);
  width: 16px;
  text-align: center;
}

.project-details-list li strong {
  color: #fff;
  font-weight: 600;
  margin-left: auto;
  text-align: right;
}

.close-project {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 20;
  transition: color 0.2s;
}

.close-project:hover {
  color: #fff;
}

#fullscreenZoomModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 13, 0.95);
  backdrop-filter: blur(10px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

#fullscreenZoomImg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.close-fullscreen {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  z-index: 3010;
  transition: color 0.2s;
}

.close-fullscreen:hover {
  color: #fff;
}

/* --- КАЛЬКУЛЯТОР --- */
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 35px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.calc-step-group {
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.calc-step-group:last-child {
  margin-bottom: 0;
}

.step-label {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-group-calc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  gap: 6px;
}

.calc-btn {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  word-break: break-word;
  white-space: normal;
}

.calc-btn.active {
  background: rgba(212, 163, 115, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

.calc-btn:hover:not(.active) {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.calc-checkbox-wrapper {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 15px;
  overflow: hidden;
}

.calc-checkbox-wrapper.active {
  border-color: var(--gold);
  background: rgba(212, 163, 115, 0.05);
}

.calc-checkbox-wrapper input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

.calc-checkbox-text strong {
  display: block;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}

.calc-checkbox-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.calc-range {
  width: 100%;
  accent-color: var(--gold);
  margin-top: 4px;
  cursor: pointer;
  height: 5px;
}

.calc-result {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.total-cost {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  margin: 10px 0;
  letter-spacing: -1px;
}

/* --- О КОМПАНИИ (FOUNDER) --- */
.founder-box {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  transition: var(--transition);
}

.founder-box:hover {
  border-color: rgba(212, 163, 115, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.founder-photo {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.founder-text {
  position: relative;
  flex-grow: 1;
}

.quote-icon {
  font-size: 40px;
  color: rgba(212, 163, 115, 0.25);
  position: absolute;
  top: -10px;
  left: -50px;
  z-index: 0;
}

.founder-text h3 {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  line-height: 1.4;
}

.founder-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.founder-sign {
  margin-top: 25px;
  border-left: 2px solid var(--gold);
  padding-left: 15px;
}

.founder-sign strong {
  display: block;
  color: var(--gold);
  font-size: 20px;
}

.founder-sign span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* --- ВИДЕО-СЛАЙДЕР --- */
.video-slider-container {
  position: relative;
  max-width: 100%;
}

.video-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 15px;
}

.video-carousel::-webkit-scrollbar {
  display: none;
}

.video-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  cursor: pointer;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.video-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.video-lazy {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}

.video-lazy > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition);
}

.video-card:hover .video-lazy > img {
  opacity: 1;
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: rgba(20, 20, 20, 0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.video-play-btn::before {
  content: '\f04b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #fff;
  font-size: 22px;
  margin-left: 4px;
}

.video-card:hover .video-play-btn {
  background-color: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card:hover .video-play-btn::before {
  color: #0c0e12;
}

.video-info {
  padding: 20px;
}

.video-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  color: #fff;
}

.video-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.carousel-arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  background: rgba(12, 14, 18, 0.9);
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  font-size: 18px;
}

.carousel-arrow:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.carousel-arrow.prev { left: -24px; }
.carousel-arrow.next { right: -24px; }

/* --- МОДАЛЬНОЕ ОКНО ВИДЕО --- */
.video-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  width: 95%;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.video-modal-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.video-modal-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-info {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.video-modal-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
}

.video-modal-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 2px 5px rgba(0,0,0,0.8);
  transition: color 0.2s;
}

.video-modal-close:hover {
  color: var(--gold);
}

/* --- СЛАЙДЕР ОТЗЫВОВ --- */
.reviews-slider-container {
  position: relative;
  max-width: 100%;
}

.reviews-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
}

.review-author h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.review-stars {
  color: #fbbf24;
  font-size: 11px;
}

.review-text {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.source-link {
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.source-link:hover {
  color: #fff;
}

/* --- FAQ --- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--gold);
}

/* --- ФОРМА ВОПРОСА --- */
.question-section {
  background: linear-gradient(135deg, #141820 0%, #0c0e12 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0;
}

.question-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.legal-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}

.legal-note a {
  color: var(--gold);
  text-decoration: underline;
  transition: var(--transition);
  cursor: pointer;
}

.legal-note a:hover {
  color: #fff;
}

/* --- КОНТАКТЫ И ФОРМЫ --- */
.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-part {
  background: var(--bg-dark);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-control {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 20px;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-dark);
}

/* --- ПОДВАЛ (FOOTER) --- */
footer {
  background: #080a0d;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
}

.footer-right a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-right a:hover {
  color: var(--gold);
}

/* --- ПЛАВАЮЩАЯ КНОПКА (FAB) --- */
.floating-call {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: var(--gold);
  color: #0c0e12;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(212, 163, 115, 0.4);
  z-index: 990;
  cursor: pointer;
  transition: var(--transition);
  animation: pulse-fab 2s infinite;
  text-decoration: none;
}

.floating-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(212, 163, 115, 0.6);
}

@keyframes pulse-fab {
  0% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(212, 163, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0); }
}

/* --- СТАНДАРТНЫЕ МОДАЛЬНЫЕ ОКНА --- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px;
  width: 90%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #fff;
}

.privacy-text-container {
  max-height: 55vh;
  overflow-y: auto;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-right: 15px;
  line-height: 1.6;
}

.privacy-text-container h4 {
  color: #fff;
  font-size: 15px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.privacy-text-container h4:first-child {
  margin-top: 0;
}

.privacy-text-container p {
  margin-bottom: 10px;
}

.privacy-text-container::-webkit-scrollbar {
  width: 6px;
}

.privacy-text-container::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: 4px;
}

.privacy-text-container::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

/* --- АДАПТИВ (МЕДИА-ЗАПРОСЫ) --- */
@media (max-width: 1024px) {
  .calc-box, .contact-card-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .carousel-arrow {
    display: none;
  }
  .review-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  nav, .phone-block {
    display: none;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .floating-call {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
  .founder-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .quote-icon {
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
  }
  .founder-sign {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 20px;
  }
  .project-modal-content {
    flex-direction: column;
    max-height: 95vh;
  }
  .slider-wrapper {
    height: 40vh;
    flex: none;
  }
  .project-info-pane {
    padding: 25px 20px;
    overflow-y: auto;
  }
  .video-card {
    flex: 0 0 85%;
  }
  .video-modal-info {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px;
  }
  .video-modal-close {
    top: 10px;
    right: 15px;
  }
  .review-card {
    flex: 0 0 85%;
  }
}
