/* ===== MDR MEBLE — Premium Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --clr-black: #000000;
  --clr-dark: #111111;
  --clr-dark-2: #161616;
  --clr-dark-3: #1c1c1c;
  --clr-gray: #333333;
  --clr-mid-gray: #777777;
  --clr-light-gray: #f4f4f4;
  --clr-border: #e2e2e2;
  --clr-red: #e52421;
  --clr-red-hover: #cc1f1c;
  --clr-red-glow: rgba(229, 36, 33, 0.25);
  --clr-white: #ffffff;
  --clr-off-white: #fafafa;
  --clr-dark-gray: #2a2a2a;

  --ff-heading: 'Montserrat', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* Fluid Typography — Major Third 1.25 Scale */
  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --fs-sm: clamp(0.8rem, 0.7rem + 0.4vw, 0.875rem);
  --fs-base: clamp(0.94rem, 0.9rem + 0.2vw, 1rem);
  --fs-md: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.2rem + 1.25vw, 2rem);
  --fs-3xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --fs-4xl: clamp(2rem, 1.4rem + 2.5vw, 3rem);
  --fs-5xl: clamp(2.5rem, 1.75rem + 3vw, 3.75rem);

  /* Line-Height Tokens */
  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-snug: 1.4;
  --lh-body: 1.6;
  --lh-relaxed: 1.75;

  /* Spacing Tokens */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;

  --max-width: 1320px;
  --header-height: 90px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.15);
  --shadow-red: 0 8px 30px rgba(229,36,33,0.35);

  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-gray);
  line-height: var(--lh-body);
  background: var(--clr-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 800;
  line-height: var(--lh-heading);
  color: var(--clr-black);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-5xl); line-height: var(--lh-tight); font-weight: 900; }
h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-md); }
h3 { font-size: var(--fs-xl); font-weight: 700; margin-bottom: var(--sp-sm); }
h4 { font-size: var(--fs-lg); font-weight: 700; line-height: var(--lh-snug); margin-bottom: var(--sp-sm); }
h5 { font-size: var(--fs-md); font-weight: 600; line-height: var(--lh-snug); margin-bottom: var(--sp-xs); }
h6 { font-size: var(--fs-sm); font-weight: 600; line-height: var(--lh-snug); margin-bottom: var(--sp-xs); text-transform: uppercase; letter-spacing: 0.05em; }

.marker-underline {
  position: relative;
  display: inline-block;
}

.marker-underline::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -2px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 Q5 0 10 4 Q15 8 20 4 Q25 0 30 4 Q35 8 40 4' fill='none' stroke='%23e52421' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
  background-size: 40px 8px;
  animation: underlineSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both,
             waveFlow 2s linear 1.2s infinite;
}

@keyframes underlineSlide {
  from { transform: scaleX(0); transform-origin: left; opacity: 0; }
  to { transform: scaleX(1); transform-origin: left; opacity: 1; }
}

@keyframes waveFlow {
  from { background-position: 0 0; }
  to { background-position: 40px 0; }
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.accent { color: var(--clr-red); }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--clr-dark);
  color: var(--clr-white);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--clr-white);
}

.section-gray {
  background: var(--clr-light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-with-illustration {
  position: relative;
}

.section-header-illustration {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-480px);
  width: 160px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .subtitle {
  font-size: var(--fs-md);
  color: var(--clr-mid-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

.section-dark .section-header .subtitle {
  color: #999;
}

.section-tag {
  display: inline-block;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--clr-red);
  margin-bottom: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--clr-red);
  color: var(--clr-white);
}

.btn-primary:hover {
  background: var(--clr-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline-white {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.4);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--clr-black);
  border: 2px solid var(--clr-black);
}

.btn-outline-dark:hover {
  background: var(--clr-black);
  color: var(--clr-white);
}

.btn-lg {
  padding: 20px 48px;
  font-size: var(--fs-base);
}

.btn-white {
  background: var(--clr-white);
  color: var(--clr-red);
}

.btn-white:hover {
  background: var(--clr-black);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--clr-black);
  color: var(--clr-white);
  padding: 6px 0;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
}

.top-bar a {
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
  font-family: var(--ff-body);
}

.top-bar a:hover { color: var(--clr-white); }

/* Language Dropdown — header inline */
.lang-dropdown {
  position: relative;
  margin-left: 16px;
  flex-shrink: 0;
  order: 10;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}

.lang-dropdown-btn:hover,
.lang-dropdown-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  outline: none;
}

