/* ================================================
   Multi Tech Services — style.css
   Motyw Premium UX (domyślny i jedyny)
   Alternatywne motywy → new-styles.css
   ================================================ */

/* ── Font self-hostowany ──────────────────────────
   Plus Jakarta Sans (SIL Open Font License 1.1), font zmienny 300–800.
   Wcześniej ładowany przez @import z fonts.googleapis.com, co tworzyło
   sekwencyjny łańcuch krytyczny (HTML → style.css → googleapis → gstatic)
   i przekazywało adresy IP użytkowników do Google jeszcze przed zgodą
   w banerze cookies. Pliki leżą teraz w assets/fonts/ (same-origin). */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('./fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('./fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── ZMIENNE CSS (Premium UX) ─────────────────── */
:root {
  --theme-bg:              #0c0c0f;
  --theme-bg-alt:          #111116;
  --theme-bg-card:         #161619;
  --theme-bg-input:        #1c1c22;
  --theme-bg-nav:          rgba(8,8,12,0.88);
  --theme-bg-nav-mobile:   #0c0c0f;
  --theme-bg-hero-start:   #08080d;
  --theme-bg-hero-end:     #16142a;
  --theme-bg-footer:       #070709;

  --theme-text:            #ece8e0;
  --theme-text-muted:      #c49a6c;
  --theme-border:          rgba(255,255,255,0.07);
  --theme-input-border:    rgba(255,255,255,0.12);

  --theme-accent:          #c49a6c;
  --theme-accent-dark:     #a8825a;
  --theme-accent-subtle:   rgba(196,154,108,0.09);
  --theme-accent-border:   rgba(196,154,108,0.28);
  --theme-hero-accent:     #c49a6c;

  --shadow-sm: 0 2px 16px rgba(0,0,0,0.50);
  --shadow-md: 0 8px 36px rgba(0,0,0,0.60);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.70);

  --color-white:  #ffffff;
  --font-main:    'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition:   0.25s ease;
  --radius:       6px;

  /* Kolory z logo (multitech-logo.png) */
  --logo-navy:  #0e1c38;
  --logo-blue:  #1f4fa3;
  --logo-grey:  #8b8f96;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--theme-text);
  background: var(--theme-bg);
  line-height: 1.6;
  letter-spacing: 0.005em;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid transparent;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--theme-accent);
  color: #170e06;
  border-color: var(--theme-accent);
}
.btn-primary:hover {
  background: #d4a97c;
  border-color: #d4a97c;
  color: #170e06;
  box-shadow: 0 0 32px rgba(196,154,108,0.22), var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.80);
  border-color: rgba(196,154,108,0.42);
}
.btn-outline:hover {
  background: rgba(196,154,108,0.07);
  border-color: var(--theme-accent);
  color: rgba(255,255,255,0.96);
  transform: translateY(-2px);
}

.btn-dark {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.72);
}
.btn-dark:hover {
  border-color: var(--theme-accent);
  color: var(--theme-accent);
  background: rgba(196,154,108,0.05);
}

