/* ═══════════════════════════════════════════════════════════════
   TerraGlass WOW Homepage Stylesheet
   Custom design with glassmorphism, parallax, animations
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --tg-blue: #004c98;
  --tg-blue-rgb: 0, 76, 152;
  --tg-blue-dark: #003875;
  --tg-blue-deep: #07192c;
  --tg-orange: #fead37;
  --tg-orange-hover: #e59728;
  --tg-orange-glow: 0 0 24px rgba(254, 173, 55, 0.35);
  --tg-blue-glow: 0 0 24px rgba(0, 76, 152, 0.2);
  --tg-bg: #ffffff;
  --tg-bg-alt: #f7fafc;
  --tg-bg-section: #0b1d35;
  --tg-text: #1e293b;
  --tg-text-light: #64748b;
  --tg-border: #e2e8f0;
  --tg-radius: 16px;
  --tg-radius-sm: 8px;
  --tg-radius-pill: 999px;
  --tg-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --tg-shadow-md: 0 4px 12px rgba(0,30,60,0.08);
  --tg-shadow-lg: 0 12px 32px rgba(0,30,60,0.12);
  --tg-shadow-xl: 0 20px 50px rgba(0,30,60,0.18);
  --tg-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --tg-font: 'Rubik', system-ui, sans-serif;
}

/* ─── RESET & GLOBALS ──────────────────────────────────────── */
body {
  font-family: var(--tg-font) !important;
  color: var(--tg-text);
  background: var(--tg-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

* { box-sizing: border-box; }

.out { overflow-x: hidden; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tg-font);
  font-weight: 700;
  color: var(--tg-blue);
  line-height: 1.2;
}

/* ─── SCROLL PROGRESS BAR ──────────────────────────────────── */
.wow-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--tg-orange), var(--tg-blue));
  z-index: 10000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── LIGHT HEADER (always solid white) ────────────────────── */
.wow-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 1px solid var(--tg-border);
  padding: 10px 0;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 30, 60, 0.06);
}

.wow-header-solid {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 30, 60, 0.1);
}

.wow-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.wow-logo img {
  height: 46px;
  width: auto;
  transition: var(--tg-transition);
}

.wow-header-tagline {
  color: var(--tg-text-light);
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.wow-header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.wow-header-contact {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--tg-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: var(--tg-transition);
}

.wow-header-contact:hover { color: var(--tg-blue); }

.wow-header-contact svg {
  color: var(--tg-orange);
  flex-shrink: 0;
}

.wow-header-contact-email {
  font-size: 13px;
  font-weight: 600;
  color: var(--tg-text-light);
}

.wow-header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wow-nav-link {
  color: var(--tg-text) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  border-bottom: 2px solid transparent;
  transition: var(--tg-transition);
  border-radius: 6px;
}

.wow-nav-link:hover,
.wow-nav-link.active {
  color: var(--tg-blue) !important;
  border-bottom-color: var(--tg-orange);
}

.wow-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--tg-orange);
  color: var(--tg-blue-deep) !important;
  border-radius: var(--tg-radius-pill);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--tg-transition);
  box-shadow: var(--tg-orange-glow);
  flex-shrink: 0;
}

.wow-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(254, 173, 55, 0.55);
  background: var(--tg-orange-hover);
  color: var(--tg-blue-deep) !important;
}

.wow-mobile-controls { display: none; }
.wow-burger {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.wow-burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--tg-blue);
  border-radius: 2px;
  transition: var(--tg-transition);
}

/* Mobile nav menu — hidden on desktop by default */
.wow-nav-mobile {
  display: none;
}

/* ─── HERO SECTION ────────────────────────────────────────── */
.wow-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #ffffff;
}

.wow-hero-slider {
  position: relative;
  min-height: 100vh;
}

.wow-hero-slide {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.wow-hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Gradient overlay — left side for text readability */
.wow-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(7, 25, 44, 0.88) 0%,
    rgba(7, 25, 44, 0.55) 40%,
    rgba(7, 25, 44, 0.1) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.wow-hero-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
  background: linear-gradient(to top, rgba(7, 25, 44, 0.6), transparent);
  pointer-events: none;
}

.wow-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1);
  will-change: transform;
}

.wow-hero-slide.active .wow-hero-image {
  transform: scale(1.08);
  transition: transform 6s ease-out;
}

.wow-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 48px;
  margin-top: 110px;
}