.lang-dropdown.open .lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--clr-red);
}

.lang-globe {
  fill: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.lang-dropdown-btn:hover .lang-globe,
.lang-dropdown.open .lang-globe {
  opacity: 1;
}

.lang-chevron {
  fill: currentColor;
  opacity: 0.5;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

/* Dropdown menu */
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: rgba(22, 22, 22, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
              0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  border-radius: 7px;
  transition: all 0.2s;
}

.lang-dropdown-menu a:hover,
.lang-dropdown-menu a:focus-visible {
  color: #fff !important;
  background: var(--clr-red);
  outline: none;
}

.lang-dropdown-menu .lang-label {
  font-weight: 400;
  text-transform: none;
  opacity: 0.6;
  font-size: 12px;
  letter-spacing: 0;
}

.lang-dropdown-menu a:hover .lang-label {
  opacity: 0.85;
}

/* Mobile: lang-switcher (left) — logo (center) — hamburger (right) */
@media (max-width: 768px) {
  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  /* Lang-dropdown is now outside nav, direct child of .container */
  .lang-dropdown {
    order: -1;
    margin-left: 0;
    z-index: 1001;
    flex-shrink: 0;
  }
  .lang-dropdown-btn {
    padding: 6px 12px;
    font-size: 13px;
    gap: 5px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
  }
  .lang-dropdown-btn .lang-globe { width: 15px; height: 15px; }
  .lang-dropdown-btn .lang-chevron { width: 10px; height: 10px; }
  .lang-dropdown-menu {
    left: 0;
    right: auto;
    min-width: 150px;
    top: calc(100% + 6px);
    background: rgba(22, 22, 22, 0.97);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }

  /* Logo perfectly centered */
  .header .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* Hamburger right */
  .hamburger {
    order: 1;
    flex-shrink: 0;
  }
}

.top-bar svg {
  width: 14px;
  height: 14px;
  fill: var(--clr-red);
}

/* ===== Header ===== */
.header {
  background: var(--clr-black);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--clr-red);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { display: flex; align-items: center; height: 80px; }
.logo img, .logo svg { height: 80px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > a,
.nav-links .dropdown > .dropdown-toggle {
  color: rgba(255,255,255,0.8);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-links .dropdown > .dropdown-toggle:hover {
  color: var(--clr-white);
  background: rgba(255,255,255,0.06);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-toggle .arrow {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-top: -3px;
}

.dropdown.open .dropdown-toggle .arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  border-top: 3px solid var(--clr-red);
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--clr-gray);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(229,36,33,0.06);
  color: var(--clr-red);
  padding-left: 28px;
}

.nav-cta .btn { padding: 12px 28px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  cursor: pointer;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 30px; height: 2px;
  background: var(--clr-white);
  transition: all var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.75) 35%,
    rgba(10,10,10,0.45) 65%,
    rgba(10,10,10,0.25) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 100%;
}

.hero-text {
  max-width: 600px;
  flex-shrink: 0;
}

.hero-illustration {
  flex-shrink: 0;
  width: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
  mix-blend-mode: screen;
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--clr-red);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 3px;
  background: var(--clr-red);
}

.hero-title {
  font-size: clamp(2rem, 1.2rem + 4vw, 3.75rem);
  color: var(--clr-white);
  margin-bottom: 24px;
  line-height: 1.15;
  font-weight: 900;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 0.8rem + 0.7vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: var(--lh-relaxed);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1;
}

.hero-stat-number .accent { color: var(--clr-red); }

.hero-stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

/* ===== INLINE LEAD FORM (Pomiar strip) ===== */
.lead-strip {
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 7;
}

.lead-strip-inner {
  background: var(--clr-white);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  margin-top: -100px;
  padding: 48px 56px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.lead-strip-info h2 {
  font-size: var(--fs-2xl);
  margin-bottom: 16px;
  font-weight: 900;
}

.lead-strip-info p {
  color: var(--clr-mid-gray);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: 24px;
}

.lead-strip-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-strip-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--clr-dark-gray);
}

