/* ═══════════════════════════════════════════
   ENERGEL.EE — Main Stylesheet
   ═══════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  /* Primary */
  --color-primary: #DC2626;
  --color-primary-dark: #B91C1C;
  --color-primary-light: #FEE2E2;

  /* Neutral – light */
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-bg-dark: #0F172A;
  --color-bg-navy: #1E293B;

  /* Text */
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #94A3B8;
  --color-text-on-dark: #F8FAFC;
  --color-text-on-dark-muted: #CBD5E1;

  /* Accents */
  --color-accent-orange: #F97316;
  --color-accent-blue: #2563EB;
  --color-accent-green: #16A34A;

  /* Borders & Shadows */
  --color-border: #E2E8F0;
  --color-border-dark: #334155;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.15);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
.logo img, .site-footer .logo img { border-radius: 0; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--color-text-primary); }
h1 { font-size: 48px; line-height: 1.17; letter-spacing: -1.5px; }
h2 { font-size: 36px; line-height: 1.22; letter-spacing: -1px; }
h3 { font-size: 24px; line-height: 1.33; letter-spacing: -0.5px; }
h4 { font-size: 20px; line-height: 1.4; }
p { color: var(--color-text-secondary); }
.text-sm { font-size: 14px; line-height: 1.57; }
.text-muted { color: var(--color-text-muted); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sections ── */
.section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-bg-dark); color: var(--color-text-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-text-on-dark); }
.section-dark p { color: var(--color-text-on-dark-muted); }

.section-header { text-align: center; margin: 0 auto 56px; }
.section-header p { margin-top: 16px; }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-dark {
  border: 2px solid var(--color-border);
  color: var(--color-text-primary);
}
.btn-outline-dark:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost {
  color: var(--color-primary);
  padding: 8px 0;
  font-weight: 600;
}
.btn-ghost:hover { gap: 12px; }
.btn-ghost svg { transition: transform var(--transition-fast); }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); background: #fff; }
.site-header.scrolled .header-inner { padding: 6px 0; }

/* Scroll progress bar */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-primary);
  width: 0%;
  transition: none;
  z-index: 1001;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background var(--transition-fast);
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.back-to-top svg { width: 22px; height: 22px; }

/* Body offset for fixed header */
body { padding-top: 80px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  transition: padding var(--transition-base);
}

.logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; display: block; }

.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop-list > li { list-style: none; position: relative; }
.nav-desktop-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px 0;
  margin: 8px 0 0;
  z-index: 100;
}
.nav-desktop-list > li:hover > .sub-menu,
.nav-desktop-list > li:focus-within > .sub-menu { display: block; }
.nav-desktop-list .sub-menu li { list-style: none; }
.nav-desktop-list .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}
.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-list li { list-style: none; }
.mobile-menu-list .sub-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 4px 0;
}
.nav-desktop a:hover { color: var(--color-primary); }
.nav-desktop a.active { color: var(--color-text-primary); }
.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-trigger svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.nav-dropdown-menu a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.nav-dropdown-menu a svg { width: 18px; height: 18px; color: var(--color-text-muted); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}
.lang-switch a.lang-link { cursor: pointer; padding: 4px 6px; border-radius: 4px; transition: all var(--transition-fast); text-decoration: none; color: inherit; }
.lang-switch a.lang-link:hover, .lang-switch a.lang-link.active { color: var(--color-text-primary); background: var(--color-bg-alt); }
.lang-divider { color: var(--color-border); }

.header-cta { font-size: 14px; padding: 10px 20px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

/* Mobile menu panel — slide from right */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 380px);
  background: var(--color-bg-navy);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border-dark);
  flex-shrink: 0;
}
.mobile-menu-header .logo img { height: 24px; width: auto; }
.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.mobile-menu-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

.mobile-menu-nav { flex: 1; padding: 12px 0; overflow-y: auto; }

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu-list li { list-style: none; }
.mobile-menu-list > li {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-menu.active .mobile-menu-list > li {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.active .mobile-menu-list > li:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.active .mobile-menu-list > li:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-list > li:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu.active .mobile-menu-list > li:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu.active .mobile-menu-list > li:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu.active .mobile-menu-list > li:nth-child(6) { transition-delay: 0.26s; }
.mobile-menu.active .mobile-menu-list > li:nth-child(7) { transition-delay: 0.30s; }
.mobile-menu.active .mobile-menu-list > li:nth-child(8) { transition-delay: 0.34s; }

.mobile-menu-list > li > a {
  display: flex;
  align-items: center;
  padding: 15px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text-on-dark-muted);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}
.mobile-menu-list > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
  border-left-color: var(--color-primary);
}
.mobile-menu-list > li.current-menu-item > a,
.mobile-menu-list > li.current_page_item > a {
  color: #fff;
  border-left-color: var(--color-primary);
  background: rgba(255,255,255,0.05);
}

