/* ===================================================
   REGUPOL Acoustics × Euromax Bulgaria
   Premium Design System
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --regupol-lime: #AACC00;
  --regupol-lime-light: #C5E636;
  --regupol-lime-dark: #8BAA00;
  --euromax-red: #E63946;

  /* Light Theme / Corporate */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F3F4F6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F9FAFB;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-light: rgba(0, 0, 0, 0.03);

  /* Text */
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-accent: var(--regupol-lime-dark);

  /* Borders */
  --border-color: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(170, 204, 0, 0.4);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 24px rgba(170, 204, 0, 0.2);

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1280px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* --- Section Styling --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(170, 204, 0, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--regupol-lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 0;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.navbar.menu-open {
  background: #383838 !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 5%;
  max-width: 1440px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-brand .logo-icon {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-brand .logo-icon .bar {
  width: 4px;
  height: 20px;
  border-radius: 2px;
}

.navbar-brand .logo-icon .bar:nth-child(1) { background: var(--regupol-lime); }
.navbar-brand .logo-icon .bar:nth-child(2) { background: #FFD700; }
.navbar-brand .logo-icon .bar:nth-child(3) { background: var(--regupol-lime); }

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand .brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.navbar-brand .brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--regupol-lime);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.navbar-brand .brand-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
  margin: 0 4px;
}

.navbar-brand .euromax-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.navbar-brand .euromax-badge span {
  display: block;
  color: var(--euromax-red);
  font-weight: 700;
}

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

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--regupol-lime);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  background: var(--bg-card);
  border-radius: 50px;
  padding: 4px;
  border: 1px solid var(--border-color);
}

.nav-lang button {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-lang button.active {
  background: var(--regupol-lime);
  color: var(--bg-primary);
}

/* --- Dark Background Overrides for Transparent Navbar --- */
.navbar:not(.scrolled) .brand-name,
.navbar:not(.scrolled) .brand-sub,
.navbar:not(.scrolled) .euromax-badge,
.navbar:not(.scrolled) .euromax-badge span,
.navbar:not(.scrolled) .nav-links a,
.navbar:not(.scrolled) .nav-lang button {
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  color: var(--regupol-lime);
}

.navbar:not(.scrolled) .brand-divider {
  background: rgba(255, 255, 255, 0.2);
}

.navbar:not(.scrolled) .nav-lang {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.navbar:not(.scrolled) .nav-lang button.active {
  background: var(--regupol-lime);
  color: var(--text-primary);
  text-shadow: none;
}


.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.active {
  background: #ffffff;
  gap: 0;
}

.hamburger.active span {
  background: #000000;
  position: absolute;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg video.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.8);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 14, 23, 0.9) 0%,
    rgba(11, 14, 23, 0.6) 40%,
    rgba(170, 204, 0, 0.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 5% 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.hero-content .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(170, 204, 0, 0.12);
  border: 1px solid rgba(170, 204, 0, 0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--regupol-lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 800px;
  color: #ffffff;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-content h1 .highlight {
  color: var(--regupol-lime);
  position: relative;
}

.hero-content .hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat .stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--regupol-lime);
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--regupol-lime);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--regupol-lime-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(170, 204, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--regupol-lime);
  color: var(--regupol-lime);
  transform: translateY(-2px);
}

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

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-base);
}

.about-feature:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.about-feature .feature-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.about-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: all var(--transition-base);
}

.about-stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.about-stat-card .stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--regupol-lime);
  line-height: 1;
}

.about-stat-card .stat-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* --- Products Section --- */
.products-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}

.product-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-category-card .product-card-image {
  margin-top: auto;
}