/* ── SECTION COMMONS ─────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: #111116; }

.section-header {
  text-align: left;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: var(--theme-text);
  margin-bottom: 12px;
  letter-spacing: -0.028em;
  line-height: 1.12;
}
.section-header p {
  font-size: 0.97rem;
  color: var(--theme-text-muted);
  margin-left: 0;
}
.section-divider {
  width: 30px;
  height: 1.5px;
  background: var(--theme-accent);
  margin: 16px 0 0;
  border-radius: 0;
}

/* ── HEADER / NAV ────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,8,12,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 8px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}
.nav-logo .logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.025em;
}
.nav-logo .logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--theme-hero-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

/* ── BRAND LOGO TEXT (kolorystyka i styl logo) ─── */
.brand-logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.95;
  font-family: var(--font-main);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.brand-logo-text .brand-multi {
  color: var(--logo-navy);
  font-size: 1.4em;
}
.brand-logo-text .brand-tech {
  color: var(--logo-blue);
  font-size: 1em;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  padding-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius);
  transition: color var(--transition);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  position: relative;
  background: transparent !important;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 19px; left: 14px; right: 14px;
  height: 1px;
  background: var(--theme-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active,
.nav-links a:hover { color: #ffffff; }

.nav-cta { flex-shrink: 0; }

/* ── NAV HAMBURGER ───────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  background: rgba(8,8,12,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.nav-mobile a:hover {
  color: var(--color-white);
  border-left-color: var(--theme-hero-accent);
  background: rgba(255,255,255,0.05);
}
.nav-mobile .btn {
  margin: 12px 24px 4px;
  display: block;
  text-align: center;
}

/* Collapsible groups (Usługi / Realizacje) in mobile nav */
.nav-mobile-row {
  display: flex;
  align-items: stretch;
}
.nav-mobile-row a { flex: 1; }
.nav-mobile-toggle {
  background: none;
  border: none;
  padding: 0 24px;
  margin: 0;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-mobile-toggle-chevron {
  display: inline-block;
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}
.nav-mobile-group.open .nav-mobile-toggle-chevron { transform: rotate(180deg); }
.nav-mobile-group .nav-mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.nav-mobile-group.open .nav-mobile-sub { max-height: 600px; }

/* ── HERO ────────────────────────────────────── */
#hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(ellipse 90% 75% at 68% 38%, #1c1530 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 80%, #0d1020 0%, transparent 60%),
    linear-gradient(160deg, #09090e 0%, #0d0c16 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
    transparent 1px, transparent 40px
  );
  pointer-events: none;
}

.hero-accent-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--theme-accent) 0%, transparent 85%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 60px 0;
}

.hero-text { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--theme-accent-subtle);
  border: 1px solid var(--theme-accent-border);
  color: var(--theme-hero-accent);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.028em;
}
.hero-text h1 span { color: var(--theme-hero-accent); }

.hero-text p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--theme-hero-accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat .stat-label {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-visual { position: relative; z-index: 1; }

.hero-image-wrap {
  padding: 0; overflow: hidden; background: transparent; border: none;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ── O FIRMIE ─────────────────────────────────── */
.about-title {
  text-align: center;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--theme-text);
  letter-spacing: -0.028em;
  line-height: 1.12;
}
.about-title span { color: var(--theme-accent); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  background: #14141a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}

.about-text p {
  color: var(--theme-text-muted);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.about-highlight {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--theme-text);
}
.about-highlight .hl-icon {
  width: 32px; height: 32px;
  background: var(--theme-accent-subtle);
  color: var(--theme-accent);
  border: 1px solid rgba(196,154,108,0.18);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}

/* ── USŁUGI ──────────────────────────────────── */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-card {
  flex: 0 1 calc((100% - 48px) / 3);
  min-width: 220px;
  background: #161619;
  border: 1px solid rgba(255,255,255,0.062);
  border-radius: 3px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--theme-accent) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.38s ease;
}
.service-card:hover {
  background: #1c1c22;
  border-color: rgba(196,154,108,0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: transparent;
  color: var(--theme-accent);
  border: 1px solid rgba(196,154,108,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
  transition: background 0.25s ease;
  overflow: hidden;
}
.service-card:hover .service-icon { background: rgba(196,154,108,0.08); }

.service-card h3 {
  font-size: 0.97rem; font-weight: 700; margin-bottom: 8px;
  color: var(--theme-text);
  letter-spacing: 0.01em;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--theme-text-muted);
  line-height: 1.6;
}

/* ── DLACZEGO MY ─────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.trust-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #161619;
  padding: 24px 24px 24px 28px;
  border: none;
  border-left: 1.5px solid var(--theme-accent);
  border-radius: 0 3px 3px 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.trust-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.trust-icon {
  width: 48px; height: 48px;
  background: rgba(196,154,108,0.07);
  color: var(--theme-accent);
  border: 1px solid rgba(196,154,108,0.16);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

.trust-card h3 {
  font-size: 0.97rem; font-weight: 700; margin-bottom: 6px;
  color: var(--theme-text);
}
.trust-card p {
  font-size: 0.87rem;
  color: var(--theme-text-muted);
  line-height: 1.6;
}

/* ── REALIZACJE ──────────────────────────────── */
.realizations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.realization-card {
  background: #161619;
  border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.062);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.realization-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,154,108,0.18);
}