.mobile-menu-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu-list .sub-menu a {
  display: block;
  padding: 10px 24px 10px 40px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-on-dark-muted);
  transition: color var(--transition-fast);
}
.mobile-menu-list .sub-menu a:hover { color: #fff; }

.mobile-menu-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--color-border-dark);
  flex-shrink: 0;
}
.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.mobile-menu-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-on-dark-muted);
  transition: color var(--transition-fast);
}
.mobile-menu-contact a:hover { color: #fff; }
.mobile-menu-contact svg { flex-shrink: 0; }

.mobile-menu .lang-switch {
  margin-bottom: 16px;
  font-size: 14px;
}
.mobile-menu .lang-switch a.lang-link {
  color: var(--color-text-on-dark-muted);
  padding: 5px 8px;
}
.mobile-menu .lang-switch a.lang-link:hover,
.mobile-menu .lang-switch a.lang-link.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.mobile-menu .lang-divider { color: var(--color-border-dark); }

.mobile-menu-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  color: #fff;
  border-radius: var(--radius-sm);
}
.mobile-menu-cta:hover { color: #fff; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  overflow: hidden;
  margin-top: -80px;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0%" stop-color="%23DC2626" stop-opacity="0.08"/><stop offset="100%" stop-color="%232563EB" stop-opacity="0.05"/></linearGradient></defs><rect fill="url(%23g)" width="1440" height="800"/></svg>');
  background-size: cover;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 48px 48px;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}
.hero-glow-1 { top: -200px; right: -100px; background: var(--color-primary); }
.hero-glow-2 { bottom: -200px; left: -100px; background: var(--color-accent-blue); }

.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #FCA5A5;
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  color: #fff;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--color-primary); }
.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-on-dark-muted);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}
.hero-stat-value span { color: var(--color-primary); }
.hero-stat-label { font-size: 14px; color: var(--color-text-on-dark-muted); margin-top: 4px; }

/* ── Page Hero (internal pages) ── */
.page-hero {
  position: relative;
  padding: 80px 0 64px;
  margin-top: -80px;
  padding-top: 140px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-pattern { opacity: 0.5; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: var(--color-text-on-dark-muted); font-size: 18px; max-width: 560px; }
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-on-dark-muted);
  margin-bottom: 24px;
}
.breadcrumbs a { color: var(--color-text-on-dark-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs svg { width: 14px; height: 14px; }

/* ── Cards ── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.card-body { padding: 24px; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--color-primary); }
.card-body h3 { margin-bottom: 12px; }
.card-body p { font-size: 15px; margin-bottom: 16px; }
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 0;
}

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Stats Section ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { padding: 32px 16px; }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-number span { color: var(--color-primary); }
.stat-label { font-size: 15px; color: var(--color-text-on-dark-muted); margin-top: 12px; }


/* ── Customizer overlay (shown via inline PHP CSS) ── */
.cust-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* ── Partners (logo strip) ── */
.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-logo {
  height: 40px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all var(--transition-base);
  cursor: pointer;
}
.partner-logo:hover { opacity: 1; filter: grayscale(0%); }

/* Partner cards */
.partner-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}
.partner-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.partner-card-logo {
  width: 80px; height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(100%);
  transition: filter var(--transition-base);
}
.partner-card:hover .partner-card-logo { filter: grayscale(0%); }
.partner-card h4 { font-size: 16px; margin-bottom: 4px; }
.partner-card p { font-size: 13px; }

/* ── CTA Section ── */
.section-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #991B1B 100%);
  text-align: center;
  padding: 80px 0;
}
.section-cta h2 { color: #fff; margin-bottom: 16px; }
.section-cta p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 480px; margin: 0 auto 32px; }

/* ── Footer ── */
.site-footer { background: var(--color-bg-dark); color: var(--color-text-on-dark); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 28px; }
.footer-brand p { font-size: 14px; color: var(--color-text-on-dark-muted); margin-bottom: 24px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.footer-social a svg { width: 18px; height: 18px; color: var(--color-text-on-dark-muted); }
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); }
.footer-social a:hover svg { color: #fff; }

.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--color-text-on-dark-muted); }
.footer-col a:hover { color: var(--color-primary); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 14px; color: var(--color-text-on-dark-muted); }
.footer-contact-item a { color: var(--color-text-on-dark-muted); }
.footer-contact-item a:hover { color: var(--color-primary); }

.footer-bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-on-dark-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: var(--color-text-on-dark-muted); }
.footer-bottom-links a:hover { color: var(--color-primary); }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute;
  left: -40px; top: 4px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  border: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-dot-inner { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); }
.timeline-year { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: var(--color-primary); margin-bottom: 4px; }
.timeline-item h3 { font-size: 20px; margin-bottom: 8px; }
.timeline-item p { font-size: 15px; }

/* ── Team ── */
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--color-primary); }
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #991B1B 100%);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 24px rgba(220,38,38,0.25);
}
.team-card h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .role {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.team-card .email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.team-card .email:hover { color: var(--color-primary); }
.team-card .phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  transition: color var(--transition-fast);
}
.team-card .phone:hover { color: var(--color-primary); }
.team-contact { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--color-border); margin-top: 16px; flex-wrap: wrap; }

