/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --red:         #8B0000;
  --red-hover:   #6d0000;
  --red-light:   #c58080;
  --red-pale:    #f9eded;
  --black:       #0d0d0d;
  --white:       #ffffff;
  --gray-50:     #f8f8f8;
  --gray-100:    #f0f0f0;
  --gray-200:    #e0e0e0;
  --gray-400:    #9e9e9e;
  --gray-600:    #5a5a5a;
  --gray-800:    #222222;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:       1180px;
  --header-h:    76px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.narrow    { max-width: 760px; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem);  font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
p  { max-width: 68ch; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover { background: var(--red-hover); border-color: var(--red-hover); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover { background: var(--red); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover { background: var(--red-pale); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* Logo */
.logo-img { height: 38px; width: auto; display: block; }
.logo-link { flex-shrink: 0; text-decoration: none; }

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav a {
  display: block;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--gray-600);
  transition: color 0.15s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.main-nav a:hover { color: var(--black); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--red); font-weight: 700; }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-external { border-left: 1px solid var(--gray-200); margin-left: 0.5rem; padding-left: 1rem !important; }

/* Language switcher — flags at end of nav */
.lang-switcher-item { border-left: 1px solid var(--gray-200); margin-left: 0.5rem; padding-left: 0.5rem; }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-switcher a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  text-decoration: none;
  padding: 0.3rem 0.4rem;
  transition: color 0.15s;
}
.lang-switcher a:hover { color: var(--black); }
.lang-switcher a.active { color: var(--red); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--black); transition: transform 0.2s; }

/* ===== HERO — HOME ===== */
.hero-home {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/public/img/img3.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: grayscale(100%);
}
.hero-home .container {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-home h1 {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.5rem;
}
.hero-home h1 span { color: var(--red-light); }
.hero-home .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== HERO — PRODUCT ===== */
.hero-product {
  position: relative;
  background: var(--gray-800);
  padding: 5.5rem 0 4rem;
  overflow: hidden;
}
.hero-product-bg {
  position: absolute;
  inset: 0;
  background-image: url('/public/img/img1.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.15;
  filter: grayscale(100%);
}
.hero-product .container { position: relative; z-index: 1; }
.hero-product .product-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1rem;
}
.hero-product h1 { color: var(--white); margin-bottom: 1rem; }
.hero-product .hero-sub {
  color: rgba(255,255,255,0.68);
  font-size: 1.1rem;
  max-width: 52ch;
}

/* ===== TAGLINE BAR ===== */
.section-tagline {
  background: var(--red);
  padding: 2.75rem 0;
  text-align: center;
}
.section-tagline .tagline {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* ===== INTRO TEXT ===== */
.section-intro { padding: 5rem 0; }
.intro-text {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ===== FEATURES GRID ===== */
.section-features { padding: 5.5rem 0; background: var(--gray-50); }
.section-features h2 { margin-bottom: 3rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.feature-grid li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 0.95rem;
  line-height: 1.55;
  border-left: 3px solid var(--red);
}
.feature-grid li .fi {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== INTEGRATION SECTION ===== */
.section-integration {
  position: relative;
  padding: 6rem 0;
  background: var(--gray-800);
  overflow: hidden;
}
.integration-bg {
  position: absolute;
  inset: 0;
  background-image: url('/public/img/img2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: grayscale(100%);
}
.section-integration .container { position: relative; z-index: 1; }
.section-integration h2 { color: var(--white); margin-bottom: 1.25rem; }
.section-integration p { color: rgba(255,255,255,0.72); font-size: 1.05rem; }

/* ===== PRODUCT CARDS ===== */
.section-products { padding: 5.5rem 0; }
.section-products h2 { margin-bottom: 3rem; }
.product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.product-card {
  display: block;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--red);
  text-decoration: none;
  color: var(--black);
  transition: box-shadow 0.25s, transform 0.2s;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(139,0,0,0.12);
  transform: translateY(-3px);
}
.product-card-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.product-card h3 {
  color: var(--gray-600);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.card-arrow {
  font-size: 1.25rem;
  color: var(--red);
  transition: transform 0.2s;
  display: inline-block;
}
.product-card:hover .card-arrow { transform: translateX(5px); }

/* ===== WHY SECTION ===== */
.section-why { padding: 5.5rem 0; background: var(--gray-50); }
.section-why h2 { margin-bottom: 3rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}
.why-item {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  position: relative;
}
.why-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.why-item h3 { margin-bottom: 0.5rem; }
.why-item p { color: var(--gray-600); font-size: 0.88rem; max-width: none; }

/* ===== CTA SECTION ===== */
.section-cta-dark {
  background: var(--red);
  padding: 5rem 0;
  text-align: center;
}
.section-cta-dark h2 { color: var(--white); margin-bottom: 0.75rem; }
.section-cta-dark p { color: rgba(255,255,255,0.8); margin: 0 auto 2rem; }
.section-cta-light { padding: 4rem 0; text-align: center; }
.section-cta-light .container { display: flex; justify-content: center; }

/* ===== VIDEO ===== */
.section-video { padding: 4rem 0 2rem; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--black);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FEATURE DETAIL (product pages) ===== */
.section-features-detail { padding: 5.5rem 0; }
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2.5rem;
}
.feature-detail-item {
  border-top: 3px solid var(--red);
  padding-top: 1.75rem;
}
.feature-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.feature-detail-item h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.feature-detail-item p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.65; }

/* ===== ADVANTAGES ===== */
.section-advantages {
  background: var(--gray-800);
  padding: 5.5rem 0;
}
.section-advantages h2 { color: var(--white); margin-bottom: 2.5rem; }
.advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1rem;
}
.advantages-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}
.advantages-list li .check {
  color: var(--red-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.55;
}

/* ===== CONTACT PAGE ===== */
.hero-contact {
  position: relative;
  background: var(--gray-800);
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.hero-contact-bg {
  position: absolute;
  inset: 0;
  background-image: url('/public/img/img1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: grayscale(100%);
}
.hero-contact .container { position: relative; z-index: 1; }
.hero-contact h1 { color: var(--white); margin-bottom: 0.75rem; }
.hero-contact .hero-sub { color: rgba(255,255,255,0.68); font-size: 1.05rem; }

.section-contact { padding: 5rem 0 6rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; color: var(--gray-800); }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--red-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { color: var(--red); }
.contact-info-text { font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; }
.contact-info-text strong { display: block; color: var(--black); font-weight: 600; margin-bottom: 0.15rem; }
.contact-info-text a { color: var(--red); text-decoration: none; }
.contact-info-text a:hover { text-decoration: underline; }

/* Form */
.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--red);
  padding: 2.5rem;
}
.contact-form-wrap h3 { margin-bottom: 2rem; font-size: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--black);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group.has-error input,
.form-group.has-error textarea { border-color: #c0392b; }
.field-error { font-size: 0.78rem; color: #c0392b; }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { margin-top: 0.75rem; width: 100%; text-align: center; }
.form-success {
  padding: 1rem 1.25rem;
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  color: #166534;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.form-error-banner {
  padding: 1rem 1.25rem;
  background: #fef2f2;
  border-left: 4px solid var(--red);
  color: var(--red);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ===== DIPRINT PAGE – MODULES ACCORDION ===== */
.section-modules { padding: 5.5rem 0; background: var(--gray-50); }
.section-modules h2 { margin-bottom: 2.5rem; }
.modules-accordion { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--gray-200); }
.module-item { border-bottom: 1px solid var(--gray-200); }
.module-item:last-child { border-bottom: none; }
.module-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: background 0.15s;
}
.module-header:hover { background: var(--gray-50); }
.module-item.is-open .module-header { background: var(--red-pale); }
.module-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  min-width: 2rem;
  flex-shrink: 0;
}
.module-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  flex: 1;
}
.module-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  color: var(--red);
}
.module-icon::before,
.module-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.module-icon::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.module-icon::after  { width: 2px; height: 12px; top: 4px; left: 9px; }
.module-item.is-open .module-icon::after { transform: rotate(90deg); opacity: 0; }
.module-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.module-item.is-open .module-body { max-height: 600px; }
.module-body p {
  padding: 0 1.75rem 1.5rem 4.5rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-size: 0.95rem;
  max-width: 80ch;
}

/* ===== DIPRINT PAGE – KEY FEATURES ===== */
.section-diprint-features { padding: 5.5rem 0; }
.section-diprint-features h2 { margin-bottom: 3rem; }
.diprint-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.diprint-feat-item { padding: 0; }
.feat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}
.diprint-feat-item h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.diprint-feat-item p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.7; }