.wow-hero-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.wow-hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--tg-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wow-hero-title {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 20px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.wow-hero-subtext {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 32px;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 600px;
}

.wow-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wow-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--tg-radius-pill);
  text-decoration: none;
  transition: var(--tg-transition);
  cursor: pointer;
  border: none;
}

.wow-btn-hero-primary {
  background: var(--tg-orange);
  color: var(--tg-blue-deep) !important;
  box-shadow: var(--tg-orange-glow);
}

.wow-btn-hero-primary:hover {
  background: var(--tg-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(254, 173, 55, 0.6);
  color: var(--tg-blue-deep) !important;
}

.wow-btn-hero-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.wow-btn-hero-ghost:hover {
  background: #ffffff;
  color: var(--tg-blue) !important;
  transform: translateY(-3px);
  box-shadow: var(--tg-shadow-lg);
}

/* Hero dots */
.wow-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 3;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.wow-hero-dots button {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--tg-radius-pill);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--tg-transition);
}

.wow-hero-dots button.active {
  width: 36px;
  background: var(--tg-orange);
  border-color: var(--tg-orange);
  box-shadow: var(--tg-orange-glow);
}

/* ─── DAY/NIGHT COMPARATOR ────────────────────────────────── */
.wow-comparator-section {
  padding: 80px 0;
  background: var(--tg-bg-alt);
}

.wow-comparator-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.wow-comparator-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--tg-blue), var(--tg-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wow-comparator-subtitle {
  color: var(--tg-text-light);
  font-size: 16px;
  margin-bottom: 40px;
}

.wow-comparator {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: var(--tg-shadow-xl);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
}

.wow-comparator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.wow-comparator-clip {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
}

.wow-comparator-clip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.wow-comparator-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  pointer-events: none;
}

.wow-comparator-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  pointer-events: auto;
  cursor: ew-resize;
}

.wow-comparator-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  z-index: 4;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23004c98' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='11 8 4 16 11 24'/><polyline points='21 8 28 16 21 24'/></svg>") center/contain no-repeat;
}

/* ─── SECTION COMMON ──────────────────────────────────────── */
.wow-section {
  padding: 80px 0;
}

.wow-section-dark {
  background: var(--tg-bg-section);
  color: #ffffff;
}

.wow-section-alt {
  background: var(--tg-bg-alt);
}

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

.wow-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.wow-section-title {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--tg-blue) 30%, var(--tg-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wow-section-dark .wow-section-title {
  background: linear-gradient(135deg, #ffffff 30%, var(--tg-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wow-section-desc {
  font-size: 17px;
  color: var(--tg-text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.wow-section-dark .wow-section-desc {
  color: rgba(255,255,255,0.7);
}

/* ─── SYSTEMS SECTION ─────────────────────────────────────── */
.wow-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.wow-system-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  overflow: hidden;
  box-shadow: var(--tg-shadow-md);
  transition: var(--tg-transition);
  border: 1px solid var(--tg-border);
}

.wow-system-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--tg-shadow-xl);
  border-color: rgba(254, 173, 55, 0.3);
}

.wow-system-img {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.wow-system-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.wow-system-card:hover .wow-system-img img {
  transform: scale(1.08);
}

.wow-system-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
  pointer-events: none;
}

.wow-system-body {
  padding: 28px;
}

.wow-system-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--tg-blue);
}

.wow-system-text {
  font-size: 15px;
  color: var(--tg-text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.wow-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 2px solid var(--tg-blue);
  color: var(--tg-blue) !important;
  border-radius: var(--tg-radius-pill);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--tg-transition);
}

.wow-btn-outline:hover {
  background: var(--tg-blue);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--tg-blue-glow);
}

/* ─── BENEFITS SECTION (dark) ──────────────────────────────── */
.wow-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.wow-benefit-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tg-radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--tg-transition);
}

.wow-benefit-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(254, 173, 55, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.wow-benefit-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--tg-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wow-benefit-icon svg {
  width: 100%;
  height: 100%;
}

.wow-benefit-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.wow-benefit-counter {
  font-size: 42px;
  font-weight: 900;
  color: var(--tg-orange);
  margin-bottom: 4px;
  line-height: 1;
}

.wow-benefit-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.6;
}

/* ─── PROJECTS SECTION ────────────────────────────────────── */
.wow-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.wow-project-card {
  position: relative;
  border-radius: var(--tg-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: var(--tg-shadow-md);
  transition: var(--tg-transition);
}

.wow-project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
  pointer-events: none;
  transition: var(--tg-transition);
}

.wow-project-card:hover::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0, 20, 44, 0.65) 100%);
}

.wow-project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.wow-project-card:hover img {
  transform: scale(1.06);
}

