/* DELDEY - Main Stylesheet v2 */
:root {
  --blue: #1B365D;
  --blue-light: #4A90D9;
  --yellow: #f3e85e;
  --yellow-30: rgba(243, 232, 94, 0.3);
  --black: #111111;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #CCCCCC;
  --gray-500: #666666;
  --gray-700: #333333;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Highlight */
.hl { color: var(--black); font-weight: 800; white-space: nowrap; }

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--gray-700); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Typography */
h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.15; color: var(--black); }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.2; color: var(--black); }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.3; color: var(--black); }
p { margin-bottom: 1rem; }

/* ===== CONTAINER (global content wrapper) ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--yellow);
  border-bottom: 3px solid var(--yellow);
  height: var(--header-height);
  transition: box-shadow 0.3s, background 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 2rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0; font-size: 0; color: var(--black); }
.logo svg { height: 38px; width: auto; }

.nav { display: flex; gap: 0.2rem; align-items: center; }
.nav a {
  padding: 0.5rem 0.9rem; font-size: 0.9rem; font-weight: 500;
  color: var(--gray-700); border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav a.active { color: var(--black); background: var(--gray-100); }
.nav a.cta-nav {
  background: var(--black); color: var(--white); font-weight: 600;
  padding: 0.5rem 1.2rem; border-radius: 6px;
}
.nav a.cta-nav:hover { background: var(--gray-700); }

/* Photo placeholder */
.photo-placeholder {
  background: #fafafa; border: 1px solid #ddd; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 0.8rem; text-align: center; padding: 1rem;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--black); transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--white); padding: 2rem;
  flex-direction: column; gap: 0.5rem; z-index: 999;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-size: 1.1rem; padding: 1rem 0; font-weight: 500;
  border-bottom: 1px solid var(--gray-200); color: var(--gray-700);
}
.mobile-nav a:hover { color: var(--black); }

/* ===== HERO ===== */
.hero {
  min-height: 90vh; padding-top: var(--header-height);
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--white) 55%, #FFFFF0 100%);
  overflow: hidden; position: relative;
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  width: 100%;
}
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text .subtitle {
  font-size: 1.15rem; font-weight: 600; color: var(--gray-700);
  margin-bottom: 1.5rem; line-height: 1.5;
}
.hero-text .body { font-size: 1rem; color: var(--gray-500); margin-bottom: 2rem; }
.hero-points {
  list-style: none; padding: 0; margin: 0 0 2rem 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.hero-points li {
  font-size: 1rem; color: var(--gray-500); padding-left: 1.5rem; position: relative;
}
.hero-points li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; background: var(--yellow); border-radius: 2px;
}
.hero-image { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image img { border-radius: 12px; width: 100%; object-fit: cover; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem; font-size: 0.95rem; font-weight: 600;
  border-radius: 8px; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-primary { background: var(--yellow); color: var(--black); font-weight: 700; }
.btn-primary:hover { background: #E6E600; }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gray-100); }
.btn-secondary { background: var(--yellow); color: var(--black); font-weight: 700; }
.btn-secondary:hover { background: #E6E600; }

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 2rem;
  max-width: var(--max-width); margin: 0 auto;
}
.section-full { padding: 5rem 2rem; width: 100%; }
.section-gray { background: var(--gray-100); }
.section-yellow { background: var(--yellow); }
.section-yellow-light { background: var(--yellow-30); }
.section-yellow-strong { background: var(--yellow); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.8); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header .label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue-light); margin-bottom: 0.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--gray-500); }

/* ===== GRID LAYOUTS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }

/* ===== CARDS ===== */
.card {
  background: var(--white); border-radius: 12px; padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--black); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 0.8rem; }
.card p { color: var(--gray-500); font-size: 0.95rem; }

