/* ==========================================================================
   OLALEXTEHNO — Executive Corporate Website Stylesheet
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-alt: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-color: #1e3a8a;
  --accent-dark: #0a1d33;
  --accent-navy: #0f2942;
  --accent-gold: #c59b27;
  --accent-gold-light: #e5c158;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(15, 41, 66, 0.05);
  --shadow-md: 0 12px 32px -8px rgba(15, 41, 66, 0.1), 0 4px 12px rgba(15, 41, 66, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10, 29, 51, 0.18);
  --radius-md: 12px;
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header - Lunar Cosmic Light Edition (Светлый космический стиль)
   ========================================================================== */
.cosmic-light-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Полупрозрачное лунное стекло */
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 
    0 4px 30px rgba(15, 23, 42, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: all 0.3s ease;
}

/* Световая линия полярного сияния (Solar Aurora) вверху хедера */
.header-aurora-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(
    90deg, 
    rgba(56, 189, 248, 0.7) 0%, 
    rgba(129, 140, 248, 0.8) 35%, 
    rgba(229, 193, 88, 1) 70%, 
    rgba(245, 158, 11, 0.9) 100%
  );
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.5);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 8px 0;
}

/* 1. Брендовая зона */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}

.brand-link:hover {
  opacity: 0.92;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #ffffff 40%, #f8fafc 100%);
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 
    0 4px 12px rgba(15, 23, 42, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.site-logo {
  max-height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  padding-left: 18px;
  position: relative;
}

/* Орбитальный градиентный разделитель */
.brand-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, #cbd5e1 50%, transparent 100%);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.15;
  background: linear-gradient(180deg, #091322 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

/* 2. Навигация в стиле орбитальных капсул */
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(241, 245, 249, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #475569;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Эффект невесомости и свечения при наведении на ссылку */
.nav-link:hover,
.nav-link:focus {
  color: #020817;
  background: #ffffff;
  box-shadow: 
    0 4px 14px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(229, 193, 88, 0.35);
}

.nav-link::after {
  display: none; /* Убираем старую статичную полоску */
}

/* 3. Кнопка вызова: Темный космический визор с солнечным импульсом */
.nav-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: linear-gradient(145deg, #071324 0%, #030812 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(229, 193, 88, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-phone-cta:hover,
.nav-phone-cta:focus {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #0b1e38 0%, #050f1f 100%);
  border-color: #ffd866;
  box-shadow: 
    0 10px 25px rgba(2, 6, 23, 0.3),
    0 0 18px rgba(229, 193, 88, 0.45);
  color: #ffffff;
}

/* Пульсирующий спутниковый маячок внутри кнопки */
.phone-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffd866;
  box-shadow: 0 0 10px #ffd866;
}

.phone-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: #ffd866;
  opacity: 0.6;
  animation: beacon-pulse 2s infinite ease-out;
}

@keyframes beacon-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Мобильная адаптивность */
@media (max-width: 992px) {
  .navbar {
    min-height: 72px;
  }
  .nav-list {
    display: none; /* Для мобильных бургер-меню */
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .nav-phone-cta {
    padding: 9px 16px;
    font-size: 0.82rem;
  }
}

/* Hero Section */
.cosmic-hero {
  position: relative;
  padding: 130px 0 120px 0;
  background-color: #02040a;
  background-image: 
    radial-gradient(circle at 50% 0%, #0c1830 0%, transparent 65%),
    linear-gradient(180deg, #02040a 0%, #040916 100%);
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 193, 88, 0.2);
}

/* 1. Звездное поле (Starfield) - Живое космическое мерцание */
.space-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* Поднимаем над туманностями, чтобы они не гасили свет */
  
  /* Слой 1: Основные звезды */
  background-image: 
    radial-gradient(1.5px 1.5px at 35px 45px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 140px 190px, #ffd866, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 280px 80px, #93c5fd, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 420px 310px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 580px 160px, #fbcfe8, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 740px 240px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 910px 90px, #fde047, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 1050px 280px, #60a5fa, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 1220px 130px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 550px 380px;
  animation: stars-flicker-1 3s ease-in-out infinite alternate;
}

/* Слой 2: Дополнительные звезды с другим ритмом и координатами */
.space-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 80px 120px, #67e8f9, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 210px 260px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 340px 60px, #ffd866, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 490px 220px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 660px 340px, #a5b4fc, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 830px 170px, #ffffff, rgba(0,0,0,0)), /* Крупная яркая звезда */
    radial-gradient(1.5px 1.5px at 990px 50px, #fef08a, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 1160px 290px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 620px 420px;
  animation: stars-flicker-2 4.2s ease-in-out infinite alternate;
}

/* Анимация 1: Быстрое мерцание со вспышками */
@keyframes stars-flicker-1 {
  0% {
    opacity: 0.2;
    transform: scale(0.99);
  }
  25% {
    opacity: 0.85;
  }
  50% {
    opacity: 0.35;
  }
  75% {
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
  }
  100% {
    opacity: 0.3;
    transform: scale(1.01);
  }
}

/* Анимация 2: Плавный глубокий пульс второго созвездия */
@keyframes stars-flicker-2 {
  0% {
    opacity: 0.9;
    filter: drop-shadow(0 0 2px rgba(229, 193, 88, 0.6));
  }
  40% {
    opacity: 0.15;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.1;
  }
}

/* 2. Космические туманности (Nebulae) */
.space-nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.nebula-gold {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -50px;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.22) 0%, rgba(197, 155, 39, 0.08) 50%, transparent 75%);
}

.nebula-blue {
  width: 750px;
  height: 650px;
  bottom: -200px;
  left: -120px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.35) 0%, rgba(2, 6, 23, 0) 70%);
}

.nebula-cyan {
  width: 450px;
  height: 450px;
  top: 35%;
  left: 45%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
}

/* 3. Орбитальная планетарная дуга */
.orbital-ring {
  position: absolute;
  width: 1400px;
  height: 1400px;
  border-radius: 50%;
  top: -650px;
  left: 50%;
  transform: translateX(-50%) rotate(-12deg);
  border: 1px dashed rgba(229, 193, 88, 0.16);
  box-shadow: 
    0 0 60px rgba(96, 165, 250, 0.1),
    inset 0 0 40px rgba(229, 193, 88, 0.08);
  pointer-events: none;
  z-index: 0;
}

/* 4. Координатная координатная сетка */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(96, 165, 250, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(96, 165, 250, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

/* Космический бейдж */
.cosmic-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(7, 19, 39, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 193, 88, 0.45);
  box-shadow: 
    0 0 20px rgba(229, 193, 88, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #f7e098;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-dot-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffd866;
  box-shadow: 0 0 10px #ffd866;
}

@keyframes cosmic-radar {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(3); opacity: 0; }
}

/* Заголовок со световым звездным взрывом */
.title-wrap {
  position: relative;
  display: inline-block;
}

.star-burst {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(229, 193, 88, 0.4) 0%, rgba(96, 165, 250, 0.2) 40%, transparent 75%);
  filter: blur(25px);
  pointer-events: none;
  z-index: -1;
}

.cosmic-title {
  margin: 0;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.04;
  background: linear-gradient(180deg, #FFFFFF 30%, #BFDBFE 75%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(147, 197, 253, 0.35));
}

.cosmic-subtitle {
  margin: 16px 0 22px 0;
  font-size: 1.38rem;
  font-weight: 600;
  background: linear-gradient(90deg, #FDE047 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}

.hero-lead {
  margin: 0 0 36px 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #94a3b8;
  max-width: 540px;
}

/* Кнопки в стиле Solar Flare & Deep Glass */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 34px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cosmic-btn-solar {
  background: linear-gradient(135deg, #FFE082 0%, #D4A72C 50%, #B8860B 100%);
  color: #030814;
  border: 1px solid #FFF3C4;
}

.btn-arrow {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.cosmic-btn-solar:hover .btn-arrow {
  transform: translateX(5px);
}

.cosmic-btn-glass {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e2e8f0;
  border: 1px solid rgba(147, 197, 253, 0.3);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cosmic-btn-glass:hover {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(229, 193, 88, 0.8);
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.3);
  color: #ffffff;
}

/* Космические метрики (HUD Telemetry) */
.cosmic-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cosmic-metrics .metric-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px;
  background: rgba(8, 16, 33, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #e5c158 0%, #60a5fa 100%);
  box-shadow: 0 0 8px #e5c158;
}

.cosmic-metrics .metric-item:hover {
  background: rgba(14, 28, 56, 0.75);
  border-color: rgba(229, 193, 88, 0.45);
}

.metric-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f7e098;
  margin-bottom: 6px;
}

.metric-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.metric-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 5px;
  line-height: 1.4;
}

/* ================= 5. Правый блок: Космический модуль (Space Frame) ================= */
.hero-visual {
  position: relative;
}

.module-halo {
  position: absolute;
  inset: -25px;
  background: radial-gradient(circle at 60% 45%, rgba(229, 193, 88, 0.3) 0%, rgba(37, 99, 235, 0.35) 45%, transparent 75%);
  filter: blur(55px);
  z-index: 0;
  pointer-events: none;
}

.cosmic-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  background: rgba(5, 12, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 197, 253, 0.25);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(30, 58, 138, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.5s ease;
}

.cosmic-frame:hover {
  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(229, 193, 88, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Футуристические уголки модуля */
.frame-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #e5c158;
  z-index: 10;
  pointer-events: none;
}
.corner-tl { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.corner-br { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  background: rgba(2, 6, 17, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #cbd5e1;
}

.frame-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
}

.frame-code {
  color: #f7e098;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hero-img-Clip {
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) saturate(1.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cosmic-frame:hover .hero-img {
  transform: scale(1.04);
}

/* Парящая HUD плашка */
.cosmic-floating {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 36px 24px;
  background: rgba(3, 8, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(229, 193, 88, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.25) 0%, rgba(14, 28, 56, 0.5) 100%);
  border: 1px solid rgba(229, 193, 88, 0.5);
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.3);
  color: #ffd866;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card strong {
  display: block;
  font-size: 0.98rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
}

.hero-floating-card span {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ================= 6. Адаптивность ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cosmic-title {
    font-size: 3.2rem;
  }
  .hero-img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .cosmic-title {
    font-size: 2.3rem;
  }
  .cosmic-metrics {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

/* Sections & Swiss Editorial Header Bar */
.section {
  padding: 92px 0;
}

.section-top-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.section-index {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  flex-shrink: 0;
}

.section-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, #cbd5e1 0%, rgba(203, 213, 225, 0.25) 100%);
}

.section-loc {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.section-top-bar-dark .section-index {
  color: var(--accent-gold-light);
}

.section-top-bar-dark .section-line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.section-top-bar-dark .section-loc {
  color: rgba(226, 232, 240, 0.6);
}

h2 {
  margin: 0 0 22px 0;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #071526;
}

p {
  margin: 0 0 16px 0;
  font-size: 1.05rem;
}

/* Despre noi Section */
.about-section {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: stretch;
}

.about-text {
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.75;
  color: #0f172a;
  margin-bottom: 34px;
  padding: 20px 24px;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 10px 10px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.pillar-card:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px -10px rgba(10, 29, 51, 0.08);
}

.pillar-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 8px 11px;
  border-radius: 8px;
  line-height: 1;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover .pillar-num {
  background-color: #071526;
  color: var(--accent-gold-light);
  border-color: #071526;
}

.pillar-body h3 {
  margin: 0 0 6px 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: #071526;
}

.pillar-body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.about-photo-card {
  position: relative;
  height: 100%;
  min-height: 440px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #cbd5e1;
}

.about-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.about-photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 28px 26px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 14, 26, 0.88) 42%, rgba(5, 14, 26, 0.98) 100%);
  color: #ffffff;
}

.overlay-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.overlay-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background-color: rgba(212, 167, 44, 0.18);
  border: 1px solid rgba(229, 193, 88, 0.45);
  color: var(--accent-gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.overlay-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 240, 0.65);
}

.about-photo-overlay p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

/* Servicii Section (Architectural Bento Photo Grid — No Translate) */
.services-section {
  background-color: #f4f7fb;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-header-row h2 {
  margin: 0;
}

.section-subtitle {
  margin: 0;
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.service-card {
  grid-column: span 2;
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  box-shadow: 0 4px 16px rgba(10, 29, 51, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card-featured {
  grid-column: span 3;
}

.service-card:hover {
  border-color: #1e3a8a;
  box-shadow: 0 14px 36px -8px rgba(10, 29, 51, 0.12);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #eef2f6;
}

.service-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #071526;
  background-color: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-num {
  background-color: #071526;
  color: var(--accent-gold-light);
}

.service-category {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

.service-arrow {
  font-size: 1rem;
  font-weight: 700;
  color: #94a3b8;
  transition: color 0.25s ease;
}

.service-card:hover .service-arrow {
  color: var(--accent-gold);
}

.service-image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #071526;
}

.service-card-featured .service-image-wrap {
  height: 270px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-image {
  transform: scale(1.045);
}

.service-body {
  padding: 22px 24px 24px 24px;
  display: flex;
  align-items: center;
  flex-grow: 1;
  background-color: #ffffff;
  border-top: 2px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.service-card:hover .service-body {
  border-top-color: var(--accent-gold);
  background-color: #fcfdff;
}

.service-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.42;
  color: #071526;
}

.service-card-featured .service-title {
  font-size: 1.2rem;
}

/* ==========================================================================
   Solicitare Section (Architectural Event Request Form)
   ========================================================================== */
.request-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.request-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.request-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #071526;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.request-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 8px rgba(197, 155, 39, 0.65);
}

.request-lead {
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.request-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.request-step-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.request-step-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px -10px rgba(10, 29, 51, 0.08);
}

.request-step-card:hover .pillar-num {
  background-color: #071526;
  color: var(--accent-gold-light);
  border-color: #071526;
}

.request-direct-recipient {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #071526 0%, #0f2942 100%);
  border: 1px solid rgba(229, 193, 88, 0.35);
  color: #ffffff;
  box-shadow: 0 12px 28px -10px rgba(7, 21, 38, 0.25);
}

.recipient-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(229, 193, 88, 0.16);
  border: 1px solid rgba(229, 193, 88, 0.4);
  color: #f7e098;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.recipient-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.recipient-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #94a3b8;
}

.recipient-email {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f7e098;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s ease;
}

.recipient-email:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Правая карточка формы */
.request-form-card {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid #dbe3ee;
  box-shadow:
    0 20px 50px -14px rgba(10, 29, 51, 0.12),
    0 4px 16px rgba(10, 29, 51, 0.04);
  overflow: hidden;
}

.request-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 28px;
  background-color: #071526;
  border-bottom: 2px solid var(--accent-gold);
  color: #ffffff;
}

.request-card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.request-card-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #071526;
  background: linear-gradient(135deg, #f7e098 0%, #c59b27 100%);
  padding: 4px 10px;
  border-radius: 6px;
}

.request-card-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e2e8f0;
}

.request-card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #38bdf8;
}

.request-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.request-form {
  padding: 30px 28px 32px 28px;
}

.form-honeypot {
  display: none !important;
}

.form-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.req-star {
  color: #c59b27;
  font-weight: 800;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:hover {
  border-color: #94a3b8;
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.form-select {
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 108px;
  line-height: 1.55;
}

/* Чекбокс согласия на обработку персональных данных (Legea RM nr. 195/2024) */
.form-consent-group {
  margin-top: 4px;
  margin-bottom: 18px;
  padding: 13px 15px;
  background-color: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-consent-group:hover {
  border-color: #cbd5e1;
}

.form-consent-group:focus-within {
  background-color: #ffffff;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.form-consent-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent-color);
  cursor: pointer;
}

.form-consent-text {
  display: inline-block;
}

.form-consent-text a {
  color: var(--accent-color);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.form-consent-text a:hover {
  color: var(--accent-dark);
}

.form-footer {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.request-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #030814;
  background: linear-gradient(135deg, #f3d278 0%, #d4a72c 55%, #b88917 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  cursor: pointer;
  box-shadow:
    0 10px 25px -5px rgba(197, 155, 39, 0.42),
    inset 0 1px 1px rgba(255, 255, 255, 0.75);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.request-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 14px 30px -5px rgba(197, 155, 39, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.request-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-footnote {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.form-footnote strong {
  color: #0f172a;
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status a {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
}

.form-status-loading {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.form-status-success {
  background-color: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-status-error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ==========================================================================
   Cosmic Bento Matrix - Contact & Footer
   ========================================================================== */
.cosmic-bento-section {
  position: relative;
  background-color: #020612;
  padding: 120px 0 130px 0;
  color: #ffffff;
  overflow: hidden;
}

.relative-z {
  position: relative;
  z-index: 2;
}

/* 1. Планетарный радар и туманность */
.radar-orbit-circle {
  position: absolute;
  width: 900px;
  height: 900px;
  right: -250px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px dashed rgba(229, 193, 88, 0.14);
  box-shadow: 
    0 0 100px rgba(30, 58, 138, 0.25),
    inset 0 0 80px rgba(229, 193, 88, 0.05);
  pointer-events: none;
  z-index: 1;
}

.cosmic-dust-ambient {
  position: absolute;
  width: 600px;
  height: 600px;
  left: -150px;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(229, 193, 88, 0.1) 45%, transparent 75%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.cosmic-mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 60% 50%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
  z-index: 1;
}

.contact-hub-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-top: 30px;
}

/* 2. Левая колонка (Editorial Cosmic) */
.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(229, 193, 88, 0.07);
  border: 1px solid rgba(229, 193, 88, 0.25);
  color: #f7e098;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.beacon-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f7e098;
  box-shadow: 0 0 10px #f7e098;
  animation: beacon-blink 2s infinite ease-in-out;
}

@keyframes beacon-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.bento-title {
  margin: 0 0 20px 0;
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(180deg, #FFFFFF 25%, #CBD5E1 70%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.12));
}

.contact-lead {
  color: #94a3b8;
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 480px;
}

.contact-QuickActions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.quick-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-solar-pulse {
  background: linear-gradient(135deg, #ECC86A 0%, #C59B27 100%);
  color: #030814;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-solar-pulse:hover {
  background: linear-gradient(135deg, #f7d67f 0%, #d4a72c 100%);
}

.btn-orbit-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-orbit-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(229, 193, 88, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* 3. Правая колонка: Bento-терминал */
.bento-terminal-wrap {
  position: relative;
}

.bento-terminal {
  position: relative;
  font-style: normal;
  background: linear-gradient(170deg, rgba(9, 17, 34, 0.75) 0%, rgba(3, 7, 18, 0.9) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 24px;
  padding: 34px 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.terminal-hud-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-badge {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f7e098;
}

.contact-company {
  margin: 6px 0 0 0;
  font-size: 1.65rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

/* ================= 4. Bento Сетка 2х2 ================= */
.bento-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bento-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px;
  min-height: 125px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.bento-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.bento-item-body {
  margin-top: auto;
}

.bento-item .contact-line {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #e2e8f0;
  font-weight: 500;
}

/* Индивидуальная эстетика Bento-карточек при наведении */
.bento-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

/* Золотой интерактивный модуль телефона */
.bento-phone {
  background: linear-gradient(145deg, rgba(229, 193, 88, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(229, 193, 88, 0.2);
}
.bento-phone .bento-icon-box {
  background: rgba(229, 193, 88, 0.15);
  border-color: rgba(229, 193, 88, 0.35);
  color: #f7e098;
}
.bento-phone:hover {
  border-color: rgba(229, 193, 88, 0.55);
}

/* Лазурный модуль email */
.bento-email {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(56, 189, 248, 0.2);
}
.bento-email .bento-icon-box {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}
.bento-email:hover {
  border-color: rgba(56, 189, 248, 0.55);
}

.bento-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.bento-phone a:hover {
  color: #f7e098;
}

.bento-email a:hover {
  color: #38bdf8;
}

/* ================= 5. Космический Футер ================= */
.cosmic-bento-footer {
  position: relative;
  background: #010309;
  padding: 38px 0;
  color: #64748b;
  font-size: 0.92rem;
}

.footer-aurora-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(56, 189, 248, 0.3) 25%, 
    rgba(229, 193, 88, 0.8) 50%, 
    rgba(56, 189, 248, 0.3) 75%, 
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(229, 193, 88, 0.4);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-text {
  font-weight: 850;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-sep {
  color: #e5c158;
}

.footer-tagline {
  color: #94a3b8;
}

.footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-legal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-requisites {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
}

.footer-policy-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: #e5c158;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-policy-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Pagina Politica de confidențialitate (Legea RM nr. 195/2024)
   ========================================================================== */
.legal-page-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 64px 0 88px 0;
  min-height: calc(100vh - 220px);
}

.legal-doc-card {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.legal-doc-header {
  padding: 36px 42px 30px 42px;
  background: linear-gradient(135deg, #071526 0%, #0f2942 100%);
  border-bottom: 2px solid var(--accent-gold);
  color: #ffffff;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.2s ease;
}

.legal-back-link:hover {
  color: var(--accent-gold-light);
}

.legal-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(229, 193, 88, 0.14);
  border: 1px solid rgba(229, 193, 88, 0.38);
  color: #f7e098;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.legal-title {
  margin: 0 0 12px 0;
  font-size: 2.25rem;
  font-weight: 850;
  line-height: 1.2;
  color: #ffffff;
}

.legal-subtitle {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.legal-doc-body {
  padding: 38px 42px 44px 42px;
}

.legal-block {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-block h2 {
  margin: 0 0 14px 0;
  font-size: 1.28rem;
  font-weight: 800;
  color: #071526;
}

.legal-block p {
  margin: 0 0 12px 0;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 10px 0 14px 0;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-list li {
  margin-bottom: 8px;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-requisites-list {
  list-style: none;
  padding: 18px 22px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent-gold);
  border-radius: 10px;
}

/* ================= 6. Адаптивность ================= */
@media (max-width: 1024px) {
  .contact-hub-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .bento-title {
    font-size: 2.5rem;
  }
  .bento-contact-grid {
    grid-template-columns: 1fr; /* На смартфонах в один ряд */
  }
  .bento-terminal {
    padding: 24px 18px;
  }
  .contact-QuickActions {
    flex-direction: column;
  }
  .quick-action-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .footer-top-row,
  .footer-legal-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 6px;
  }
  .footer-sep {
    display: none;
  }
  .legal-doc-header {
    padding: 26px 20px 22px 20px;
  }
  .legal-title {
    font-size: 1.65rem;
  }
  .legal-doc-body {
    padding: 24px 20px 28px 20px;
  }
}

/* Tablet Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .request-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .service-card,
  .service-card-featured {
    grid-column: span 3;
  }
}

/* Smartphone Responsive */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 130px;
  }

  .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .brand-link {
    justify-content: center;
  }

  .site-logo {
    max-height: 44px;
  }

  .site-nav {
    flex-direction: column;
    gap: 8px;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .nav-link {
    padding: 7px 11px;
    font-size: 0.86rem;
  }

  .nav-phone-cta {
    justify-content: center;
    width: 100%;
    padding: 9px 16px;
  }

  .hero-section {
    padding: 44px 0 56px 0;
  }

  h1 {
    font-size: 2.15rem;
  }

  .subtitle {
    font-size: 1.12rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-img {
    height: 250px;
  }

  .section {
    padding: 56px 0;
  }

  h2 {
    font-size: 1.75rem;
  }

  .about-photo-card,
  .about-img {
    min-height: 300px;
    height: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card,
  .service-card-featured {
    grid-column: span 1;
  }

  .service-image-wrap,
  .service-card-featured .service-image-wrap {
    height: 210px;
  }

  .form-row-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .request-card-header {
    padding: 14px 20px;
  }

  .request-form {
    padding: 22px 18px 24px 18px;
  }

  .contact-card {
    padding: 24px 18px;
  }

  .contact-card a {
    display: inline-block;
    padding: 4px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 4px;
  }

  .footer-sep {
    display: none;
  }
}