.wow-project-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--tg-transition);
}

.wow-project-label::after {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--tg-transition);
}

.wow-project-card:hover .wow-project-label::after {
  opacity: 1;
  transform: translateX(0);
}

.wow-project-card:hover {
  box-shadow: var(--tg-shadow-xl);
  transform: translateY(-4px);
}

/* Full-width project card */
.wow-project-card.wow-project-wide {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

/* ─── AUDIENCE SECTION (Combined) ──────────────────────────── */
.wow-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wow-audience-card {
  background: var(--tg-bg);
  border-radius: var(--tg-radius);
  border: 1px solid var(--tg-border);
  overflow: hidden;
  box-shadow: var(--tg-shadow-md);
  transition: var(--tg-transition);
}

.wow-audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tg-shadow-xl);
  border-color: rgba(254, 173, 55, 0.3);
}

.wow-audience-header {
  padding: 28px 28px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.wow-audience-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--tg-blue);
}

.wow-audience-icon svg {
  width: 100%;
  height: 100%;
}

.wow-audience-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--tg-blue);
}

/* Tabs */
.wow-audience-tabs {
  display: flex;
  gap: 0;
  padding: 16px 28px 0;
}

.wow-audience-tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tg-text-light);
  background: none;
  border: none;
  border-bottom: 2px solid var(--tg-border);
  cursor: pointer;
  transition: var(--tg-transition);
}

.wow-audience-tab.active {
  color: var(--tg-blue);
  border-bottom-color: var(--tg-orange);
}

.wow-audience-tab:hover {
  color: var(--tg-blue);
}

.wow-audience-content {
  padding: 0 28px 28px;
}

.wow-audience-panel {
  display: none;
}

.wow-audience-panel.active {
  display: block;
}

.wow-audience-panel p {
  font-size: 14px;
  color: var(--tg-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.wow-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--tg-text-light);
}

.wow-check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.wow-check-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 12px;
  height: 8px;
  border-left: 2.5px solid var(--tg-orange);
  border-bottom: 2.5px solid var(--tg-orange);
  transform: rotate(-45deg);
}

.wow-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tg-blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--tg-transition);
  margin-top: 12px;
}

.wow-card-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.wow-card-link:hover {
  color: var(--tg-orange);
}

.wow-card-link:hover span {
  transform: translateX(4px);
}

/* ─── LEAD FORM SECTION ────────────────────────────────────── */
.wow-lead-section {
  position: relative;
  padding: 100px 0;
  color: #ffffff;
  overflow: hidden;
}

.wow-lead-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wow-lead-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wow-lead-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 25, 44, 0.92) 0%,
    rgba(0, 56, 117, 0.85) 50%,
    rgba(7, 25, 44, 0.9) 100%
  );
  z-index: 1;
}

.wow-lead-content {
  position: relative;
  z-index: 2;
}

.wow-lead-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wow-lead-info h2 {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
}

.wow-lead-info p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.7;
}

.wow-lead-role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wow-lead-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--tg-radius-sm);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--tg-transition);
  backdrop-filter: blur(4px);
}

.wow-lead-pill:hover,
.wow-lead-pill.active {
  background: rgba(254, 173, 55, 0.2);
  border-color: var(--tg-orange);
  color: var(--tg-orange);
}

.wow-lead-pill svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Form glass card */
.wow-lead-form-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.wow-lead-form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.wow-lead-form-card .wow-form-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.wow-form-group {
  margin-bottom: 14px;
}

.wow-form-control {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--tg-radius-sm);
  color: #ffffff;
  font-size: 15px;
  font-family: var(--tg-font);
  transition: var(--tg-transition);
}

.wow-form-control::placeholder {
  color: rgba(255,255,255,0.45);
}

.wow-form-control:focus {
  outline: none;
  border-color: var(--tg-orange);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(254, 173, 55, 0.15);
}

.wow-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wow-form-submit {
  width: 100%;
  padding: 16px;
  background: var(--tg-orange);
  color: var(--tg-blue-deep) !important;
  border: none;
  border-radius: var(--tg-radius-sm);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--tg-font);
  cursor: pointer;
  transition: var(--tg-transition);
  box-shadow: var(--tg-orange-glow);
}

.wow-form-submit:hover {
  background: var(--tg-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(254, 173, 55, 0.6);
}

.wow-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 14px;
}

.wow-form-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  margin: 0;
}

.wow-form-label input {
  margin-top: 2px;
  cursor: pointer;
}