/* Monochrome icon style */
.icon-mono {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.icon-mono svg { width: 24px; height: 24px; stroke: var(--black); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-mono--lg { width: 56px; height: 56px; }
.icon-mono--lg svg { width: 28px; height: 28px; }

/* Highlight card */
.highlight-card {
  background: var(--white); border-radius: 12px; padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.highlight-card h3 { margin-bottom: 0.8rem; }
.highlight-card p { color: var(--gray-500); font-size: 0.95rem; }

/* ===== SECTION LEAD & TEXT ===== */
.section-lead { font-size: 1.15rem; font-weight: 600; color: var(--gray-700); margin-bottom: 1.5rem; }
.section-text { color: var(--gray-500); font-size: 1rem; max-width: 800px; margin: 0 auto 2rem; text-align: center; }

/* ===== ENERGY CONTROL ===== */
.controls-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.control-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.control-item .icon-mono { margin: 0 auto 1.2rem; }
.control-icon { margin: 0 auto 1rem; }
.control-item h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.control-item p { color: var(--gray-500); font-size: 0.95rem; }

/* ===== PREVIEW CARDS ===== */
.preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.preview-card {
  background: var(--white); border-radius: 12px; padding: 2rem;
  border: 1px solid var(--gray-200); text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.preview-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.preview-card h3 { margin-bottom: 0.8rem; }
.preview-card p { color: var(--gray-500); font-size: 0.95rem; }

/* ===== TRAFO GRID ===== */
.trafo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin: 2rem 0; }
.trafo-column {
  padding: 2rem; background: var(--white); border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.trafo-column h3 { margin-bottom: 1rem; font-size: 1.2rem; }
.trafo-column p { color: var(--gray-500); margin-bottom: 1.5rem; font-size: 0.95rem; }
.link-arrow { color: var(--black); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.2s; }
.link-arrow:hover { gap: 0.8rem; }

/* ===== PARTNERS ===== */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.partner-logo-card {
  background: var(--white); border-radius: 12px; padding: 3rem 2rem;
  border: 1px solid var(--gray-200); display: flex; align-items: center;
  justify-content: center; min-height: 120px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.partner-logo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

/* ===== PLACEHOLDER ===== */
.placeholder {
  background: #fafafa; border: 1px solid #e0e0e0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: 0.85rem; padding: 2rem; min-height: 200px; text-align: center;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--yellow); color: var(--black); border-radius: 16px;
  padding: 4rem 2rem; text-align: center;
  max-width: var(--max-width); margin: 0 auto;
}
.cta-banner h2 { color: var(--black); margin-bottom: 1rem; }
.cta-banner p { color: var(--gray-700); margin-bottom: 2rem; font-size: 1.1rem; }

/* Section CTA */
.section-cta { text-align: center; margin-top: 2rem; }

/* Black CTA for yellow sections */
.btn-dark { background: var(--black); color: var(--white); font-weight: 700; }
.btn-dark:hover { background: var(--gray-700); }

/* CTA banner black variant */
.cta-banner .btn-outline { border-color: var(--black); color: var(--black); }
.cta-banner .btn-outline:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ===== FOOTER ===== */
.footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 2rem 2rem 1rem; }
.footer-content {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-section h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 600; }
.footer-section p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 0.3rem; }
.footer-section:last-child { margin-left: auto; text-align: right; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: flex-end; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-linkedin { margin-top: 0.8rem; text-align: right; }
.footer-linkedin a { display: inline-block; transition: opacity 0.2s; }
.footer-linkedin a:hover { opacity: 0.8; }
.footer-linkedin img { height: 32px; width: auto; }

.footer-bottom {
  max-width: var(--max-width); margin: 0 auto;
  padding-top: 1rem; border-top: 2px solid rgba(255,255,255,0.2);
  font-size: 0.8rem; text-align: center;
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.9); transition: opacity 0.5s ease, transform 0.5s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }

/* Typing animation */
.typing-word {
  display: inline-block;
  min-height: 1.2em;
  vertical-align: bottom;
  font-weight: 800;
  color: var(--black);
}
.typing-word .typing-inner {
  background: var(--yellow);
  padding-bottom: 2px;
  padding-right: 4px;
  border-right: 3px solid var(--black);
  animation: blink-caret 0.75s step-end infinite;
}
@keyframes blink-caret { from, to { border-color: transparent; } 50% { border-color: var(--black); } }

/* Step number */
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: var(--yellow);
  border-radius: 12px; font-weight: 800; font-size: 1.5rem;
  color: var(--black); margin-bottom: 1rem;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: 8rem 2rem 4rem; text-align: center;
  background: linear-gradient(135deg, var(--gray-100) 0%, #FFFFF0 100%);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--gray-500); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== SERVIS PAGE ===== */
.service-highlights {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem;
}
.highlight-item {
  background: var(--white); border-radius: 12px; padding: 2rem;
  border: 1px solid var(--gray-200); transition: transform 0.3s, box-shadow 0.3s;
}
.highlight-item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.highlight-item h3 { margin-bottom: 0.8rem; font-size: 1.1rem; }
.highlight-item p { color: var(--gray-500); font-size: 0.95rem; margin: 0; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.plan-card {
  background: var(--white); border-radius: 12px; padding: 2rem;
  border: 1px solid var(--gray-200); text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.plan-card.featured { border: 2px solid var(--black); position: relative; }
.plan-card.featured .featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--black); color: var(--white); padding: 0.2rem 1rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.plan-card h3 { margin-bottom: 1rem; }
.plan-card ul { text-align: left; margin-bottom: 1.5rem; padding: 0; }
.plan-card ul li {
  padding: 0.5rem 0; font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: center;
}
.plan-card ul li::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--black); flex-shrink: 0;
}
.plan-card ul { flex: 1; }
.plan-price {
  font-size: 0.85rem; font-weight: 700; margin: 0;
  background: var(--yellow); color: var(--black);
  padding: 0.6rem 1.2rem; border-radius: 6px;
  margin-top: auto;
}

/* ===== REFERENCE PAGE ===== */
.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.ref-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-200); transition: transform 0.3s, box-shadow 0.3s;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.ref-image {
  height: 200px; background: #fafafa; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: 0.85rem;
}
.ref-card h3 { margin: 1.5rem 1.5rem 0.5rem; font-size: 1.1rem; }
.ref-card > p { margin: 0 1.5rem 1.5rem; color: var(--gray-500); font-size: 0.9rem; }

/* New reference cards */
.ref-grid-new { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ref-card-new {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-200); text-decoration: none; color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.ref-card-new:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.ref-card-new.ref-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.ref-card-new.ref-featured .ref-card-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.ref-card-new.ref-featured h3 { font-size: 1.4rem; }
.ref-card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.ref-card-new.ref-featured .ref-card-img { aspect-ratio: auto; min-height: 280px; }
.ref-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ref-card-new:hover .ref-card-img img { transform: scale(1.05); }
.ref-card-body { padding: 1.5rem; flex: 1; }
.ref-card-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; line-height: 1.35; }
.ref-card-body p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.ref-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--yellow); color: var(--black);
  padding: 0.25rem 0.75rem; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.ref-specs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.ref-spec {
  background: var(--gray-100); color: var(--black); font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.8rem;
}
.section-yellow .ref-card-new { border-color: rgba(0,0,0,0.08); }

@media (max-width: 1024px) {
  .ref-grid-new { grid-template-columns: repeat(2, 1fr); }
  .ref-card-new.ref-featured { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .ref-grid-new { grid-template-columns: 1fr; }
  .ref-card-new.ref-featured { grid-template-columns: 1fr; }
  .ref-card-new.ref-featured .ref-card-img { min-height: 200px; }
}

/* ===== KONTAKT PAGE ===== */
.contact-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.contact-card {
  padding: 2rem; background: var(--gray-100); border-radius: 12px;
}
.contact-card h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.contact-card p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 0.3rem; }
.contact-card a { color: var(--black); font-weight: 500; }
.contact-card a:hover { color: var(--blue-light); }

.contact-form { max-width: 800px; margin: 2rem auto 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.8rem 1rem; border: 1px solid var(--gray-300); border-radius: 8px;
  font-family: var(--font); font-size: 0.95rem; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--black);
}
.map-placeholder {
  background: #fafafa; border: 1px solid #e0e0e0; border-radius: 12px;
  min-height: 300px; display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: 0.85rem;
}