/* ── Project Filter ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-dropdown {
  display: none;
  position: relative;
  margin-bottom: 32px;
}
.filter-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.filter-dropdown__trigger:hover,
.filter-dropdown__trigger:focus-visible {
  border-color: var(--color-primary);
  outline: none;
}
.filter-dropdown[data-open="true"] .filter-dropdown__trigger {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.filter-dropdown__chevron {
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transition: transform .2s;
}
.filter-dropdown[data-open="true"] .filter-dropdown__chevron { transform: rotate(180deg); }
.filter-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility 0s .15s;
}
.filter-dropdown[data-open="true"] .filter-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .15s, transform .15s;
}
.filter-dropdown__item {
  list-style: none;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s, color .15s;
  user-select: none;
}
.filter-dropdown__item:hover { background: var(--color-bg-light); }
.filter-dropdown__item.is-active {
  background: var(--color-primary);
  color: #fff;
  font-weight: 500;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Project card */
.project-card { position: relative; overflow: hidden; cursor: pointer; display: block; text-decoration: none; color: inherit; }
.project-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}
.project-card:hover .project-card-img { transform: scale(1.05); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: all var(--transition-base);
}
.project-card-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.project-card-overlay h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.project-card-overlay p { color: var(--color-text-on-dark-muted); font-size: 14px; }

/* ── Blog Card ── */
.blog-card { position: relative; cursor: pointer; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card .card-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--color-text-muted); margin-bottom: 12px; }
.blog-category-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.blog-card h3 { font-size: 20px; margin-bottom: 8px; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.blog-card h3 a:hover { color: var(--color-primary); }
.blog-card p { font-size: 14px; margin-bottom: 16px; }

/* ── Blog Single ── */
.article-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}
.article-content h2 { font-size: 28px; margin: 40px 0 16px; }
.article-content h3 { font-size: 22px; margin: 32px 0 12px; }
.article-content p { font-size: 17px; line-height: 1.8; margin-bottom: 24px; color: var(--color-text-secondary); }
.article-content ul, .article-content ol { margin-bottom: 24px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; color: var(--color-text-secondary); list-style: disc; }
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--color-text-primary); }
.form-control {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color var(--transition-fast);
  background: #fff;
}
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { cursor: pointer; }

.office-card {
  padding: 32px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.office-card h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.office-card h3 .flag { font-size: 24px; }
.office-info { display: flex; flex-direction: column; gap: 12px; }
.office-info-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; }
.office-info-item svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.office-info-item a { color: var(--color-text-secondary); transition: color var(--transition-fast); }
.office-info-item a:hover { color: var(--color-primary); }

.map-embed {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── 404 ── */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0;
}
.page-404 h1 { font-size: 120px; color: var(--color-primary); line-height: 1; }
.page-404 h2 { margin: 16px 0; }
.page-404 p { margin-bottom: 32px; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Org Chart ── */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node {
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}
.org-node-parent { background: var(--color-bg-dark); color: #fff; }
.org-node-mid { background: var(--color-primary); color: #fff; }
.org-node-child { background: var(--color-primary-light); color: var(--color-primary); border: 2px solid var(--color-primary); }
.org-connector {
  width: 2px;
  height: 32px;
  background: var(--color-border);
}
.org-branch { display: flex; gap: 48px; align-items: flex-start; position: relative; }
.org-branch::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--color-border);
}
.org-branch-item { display: flex; flex-direction: column; align-items: center; }
.org-branch-item .org-connector { height: 16px; }

/* ── Related Posts ── */
.related-posts { border-top: 1px solid var(--color-border); padding-top: 48px; margin-top: 48px; }
.related-posts h3 { text-align: center; margin-bottom: 32px; }

/* ── Project Single ── */
.project-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
.spec-item { padding: 16px; background: var(--color-bg-alt); border-radius: var(--radius-sm); }
.spec-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); font-weight: 600; }
.spec-value { font-size: 16px; font-weight: 600; color: var(--color-text-primary); margin-top: 4px; }

.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.project-gallery img { aspect-ratio: 4/3; object-fit: cover; cursor: pointer; transition: opacity var(--transition-fast); }
.project-gallery img:hover { opacity: 0.85; }