.wow-form-label a {
  color: var(--tg-orange);
  text-decoration: underline;
}

/* ─── ACTUAL FORM STYLES (new-form-* classes from af.form.homepage_new) ── */
.new-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 100%;
}

.new-form-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--tg-blue);
  margin: 0 0 6px;
  font-family: var(--tg-font);
}

.new-form-card-sub {
  font-size: 14px;
  color: var(--tg-text-light);
  margin: 0 0 22px;
}

.new-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.new-form-group {
  margin-bottom: 0;
}

.new-form-control {
  width: 100%;
  padding: 13px 15px;
  background: #f7fafc;
  border: 1.5px solid var(--tg-border);
  border-radius: 10px;
  color: var(--tg-text);
  font-size: 15px;
  font-family: var(--tg-font);
  transition: var(--tg-transition);
  box-sizing: border-box;
}

.new-form-control::placeholder { color: #94a3b8; }

.new-form-control:focus {
  outline: none;
  border-color: var(--tg-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 76, 152, 0.12);
}

.new-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.new-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--tg-text-light);
  cursor: pointer;
  margin: 0;
  max-width: 280px;
  line-height: 1.4;
}

.new-form-checkbox-label input { margin-top: 3px; cursor: pointer; }
.new-form-checkbox-label a { color: var(--tg-blue); text-decoration: underline; }

.btn-new-submit {
  padding: 14px 28px;
  background: var(--tg-orange);
  color: var(--tg-blue-deep) !important;
  border: none;
  border-radius: var(--tg-radius-pill);
  font-size: 15px;
  font-weight: 800;
  font-family: var(--tg-font);
  cursor: pointer;
  transition: var(--tg-transition);
  box-shadow: var(--tg-orange-glow);
  flex-shrink: 0;
}

.btn-new-submit:hover {
  background: var(--tg-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(254, 173, 55, 0.6);
}

/* Anti-spam hidden fields */
.new-form-card .last_name,
.new-form-card .workemail { display: none !important; }

/* Success/error alerts inside form */
.new-form-card .alert {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.new-form-card .alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}
.new-form-card .alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ─── STICKY CTA ───────────────────────────────────────────── */
.wow-sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--tg-orange);
  color: var(--tg-blue-deep) !important;
  border: none;
  border-radius: var(--tg-radius-pill);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--tg-orange-glow), var(--tg-shadow-lg);
  transition: var(--tg-transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.wow-sticky-cta-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wow-sticky-cta:hover {
  background: var(--tg-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(254, 173, 55, 0.6), var(--tg-shadow-xl);
  color: var(--tg-blue-deep) !important;
}

/* ─── FOOTER (reuse new-footer styles, minor tweaks) ─────── */
.wow-footer {
  background: var(--tg-blue);
  color: rgba(255, 255, 255, 0.82);
  padding: 32px 0 28px;
  font-size: 14px;
}

.wow-footer .container {
  max-width: 1200px;
}

.wow-footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.wow-footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.wow-footer-brand p {
  line-height: 1.6;
  margin: 0;
}

.wow-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wow-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
}

.wow-footer-contact-icon {
  color: #ffffff;
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.wow-footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wow-footer-socials {
  display: flex;
  gap: 10px;
}

.wow-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--tg-radius-pill);
  background: rgba(255,255,255,0.1);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: var(--tg-transition);
}

.wow-footer-social-link:hover {
  background: var(--tg-orange);
  color: var(--tg-blue-deep) !important;
}

.wow-footer-cta {
  display: inline-flex;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--tg-radius-pill);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: var(--tg-transition);
}

.wow-footer-cta:hover {
  background: #ffffff;
  color: var(--tg-blue) !important;
}

.wow-footer-menu {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.wow-footer-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--tg-transition);
}