/* ===== TRANSFORMATORY PAGE ===== */
.trafo-intro { padding: 3rem 2rem; background: var(--white); text-align: center; }
.trafo-intro .section-text { font-size: 1.1rem; color: var(--gray-500); max-width: 800px; margin: 0 auto; }

.sdee-section { background: var(--black); color: var(--white); padding: 5rem 2rem; }
.sdee-section h2 { color: var(--white); margin-bottom: 1rem; }
.sdee-section h3 { color: var(--white); }
.sdee-section p { color: rgba(255,255,255,0.8); }
.sdee-section .section-lead { text-align: center; margin-bottom: 3rem; color: rgba(255,255,255,0.9); }

.sdee-about, .hongqi-about {
  margin: 3rem 0; padding: 2rem; background: rgba(255,255,255,0.05);
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
}
.sdee-about .about-box, .hongqi-about .about-box { max-width: 900px; margin: 0 auto; }
.sdee-about h3, .hongqi-about h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.sdee-about p, .hongqi-about p { line-height: 1.8; font-size: 1rem; }

.products-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 3rem 0; }
.product-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 2rem; text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.product-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.12); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.product-card .icon-mono { background: rgba(255,255,255,0.1); margin: 0 auto 1rem; }
.product-card .icon-mono svg { stroke: var(--white); }
.product-card h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.product-card p { font-size: 0.95rem; line-height: 1.6; }