.project-nav { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; border-top: 1px solid var(--color-border); margin-top: 48px; }
.project-nav a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--color-text-secondary); }
.project-nav a:hover { color: var(--color-primary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-desktop, .header-actions .lang-switch, .header-cta { display: none; }
  .hamburger { display: flex; }
  h1 { font-size: 36px; letter-spacing: -1px; }
  h2 { font-size: 28px; }
  .hero h1 { font-size: 40px; }
  .hero { min-height: 100vh; min-height: 100dvh; padding-top: 100px; padding-bottom: 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 16px; }
  .hero-stat-value { font-size: 28px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .project-specs { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .org-branch { flex-direction: column; align-items: center; gap: 16px; }
  .org-branch::before { display: none; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── Placeholder Images ── */
.img-placeholder {
  width: 100%;
  object-fit: cover;
  border-radius: 0;
}
.card .img-placeholder { border-radius: 0; }


/* ── Custom Contact Form ── */
.contact-form .form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .contact-form .form-row--2 { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--color-text-primary); }
.form-group label .required { color: var(--color-primary); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9375rem;
  background: var(--color-bg-white);
  color: var(--color-text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; border-radius: var(--radius-sm); }
.form-group select { appearance: none; background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=16 height=16 viewBox=0 0 24 24 fill=none stroke=%23475569 stroke-width=2%3E%3Cpath d=m6 9 6 6 6-6/%3E%3C/svg%3E); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form-privacy { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; color: var(--color-text-muted); }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.form-notice { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; }
.form-notice--success { background: #f0fdf4; border: 1.5px solid #86efac; color: #166534; }
.form-notice--success svg { color: #16a34a; flex-shrink: 0; }
.form-notice--error { background: #fef2f2; border: 1.5px solid #fca5a5; color: #991b1b; }
.form-notice--error svg { color: var(--color-primary); flex-shrink: 0; }
.form-notice p { margin: 0.25rem 0 0; font-size: 0.875rem; opacity: 0.85; }

/* ── Partner card links ── */
a.partner-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
a.partner-card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
a.partner-card--link:hover .partner-name-text {
  color: var(--color-primary);
}
.partner-visit {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
a.partner-card--link:hover .partner-visit {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   TEENUSED PAGE — Services Detail Styles
   ═══════════════════════════════════════════════════ */

/* ── Services sticky nav ── */
.services-nav {
  background: #fff;
  border-bottom: 1.5px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.services-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
  list-style: none;
}
.services-nav-list::-webkit-scrollbar { display: none; }
.services-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
}
.services-nav-link i { width: 16px; height: 16px; flex-shrink: 0; }
.services-nav-link:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.services-nav-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
@media (max-width: 768px) {
  .services-nav-link span { display: none; }
  .services-nav-link { padding: 0.875rem 1rem; }
  .services-nav-link i { width: 20px; height: 20px; }
}

/* ── Service section scroll target ── */
.service-section { scroll-margin-top: 60px; }

/* ── Service detail layout ── */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}
.service-detail-layout--reverse {
  grid-template-columns: 420px 1fr;
}
.service-detail-layout--reverse .service-detail-image { order: -1; }
@media (max-width: 1024px) {
  .service-detail-layout,
  .service-detail-layout--reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-detail-layout--reverse .service-detail-image { order: 0; }
}

/* ── Service detail content ── */
.service-detail-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.service-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-detail-icon i { width: 20px; height: 20px; color: var(--color-primary); }
.service-detail-content h2 { margin-bottom: 1rem; }
.service-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}
.service-detail-content > p { margin-bottom: 1.75rem; }

/* ── Features 2-col grid ── */
.service-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 600px) {
  .service-features-grid { grid-template-columns: 1fr; }
}
.service-feature-block h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.875rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.feature-list li i {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Brand pills ── */
.service-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.service-brands-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-right: 0.25rem;
}
.brand-pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.01em;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.brand-pill:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* ── Service image placeholder ── */
.service-img-wrap {
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.service-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.service-img-icon {
  width: 80px;
  height: 80px;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.service-img-stats {
  display: flex;
  gap: 2.5rem;
  position: relative;
}
.service-stat {
  text-align: center;
}
.service-stat strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.5px;
}
.service-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ── Process steps ── */
.process-steps { margin-top: 0; }
.process-step {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.process-step:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -2px;
}
.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ── Service cards (front page) ── */
.service-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon i { color: var(--color-primary); }
.service-card h3 { font-size: 1.125rem; margin-bottom: 0.625rem; }
.service-card p { font-size: 0.9375rem; margin-bottom: 1.25rem; }
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ═══════════════════════════════════════════════════
   SERVICE OVERVIEW PAGE (page-teenused.php)
   ═══════════════════════════════════════════════════ */

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .services-overview-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .services-overview-grid { grid-template-columns: 1fr; } }

.service-overview-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.service-overview-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-overview-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.service-overview-icon i { width: 24px; height: 24px; color: var(--color-primary); }
.service-overview-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
  color: var(--color-text-primary);
}
.service-overview-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.service-overview-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}
.service-overview-brands span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  border: 1px solid var(--color-border);
}
.service-overview-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: auto;
  transition: gap var(--transition-fast);
}
.service-overview-card:hover .service-overview-link { gap: 0.625rem; }

/* ═══════════════════════════════════════════════════
   SERVICE DETAIL PAGE (page-teenus-detail.php)
   ═══════════════════════════════════════════════════ */

/* Hero icon */
.service-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(220,38,38,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-hero-icon i { width: 32px; height: 32px; color: #fff; }

/* Page layout: main + sidebar */
.service-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .service-page-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.service-page-intro { margin-bottom: 0; }
.service-page-intro h2 { margin-bottom: 1rem; }

/* Prev/next pagination */
.service-pagination {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--color-border);
}
.service-pag-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text-primary);
  transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
  max-width: 260px;
}
.service-pag-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}
.service-pag-btn--next { margin-left: auto; text-align: right; }
.service-pag-btn--next > div { text-align: right; }
.service-pag-btn svg { flex-shrink: 0; color: var(--color-primary); }
.pag-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.pag-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* Sidebar CTA card */
.service-cta-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.service-cta-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.service-cta-card p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0; }