.realization-image {
  aspect-ratio: 16/9;
  background: #1c1c22;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--theme-text-muted);
  font-size: 0.8rem;
  position: relative; overflow: hidden;
  padding: 0;
}

.realization-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--theme-accent);
  color: #160d04;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}

.realization-body { padding: 20px; }
.realization-body h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 8px;
  color: var(--theme-text);
}
.realization-body .realization-meta {
  font-size: 0.8rem; color: var(--theme-accent);
  font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.realization-body p {
  font-size: 0.875rem; color: var(--theme-text-muted);
  line-height: 1.6;
}

.realizations-cta { text-align: center; margin-top: 44px; }

/* ── OPINIE ──────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: #161619;
  border-radius: 3px; padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.062);
  position: relative;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(196,154,108,0.15);
}

.review-quote {
  font-size: 4.5rem; line-height: 0.85;
  color: var(--theme-accent); opacity: 0.45;
  margin-bottom: 14px; font-family: Georgia, serif;
}

.review-stars {
  display: flex; gap: 3px; margin-bottom: 14px;
  color: var(--theme-accent); font-size: 0.95rem;
}

.review-text {
  font-size: 0.92rem; color: var(--theme-text-muted);
  line-height: 1.7; margin-bottom: 20px; font-style: italic;
}

.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  background: rgba(196,154,108,0.07);
  border: 1px solid rgba(196,154,108,0.16);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--theme-text-muted); flex-shrink: 0;
}
.review-author-info .name {
  font-size: 0.9rem; font-weight: 700;
  color: var(--theme-text);
}
.review-author-info .role {
  font-size: 0.78rem; color: var(--theme-text-muted);
}

/* ── KONTAKT ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700; margin-bottom: 20px;
  color: var(--theme-text);
}
.contact-info p {
  color: var(--theme-text-muted); font-size: 0.95rem;
  line-height: 1.7; margin-bottom: 28px;
}

.contact-details { margin-bottom: 28px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--theme-accent-subtle);
  color: var(--theme-accent);
  border: 1px solid rgba(196,154,108,0.16);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-detail-text .label {
  font-size: 0.78rem; color: var(--theme-text-muted);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.contact-detail-text .value {
  font-size: 0.95rem; font-weight: 500;
  color: var(--theme-text); margin-top: 2px;
}

.company-nip {
  background: #1c1c22;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  padding: 16px 20px;
  font-size: 0.85rem; color: var(--theme-text-muted);
  line-height: 1.7;
}
.company-nip strong { color: var(--theme-text); }

/* FORM */
.contact-form {
  background: #161619;
  border-radius: 4px; padding: 40px 36px;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.07);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--theme-text); margin-bottom: 6px;
}
.form-group label .req { color: var(--theme-accent); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  font-family: var(--font-main); font-size: 0.92rem;
  color: var(--theme-text);
  background: #1e1e25;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px rgba(196,154,108,0.09);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #d9534f; }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-checkbox { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--theme-accent);
  cursor: pointer;
}
.form-checkbox label {
  font-size: 0.83rem; color: var(--theme-text-muted);
  line-height: 1.5; cursor: pointer;
}

.form-message {
  display: none; margin-top: 16px; padding: 14px 18px;
  border-radius: var(--radius); font-size: 0.9rem; font-weight: 500;
}
.form-message.success {
  display: block; background: #eaf7ee;
  border: 1px solid #b6dfc2; color: #2a7a48;
}
.form-message.error-msg {
  display: block; background: #fdf0f0;
  border: 1px solid #f0bcbc; color: #c0392b;
}