.wow-footer-menu a:hover { color: #ffffff; }

.wow-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.wow-footer-bottom a {
  color: inherit;
  text-decoration: underline;
}

/* ─── AOS OVERRIDES (ensure smooth animations) ────────────── */
[data-aos] {
  transition-property: transform, opacity !important;
}

/* ─── RESPONSIVE: TABLET ──────────────────────────────────── */
@media (max-width: 1024px) {
  .wow-header-contacts { display: none; }
}

@media (max-width: 1024px) {
  .wow-hero-content { padding: 40px; margin-top: 80px; }
  .wow-hero-glass { padding: 36px; }
  .wow-hero-title { font-size: 36px; }
  .wow-hero-subtext { font-size: 16px; }
  .wow-systems-grid { grid-template-columns: repeat(2, 1fr); }
  .wow-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .wow-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .wow-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .wow-lead-panel { grid-template-columns: 1fr; gap: 32px; }
  .wow-section { padding: 60px 0; }
  .wow-container { padding: 0 28px; }
  .new-form-row-3 { grid-template-columns: 1fr 1fr; }
}

/* ─── RESPONSIVE: MOBILE ──────────────────────────────────── */
@media (max-width: 768px) {
  .wow-header-row { padding: 0 16px; }
  .wow-header-nav { display: none; }
  .wow-header-cta { display: none; }
  .wow-header-contacts { display: none; }

  .wow-hero { min-height: auto; }
  .wow-hero-slider { min-height: 90vh; }
  .wow-hero-slide { min-height: 90vh; }
  .wow-hero-content { margin-top: 80px; padding: 0 20px; }
  .wow-hero-glass { padding: 28px 24px; border-radius: 18px; }
  .wow-hero-title { font-size: 28px; }
  .wow-hero-subtext { font-size: 15px; margin-bottom: 24px; }
  .wow-hero-actions { flex-direction: column; }
  .wow-btn-hero { width: 100%; text-align: center; }

  .wow-hero-dots { bottom: 24px; }

  .wow-section { padding: 48px 0; }
  .wow-section-title { font-size: 28px; }
  .wow-container { padding: 0 20px; }

  .wow-comparator-wrapper { padding: 0 20px; }
  .wow-comparator { aspect-ratio: 4/3; }
  .wow-comparator-title { font-size: 26px; }

  .wow-systems-grid,
  .wow-benefits-grid,
  .wow-audience-grid,
  .wow-projects-grid { grid-template-columns: 1fr; }
  .wow-project-wide { grid-column: span 1; aspect-ratio: 4/3; }

  .wow-lead-section { padding: 60px 0; }
  .wow-lead-form-card { padding: 24px; }
  .wow-form-row { grid-template-columns: 1fr; }
  .new-form-card { padding: 24px; }
  .new-form-row-3 { grid-template-columns: 1fr; gap: 10px; }
  .new-form-footer { flex-direction: column; align-items: stretch; }
  .btn-new-submit { width: 100%; text-align: center; }
  .wow-lead-info h2 { font-size: 26px; }

  .wow-footer-main { grid-template-columns: 1fr; gap: 20px; }
  .wow-footer-actions { align-items: flex-start; }
  .wow-footer-bottom { flex-direction: column; text-align: center; }

  .wow-sticky-cta { bottom: 16px; right: 16px; padding: 14px 22px; font-size: 14px; }

  /* Mobile menu (reuse burger from new design) */
  .wow-mobile-controls { display: flex !important; align-items: center; gap: 8px; }
  .wow-burger { position: relative; display: inline-block; width: 44px; height: 44px; padding: 0; margin: 0; background: none; border: 0; cursor: pointer; }
  .wow-burger span { position: absolute; left: 9px; width: 26px; height: 3px; background: var(--tg-blue); border-radius: 2px; transition: var(--tg-transition); }
  .wow-header-solid .wow-burger span { background: var(--tg-blue); }
  .wow-burger span:nth-child(1) { top: 13px; }
  .wow-burger span:nth-child(2) { top: 21px; }
  .wow-burger span:nth-child(3) { top: 29px; }
  .wow-burger.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .wow-burger.active span:nth-child(2) { opacity: 0; }
  .wow-burger.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

  .wow-mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--tg-radius-pill);
    background: rgba(255,255,255,0.15);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--tg-transition);
  }
  .wow-header-solid .wow-mobile-phone {
    background: rgba(0, 76, 152, 0.08);
    color: var(--tg-blue) !important;
    border: 1px solid rgba(0,76,152,0.12);
  }

  .wow-nav-mobile {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--tg-blue);
    z-index: 9997;
    padding: 20px;
    overflow-y: auto;
  }
  .wow-nav-mobile.open { display: block; }
  .wow-nav-mobile a {
    display: block;
    padding: 16px 0;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--tg-transition);
  }
  .wow-nav-mobile a:hover { color: var(--tg-orange) !important; }
}

/* ─── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .wow-hero-slide { transition: none; }
  .wow-hero-image { transition: none !important; }
  .wow-hero-slide.active .wow-hero-image { transform: none; }
  [data-aos] { transition: none !important; transform: none !important; }
  .wow-system-card,
  .wow-benefit-card,
  .wow-audience-card,
  .wow-project-card { transition: none; }
  .wow-sticky-cta { transition: none; }
}