/* Other services list in sidebar */
.service-other-services {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.service-other-services h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.service-other-services ul { list-style: none; padding: 0; margin: 0; }
.service-other-services li + li { border-top: 1px solid var(--color-border); }
.service-other-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.service-other-link i { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }
.service-other-link .arrow-icon { margin-left: auto; opacity: 0; transition: opacity var(--transition-fast), transform var(--transition-fast); }
.service-other-link:hover { color: var(--color-primary); }
.service-other-link:hover .arrow-icon { opacity: 1; transform: translateX(3px); }

/* page-hero--service min-height tweak */
.page-hero--service { min-height: 55vh; }

/* ═══════════════════════════════════════════════════
   PARTNER LOGO WRAPPER — SVG logos
   ═══════════════════════════════════════════════════ */

.partner-logo-wrap {
  width: 100%;
  height: 88px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.875rem;
  transition: opacity var(--transition-fast);
}
.partner-logo-img {
  max-width: 90%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}
.partner-card--link:hover .partner-logo-wrap { opacity: .9; }
.partner-name-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════
   PROJEKT GALLERY
   ═══════════════════════════════════════════════════ */
.projekt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.projekt-gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.projekt-gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.projekt-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform var(--transition-slow);
}
.projekt-gallery-item:hover img { transform: scale(1.05); }

/* ════════════════════════════════════════════════════════════════
   MISSING CSS — comprehensive addition for all pages
   Energel Theme — 2026
════════════════════════════════════════════════════════════════ */


/* ── post-category badge (blog, projekt, service pages) ── */
.post-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.post-category:hover { background: var(--color-primary); color: #fff; }

/* ── tag-list and post-tags ── */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--color-border);
}
.post-tags i { color: var(--color-text-muted); flex-shrink: 0; }
.post-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.post-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ── pagination ── */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.pagination-wrap .page-numbers.dots { border-color: transparent; }

/* ════════════════════════════════════════════════════════════════
   PAGE HERO VARIANTS
════════════════════════════════════════════════════════════════ */

.page-hero--blog {
  padding-top: clamp(5rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-hero--projekt {
  padding-top: clamp(5rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* post meta in hero */
.post-meta--hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.post-meta--hero time {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

/* author line in blog hero */
.post-author-line {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.post-author-line .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.post-author-line .sep { opacity: 0.4; }

/* featured image below hero */
.post-hero-image {
  background: var(--color-bg-alt);
  padding: 0 0 2rem;
  margin-top: -2rem;
}
.post-hero-image .container { position: relative; z-index: 2; }
.post-hero-image .post-featured-img,
.post-hero-image .projekt-featured-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-xl);
}

/* ════════════════════════════════════════════════════════════════
   BLOG SINGLE — post layout
════════════════════════════════════════════════════════════════ */

.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.post-content { min-width: 0; }
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 { margin-top: 2rem; margin-bottom: 0.875rem; color: var(--color-text-primary); }
.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.25rem; }
.post-content p { margin-bottom: 1.25rem; line-height: 1.8; color: var(--color-text-secondary); }
.post-content ul,
.post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--color-text-secondary); line-height: 1.8; }
.post-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-secondary);
}
.post-content img { max-width: 100%; border-radius: var(--radius-md); margin: 1.5rem 0; }
.post-content a { color: var(--color-primary); text-decoration: underline; }
.post-content a:hover { text-decoration: none; }

/* prev/next navigation */
.post-navigation {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--color-border);
  flex-wrap: wrap;
}
.post-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  max-width: 280px;
  flex: 1;
}
.post-nav-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}
.post-nav-link--next { margin-left: auto; justify-content: flex-end; text-align: right; }

/* sidebar */
.post-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 1024px) { .post-sidebar { position: static; } }

.sidebar-widget {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.sidebar-widget h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget ul li { border-bottom: 1px solid var(--color-border); padding: 0.5rem 0; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-widget ul li a:hover { color: var(--color-primary); }

/* recent posts list */
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.recent-posts-list li {
  border-bottom: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
}
.recent-posts-list .recent-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.recent-posts-list li div { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.recent-posts-list li a {
  font-size: 0.875rem !important;
  font-weight: 600;
  color: var(--color-text-primary) !important;
  text-decoration: none;
  line-height: 1.4;
  display: block !important;
  justify-content: unset !important;
}
.recent-posts-list li a:hover { color: var(--color-primary) !important; }
.recent-posts-list li time { font-size: 0.75rem; color: var(--color-text-muted); }

/* ════════════════════════════════════════════════════════════════
   BLOG ARCHIVE — archive.php
════════════════════════════════════════════════════════════════ */

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .archive-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.archive-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 1024px) { .archive-sidebar { position: static; } }

/* blog card new structure */
.blog-card { background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.blog-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.blog-card-img { overflow: hidden; aspect-ratio: 16/9; background: var(--color-bg-alt); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}
.blog-card:hover .blog-card-title { color: var(--color-primary); }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.blog-card-meta .sep { opacity: 0.5; }
.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ════════════════════════════════════════════════════════════════
   PROJEKT SINGLE — single-projekt.php
════════════════════════════════════════════════════════════════ */

.projekt-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 1024px) { .projekt-layout { grid-template-columns: 1fr; gap: 3rem; } }

.projekt-content { min-width: 0; }
.projekt-content h2,
.projekt-content h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.projekt-content p { line-height: 1.8; color: var(--color-text-secondary); margin-bottom: 1.25rem; }
.projekt-content ul,
.projekt-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--color-text-secondary); line-height: 1.8; }
.projekt-content img { max-width: 100%; border-radius: var(--radius-md); }