.lead-strip-benefits li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--clr-red);
  color: white;
  border-radius: 50%;
  font-size: var(--fs-xs);
  font-weight: 700;
  flex-shrink: 0;
}

.lead-strip-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-strip-form .form-field {
  flex: 1;
}

.lead-strip-form .form-field input,
.lead-strip-form .form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: var(--clr-black);
  background: #fafafa;
  transition: border-color var(--transition), background var(--transition);
}

.lead-strip-form .form-field input::placeholder {
  color: #999;
  font-weight: 400;
}

.lead-strip-form .form-field input:focus {
  border-color: var(--clr-red);
  background: var(--clr-white);
  outline: none;
  box-shadow: 0 0 0 3px var(--clr-red-glow);
}

.lead-strip-form .btn {
  white-space: nowrap;
  width: 100%;
  padding: 16px 36px;
  font-size: var(--fs-sm);
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 36, 33, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(229, 36, 33, 0); }
}

.lead-strip-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  font-size: var(--fs-xs);
  color: var(--clr-mid-gray);
  line-height: var(--lh-snug);
}

.lead-strip-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--clr-red);
}

/* ===== Trust / Features ===== */
.trust-section {
  padding: 80px 0;
  background: var(--clr-light-gray);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 48px 28px;
  position: relative;
  background: var(--clr-white);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--clr-red);
}

.trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--clr-red);
}

.trust-item h4 {
  font-size: var(--fs-md);
  margin-bottom: 8px;
  font-weight: 800;
}

.trust-item p {
  color: var(--clr-mid-gray);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card-cta {
  background: var(--clr-red);
}

.service-card-body-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.service-cta-img {
  width: 140px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.service-card-body-cta h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-card-body-cta .link-arrow {
  margin-top: auto;
}

.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.service-card-bg {
  position: absolute;
  inset: 0;
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.9) 0%,
    rgba(10,10,10,0.4) 50%,
    rgba(10,10,10,0.1) 100%
  );
}

.service-card-body {
  position: relative;
  z-index: 2;
  padding: 40px 32px;
  color: var(--clr-white);
  width: 100%;
}

.service-card-body h3 {
  color: var(--clr-white);
  font-size: var(--fs-xl);
  margin-bottom: 8px;
  font-weight: 800;
}

.service-card-body p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  line-height: var(--lh-body);
}

.service-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== Process Section (v2 — illustration cards) ===== */
.section-light {
  background: var(--clr-light-gray);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.process-card-v2 {
  background: var(--clr-white);
  padding: 36px 28px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.process-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.process-card-illustration {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.process-card-v2:hover .process-card-illustration img {
  filter: grayscale(0%);
}

.process-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--clr-red);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-weight: 900;
  font-size: var(--fs-md);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.process-card-v2 h4 {
  font-size: var(--fs-lg);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--clr-black);
}

.process-card-v2 p {
  color: var(--clr-mid-gray);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

/* Keep legacy styles for other pages */
.process-card {
  padding: 48px 36px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--clr-dark-2);
  transition: all var(--transition);
}

.process-card:hover {
  border-color: var(--clr-red);
  background: var(--clr-dark-3);
  transform: translateY(-6px);
}

.process-number {
  font-family: var(--ff-heading);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.process-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--clr-red);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-weight: 900;
  font-size: var(--fs-md);
  margin-bottom: 24px;
}