/* ── MAPA ─────────────────────────────────────── */
.map-section { padding: 0; }
.map-header {
  background: #07070a;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 48px 0 36px;
}
.map-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700; color: var(--color-white); margin-bottom: 8px;
}
.map-header p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.map-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; color: var(--theme-hero-accent);
  font-size: 0.9rem; font-weight: 600;
  transition: gap var(--transition);
}
.map-link:hover { gap: 12px; }

.map-embed {
  background: #0c0c10;
  padding: 0 0 40px;
}
.map-embed .container {
  border-radius: 4px; overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.07);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ── FOOTER ──────────────────────────────────── */
#footer {
  background: #07070a;
  border-top: 1px solid rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand .logo-name {
  font-size: 1.05rem; font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.025em;
}
.footer-brand .logo-sub {
  font-size: 0.7rem; font-weight: 600;
  color: var(--theme-hero-accent);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-brand p {
  font-size: 0.85rem; line-height: 1.7; margin-top: 14px;
  color: rgba(255,255,255,0.55); max-width: 300px;
}

.footer-col h4 {
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-white); margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.87rem; color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--theme-hero-accent); }
.footer-col address {
  font-style: normal; font-size: 0.87rem;
  color: rgba(255,255,255,0.55); line-height: 1.8;
}
.footer-col address strong { color: rgba(255,255,255,0.8); }
.footer-col address a { transition: color var(--transition); }
.footer-col address a:hover { color: var(--theme-hero-accent); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 20px 0;
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--theme-hero-accent); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ── SCROLL TO TOP ───────────────────────────── */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(196,154,108,0.38);
  color: var(--theme-accent);
  border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: none; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  z-index: 900;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover {
  background: var(--theme-accent);
  color: #160d04;
  box-shadow: 0 0 24px rgba(196,154,108,0.28);
  transform: translateY(-3px);
}

/* ── RESPONSIVE ──────────────────────────────── */
/* Poniżej 1024px (tablety i mniejsze) pasek linków nie mieści się już
   obok logo i CTA — przełączamy na menu hamburger zamiast go zawijać. */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image-wrap { order: -1; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .realizations-full-grid { grid-template-columns: 1fr; }
  .service-card { flex: 0 1 calc(50% - 12px); }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .about-highlights { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .service-card { flex: 1 1 100%; }
}


/* ════════════════════════════════════════════════
   IMAGES — SVG i zdjęcia
════════════════════════════════════════════════ */

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

.img-hero {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}
.hero-image-wrap:hover .img-hero { opacity: 1; }

.about-image-wrap { padding: 0; overflow: hidden; }
.img-about {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease;
}
.about-image-wrap:hover .img-about { transform: scale(1.02); }

.service-icon { overflow: hidden; display: flex; align-items: center; justify-content: center; }
.img-icon { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }

.realization-image { padding: 0; overflow: hidden; position: relative; }
.img-realization {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.realization-card:hover .img-realization { transform: scale(1.04); }

.realization-full-image { padding: 0; overflow: hidden; position: relative; }
.realization-full-image .img-realization {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.realization-full-card:hover .img-realization { transform: scale(1.03); }

.footer-logo-mark {
  width: 44px; height: 44px;
  object-fit: contain;
  margin-bottom: 10px;
  opacity: 0.85; display: block;
}

.map-placeholder-img {
  width: 100%; height: 420px;
  object-fit: cover; display: block;
}


/* ════════════════════════════════════════════════
   NAV DROPDOWN — submenu Usługi
════════════════════════════════════════════════ */
.nav-dropdown { position: relative; }

.nav-dropdown-chevron {
  font-size: 0.55rem;
  opacity: 0.6;
  display: inline-block;
  transition: transform 0.22s ease;
  margin-left: 2px;
  vertical-align: middle;
}
.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.97);
  background: #161619;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 6px;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  color: rgba(255,255,255,0.70);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  background: none;
  letter-spacing: 0.06em;
  text-transform: none;
}
.nav-dropdown-menu li a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}
/* Linia hover dziedziczona z .nav-links a::after ma pozycję dobraną do
   wysokich pozycji górnego paska — w niższych pozycjach dropdownu wypada
   w połowie tekstu (efekt przekreślenia). Tu przesuwamy ją pod tekst. */