.projekt-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--color-border);
}

.projekt-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (max-width: 1024px) { .projekt-sidebar { position: static; } }

.projekt-meta-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.projekt-meta-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.projekt-meta-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.projekt-meta-list dt {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}
.projekt-meta-list dt:first-child { margin-top: 0; }
.projekt-meta-list dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  padding-left: 1.375rem;
}

/* project card link wrapper — uniform height, read-more pinned to bottom */
.project-grid { align-items: stretch; }
.project-card { height: 100%; display: flex; flex-direction: column; }
.project-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.project-card .project-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-alt);
  flex-shrink: 0;
}
.project-card .project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform var(--transition-slow);
}
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-top: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.project-card-body .read-more {
  margin-top: auto;
  padding-top: 1rem;
}
.project-card-body .post-category,
.project-card-body .project-card-title,
.project-card-body .project-location,
.project-card-body .project-card-excerpt { margin-bottom: 0; }
.project-card-body .post-category,
.project-card-body .project-location,
.project-card-body .read-more { align-self: flex-start; }
.project-card-body h3 { font-size: 1.0625rem; margin-bottom: 0.375rem; transition: color var(--transition-fast); }
.project-card:hover .project-card-body h3 { color: var(--color-primary); }
.project-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 .5rem;
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}
.project-card:hover .project-card-title { color: var(--color-primary); }
.project-location {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ════════════════════════════════════════════════════════════════
   MEIST — page-meist.php
════════════════════════════════════════════════════════════════ */

.team-role {
  display: block;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.375rem;
  margin-top: 0.25rem;
}
.team-email {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: color var(--transition-fast);
  word-break: break-all;
}
.team-email:hover { color: var(--color-primary); }
.team-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0; color: var(--color-text-primary); }

.cert-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.cert-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.cert-card strong { font-size: 1rem; font-weight: 700; color: var(--color-text-primary); }
.cert-card span { font-size: 0.875rem; color: var(--color-text-muted); }

/* ════════════════════════════════════════════════════════════════
   KONTAKT — page-kontakt.php
════════════════════════════════════════════════════════════════ */

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--color-text-secondary); margin-bottom: 2rem; line-height: 1.75; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item i { flex-shrink: 0; margin-top: 2px; }
.contact-item > div { display: flex; flex-direction: column; gap: 0.125rem; }
.contact-item strong {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.contact-item span,
.contact-item a { font-size: 0.9375rem; color: var(--color-text-secondary); text-decoration: none; }
.contact-item a:hover { color: var(--color-primary); }

.contact-social { display: flex; gap: 0.75rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.social-link:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.form-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .form-card { padding: 1.5rem; } }

/* ════════════════════════════════════════════════════════════════
   PARTNERID — page-partnerid.php
════════════════════════════════════════════════════════════════ */

.benefit-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.benefit-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.benefit-card h3 { font-size: 1.0625rem; margin-bottom: 0; }
.benefit-card p { font-size: 0.9375rem; color: var(--color-text-secondary); line-height: 1.65; margin: 0; }

.partner-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: 0.625rem;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   FRONT PAGE — partners marquee (infinite scroll)
════════════════════════════════════════════════════════════════ */

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partners-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-alt), transparent);
}
.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-alt), transparent);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  padding: 1.25rem 0;
  animation: partners-scroll 32s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }
.partners-strip-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
  text-decoration: none;
}
.partners-strip-logo:hover { opacity: 1; }
.partners-strip-logo img {
  max-height: 64px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ════════════════════════════════════════════════════════════════
   LEGAL PAGES — Privaatsuspoliitika & Küpsisepoliitika
════════════════════════════════════════════════════════════════ */

.legal-layout {
  max-width: 960px;
  margin: 0 auto;
}

/* Intro banner */
.legal-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
}
.legal-intro-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
}
.legal-intro-icon svg,
.legal-intro-icon i {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}
.legal-intro p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Card grid */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Individual card */
.legal-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.legal-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* Wide card (spans full width) */
.legal-card--wide {
  margin-bottom: 1.5rem;
}

.legal-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.legal-card-icon svg,
.legal-card-icon i {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.legal-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.25px;
}