.reference-box {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 3rem; margin: 3rem auto; max-width: 1000px;
}
.reference-box h3 { margin-bottom: 2rem; font-size: 1.3rem; }
.ref-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.ref-item { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ref-item strong { display: block; margin-bottom: 0.5rem; font-size: 1rem; }
.ref-item p { font-size: 0.95rem; color: rgba(255,255,255,0.7); }

.partnership-note {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 2.5rem; margin: 3rem auto; max-width: 900px;
}
.partnership-note h3 { margin-bottom: 1.5rem; font-size: 1.2rem; }
.partnership-note p { font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,0.85); }
.partnership-note strong { color: var(--white); }

.hongqi-section { background: var(--white); color: var(--gray-700); padding: 5rem 2rem; }
.hongqi-section h2, .hongqi-section h3 { color: var(--black); }
.hongqi-section .section-lead { color: var(--gray-500); text-align: center; margin-bottom: 3rem; }
.hongqi-section .about-box { background: var(--gray-100); border: 1px solid var(--gray-200); padding: 2rem; border-radius: 12px; }
.hongqi-section .about-box h3 { color: var(--black); margin-bottom: 1rem; }
.hongqi-section .about-box p { color: var(--gray-500); }
/* SDEE light product cards */
#sdee .product-card { background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-700); border-radius: 6px; text-align: left; }
#sdee .product-card:hover { background: var(--gray-100); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
#sdee .product-card h3 { color: var(--black); }
#sdee .product-card img { border-radius: 4px; }

.hongqi-section .product-card { background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-700); }
.hongqi-section .product-card:hover { background: var(--gray-100); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.hongqi-section .product-card h3 { color: var(--black); }
.hongqi-section .product-card p { color: var(--gray-500); }
.hongqi-section .product-card .icon-mono { background: var(--gray-100); }
.hongqi-section .product-card .icon-mono svg { stroke: var(--black); }
.hongqi-section .partnership-note { background: var(--gray-100); border: 1px solid var(--gray-200); color: var(--gray-700); }
.hongqi-section .partnership-note h3 { color: var(--black); }
.hongqi-section .partnership-note p { color: var(--gray-500); }
.hongqi-section .partnership-note strong { color: var(--black); }

.partnership-highlights { padding: 5rem 2rem; background: var(--gray-100); }
.partnership-highlights h2 { text-align: center; margin-bottom: 3rem; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: var(--max-width); margin: 0 auto; }
.highlight-icon { margin: 0 auto 1rem; }
.highlights-grid .highlight-card .icon-mono { margin: 0 auto 1.2rem; }
.highlights-grid .highlight-card h3 { margin-bottom: 1rem; font-size: 1.15rem; text-align: center; }
.highlights-grid .highlight-card p { text-align: center; color: var(--gray-500); font-size: 0.95rem; }

/* Spec value */
.spec-value { font-weight: 700; font-size: 1.3rem; color: var(--black); margin: 0.8rem 0; }

/* ===== BACK LINK (podstránky) ===== */
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; border-radius: 8px;
  background: var(--white); border: 2px solid var(--yellow);
  color: var(--black); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s; margin-bottom: 2rem;
}
.back-link:hover { background: var(--yellow); }
.back-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Tag pod datem na podstránkách */
.article-meta { text-align: center; margin-top: 1rem; }
.article-meta .blog-tag { position: static; display: inline-block; }

/* Strukturovaný článek */
.article-content h2 { font-size: 1.4rem; margin: 2rem 0 1rem; color: var(--black); }
.article-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.8rem; color: var(--black); }
.article-content .perex { font-size: 1.15rem; font-weight: 500; color: var(--black); line-height: 1.7; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-200); }
.article-content ul { padding-left: 1.5rem; margin: 1rem 0; }
.article-content li { margin-bottom: 0.5rem; }

/* ===== FOTO KARUSEL S ŠIPKAMI ===== */
.photo-carousel { margin: 3rem 0; position: relative; }
.photo-carousel h3 { text-align: center; margin-bottom: 1.5rem; font-size: 1.2rem; }
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem 2rem 1rem; scrollbar-width: thin; scroll-behavior: smooth;
  scrollbar-color: var(--yellow) var(--gray-100);
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 3px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 3px; }
.carousel-track img {
  flex: 0 0 auto; height: 240px; width: auto; max-width: 380px;
  object-fit: cover; border-radius: 10px; scroll-snap-align: start;
  cursor: pointer; transition: transform 0.2s;
}
.carousel-track img:hover { transform: scale(1.03); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s; font-size: 1.2rem; color: var(--black);
}
.carousel-arrow:hover { background: var(--yellow); transform: translateY(-60%) scale(1.1); }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