.nav-dropdown-menu li a::after {
  bottom: 5px;
}

/* Mobile nav sub-links */
.nav-mobile-sub a {
  padding-left: 40px !important;
  font-size: 0.88rem !important;
  color: rgba(255,255,255,0.65) !important;
  border-left-color: transparent !important;
}
.nav-mobile-sub a:hover {
  color: rgba(255,255,255,0.92) !important;
  border-left-color: var(--theme-hero-accent) !important;
}


/* ════════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════════ */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.page-breadcrumb a {
  color: var(--theme-hero-accent);
  transition: opacity 0.2s;
}
.page-breadcrumb a:hover { opacity: 0.75; }
.page-breadcrumb .bc-sep { opacity: 0.35; }


/* ════════════════════════════════════════════════
   REALIZACJE PAGE
════════════════════════════════════════════════ */
.page-hero {
  padding-top: 72px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, #1a1530 0%, transparent 65%),
    linear-gradient(160deg, #09090e 0%, #0d0c16 100%);
  padding-bottom: 56px;
  text-align: center;
}
.page-hero-inner { padding-top: 48px; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--color-white); margin-bottom: 14px;
  letter-spacing: -0.025em;
}
.page-hero p {
  color: rgba(255,255,255,0.65); font-size: 1.05rem;
  max-width: 580px; margin: 0 auto;
}

.realizations-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.realization-full-card {
  background: #161619;
  border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.062);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.realization-full-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,154,108,0.18);
}

.realization-full-image {
  aspect-ratio: 4/3;
  background: #1c1c22;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: var(--theme-text-muted); font-size: 0.82rem; position: relative;
  padding: 0; overflow: hidden;
}

.realization-full-body { padding: 24px; }
.realization-full-body h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 8px;
  color: var(--theme-text);
}
.realization-full-body .meta {
  font-size: 0.8rem; color: var(--theme-accent);
  font-weight: 600; margin-bottom: 12px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.realization-full-body .meta span {
  background: rgba(196,154,108,0.07);
  border: 1px solid rgba(196,154,108,0.16);
  padding: 3px 10px; border-radius: 4px;
}
.realization-full-body p {
  font-size: 0.88rem; color: var(--theme-text-muted);
  line-height: 1.65; margin-bottom: 14px;
}
.realization-scope h4 {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--theme-text); margin-bottom: 8px;
}
.realization-scope ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.realization-scope ul li {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem;
  padding: 4px 10px; border-radius: 4px;
  color: var(--theme-text-muted); font-weight: 500;
}


/* ════════════════════════════════════════════════
   SERVICE SUBPAGES — layout i komponenty
════════════════════════════════════════════════ */

.service-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 960px) {
  .service-layout { grid-template-columns: 1fr; gap: 36px; }
}