.process-card h4 {
  color: var(--clr-white);
  font-size: var(--fs-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 800;
}

.process-card p {
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

/* ===== Portfolio Grid ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.portfolio-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  opacity: 1;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  gap: 12px;
}

.portfolio-overlay span {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 12px;
  border-left: 3px solid var(--clr-red);
}

.btn-portfolio-ask {
  display: inline-block;
  padding: 8px 20px;
  background: var(--clr-red);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition);
}

.btn-portfolio-ask:hover {
  background: var(--clr-red-hover);
}

/* Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  color: var(--clr-mid-gray);
  border: 2px solid var(--clr-border);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-red);
  color: var(--clr-white);
  border-color: var(--clr-red);
}

/* ===== About Section ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 6px solid var(--clr-dark);
  box-shadow:
    inset 0 0 0 2px var(--clr-red),
    0 16px 48px rgba(0,0,0,0.15),
    0 4px 12px rgba(0,0,0,0.08);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about-image-accent {
  display: none;
}

.about-text .section-tag { margin-bottom: 16px; }

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--clr-mid-gray);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.02);
  border-radius: 6px;
  transition: all var(--transition);
}

.about-feature:hover {
  background: rgba(0,0,0,0.04);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 8px;
  height: 8px;
  background: var(--clr-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-feature span {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--clr-black);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #c0392b 0%, var(--clr-red) 40%, #e74c3c 100%);
  padding: 112px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--clr-white);
  margin-bottom: 16px;
  font-size: var(--fs-3xl);
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-lg);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: var(--lh-relaxed);
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ===== Footer ===== */
.footer {
  background: var(--clr-black);
  color: rgba(255,255,255,0.5);
  padding-top: 0;
  padding-bottom: 0;
  border-top: 2px solid var(--clr-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.4);
}

.footer h4 {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: var(--lh-relaxed);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--clr-red);
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.footer-links a:hover {
  color: var(--clr-white);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: var(--fs-sm);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background var(--transition);
  margin-left: -12px;
}

.footer-contact-item:hover {
  background: rgba(255,255,255,0.04);
}

.footer-contact-item svg {
  width: 16px; height: 16px;
  fill: var(--clr-red);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  font-family: var(--ff-body);
  font-weight: 400;
}
.footer-contact-item a:hover { color: var(--clr-white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
}

/* ===== Floating Phone CTA ===== */
/* ===== Floating Social Sidebar ===== */
.floating-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.floating-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: all var(--transition);
  cursor: pointer;
}

.floating-social-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--clr-white);
}

.floating-social-fb {
  background: #1877F2;
  border-radius: 0 8px 8px 0;
}

.floating-social-btn:hover {
  width: 52px;
}

@media (max-width: 768px) {
  .floating-social {
    top: auto;
    bottom: 280px;
    transform: none;
  }
}

/* ===== Floating Phone CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--clr-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  transition: all var(--transition);
  cursor: pointer;
  animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 36, 33, 0.6); }
  50% { box-shadow: 0 0 0 14px rgba(229, 36, 33, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 36, 33, 0); }
}

.floating-cta:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 40px rgba(229,36,33,0.5);
}

.floating-cta svg {
  width: 28px; height: 28px;
  fill: var(--clr-white);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox img {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease;
  user-select: none;
  touch-action: none;
}

.lightbox.active img.loaded {
  transform: scale(1);
  opacity: 1;
}

/* Counter */
.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 5;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  transition: opacity 0.3s ease;
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 5;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: var(--clr-white);
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.1); }

/* Nav Arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  fill: var(--clr-white);
}

.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Spinner */
.lightbox-spinner {
  position: absolute;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--clr-white);
  border-radius: 50%;
  animation: lbSpin 0.8s linear infinite;
  display: none;
}

.lightbox.loading .lightbox-spinner { display: block; }

@keyframes lbSpin {
  to { transform: rotate(360deg); }
}

/* Error */
.lightbox-error {
  position: absolute;
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  display: none;
}

.lightbox.error .lightbox-error { display: block; }
.lightbox.error .lightbox-spinner { display: none; }