/* ===== LIGHTBOX (články + reference) ===== */
.article-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999;
  display: none; align-items: center; justify-content: center;
}
.article-lightbox.open { display: flex; }
.article-lightbox img {
  max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px;
}
.article-lightbox .lb-close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255,255,255,0.15); border: none;
  color: #fff; font-size: 1.5rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: background 0.2s;
}
.article-lightbox .lb-close:hover { background: rgba(255,255,255,0.3); }
.article-lightbox .lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: background 0.2s;
}
.article-lightbox .lb-arrow:hover { background: rgba(255,255,255,0.3); }
.article-lightbox .lb-arrow.prev { left: 20px; }
.article-lightbox .lb-arrow.next { right: 20px; }
.article-lightbox .lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .grid-4, .controls-grid, .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .ref-list { grid-template-columns: 1fr; }
  .footer-content { flex-direction: row; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 2rem); padding-bottom: 2rem; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .controls-grid, .preview-cards, .trafo-grid, .partners-grid { grid-template-columns: 1fr; }
  .products-grid-4, .highlights-grid { grid-template-columns: 1fr; }
  .service-highlights, .plans-grid { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.5rem; }
  .section-full { padding: 3rem 1.5rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .footer-content { flex-direction: column; gap: 1.5rem; }
  .sdee-section, .hongqi-section { padding: 3rem 1.5rem; }
  .reference-box, .partnership-note { padding: 2rem; }
  .partnership-highlights { padding: 3rem 1.5rem; }
  .page-hero { padding: 6rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  .btn { padding: 0.75rem 1.4rem; font-size: 0.9rem; }
}

/* === Partner Gallery === */
.partner-gallery {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  cursor: pointer;
}
.partner-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.partner-gallery img.active { opacity: 1; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--black);
  z-index: 2;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.gallery-arrow:hover { background: var(--yellow); }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.gallery-dot.active { background: var(--yellow); }

/* === Lightbox === */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.3s;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.3); }
.lightbox-arrow.prev { left: 20px; }
.lightbox-arrow.next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ===== BLOG PAGE ===== */
.blog-featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem;
  align-items: center; text-decoration: none; color: inherit;
  border-radius: 16px; overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.blog-featured-img { position: relative; overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform 0.4s; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.03); }
.blog-featured-text { padding: 2.5rem 2.5rem 2.5rem 0; }
.blog-featured-text h2 { font-size: 1.6rem; margin-bottom: 1rem; line-height: 1.3; }
.blog-featured-text p { color: var(--gray-500); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.blog-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-200); text-decoration: none; color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.blog-card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.8rem; line-height: 1.4; }
.blog-card-body p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; margin: 0; }

.blog-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--yellow); color: var(--black);
  padding: 0.25rem 0.75rem; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em;
}
.blog-date {
  font-size: 0.8rem; color: var(--gray-500); font-weight: 500;
  margin-bottom: 0.5rem; display: block;
}
.blog-read-more {
  font-weight: 600; color: var(--black); font-size: 0.95rem;
  transition: gap 0.2s;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem;
  align-items: center;
}
.filter-bar .filter-label {
  font-size: 0.85rem; font-weight: 600; color: var(--gray-500);
  margin-right: 0.3rem;
}
.filter-btn {
  padding: 0.4rem 1rem; border-radius: 20px; border: 2px solid var(--gray-200);
  background: var(--white); font-size: 0.85rem; font-weight: 500;
  color: var(--gray-700); cursor: pointer; transition: all 0.2s;
  font-family: var(--font);
}
.filter-btn:hover { border-color: var(--gray-300); background: var(--gray-100); }
.filter-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); font-weight: 600; }
.filter-separator { width: 1px; height: 24px; background: var(--gray-200); margin: 0 0.3rem; }
.filter-empty {
  text-align: center; padding: 3rem 2rem; color: var(--gray-500); font-size: 1rem;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-text { padding: 1.5rem; }
  .blog-featured-img img { min-height: 200px; }
  .blog-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 0.4rem; }
  .filter-btn { padding: 0.35rem 0.8rem; font-size: 0.8rem; }
  .filter-separator { display: none; }
}
