/* ============================================================
   TOMIC S.A. — Główny arkusz stylów
   Paleta: #1D2B5A (navy), #ffffff (white), #2E4A8A (accent)
   ============================================================ */

/* ── Reset i zmienne ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1D2B5A;
  --navy-light: #2E4A8A;
  --navy-dark:  #141e40;
  --orange:     #1D2B5A;
  --orange-h:   #2E4A8A;
  --white:      #ffffff;
  --gray-100:   #f5f7fa;
  --gray-200:   #e8eaee;
  --gray-400:   #9aa3b0;
  --gray-600:   #5a6475;
  --gray-800:   #2d3748;
  --text:       #1a2332;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow-sm:  0 2px 6px rgba(29,43,90,.08);
  --shadow-md:  0 4px 18px rgba(29,43,90,.13);
  --shadow-lg:  0 8px 36px rgba(29,43,90,.18);
  --transition: .22s ease;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container:  1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typografia ── */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

/* ── Utilities ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section--gray { background: var(--gray-100); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Przyciski ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--navy-light); outline-offset: 3px; }
.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover { background: var(--orange-h); border-color: var(--orange-h); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--sm { padding: .5rem 1.1rem; font-size: .875rem; }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-light); }

/* ── Header / Nawigacja ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 2px solid #1D2B5A;
  box-shadow: 0 2px 12px rgba(29,43,90,.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}
.logo span { color: var(--orange); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-menu a {
  color: #1D2B5A;
  padding: .5rem .9rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active { color: #1D2B5A; background: rgba(29,43,90,.08); font-weight: 600; }
.nav-menu .nav-cta {
  margin-left: .5rem;
  background: #1D2B5A;
  color: #ffffff !important;
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
}
.nav-menu .nav-cta:hover { background: #2E4A8A !important; color: #fff !important; }

.lang-toggle {
  background: none;
  border: 1px solid rgba(29,43,90,.35);
  color: #1D2B5A;
  padding: .3rem .75rem;
  border-radius: 20px;
  font-size: .8rem;
  cursor: pointer;
  transition: var(--transition);
  margin-left: .75rem;
}
.lang-toggle:hover { border-color: #1D2B5A; color: #1D2B5A; background: rgba(29,43,90,.06); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .3rem;
}
.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy); /* FIX #1: was var(--white) — invisible on white navbar */
  transition: var(--transition);
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1e3050 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%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");
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  padding: .3rem .9rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: rgba(255,255,255,.9); font-style: normal; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.75); margin-bottom: 2rem; max-width: 580px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.hero-stat .lbl { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .2rem; text-transform: uppercase; letter-spacing: .06em; }

/* ── O firmie ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { color: var(--navy); margin-bottom: 1rem; }
.about-text h2 span { color: var(--orange); }
.about-text p { color: var(--gray-600); margin-bottom: 1rem; line-height: 1.75; }
.about-highlights { margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.highlight-item { background: var(--gray-100); border-radius: var(--radius); padding: 1rem; border-left: 3px solid var(--orange); }
.highlight-item .num { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.highlight-item .lbl { font-size: .8rem; color: var(--gray-600); }
.about-visual { position: relative; }
.about-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.about-card h3 { color: var(--orange); margin-bottom: 1rem; font-size: 1.1rem; }
.about-card ul { display: flex; flex-direction: column; gap: .6rem; }
.about-card li { display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.8); font-size: .95rem; }
.about-card li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }

/* ── Sekcja nagłówkowa ── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { color: var(--navy); margin-bottom: .75rem; }
.section-header h2 span { color: var(--orange); }
.section-header p { color: var(--gray-600); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.section-label {
  display: inline-block;
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* ── Karty kategorii ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.category-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}
.category-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.category-card:hover::before { transform: scaleY(1); }
.cat-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.category-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: .5rem; }
.category-card p { color: var(--gray-600); font-size: .9rem; line-height: 1.55; margin-bottom: 1.25rem; }
.cat-link { color: var(--orange); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; transition: gap var(--transition); }
.category-card:hover .cat-link { gap: .6rem; }

/* ── Usługi ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-icon { font-size: 2.75rem; margin-bottom: 1.25rem; }
.service-card h3 { color: var(--white); margin-bottom: .75rem; font-size: 1.15rem; }
.service-card p { color: rgba(255,255,255,.65); line-height: 1.65; font-size: .95rem; }
.service-card .svc-highlight { color: var(--orange); font-weight: 600; margin-top: 1rem; font-size: .9rem; }

/* ── CTA blok ── */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3050 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::after {
  content: 'TOMIC';
  position: absolute;
  font-size: 14rem;
  font-weight: 900;
  color: rgba(255,255,255,.025);
  right: -2rem;
  bottom: -3rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.cta-block h2 { color: var(--white); margin-bottom: 1rem; }
.cta-block p { color: rgba(255,255,255,.7); margin-bottom: 2rem; font-size: 1.1rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Stopka ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.55);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.45); }
.footer-col h4 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col li a { font-size: .9rem; transition: color var(--transition); }
.footer-col li a:hover { color: var(--orange); }
.footer-contact p { font-size: .9rem; line-height: 1.7; }
.footer-contact a { color: var(--orange); }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
}
.footer-bottom a { color: var(--orange); }