/* Auto-hide controls */
.lightbox.idle .lightbox-nav,
.lightbox.idle .lightbox-counter,
.lightbox.idle .lightbox-close { opacity: 0; pointer-events: none; }

/* Mobile lightbox */
@media (max-width: 768px) {
  .lightbox img { max-width: 98vw; max-height: 80vh; }
  .lightbox-close { top: 12px; right: 12px; width: 50px; height: 50px; background: rgba(255,255,255,0.2); }
  .lightbox-close svg { width: 22px; height: 22px; }
  .lightbox-nav { width: 52px; height: 52px; background: rgba(255,255,255,0.2); }
  .lightbox-nav svg { width: 24px; height: 24px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-counter { top: 14px; left: 14px; font-size: var(--fs-xs); padding: 4px 10px; }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Page Hero (subpages) ===== */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--clr-dark);
  position: relative;
  overflow: hidden;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  color: var(--clr-white);
  font-size: var(--fs-4xl);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.55);
  font-size: var(--fs-md);
  max-width: 560px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs,
.breadcrumb-section {
  padding: 14px 0;
  background: var(--clr-dark);
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.breadcrumbs a, .breadcrumb-section a { color: rgba(255,255,255,0.5); }
.breadcrumbs a:hover, .breadcrumb-section a:hover { color: var(--clr-red); }
.breadcrumbs span, .breadcrumb-section .sep { color: rgba(255,255,255,0.3); margin: 0 8px; }
.breadcrumbs .current, .breadcrumb-section .current { color: var(--clr-white); font-weight: 600; }
.breadcrumb-section .page-title {
  font-size: var(--fs-3xl);
  color: var(--clr-white);
  margin-top: 12px;
  margin-bottom: 4px;
}
.breadcrumb-section .page-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-md);
}

/* Page Hero Background Image */
.page-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.65);
}
.page-hero-title { color: var(--clr-white); }
.page-hero-subtitle { color: rgba(255,255,255,0.6); }

/* Features Grid */
.features-grid {
  max-width: 700px;
  margin: 0 auto;
}
.features-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-border);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--clr-black);
}
.features-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--clr-red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .features-list { grid-template-columns: 1fr; }
}

/* ===== Service Detail ===== */
.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-detail-text h2 { margin-bottom: 24px; }

.service-detail-text p {
  font-size: var(--fs-md);
  color: var(--clr-mid-gray);
  line-height: var(--lh-relaxed);
}

.service-features-list { margin-top: 32px; }

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-border);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--clr-black);
}

.service-features-list li svg {
  width: 20px; height: 20px;
  fill: var(--clr-red);
  flex-shrink: 0;
}

.service-detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.service-detail-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition);
}

.service-detail-gallery img:first-child {
  grid-column: 1 / -1;
  height: 350px;
}

.service-detail-gallery img:hover { transform: scale(1.02); }

/* Gallery Grid (realizacje, service galleries) */
.gallery-section { padding: 60px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item img { height: 180px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--clr-light-gray);
  margin-bottom: 12px;
  transition: all var(--transition);
  border-left: 4px solid transparent;
}

.contact-info-card:hover {
  background: var(--clr-off-white);
}

.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--clr-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 24px; height: 24px; fill: var(--clr-white); }

.contact-info-text h4 { margin-bottom: 4px; font-size: var(--fs-base); }
.contact-info-text p { color: var(--clr-mid-gray); font-size: var(--fs-sm); }

.contact-form-wrapper {
  background: var(--clr-white);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 { margin-bottom: 28px; font-size: var(--fs-xl); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }

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

.form-optional {
  font-weight: 400;
  font-size: var(--fs-xs);
  color: var(--clr-mid-gray);
}

.form-required {
  color: var(--clr-red);
  font-weight: 700;
}

.form-group label {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-black);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 15px 18px;
  border: 2px solid var(--clr-border);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-gray);
  transition: border-color var(--transition);
  outline: none;
  background: var(--clr-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--clr-red); }