.section-lead p {
  font-size: 0.97rem;
  color: var(--theme-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.section-lead p:last-child { margin-bottom: 0; }

.service-detail-list { list-style: none; margin: 24px 0; }
.service-detail-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-border);
  font-size: 0.94rem;
  color: var(--theme-text-muted);
  line-height: 1.6;
}
.service-detail-list li:last-child { border-bottom: none; }
.service-detail-list .sdl-dot {
  width: 8px; height: 8px;
  background: var(--theme-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.service-info-box {
  background: rgba(196,154,108,0.06);
  border: 1px solid rgba(196,154,108,0.22);
  border-radius: 4px;
  padding: 28px 24px;
}
.service-info-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--theme-accent-border);
}
.service-info-box ul { list-style: none; }
.service-info-box ul li {
  font-size: 0.9rem;
  color: var(--theme-text-muted);
  padding: 8px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid var(--theme-accent-border);
  line-height: 1.5;
}
.service-info-box ul li:last-child { border-bottom: none; }
.service-info-box ul li .sib-check {
  color: var(--theme-accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 1px;
}
.service-info-box .sib-cta {
  display: block;
  margin-top: 20px;
  text-align: center;
}

.cta-banner {
  background:
    radial-gradient(ellipse 90% 75% at 50% 50%, #1c1530 0%, transparent 65%),
    linear-gradient(160deg, #09090e 0%, #0d0c16 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--theme-accent);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.service-card-cta:hover { color: var(--theme-accent-dark); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.for-whom-item {
  background: #161619;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  padding: 18px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.for-whom-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.for-whom-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }
.for-whom-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-text);
  line-height: 1.4;
}


/* ════════════════════════════════════════════════
   GALERIA ZDJĘĆ — podstrony usług
════════════════════════════════════════════════ */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.photo-grid.photo-grid-2 { grid-template-columns: 1fr 1fr; }
.photo-grid.photo-grid-3 { grid-template-columns: repeat(3, 1fr); }

.photo-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: #161619;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196,154,108,0.28);
}
.photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card.photo-tall img { height: 340px; }

.photo-label {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  z-index: 1;
}
.photo-label-przed  { background: #b03525; color: #fff; }
.photo-label-po     { background: var(--theme-accent); color: #160d04; }
.photo-label-trakcie {
  background: rgba(15,15,15,0.72);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.2);
}

.photo-card-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--theme-text-muted);
  line-height: 1.55;
  background: #161619;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  margin: 36px 0 32px;
}
.before-after:hover { border-color: var(--theme-accent); }
.ba-side { position: relative; overflow: hidden; }
.ba-side img {
  width: 100%; height: 320px;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.ba-side:hover img { transform: scale(1.03); }
.ba-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.ba-label-przed { background: rgba(176,53,37,0.82); color: #fff; }
.ba-label-po {
  background: rgba(0,0,0,0.6);
  color: var(--theme-hero-accent);
  border-top: 2px solid var(--theme-accent);
}

@media (max-width: 960px) {
  .photo-grid.photo-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .photo-grid.photo-grid-2,
  .photo-grid.photo-grid-3 { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .ba-side img { height: 240px; }
  .photo-card.photo-tall img { height: 260px; }
}


/* ══════════════════════════════════════════════
   BANER COOKIES
══════════════════════════════════════════════ */
#cookieBanner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  max-width: 440px;
  width: calc(100% - 32px);
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-accent-border);
  border-radius: 14px;
  padding: 20px 22px;
  z-index: 1200;
  box-shadow: var(--shadow-lg);
}

#cookieBanner .cookie-banner-text strong {
  color: var(--theme-text);
  font-size: 1rem;
}

#cookieBanner .cookie-banner-text p {
  color: var(--theme-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 8px 0 16px;
}

#cookieBanner .cookie-banner-text a {
  color: var(--theme-accent);
  text-decoration: underline;
}

#cookieBanner .cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#cookieBanner .cookie-banner-actions .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ════════════════════════════════════════════════
   FAQ — sekcja pytań i odpowiedzi (schema FAQPage)
════════════════════════════════════════════════ */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] { border-color: var(--theme-accent); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--theme-accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "\2013";
  transform: translateY(-1px);
}

.faq-item summary:hover { color: var(--theme-accent); }

.faq-answer {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--theme-text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

@media (max-width: 640px) {
  .faq-item summary { padding: 16px 18px; font-size: 0.97rem; }
  .faq-answer { padding: 0 18px 18px; }
}