.legal-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.legal-card ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.legal-card ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}
.legal-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Contact section */
.legal-contact {
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem;
  margin-top: 0;
}
.legal-contact h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}
.legal-contact > p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}
.legal-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* ── Legal pages responsive ── */
@media (max-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  .legal-card {
    padding: 1.5rem 1.25rem;
  }
  .legal-contact {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .legal-intro {
    padding: 1.25rem;
  }
  .legal-card {
    padding: 1.25rem 1rem;
  }
  .legal-contact {
    padding: 1.25rem;
  }
}


/* ════════════════════════════════════════════════════════════════
   ENERGEL — COMPREHENSIVE RESPONSIVE CSS
   Breakpoints: 1024px | 768px | 640px | 480px | 380px
════════════════════════════════════════════════════════════════ */

/* ── 1024px (tablet) ─────────────────────────────────────────── */
@media (max-width: 1024px) {

  /* Header */
  .site-header { padding: 0 16px; }
  .header-inner { height: 64px; }

  /* Hero */
  .hero { min-height: 100vh; min-height: 100dvh; padding-top: 90px; padding-bottom: 60px; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 38px; }
  .hero-subtitle { font-size: 17px; }

  /* Page hero */
  .page-hero { padding-top: 120px; padding-bottom: 50px; min-height: auto; }
  .page-hero h1 { font-size: 34px; }

  /* Section */
  .section { padding: 72px 0; }

  /* Service nav */
  .services-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; gap: 4px; }
  .services-nav::-webkit-scrollbar { display: none; }
  .services-nav-link { white-space: nowrap; flex-shrink: 0; }

  /* Service pagination */
  .service-pagination { flex-direction: column; gap: 0.75rem; }
  .service-pag-btn { max-width: 100%; }
  .service-pag-btn--next { margin-left: 0; }

  /* Project grid 2-col */
  .project-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Post nav */
  .post-navigation { flex-direction: column; }
  .post-nav-link { max-width: 100%; }
  .post-nav-link--next { margin-left: 0; }

  /* Filter bar */
  .filter-bar { display: none; }
  .filter-dropdown { display: block; }

  /* Projekt gallery */
  .projekt-gallery { grid-template-columns: repeat(3, 1fr); }

  /* CTA section */
  .cta-section .container { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .cta-section .cta-actions { flex-wrap: wrap; }

  /* Most section */
  .team-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Partnerid benefits */
  .benefit-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px (mobile landscape) ────────────────────────────────── */
@media (max-width: 768px) {

  /* Base */
  .section { padding: 56px 0; }
  .container { padding-left: 20px; padding-right: 20px; }

  /* Typography */
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  .section-header { margin-bottom: 2rem; }

  /* Header */
  .header-inner { height: 60px; }
  .logo img { height: 22px; }

  /* Hero */
  .hero { min-height: 100vh; min-height: 100dvh; padding-top: 80px; padding-bottom: 50px; }
  .hero h1 { font-size: 30px; line-height: 1.2; }
  .hero-subtitle { font-size: 16px; }
  .hero-content { padding: 0; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-stats { gap: 16px; justify-content: flex-start; flex-wrap: wrap; }
  .hero-stat-value { font-size: 26px; }
  .hero-stat-label { font-size: 12px; }

  /* Page hero */
  .page-hero { padding-top: 110px; padding-bottom: 40px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p { font-size: 15px; }

  /* Grids → 1 col */
  .grid-2,
  .grid-3,
  .project-grid.grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Project cards mobile – blog-card style */
  .project-card {
    background: #fff !important;
    border: 1.5px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .project-card .project-card-img {
    aspect-ratio: 16/10 !important;
    display: block !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }
  .project-card-overlay {
    position: static !important;
    inset: auto !important;
    background: none !important;
    background-image: none !important;
    padding: 1.25rem !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }
  .project-card-overlay .project-card-category {
    color: var(--color-primary) !important;
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }
  .project-card-overlay h3 {
    color: var(--color-text) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }
  .project-card:hover {
    border-color: var(--color-primary) !important;
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-4px);
  }
  /* Services section */
  .services-nav { gap: 4px; }
  .services-nav-link { padding: 10px 14px; font-size: 13px; }
  .service-detail-layout,
  .service-detail-layout--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-layout--reverse .service-detail-image { order: 0; }
  .service-features-grid { grid-template-columns: 1fr; }
  .service-overview-card { padding: 1.25rem; }

  /* Project archive */
  .filter-bar { margin-bottom: 24px; }
  .project-grid .project-card { border: 1.5px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
  .project-grid .project-card-body { border: none; padding: 1rem 1.25rem 1.25rem; }
  .project-card-title { font-size: 1rem; }

  /* Projekt single */
  .projekt-layout { grid-template-columns: 1fr; gap: 2rem; }
  .projekt-meta-card { position: static; }
  .projekt-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

  /* Blog archive */
  .archive-layout { grid-template-columns: 1fr; gap: 2rem; }
  .archive-sidebar { position: static; }
  .blog-card-title { font-size: 1.0625rem; }

  /* Blog single */
  .post-layout { grid-template-columns: 1fr; gap: 2rem; }
  .post-sidebar { position: static; }
  .post-content h2 { font-size: 1.375rem; }
  .post-content h3 { font-size: 1.125rem; }

  /* Meist */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .org-chart { overflow-x: auto; padding-bottom: 1rem; }
  .org-branch { gap: 1rem; }

  /* Kontakt */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-card { padding: 1.75rem; }

  /* Partnerid */
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .partners-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Partners marquee */
  .partners-marquee::before, .partners-marquee::after { width: 60px; }
  .partners-track { gap: 2rem; }
  .partners-strip-logo img { max-height: 52px; max-width: 120px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 36px; }

  /* CTA */
  .cta-inner { padding: 2rem 1.5rem; text-align: center; }
  .cta-inner h2 { font-size: 22px; }
  .cta-inner p { font-size: 15px; }
  .cta-actions { justify-content: center; }

  /* Breadcrumbs */
  .breadcrumb { font-size: 12px; flex-wrap: wrap; }

  /* Pagination */
  .pagination-wrap { gap: 4px; flex-wrap: wrap; justify-content: center; }
  .page-numbers { padding: 8px 12px; font-size: 14px; }
  .service-pagination { flex-direction: column; gap: 0.75rem; }
  .service-pag-btn { max-width: 100%; }
  .service-pag-btn--next { margin-left: 0; }

  /* Sidebar widgets */
  .sidebar-widget { padding: 1.25rem; }
}

/* ── 640px (small mobile) ─────────────────────────────────────── */
@media (max-width: 640px) {

  .section { padding: 48px 0; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero */
  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero h1 { font-size: 27px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; }

  /* Grids → all 1 col */
  .grid-4 { grid-template-columns: 1fr; }

  /* Cards */
  .card { padding: 1.25rem; }
  .card-body { padding: 1.25rem; }

  /* Service detail */
  .service-detail-content h2 { font-size: 22px; }
  .service-lead { font-size: 1rem; }
  .service-pag-btn { padding: 0.875rem 1rem; }
  .pag-title { font-size: 0.875rem; }

  /* Projekt gallery → 2 col */
  .projekt-gallery { grid-template-columns: repeat(2, 1fr); }
  .projekt-gallery-item { aspect-ratio: 1; }

  /* Team → 2 col on small */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { text-align: center; }
  .cert-grid { grid-template-columns: 1fr; }

  /* Partnerid */
  .benefit-grid { grid-template-columns: 1fr; }
  .partner-cards.grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Filter bar */
  .filter-bar { margin-bottom: 20px; }
  .filter-btn { padding: 7px 14px; font-size: 13px; }

  /* Post nav */
  .post-nav-link { padding: 0.625rem 1rem; font-size: 13px; }
  .post-navigation { gap: 0.75rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-links { gap: 8px; font-size: 13px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 32px; }
  .stat-label { font-size: 13px; }

  /* Form */
  .form-card { padding: 1.25rem; border-radius: var(--radius-md); }
  .contact-form .form-row--2 { grid-template-columns: 1fr; }

  /* Project card */
  .project-card-excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* Partners marquee */
  .partners-track { gap: 1.75rem; }
  .partners-strip-logo img { max-height: 46px; max-width: 110px; }

  /* Mobile menu responsive */
  .mobile-menu-list > li > a { font-size: 16px; padding: 13px 20px; }

  /* Section header */
  .section-header p { font-size: 15px; }

  /* Breadcrumb */
  .breadcrumb { display: none; }
}

/* ── 480px (very small phones) ───────────────────────────────── */
@media (max-width: 480px) {

  .hero h1 { font-size: 24px; }
  .hero-stat-value { font-size: 22px; }
  .hero-stats { gap: 12px; }

  /* Page hero */
  .page-hero h1 { font-size: 24px; }
  .page-hero { padding-top: 100px; padding-bottom: 32px; }

  /* project grid 1 col */
  .project-grid { grid-template-columns: 1fr; }

  /* Projekt gallery 1 col */
  .projekt-gallery { grid-template-columns: repeat(2, 1fr); }

  /* Blog card horizontal image smaller */
  .blog-card-img { aspect-ratio: 16/8; }

  /* Stats 1-col */
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Cert 1-col */
  .cert-grid { grid-template-columns: 1fr; }

  /* Partners grid */
  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  /* Partners marquee */
  .partners-track { gap: 1.5rem; }
  .partners-strip-logo img { max-height: 40px; max-width: 100px; }

  /* Footer */
  .footer-col ul { gap: 8px; }
  .footer-social { gap: 8px; }

  /* Form btn */
  .form-submit { width: 100%; justify-content: center; }

  /* CTA btn */
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Service nav → icon only label hidden already */
  .services-nav-link { padding: 10px; }
}

/* ── 380px (smallest phones) ─────────────────────────────────── */
@media (max-width: 380px) {

  .container { padding-left: 12px; padding-right: 12px; }

  .hero h1 { font-size: 22px; }

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

  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 28px; }

  .grid-4 { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }

  .filter-btn { padding: 6px 12px; font-size: 12px; }

  .mobile-menu-list > li > a { font-size: 15px; padding: 12px 18px; }
}

/* ── Misc fixes ─────────────────────────────── */
.service-hero-icon { display: none !important; }
#teenused, [id] { scroll-margin-top: 90px; }