/* ── Strona produktów ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.65); font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ── Filtry ── */
.filters-bar {
  background: var(--white);
  border-bottom: 1.5px solid var(--gray-200);
  padding: 1.5rem 0;
  position: sticky;
  top: 92px; /* FIX #4: was 64px — header is ~92px tall (logo 60px + padding 2×16px) */
  z-index: 50;
}
.filters-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.filter-group { display: flex; flex-direction: column; gap: .35rem; flex: 1; min-width: 160px; }
.filter-group label { font-size: .8rem; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; }
.filter-group input,
.filter-group select {
  padding: .6rem .9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  font-family: var(--font);
  width: 100%;
}
.filter-group input:focus,
.filter-group select:focus { outline: none; border-color: var(--orange); }
.filter-group--search { flex: 2; min-width: 220px; }
.filter-group--search .search-wrap { position: relative; }
.filter-group--search .search-icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 1rem; pointer-events: none; }
.filter-group--search input { padding-left: 2.5rem; }
.filters-actions { display: flex; gap: .6rem; align-items: flex-end; flex-shrink: 0; }

/* ── Grid produktów ── */
.products-section { padding: 2.5rem 0 5rem; }
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.products-count { font-size: .9rem; color: var(--gray-600); }
.products-count strong { color: var(--navy); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-img {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-400);
  position: relative;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; background: #fff; mix-blend-mode: multiply; }
.product-img-placeholder { font-size: 3.5rem; }
.product-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: .75rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .4rem; }
.product-model { font-size: .8rem; color: var(--gray-400); font-family: monospace; margin-bottom: .35rem; }
.product-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .6rem; line-height: 1.35; }
.product-desc { font-size: .875rem; color: var(--gray-600); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.product-avail { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: #2d8a4e; font-weight: 500; }
.product-avail::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2d8a4e; display: block; }

/* Brak wyników */
.no-results { text-align: center; padding: 5rem 1rem; color: var(--gray-600); }
.no-results .icon { font-size: 3.5rem; margin-bottom: 1rem; }
.no-results h3 { color: var(--navy); margin-bottom: .5rem; }

/* ── Spinner ── */
.spinner {
  text-align: center;
  padding: 3rem;
  color: var(--gray-400);
  display: none;
}
.spinner.active { display: block; }
.spinner::after {
  content: '';
  display: inline-block;
  width: 36px; height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--navy-light);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Strona produktu (detail) ── */
.product-detail { padding: 3.5rem 0 5rem; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.product-image-box {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--gray-400);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
}
.product-image-box img { width: 100%; height: 100%; object-fit: cover; }
.product-info {}
.product-info .product-cat { font-size: .85rem; margin-bottom: .5rem; }
.product-info .product-model { font-size: .95rem; margin-bottom: .5rem; }
.product-info h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--navy); margin-bottom: 1rem; }
.product-info > p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.75rem; }
.product-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(45,138,78,.1);
  color: #1f6b38;
  border: 1px solid rgba(45,138,78,.25);
  padding: .4rem 1rem;
  border-radius: 20px;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.product-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2d8a4e; }