.product-category-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.product-category-card .card-header {
  padding: 28px 28px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.product-category-card .card-header h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.product-category-card .card-header .product-count {
  background: rgba(170, 204, 0, 0.1);
  color: var(--regupol-lime);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
}

.product-category-card .card-desc {
  padding: 0 28px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-category-card .card-products {
  padding: 20px 28px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.product-tag:hover {
  border-color: var(--regupol-lime);
  color: var(--regupol-lime);
  background: rgba(170, 204, 0, 0.08);
}

/* --- Product Detail Modal / Expanded View --- */
.product-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  overflow-y: auto;
}

.product-detail-overlay.active {
  display: flex;
}

.product-detail {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  position: relative;
  animation: fadeInUp 0.3s ease-out;
}

.product-detail-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.product-detail-close:hover {
  border-color: var(--euromax-red);
  color: var(--euromax-red);
}

.product-detail-header {
  padding: 36px 36px 0;
}

.product-detail-header h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.product-detail-header .product-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Product Tabs (like REGUPOL's 4-icon tabs) */
.product-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  padding: 0 36px;
  margin-top: 28px;
  gap: 0;
}

.product-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.product-tab:hover {
  color: var(--text-primary);
}

.product-tab.active {
  color: var(--regupol-lime);
  border-bottom-color: var(--regupol-lime);
}

.product-tab .tab-icon {
  font-size: 1.1rem;
}

.product-tab-content {
  display: none;
  padding: 28px 36px 36px;
}

.product-tab-content.active {
  display: block;
}

/* Accordion for files */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.accordion-header {
  padding: 16px 20px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.accordion-header:hover {
  background: var(--bg-card-hover);
}

.accordion-header .chevron {
  transition: transform var(--transition-fast);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.accordion-item.open .accordion-header .chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-item.open .accordion-body {
  max-height: 2000px;
}

.accordion-body-inner {
  padding: 12px 20px 20px;
}

/* File download card inside accordion */
.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid transparent;
}

.file-item:hover {
  background: var(--bg-card);
  border-color: var(--border-accent);
}

.file-item .file-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(170, 204, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--regupol-lime);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.file-item .file-info {
  flex: 1;
  min-width: 0;
}

.file-item .file-name {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item .file-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.file-item .file-download {
  color: var(--text-secondary);
  font-size: 1rem;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.file-item:hover .file-download {
  color: var(--regupol-lime);
}

/* Product Features List */
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.feature-item .check {
  color: var(--regupol-lime);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Technical Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 14px 0;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
  width: 50%;
}

.specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Applications Section --- */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.application-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
}

.application-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.application-card .app-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.application-card .app-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Downloads Section --- */
.downloads-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 22px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--regupol-lime);
  color: var(--regupol-lime);
  background: rgba(170, 204, 0, 0.08);
}

.downloads-search {
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}

.downloads-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.downloads-search input::placeholder {
  color: var(--text-muted);
}

.downloads-search input:focus {
  outline: none;
  border-color: var(--regupol-lime);
  box-shadow: 0 0 0 3px rgba(170, 204, 0, 0.1);
}

.downloads-search .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--text-primary);
}

.download-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.download-card .dl-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(170, 204, 0, 0.12);
  border-radius: var(--radius-sm);
  color: var(--regupol-lime);
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.download-card .dl-info {
  flex: 1;
  min-width: 0;
}

.download-card .dl-name {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-card .dl-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.download-card .dl-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.download-card:hover .dl-arrow {
  color: var(--regupol-lime);
  transform: translateX(4px);
}

.downloads-count {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 24px;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.contact-detail .detail-icon {
  font-size: 1.2rem;
  color: var(--regupol-lime);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--regupol-lime);
  box-shadow: 0 0 0 3px rgba(170, 204, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-brand .brand-sub {
  color: var(--regupol-lime);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--regupol-lime);
}

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

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInFallback 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* --- Scroll to top btn --- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--regupol-lime);
  color: var(--bg-primary);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(170, 204, 0, 0.3);
}

/* --- Product Card Image --- */
.product-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-category-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-image .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 14, 23, 0.7) 100%);
  pointer-events: none;
}

/* --- Product Modal Image --- */
.product-detail-image {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}

.product-detail-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.product-detail-image .image-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg-secondary));
}

/* --- 3D Renderings Gallery --- */
.renderings-gallery {
  margin-top: 48px;
}

.renderings-gallery .gallery-header {
  text-align: center;
  margin-bottom: 32px;
}

.renderings-gallery .gallery-header h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.renderings-gallery .gallery-header p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.renderings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.rendering-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.rendering-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.rendering-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.rendering-card:hover img {
  transform: scale(1.05);
}