.form-group textarea { resize: vertical; min-height: 100px; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--clr-mid-gray);
}

.form-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--clr-red); }

/* Lead form (stacked, uslugi / index backup) */
.lead-form-section { padding: 100px 0; background: var(--clr-light-gray); }

.lead-form-wrapper {
  background: var(--clr-white);
  padding: 56px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
  border-top: 4px solid var(--clr-red);
}

.lead-form-wrapper h2 { text-align: center; margin-bottom: 8px; }
.lead-form-wrapper > p { text-align: center; color: var(--clr-mid-gray); margin-bottom: 32px; }

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

.form-submit .btn { width: 100%; max-width: 400px; }

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--clr-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe { width: 100%; height: 100%; border: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-illustration { width: 280px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header-illustration {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    width: 160px;
    margin: 0 auto 16px;
    display: block;
  }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-content { grid-template-columns: 1fr; }
  .lead-strip-inner { padding: 40px 40px; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }

  .top-bar .container {
    justify-content: center;
    gap: 1rem;
    font-size: var(--fs-xs);
  }

  .hamburger { display: flex; }
  .logo { height: 52px; }
  .logo img, .logo svg { height: 52px; }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    background: var(--clr-black);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 100;
  }

  .header .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 10; }

  .nav.open { transform: translateX(0); }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav-links > a,
  .nav-links .dropdown > .dropdown-toggle {
    padding: 18px 0;
    font-size: var(--fs-lg);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-transform: none;
  }

  .nav-links > a:hover,
  .nav-links > a.active,
  .nav-links .dropdown > .dropdown-toggle:hover,
  .nav-links .dropdown > .dropdown-toggle.active {
    color: var(--clr-white);
    background: none;
  }
  .nav-links > a::after { display: none !important; }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    margin-top: 0;
    background: rgba(255,255,255,0.03);
    border-radius: 0;
    border-top: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.open .dropdown-menu { display: block; }

  .dropdown-menu a { color: rgba(255,255,255,0.7) !important; }

  .nav-cta { margin-top: 1rem; width: 100%; }
  .nav-cta .btn { width: 100%; text-align: center; }

  .hero {
    min-height: 75vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 100px;
  }
  .hero-split { flex-direction: column; }
  .hero-illustration { display: none; }
  .hero-stats { gap: 2rem; }
  .hero-stat-number { font-size: var(--fs-2xl); }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: var(--fs-sm);
    padding: 14px 20px;
  }

  .lead-strip-inner { padding: 32px 24px; margin-top: -30px; grid-template-columns: 1fr; gap: 32px; }
  .lead-strip-form { flex-direction: column; }
  .lead-strip-form .btn { width: 100%; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item::after { display: none !important; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-card-illustration { width: 140px; height: 140px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .about-features { grid-template-columns: 1fr; }

  .section-header-illustration {
    width: 140px;
    margin-bottom: 12px;
  }

  .cta-section { padding: 72px 0; }
  .cta-section p { margin-bottom: 24px; }
  .cta-section .btn {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    font-size: var(--fs-sm);
    padding: 14px 24px;
  }

  .lead-form { grid-template-columns: 1fr; }
  .lead-form-wrapper { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .service-detail-gallery { grid-template-columns: 1fr; }
  .service-detail-gallery img:first-child { height: 250px; }

  .floating-cta { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 1rem; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 10px; }
  .lead-strip-inner { padding: 24px 20px; margin-top: -30px; gap: 24px; }
  .lead-strip-benefits li { font-size: var(--fs-xs); }
  .section-header-illustration { width: 120px; }
  .cta-section { padding: 56px 0; }
  .about-image img { height: 300px; }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  animation: cookieSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner-inner {
  background: #fff;
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15),
              0 2px 8px rgba(0, 0, 0, 0.08);
  max-width: 620px;
}

.cookie-banner p {
  color: #555;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner a {
  color: var(--clr-red);
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-banner .btn-sm {
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    transform: none;
  }
  @keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 20px;
    border-radius: 14px;
  }
}