/* Tabela parametrów */
.spec-table-wrap { margin: 1.75rem 0; }
.spec-table-wrap h3 { color: var(--navy); font-size: 1rem; margin-bottom: .75rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table tr { border-bottom: 1px solid var(--gray-200); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: .6rem .75rem; vertical-align: top; }
.spec-table td:first-child { color: var(--gray-600); font-weight: 500; width: 55%; }
.spec-table td:last-child { color: var(--navy); font-weight: 600; }
.spec-table tr:nth-child(even) td { background: var(--gray-100); }

/* Formularz zapytania */
.inquiry-section {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 1.5rem;
}
.inquiry-section h2 { color: var(--navy); font-size: 1.25rem; margin-bottom: .4rem; }
.inquiry-section > p { color: var(--gray-600); font-size: .9rem; margin-bottom: 1.75rem; }

/* Strona kontaktu */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info h2 { color: var(--navy); margin-bottom: 1rem; }
.contact-info > p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.75rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  border-left: 3px solid var(--orange);
}
.cd-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.cd-content h4 { color: var(--navy); font-size: .9rem; margin-bottom: .25rem; }
.cd-content p, .cd-content a { color: var(--gray-600); font-size: .9rem; }
.cd-content a:hover { color: var(--orange); }

/* Formularz ogólny */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { color: var(--navy); font-size: 1.25rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-800); }
.form-group label .req { color: var(--orange); margin-left: .15rem; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,82,26,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input.error,
.form-group textarea.error { border-color: #c0392b; }
.form-group .field-error { color: #c0392b; font-size: .8rem; display: none; }
.form-group .field-error.visible { display: block; }

.form-submit { margin-top: .5rem; }
.form-note { font-size: .8rem; color: var(--gray-400); margin-top: .5rem; }

/* Alerty */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .95rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.alert--success { background: rgba(45,138,78,.1); border: 1px solid rgba(45,138,78,.3); color: #1f6b38; }
.alert--error   { background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.25); color: #8e1a10; }
.alert-icon { font-size: 1.15rem; flex-shrink: 0; }

/* Paginacja / powrót */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--orange);
  font-weight: 600;
  font-size: .9rem;
  transition: gap var(--transition);
  margin-bottom: 1.5rem;
}
.back-link:hover { gap: .75rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --container: 100%; }
  .section { padding: 3.5rem 0; }

  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border-top: 1px solid #e0e8f0; padding: 1rem 1.25rem 1.5rem; gap: .2rem; box-shadow: 0 8px 24px rgba(29,43,90,.15); }
  .nav-menu.open { display: flex; }
  .nav-menu a { border-radius: var(--radius); padding: .65rem 1rem; }
  .nav-menu .nav-cta { margin: .5rem 0 0; text-align: center; justify-content: center; }
  .nav-burger { display: flex; }
  .site-header { position: sticky; }

  .about-grid  { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
  .filters-form { flex-direction: column; }
  .filter-group { min-width: 100%; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .about-highlights { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ── Animacje wejścia ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease forwards; }
.fade-up-d1 { animation-delay: .1s; opacity: 0; }
.fade-up-d2 { animation-delay: .2s; opacity: 0; }
.fade-up-d3 { animation-delay: .3s; opacity: 0; }

/* ─── Navbar (kontakt.php alternate header class) ─── */
.navbar {
  background: #ffffff;
  border-bottom: 2px solid #1D2B5A;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(29,43,90,.10);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}

/* ─── Logo image ─── */
.site-logo {
    max-height: 60px;
    width: auto;
    display: block;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* ─── Contact Page ─── */
.page-hero {
  background: #1D2B5A;
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.contact-section { padding: 4rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2, .contact-form-wrap h2 {
  color: #1D2B5A;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; color: #1D2B5A; margin-bottom: 0.25rem; }
.contact-item a { color: #2E4A8A; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.certifications { margin-top: 2rem; border-top: 1px solid #e0e0e0; padding-top: 1.5rem; }
.certifications h3 { color: #1D2B5A; margin-bottom: 0.75rem; font-size: 1rem; }
.cert-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cert-badge {
  background: #1D2B5A;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row--2col { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-weight: 600; color: #1D2B5A; font-size: 0.9rem; }
.form-group label span { color: #c0392b; }
.form-group input, .form-group textarea, .form-group select {
  border: 1.5px solid #d0d8e8;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: #1D2B5A;
  box-shadow: 0 0 0 3px rgba(29,43,90,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group--submit { margin-top: 0.5rem; }
.form-note { font-size: 0.8rem; color: #888; margin-top: 0.5rem; }

.btn--lg { padding: 0.9rem 2.5rem; font-size: 1.05rem; }

.map-section {
  background: #f5f7fa;
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid #e0e8f0;
}
.map-address { color: #1D2B5A; font-size: 1.05rem; margin-bottom: 1rem; font-weight: 500; }
.btn--outline {
  background: transparent;
  border: 2px solid #1D2B5A;
  color: #1D2B5A;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}
.btn--outline:hover { background: #1D2B5A; color: #fff; }

/* ─── Footer logo ─── */
.footer-logo { margin-bottom: 1rem; }
.footer-copy { font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-address { font-size: .85rem; color: rgba(255,255,255,.45); }
.footer-address a { color: var(--navy-light); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: 2rem 0; }

/* ─── Product card BEM variants (EN pages + extra) ─── */
.product-card__img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f5f7fa;
  padding: 1rem;
}
.product-card__img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e8eef5 0%, #d0dcea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.product-card__body {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6b7c93;
  margin-bottom: 0.4rem;
}
.product-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: #1D2B5A;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-card__model {
  font-size: 0.85rem;
  color: #6b7c93;
  font-family: monospace;
  margin-bottom: 0.75rem;
}
.product-card__footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f4f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge-available {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: #edf7ed;
  color: #2e7d32;
  font-weight: 600;
}
.badge-unavailable {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: #f5f5f5;
  color: #888;
  font-weight: 600;
}

/* ─── Language toggle link style ─── */
a.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1.5px solid rgba(29,43,90,.35);
  color: #1D2B5A !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
a.lang-toggle:hover { background: rgba(29,43,90,.08); border-color: #1D2B5A; color: #1D2B5A !important; }

/* Lang toggle — always navy */
.lang-toggle,
a.lang-toggle,
.nav-menu a.lang-toggle,
.nav-menu .lang-toggle {
  color: #1D2B5A !important;
  border-color: rgba(29,43,90,.35) !important;
  font-weight: 600;
}
.lang-toggle--active,
a.lang-toggle--active {
  font-weight: 700;
  border-color: #1D2B5A !important;
  background: rgba(29,43,90,.06);
  text-decoration: underline;
  pointer-events: none;
}

/* ── Produktowe odświeżenie strony głównej ── */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-visual { position: relative; z-index: 1; min-height: 440px; }
.hero-product-board {
  position: relative;
  min-height: 440px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.20), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
  overflow: hidden;
}
.hero-product-board::before,
.hero-product-board::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.hero-product-board::before { width: 160%; height: 1px; left: -30%; top: 52%; transform: rotate(-18deg); }
.hero-product-board::after { width: 1px; height: 150%; left: 67%; top: -25%; transform: rotate(18deg); }
.hero-product {
  position: absolute;
  object-fit: contain;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0,0,0,.25);
}
.hero-product--main { width: 54%; height: 54%; left: 8%; top: 12%; padding: 1.1rem; }
.hero-product--top { width: 46%; height: 21%; right: 7%; top: 8%; padding: .9rem; }
.hero-product--right { width: 39%; height: 38%; right: 8%; top: 38%; padding: 1rem; }
.hero-product--bottom { width: 42%; height: 30%; left: 15%; bottom: 7%; padding: 1rem; }
.hero-product-note {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.category-card { min-height: 100%; }
.category-card-img {
  height: 132px;
  margin: -1rem -1.75rem 1.25rem; /* FIX #8: was -0.75rem — card padding is 1.75rem, image didn't reach edges */
  border-radius: 12px 12px 0 0; /* FIX #8: round only top corners when image touches card edge */
  background: linear-gradient(135deg, #fff, var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.category-card-img img { width: 100%; height: 100%; object-fit: contain; padding: .85rem; mix-blend-mode: multiply; }
.category-card .cat-icon {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(29,43,90,.08);
  border-radius: 50%;
  margin: 0;
}

.product-showcase {
  padding: 5rem 0;
  background:
    linear-gradient(90deg, rgba(29,43,90,.96), rgba(29,43,90,.86)),
    radial-gradient(circle at 90% 20%, rgba(46,74,138,.55), transparent 36%);
  color: #fff;
  overflow: hidden;
}
.showcase-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.showcase-copy h2 { color: #fff; margin-bottom: 1rem; max-width: 560px; }
.showcase-copy p { color: rgba(255,255,255,.72); margin-bottom: 1.5rem; max-width: 560px; }
.showcase-copy .section-label { color: rgba(255,255,255,.78); }
.showcase-copy .btn--navy { background: #fff; color: var(--navy); border-color: #fff; }
.showcase-copy .btn--navy:hover { background: var(--gray-100); border-color: var(--gray-100); }
.showcase-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.showcase-products figure {
  background: #fff;
  color: var(--navy);
  border-radius: 18px;
  padding: 1rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.showcase-products img { width: 100%; height: 130px; object-fit: contain; mix-blend-mode: multiply; }
.showcase-products figcaption { font-weight: 800; font-size: .85rem; letter-spacing: .05em; text-align: center; margin-top: .5rem; }

@media (max-width: 980px) {
  .hero-grid, .showcase-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .hero-product-board { min-height: 360px; }
  .showcase-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero-visual { min-height: 300px; }
  .hero-product-board { min-height: 300px; border-radius: 20px; }
  .hero-product--main { width: 58%; height: 50%; }
  .hero-product--top { width: 50%; height: 22%; }
  .hero-product--right { width: 42%; height: 34%; }
  .hero-product--bottom { width: 48%; height: 28%; }
  .showcase-products { grid-template-columns: 1fr; }
}

/* ── Hero photo badge (FIX #2: was missing, class used in index.php) ── */
.hero-photo-main .hero-photo-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  pointer-events: none;
}

/* ── Techniczny dobór produktu: inspiracja stronami producentów B2B ── */
.technical-finder {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.technical-finder-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}
.technical-finder-copy h2 { color: var(--navy); margin-bottom: .85rem; max-width: 620px; }
.technical-finder-copy p { color: var(--gray-600); line-height: 1.75; max-width: 680px; }
.technical-finder-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: var(--shadow-lg);
}
.technical-finder-panel div,
.technical-finder-link {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 1rem;
}
.technical-finder-panel strong {
  display: block;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.1;
  margin-bottom: .35rem;
}
.technical-finder-panel span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.technical-finder-link {
  grid-column: 1 / -1;
  color: #fff;
  font-weight: 800;
  text-align: center;
  background: rgba(255,255,255,.14);
  transition: background var(--transition), transform var(--transition);
}
.technical-finder-link:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
@media (max-width: 900px) {
  .technical-finder-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .technical-finder-panel { grid-template-columns: 1fr; }
}

/* ── Hero po korekcie: fotografia produktowa na pierwszym ekranie ── */
.hero--photo-first {
  overflow-x: clip; /* FIX #10: hero-photo-main::before inset:-18px could cause hscroll */
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.16), transparent 32%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 58%, #243866 100%);
}
.hero-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-photo-copy { max-width: 620px; }
.hero-photo-copy h1 { color: #fff; font-size: clamp(2.25rem, 6vw, 4.65rem); line-height: .98; letter-spacing: -.045em; margin-bottom: 1.35rem; }
.hero-photo-copy h1 em { color: rgba(255,255,255,.82); font-style: normal; }
.hero-photo-copy p { color: rgba(255,255,255,.74); font-size: clamp(1rem, 1.7vw, 1.18rem); line-height: 1.7; margin-bottom: 2rem; max-width: 590px; }
.hero-photo-main {
  position: relative;
  background: #fff;
  border-radius: 32px;
  padding: .9rem;
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
  transform: rotate(-1deg);
}
.hero-photo-main picture,
.hero-photo-main img { display: block; width: 100%; }
.hero-photo-main img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.hero-photo-main::before {
  content: '';
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 42px;
  z-index: -1;
}
@media (max-width: 980px) {
  .hero-photo-grid { grid-template-columns: 1fr; }
  .hero-photo-main { transform: none; }
}
@media (max-width: 560px) {
  .hero--photo-first { padding: 4rem 0 3.5rem; }
  .hero-photo-grid { gap: 2rem; }
  .hero-photo-main { border-radius: 22px; padding: .55rem; }
  .hero-photo-main img { border-radius: 17px; }
}

/* ── Karty katalogowe produktów ── */
.product-actions { display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1.5rem; align-items:center; }
.product-datasheet-btn { color: var(--navy); border-color: rgba(29,43,90,.28); background: #fff; }
.product-datasheet-btn:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.product-footer--stack { align-items:flex-start; flex-direction:column; }
.product-card-links { display:flex; gap:.55rem; flex-wrap:wrap; width:100%; }
.product-card-links .btn { flex:1; justify-content:center; min-width:112px; }
@media (max-width:560px){ .product-actions .btn { width:100%; justify-content:center; } }

/* ── Czołowe produkty na homepage ── */
.showcase-products a { display:block; }
.showcase-products:has(a:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .showcase-products:has(a:nth-child(3):last-child) { grid-template-columns: 1fr; } }

/* ── SEO FAQ ── */
.seo-faq-section { background: var(--gray-100); }
.seo-faq-grid { max-width: 900px; margin: 0 auto; display: grid; gap: .9rem; }
.seo-faq-item { background:#fff; border:1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.seo-faq-item summary { cursor:pointer; color: var(--navy); font-weight:800; list-style:none; }
.seo-faq-item summary::-webkit-details-marker { display:none; }
.seo-faq-item summary::after { content:'+'; float:right; color: var(--navy-light); font-size:1.2rem; line-height:1; }
.seo-faq-item[open] summary::after { content:'–'; }
.seo-faq-item p { margin-top:.75rem; color: var(--gray-600); line-height:1.7; }

/* ── Event banner: Coil Expo 2026 ───────────────────────── */
.event-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #24366f 58%, #111827 100%);
  color: #fff;
  padding: clamp(2.4rem, 5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.event-banner::before {
  content: '';
  position: absolute;
  inset: -40% auto auto 58%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(232,160,32,.32), transparent 62%);
  pointer-events: none;
}
.event-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.event-banner .section-label { color: var(--accent); }
.event-banner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  margin: .45rem 0 1rem;
}
.event-banner p { color: rgba(255,255,255,.84); max-width: 760px; font-size: 1.05rem; line-height: 1.75; }
.event-banner-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.event-banner .btn--outline { color: #fff; border-color: rgba(255,255,255,.38); }
.event-banner .btn--outline:hover { background: rgba(255,255,255,.1); }
.event-card {
  background: rgba(255,255,255,.96);
  color: var(--navy);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.45);
}
.event-card-date { background: var(--accent); color: var(--navy); border-radius: 18px; padding: 1.1rem; margin-bottom: 1rem; text-align: center; }
.event-card-date strong { display: block; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; font-weight: 900; }
.event-card-date span { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem; }
.event-card-row, .event-card-stand { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .9rem .25rem; border-bottom: 1px solid var(--gray-200); }
.event-card-row span, .event-card-stand span { color: var(--gray-600); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.event-card-row strong { text-align: right; }
.event-card-stand { border-bottom: 0; background: var(--navy); color: #fff; border-radius: 16px; padding: 1rem; margin-top: .7rem; }
.event-card-stand span { color: rgba(255,255,255,.7); }
.event-card-stand strong { font-size: 1.8rem; color: var(--accent); }
@media (max-width: 820px) {
  .event-banner-grid { grid-template-columns: 1fr; }
  .event-card { max-width: 420px; }
}

/* ── Unified language selector ─────────────────────────── */
.language-select {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .5rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 700;
}
.language-select select {
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: .85rem;
  outline: none;
  cursor: pointer;
  max-width: 132px;
}
.language-select span { line-height: 1; }
@media (max-width: 760px) {
  .language-select { width: 100%; justify-content: space-between; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; }
  .language-select select { color: #fff; max-width: none; flex: 1; }
  .language-select option { color: var(--navy); }
}