.rendering-card .rendering-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  border-color: var(--euromax-red);
  color: var(--euromax-red);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-categories { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .features-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    right: auto;
    width: 100vw;
    height: 100vh;
    background: #383838;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 0 40px;
    gap: 0;
    transition: left var(--transition-base);
    border: none;
    box-shadow: none;
    overflow-y: auto;
    z-index: 99;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    font-size: 1.15rem;
    color: #ffffff !important;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-links a i.ph-caret-down {
    color: var(--regupol-lime);
    margin-right: 5px;
  }

  .hamburger {
    display: flex;
  }

  .nav-lang {
    margin-left: 0;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-features { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }

  .applications-grid { grid-template-columns: repeat(2, 1fr); }

  .downloads-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .product-tabs { padding: 0 20px; }
  .product-tab { font-size: 0.72rem; }
  .product-tab .tab-label { display: none; }
  .product-tab-content { padding: 20px; }
  .product-detail-header { padding: 28px 20px 0; }
}

@media (max-width: 480px) {
  .applications-grid { grid-template-columns: 1fr 1fr; }
  .downloads-filters { justify-content: flex-start; }
}

/* ========== INTERACTIVE BUILDING MAP ========== */
.interactive-building-wrapper {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  background: #fff;
}
.interactive-building-img {
  width: 100%;
  display: block;
}

.city-highlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
}

/* Official REGUPOL Hotspot Style */
.hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  text-decoration: none;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hotspot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #ffffff;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hotspot-dot {
  width: 16px;
  height: 16px;
  background: var(--regupol-lime);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.hotspot:hover {
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 20;
}

.hotspot:hover .hotspot-dot {
  transform: scale(1.2);
}

.hotspot-label {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  background: rgba(11, 14, 23, 0.95);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  border-left: 3px solid var(--regupol-lime);
}

.hotspot:hover .hotspot-label {
  opacity: 1;
  transform: translateY(-50%) translateX(5px);
}

@media (max-width: 768px) {
  .hotspot { width: 28px; height: 28px; }
  .hotspot-dot { width: 14px; height: 14px; }
  .hotspot-label { left: 35px; font-size: 0.85rem; padding: 6px 14px; }
}

/* REGUPOL Official Dropdown Override */
.nav-links li.has-dropdown {
  position: relative;
}

.nav-links li.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.regupol-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #383838;
  list-style: none;
  padding: 15px 0;
  margin: 0;
  width: 260px;
  z-index: 999;
  border-top: 2px solid transparent;
}

.navbar:not(.scrolled) .regupol-dropdown {
    background-color: rgba(50, 50, 50, 0.95);
    backdrop-filter: blur(5px);
}

.nav-links li.has-dropdown:hover .regupol-dropdown {
  display: block;
}

.regupol-dropdown li {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.regupol-dropdown li a {
  display: block !important;
  padding: 8px 24px !important;
  color: #dfdfdf !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  font-family: inherit;
  text-decoration: none !important;
  transition: color 0.1s ease !important;
  text-shadow: none !important;
}

.regupol-dropdown li a:hover {
  color: #a6ce39 !important; /* REGUPOL Green */
  background-color: transparent !important;
}

/* Mobile dropdown fix */
@media (max-width: 992px) {
  .regupol-dropdown {
    position: static;
    width: 100%;
    background-color: transparent !important;
    padding: 0;
    display: none;
    margin-top: 0;
  }
  .regupol-dropdown.open {
    display: block !important;
  }
  .nav-links li.has-dropdown.active > a {
    color: var(--regupol-lime) !important;
  }
  .nav-links li.has-dropdown.active > a i {
    transform: rotate(180deg);
  }
  .regupol-dropdown li a {
      font-size: 1rem !important;
      padding: 12px 25px 12px 40px !important;
      color: #dfdfdf !important;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      border-bottom: none !important;
      transition: all 0.2s;
  }
  .regupol-dropdown li:first-child a {
      border-top: none;
  }
  .regupol-dropdown li:last-child a {
      border-bottom: auto;
  }
  .regupol-dropdown li a:hover,
  .regupol-dropdown li a:active {
      background-color: var(--regupol-lime) !important;
      color: #000000 !important;
  }
}

/* Hero Video Sound Toggle */
.sound-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sound-toggle-btn:hover {
  background: rgba(170, 204, 0, 0.8);
  border-color: rgba(170, 204, 0, 1);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .sound-toggle-btn {
    bottom: 24px;
    right: 16px;
    width: 50px;
    height: 50px;
    border-color: var(--regupol-lime);
  }
}
