/* ==========================================================================
   ECO-DOM Wolbrom — Modern Heating, Heat Pumps & HVAC Website Stylesheet
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-navy: #0b192c;
  --bg-navy-light: #132844;
  --bg-navy-card: #162e4d;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #cbd5e1;

  --brand-blue: #0284c7;
  --brand-blue-dark: #0369a1;
  --brand-blue-soft: #e0f2fe;
  --brand-orange: #ea580c;
  --brand-orange-hover: #c2410c;
  --brand-orange-soft: #ffedd5;
  --brand-green: #059669;
  --brand-green-soft: #d1fae5;

  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11, 25, 44, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --container-max: 1220px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-blue-dark);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover {
  background: var(--brand-orange-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.36);
}

.btn-blue {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.24);
}

.btn-blue:hover {
  background: var(--brand-blue-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-dark {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-outline-dark:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}

.badge-blue {
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
}

.badge-orange {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-hover);
}

.badge-green {
  background: var(--brand-green-soft);
  color: #047857;
}

.badge-dark {
  background: rgba(14, 165, 233, 0.16);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.25);
}

/* ==========================================================================
   Top Utility Bar & Sticky Navigation
   ========================================================================== */
.topbar {
  background: #07111f;
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border-dark);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-on-dark-muted);
}

.topbar-item a {
  color: var(--text-on-dark-muted);
}

.topbar-item a:hover {
  color: #ffffff;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: #38bdf8;
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 25, 44, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  box-shadow: inset 0 -2px 0 #38bdf8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-phone-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section & Interactive Showcase Slider
   ========================================================================== */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.18), transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(234, 88, 12, 0.14), transparent 40%),
              linear-gradient(135deg, #0b192c 0%, #10243e 55%, #0f172a 100%);
  color: var(--text-on-dark);
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  margin: 1rem 0 1.25rem;
  line-height: 1.14;
}

.hero-title span {
  color: #38bdf8;
}

.hero-lead {
  color: var(--text-on-dark-muted);
  font-size: 1.08rem;
  max-width: 58ch;
  margin-bottom: 1.75rem;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.hero-bullets svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* Hero Slider Card */
.hero-showcase {
  position: relative;
  background: var(--bg-navy-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.slider-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #07111f;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.slide-item.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption-bar {
  padding: 1.15rem 1.35rem;
  background: rgba(11, 25, 44, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.slide-caption-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.slide-caption-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.slider-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.slider-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
  padding: 0 1.35rem 1rem;
  background: rgba(11, 25, 44, 0.95);
}

.slider-dot {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition);
}

.slider-dot.active {
  background: #38bdf8;
}

/* ==========================================================================
   Trust & Metrics Bar
   ========================================================================== */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon.orange {
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
}

.trust-icon.green {
  background: var(--brand-green-soft);
  color: var(--brand-green);
}

.trust-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.trust-label {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Sections & Cards
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-dark {
  background: var(--bg-navy);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  margin: 0.65rem 0 0.85rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0;
}

.section-dark .section-header p {
  color: var(--text-on-dark-muted);
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  color: inherit;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bae6fd;
  color: inherit;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.service-card:nth-child(even) .service-icon {
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  flex-grow: 1;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-blue);
}

/* About & Mission Split */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.mission-quote {
  margin: 1.75rem 0;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #fff7ed 100%);
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.mission-quote small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-orange);
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.mission-quote p {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Brand Logos Grid (Clean Rectangular Cards — No Cropped Circles!)
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1rem;
}

.brand-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  min-height: 124px;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.brand-card img {
  height: 52px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  margin: auto 0;
}

.brand-card span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   Realizations / Portfolio Cards
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.project-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(11, 25, 44, 0.86);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.project-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

/* ==========================================================================
   Reviews & Orły Instalatorstwa
   ========================================================================== */
.reviews-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.award-card {
  background: linear-gradient(145deg, #0b192c 0%, #173357 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.award-card h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin: 0.85rem 0 0.75rem;
}

.award-card p {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

.reviews-stack {
  display: grid;
  gap: 1rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.review-author {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.96rem;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.review-text {
  margin: 0;
  color: var(--text-body);
  font-size: 0.94rem;
  font-style: italic;
}

.review-source {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Subpage Header & Filter Tabs
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #0b192c 0%, #132844 100%);
  color: #ffffff;
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.breadcrumbs a {
  color: #7dd3fc;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-on-dark-muted);
  max-width: 65ch;
  margin: 0;
  font-size: 1.03rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-btn.active {
  background: var(--bg-navy);
  color: #ffffff;
  border-color: var(--bg-navy);
}

/* ==========================================================================
   Certificates Grid & Lightbox Modal
   ========================================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.cert-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.cert-thumb {
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cert-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.cert-info {
  padding: 1rem;
}

.cert-info h3 {
  font-size: 0.96rem;
  margin-bottom: 0.3rem;
}

.cert-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--border-light);
}

.lightbox-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.lightbox-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #f8fafc;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
}

.lightbox-body {
  padding: 1.25rem;
  overflow: auto;
  display: flex;
  justify-content: center;
  background: #f1f5f9;
}

.lightbox-body img {
  max-height: 70vh;
  width: auto;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  padding: 0.85rem 1.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Interactive Configurator / Sizing Widget (oferta.html)
   ========================================================================== */
.configurator-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.configurator-card > *,
.config-form-grid > *,
.contact-grid > *,
.form-grid > * {
  min-width: 0;
}

.config-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.config-result {
  background: linear-gradient(135deg, #0b192c 0%, #142d4c 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.config-result h3 {
  color: #ffffff;
  margin: 0.5rem 0;
}

.config-result p {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Promotions Cards
   ========================================================================== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.promo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 220px 1fr;
}

.promo-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: 320px 1fr;
}

.promo-media {
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-right: 1px solid var(--border-light);
}

.promo-media img {
  max-height: 180px;
  object-fit: contain;
}

.promo-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin: 0.35rem 0 0.65rem;
}

/* ==========================================================================
   Contact Page & Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.info-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin: 1.5rem 0;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.92rem;
}

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

.hours-table td {
  padding: 0.55rem 0;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-main);
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.72rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.form-feedback {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--brand-green-soft);
  color: #065f46;
  font-size: 0.92rem;
  display: none;
}

.form-feedback.visible {
  display: block;
}

.map-wrapper {
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background: #e2e8f0;
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, #0284c7 0%, #0b192c 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: #e0f2fe;
  margin: 0;
  max-width: 56ch;
}

.site-footer {
  background: #07111f;
  color: var(--text-on-dark-muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-on-dark-muted);
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .certs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-phone-pill {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .reviews-layout,
  .configurator-card,
  .contact-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b192c;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-dark);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }
  .services-grid,
  .projects-grid,
  .certs-grid,
  .trust-grid,
  .process-steps,
  .hero-bullets,
  .form-grid,
  .config-form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .promo-card,
  .promo-card-wide {
    grid-template-columns: 1fr;
  }
  .configurator-card {
    padding: 1.25rem;
  }
  .config-result {
    padding: 1.25rem;
  }
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    padding: 0.8rem 1.15rem;
  }
  .promo-media {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .hero {
    padding: 2.5rem 0 3rem;
  }
  .section {
    padding: 3rem 0;
  }
}