/* ===== FOOTER – EU PROJECT ===== */
.footer-eu {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}
.footer-eu-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-eu-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  max-width: none;
  margin: 0;
}
.footer-eu-funding {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  flex: 1;
  margin: 0;
  max-width: none;
}
.footer-eu-link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.footer-eu-link:hover { color: var(--white); }

/* ===== EU PROJEKT PAGE ===== */
.eu-projekt-content h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.2rem; }
.eu-projekt-content p { color: var(--gray-600); line-height: 1.75; margin-bottom: 0.75rem; }
.eu-modules-list,
.eu-goals-list-page {
  list-style: disc;
  margin: 0.75rem 0 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.eu-modules-list li,
.eu-goals-list-page li {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
}
.eu-funding-box {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--red);
  background: var(--red-pale);
}
.eu-funding-box p {
  font-size: 0.88rem;
  color: var(--gray-800);
  font-style: italic;
  margin: 0;
  max-width: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.85);
}
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-img { filter: brightness(0) invert(1); height: 32px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 0.5rem; }
.footer-brand a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-brand a:hover { color: var(--white); }

.footer-nav-col { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 0.15rem; }
.footer-nav-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
  width: fit-content;
}
.footer-nav-col a:hover { color: var(--white); }

.footer-contact-col { min-width: 200px; }
.footer-contact-col p { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.footer-contact-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 0.35rem;
}
.footer-contact-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-social a:hover { color: var(--red-light); }

.footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; }
  .footer-eu-cols { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 2rem 1.5rem;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 0.7rem 0; font-size: 1rem; border-bottom: 1px solid var(--gray-100); }
  .main-nav a::after { display: none; }
  .nav-external { border-left: none; margin-left: 0; padding-left: 0 !important; }
  .lang-switcher-item { border-left: none; margin-left: 0; padding-left: 0; border-top: 1px solid var(--gray-200); padding-top: 0.75rem; margin-top: 0.5rem; }
  .lang-switcher { gap: 0.25rem; }
  .site-header { position: relative; }

  .hero-home { min-height: 70vh; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-contact-col { grid-column: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  h1 { font-size: 1.9rem; }
  .hero-home { min-height: 60vh; }
  .product-cards, .why-grid, .feature-detail-grid, .advantages-list, .feature-grid, .diprint-feat-grid { grid-template-columns: 1fr; }
  .module-body p { padding-left: 1.75rem; }
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--black);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0,0,0,.35);
}
#cookie-banner p {
  margin: 0;
  max-width: none;
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}
#cookie-banner p a {
  color: var(--red-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-btns {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
#cookie-accept, #cookie-decline {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
}
#cookie-accept {
  background: var(--red);
  color: var(--white);
}
#cookie-accept:hover { background: var(--red-hover); }
#cookie-decline {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid var(--gray-600);
}
#cookie-decline:hover { color: var(--white); border-color: var(--gray-400); }

@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
  .cookie-banner-btns { width: 100%; }
  #cookie-accept, #cookie-decline { flex: 1; text-align: center; }
}

/* ===== COOKIE POLICY PAGE ===== */
.page-hero--narrow { padding: 5rem 0 3rem; background: var(--gray-50); }
.page-hero--narrow h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.page-hero--narrow .hero-sub { font-size: 1rem; color: var(--gray-600); margin-top: 1rem; max-width: 60ch; }
.content-section { padding: 3rem 0 5rem; }
.content-section h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.2rem; }
.content-section p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem; }
.content-section p:first-of-type { margin-top: 0; }
.cookie-table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.cookie-table th { background: var(--gray-100); padding: 0.6rem 1rem; text-align: left; font-weight: 600; border-bottom: 2px solid var(--gray-200); }
.cookie-table td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); vertical-align: top; }
.cookie-table code { background: var(--gray-100); padding: 0.1rem 0.35rem; border-radius: 3px; font-size: 0.85em; color: var(--black); }
.cookies-note { color: var(--gray-600); font-size: 0.9rem; font-style: italic; }
.cookies-updated { color: var(--gray-400); margin-top: 2rem; }
