/*
Theme Name: Web Promo Consulting Executive
Theme URI: https://webpromo-consulting.com
Author: Web Promo Consulting Team
Description: Преміальний дизайн студійного рівня з динамічним освітленням та fluid-інтерактивністю.
Version: 2.0.0
*/

:root {
  --color-bg-base: #030712;
  --color-surface: rgba(10, 16, 32, 0.75);
  --color-surface-hover: rgba(17, 27, 53, 0.85);
  --color-border: rgba(96, 165, 250, 0.12);
  --color-border-gold: rgba(245, 158, 11, 0.35);

  --blue-glow: #2563eb;
  --blue-electric: #38bdf8;
  --gold-primary: #d97706;
  --gold-bright: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.25);

  --text-pure: #ffffff;
  --text-lead: #e2e8f0;
  --text-muted: #94a3b8;

  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --ease-elastic: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-base);
  color: var(--text-lead);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* 1. ЖИВИЙ РІДКИЙ ФОН З РЕАКЦІЄЮ НА СКРОЛ */
.ambient-scene {
  position: fixed;
  inset: -15%;
  width: 130vw;
  height: 130vh;
  z-index: -2;
  overflow: hidden;
  background: #02050e;
  pointer-events: none;
  will-change: transform;
}

/* Динамічний градієнтний перелив */
.ambient-mesh {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(29, 78, 216, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(217, 119, 6, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.95) 0%, transparent 80%);
  filter: blur(80px);
  transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
  will-change: transform, filter;
}

/* Велика синя неонова куля */
.blob-1 {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(30, 64, 175, 0.1) 65%, transparent 80%);
  border-radius: 50%;
  filter: blur(120px);
  top: -100px;
  left: -150px;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* Велика золота куля (рухається в протилежний бік при скролі) */
.blob-2 {
  position: absolute;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(180, 83, 9, 0.1) 60%, transparent 75%);
  border-radius: 50%;
  filter: blur(130px);
  bottom: 0px;
  right: -100px;
  will-change: transform;
  transition: transform 0.18s ease-out;
}

/* Центральна сполучна блакитна аврора */
.blob-3 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(2, 132, 199, 0.05) 70%, transparent 80%);
  border-radius: 50%;
  filter: blur(110px);
  top: 35%;
  left: 30%;
  will-change: transform;
  transition: transform 0.25s ease-out;
}

/* Шумовий шар проти пластикового вигляду */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Інтерактивний ліхтарик курсору */
.spotlight-cursor {
  position: fixed;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.09), rgba(251, 191, 36, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
}

.container {
  width: 90%;
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Хедер */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1.1rem 0;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e40af, #b45309);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-name span {
  background: linear-gradient(135deg, #38bdf8, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-link:hover {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #fbbf24);
  transition: width 0.3s var(--ease-elastic);
}

.nav-link:hover::after {
  width: 100%;
}

.actions-group {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

/* 2. ПЛАВНИЙ РІДКИЙ ПЕРЕМИКАЧ МОВ (Fluid Sliding Pill) */
.lang-switcher-wrap {
  position: relative;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 4px;
  display: flex;
  width: 100px;
  height: 38px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.lang-glider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 44px;
  height: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1d4ed8, #b45309);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
  transition: transform 0.4s var(--ease-elastic);
  z-index: 1;
}

.lang-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  color: #ffffff;
}

/* Рух каретки вправо при виборі EN */
.lang-switcher-wrap.is-en .lang-glider {
  transform: translateX(48px);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1.8rem;
  border-radius: 35px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.35s var(--ease-elastic);
  cursor: pointer;
}

.btn-luxury {
  background: linear-gradient(135deg, #1e3a8a 0%, #b45309 100%);
  color: #ffffff;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 22px rgba(37, 99, 235, 0.35);
}

.btn-luxury:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
  border-color: var(--gold-bright);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

/* HERO */
.hero-section {
  padding: 10rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 40px;
  font-size: 0.85rem;
  color: #38bdf8;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 10px #fbbf24;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -1.8px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #93c5fd 40%, #fbbf24 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 740px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

/* Секція показників */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
  background: rgba(10, 16, 32, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.metric-card h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ЗАГАЛЬНІ СТИЛІ СЕКЦІЙ */
section {
  padding: 7rem 0;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

.center-head {
  text-align: center;
  margin: 0 auto 5rem;
}

.center-head .section-lead {
  margin: 0 auto;
}

/* 3. НАПРЯМКИ ДІЯЛЬНОСТІ (Складні Glass-картки) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3rem 2.2rem;
  transition: all 0.4s var(--ease-elastic);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #fbbf24);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-gold);
  background: var(--color-surface-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(37, 99, 235, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(30, 64, 175, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.service-deliverables {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.2rem;
}

.service-deliverables li {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.6rem;
}

.service-deliverables li::before {
  content: '▸';
  color: #fbbf24;
  font-weight: 700;
}

/* 4. БЛОК «ЧОМУ ОБИРАЮТЬ НАС?» (WHY CHOOSE US) */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.why-col-main {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-col-aside {
  grid-column: span 5;
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.25), rgba(180, 83, 9, 0.15));
  border: 1px solid var(--color-border-gold);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
}

.why-feature-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  transition: 0.3s;
}

.why-feature-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateX(6px);
}

.why-feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-feature-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.aside-guarantee-box h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1.2rem;
}

.aside-guarantee-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #fbbf24;
  border-radius: 14px;
}

.sla-badge strong {
  font-size: 1.4rem;
  color: #fbbf24;
}

.sla-badge span {
  font-size: 0.8rem;
  color: var(--text-lead);
  text-transform: uppercase;
}

/* 5. КЕЙСИ (Повноформатна інженерна аналітика без пустих віконець) */
.cases-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.case-brick {
  background: rgba(10, 16, 32, 0.75);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 3.5rem;
  backdrop-filter: blur(16px);
  transition: all 0.6s var(--ease-elastic);
  position: relative;
  overflow: hidden;
}

.case-brick::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue-electric), var(--gold-bright));
  opacity: 0.6;
}

.case-brick:hover {
  border-color: var(--color-border-gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.12);
}

.case-header {
  margin-bottom: 2rem;
}

.case-sector {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-bright);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.6rem;
}

.case-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #fff;
  line-height: 1.25;
}

.case-body-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.case-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.narrative-block h5 {
  color: var(--blue-electric);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.narrative-block p {
  color: var(--text-lead);
  font-size: 0.98rem;
  line-height: 1.8;
}

.case-specs {
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-specs h5 {
  font-size: 0.85rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #e2e8f0;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.metric-pill h4 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  color: var(--blue-electric);
}

.metric-pill span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .case-body-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 6. ФОРМА КОНТАКТІВ */
.contact-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 4.5rem;
  backdrop-filter: blur(20px);
}

.contact-meta h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.contact-meta p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-lead);
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.input-luxury {
  width: 100%;
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.input-luxury:focus {
  outline: none;
  border-color: #fbbf24;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

/* Футер */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Адаптивність */
@media (max-width: 1024px) {
  .why-col-main, .why-col-aside {
    grid-column: span 12;
  }
  .case-brick {
    grid-template-columns: 1fr;
  }
  .contact-card-wrap {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .nav-menu {
    display: none;
  }
}