



:root {
  /* ===============================
     TYPOGRAFIA — SKALA
  =============================== */

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.55rem;

  /* ===============================
     LINE HEIGHT
  =============================== */

  --lh-tight: 1.25;
  --lh-normal: 1.45;
  --lh-relaxed: 1.6;

  /* ===============================
     FONT WEIGHT
  =============================== */

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* ===============================
     KOLORY TEKSTU
  =============================== */

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
}

/* ======================================================
   KNON WSPÓLNY TYTUŁ SEKCJI
====================================================== */


:root {
	
  --section-title-font-size: 1.4rem;
  --section-title-weight: 500;
  --section-title-letter-spacing: 0.08em;
  --section-title-color: #0f172a;
  --section-title-margin-bottom: 24px;

  --section-title-line-width: 48px;
  --section-title-line-height: 2px;
  --section-title-line-color: #347cb3;
  --section-title-line-margin-top: 8px;
}



/* ======================================================
   RESET / BASE
====================================================== */
* { box-sizing: border-box; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.hero-lead,
.hero-meta {
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

html, body {
  overflow-x: hidden;	
  margin: 0;
  padding: 0;
  background: #0b1320;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


/* == „SAFE AREA” DLA MOBILE === */
  body {
    padding-bottom: 64px; /* 🔑 wysokość mobile-footer */
  }



:root {
  /* ===============================
     HOVER / ACTIVE — KONTRAST (KANON)
  =============================== */

  /* Tekst i tło w stanie normalnym */
  --ui-fg: rgba(229,231,235,0.92);
  --ui-fg-muted: rgba(229,231,235,0.72);

  /* Karty / przyciski / linki */
  --ui-surface: rgba(255,255,255,0.06);
  --ui-surface-2: rgba(255,255,255,0.09);

  /* Hover: zawsze jaśniejsze tło + jaśniejszy tekst */
  --ui-hover-surface: rgba(96,165,250,0.16);  /* delikatny “blue glow” */
  --ui-hover-border: rgba(96,165,250,0.35);
  --ui-hover-fg: rgba(255,255,255,0.96);

  /* Active */
  --ui-active-surface: rgba(96,165,250,0.22);
  --ui-active-border: rgba(96,165,250,0.45);

  /* Focus ring (klawiatura) */
  --ui-focus-ring: rgba(96,165,250,0.55);
}

:root {
  --icon-primary: #347cb3;
}










/* ======================================================
   HOVER / ACTIVE — SYSTEM WSPÓLNY (KANON)
   Cel: nigdy nie zostawiamy zmiany tła bez zmiany koloru tekstu
====================================================== */




/* Grupa elementów “klikalnych” w UI */
.link-button,
.contact-item,
.footer-phone,
.mobile-footer a {
  color: var(--ui-fg);
}

/* Hover */
.link-button:hover,
.contact-item:hover,
.footer-phone:hover,
.mobile-footer a:hover {
  background-color: var(--ui-hover-surface);
  border-color: var(--ui-hover-border);
  color: var(--ui-hover-fg);
  text-decoration: none;
}

/* Active */
.link-button:active,
.contact-item:active,
.footer-phone:active,
.mobile-footer a:active {
  background-color: var(--ui-active-surface);
  border-color: var(--ui-active-border);
  color: var(--ui-hover-fg);
}

/* Focus (klawiatura) */
.link-button:focus-visible,
.contact-item:focus-visible,
.footer-phone:focus-visible,
.mobile-footer a:focus-visible {
  outline: 2px solid var(--ui-focus-ring);
  outline-offset: 2px;
}

/* SVG ma dziedziczyć kolor tekstu, a nie “własne życie” */
.link-button svg,
.contact-item svg,
.footer-phone svg,
.mobile-footer a svg {
  color: #347cb3;
}

/* Jeśli gdzieś masz fill/stroke sterowane zmiennymi, niech nadal działają,
   ale kolor tekstu ma pierwszeństwo dla czytelności na hover */
.link-button:hover svg,
.contact-item:hover svg,
.footer-phone:hover svg,
.mobile-footer a:hover svg {
  color: currentColor;
}

/* Nigdy nie wygaszaj gradientu przez hover rodzica */
.process-cta__lead--cascade,
.process-cta__lead--cascade * {
  opacity: 1;
}









/* ==========================================
   LINK ŚRÓDTEKSTOWY — STANDARD
========================================== */

.link-inline {
  color: var(--section-title-line-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.15s ease;
}

/* delikatne podkreślenie tylko wizualne */
.link-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0.4;
  transition: opacity 0.15s ease;
}


/* hover — mysz */
.link-inline:hover {
  color: var(--section-title-line-color);
}

.link-inline:hover::after {
  opacity: 0.85;
}

/* focus — klawiatura / accessibility */
.link-inline:focus-visible {
  outline: none;
  color: var(--section-title-line-color);
}

.link-inline:focus-visible::after {
  opacity: 1;
}

/* active — klik / tap */
.link-inline:active {
  opacity: 0.85;
}


/* ==========================================
   LINK W LIŚCIE — STANDARD
========================================== */

.link-list {
  /* reset tego gówna z header.css */
  padding: 0 !important;
  margin: 0 !important;

  font-size: inherit !important;
  font-weight: 500 !important;
  line-height: inherit !important;

  color: inherit !important;
  background: none !important;

  display: inline !important;
  position: static !important;

  /* Twój styl linka */
  color: var(--section-title-line-color) !important;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* wywalamy pseudo jeśli coś się przyczepiło */
.link-list::after {
  content: none !important;
}




.section-title,
.services-title,
.about-title,
.contact-title,
.section-process__title {
  font-size: var(--section-title-font-size);
  font-weight: var(--section-title-weight);
  letter-spacing: var(--section-title-letter-spacing);
  text-transform: uppercase;
  margin-bottom: var(--section-title-margin-bottom);
  color: var(--section-title-color);
  position: relative;
  text-align: center; /* ✅ wyśrodkowanie tekstu */
  color: var(--section-title-color); /* 🔗 źródło prawdy */
}

.section-process {
  --section-title-color: #f8fafc; /* jasny tytuł */
}


  .section-title::after,
  .services-title::after,
  .about-title::after,
  .contact-title::after,
  .page-about h2::after,
  .section-process__title::after  {
    content: "";
    display: block;
    width: var(--section-title-line-width);
    height: var(--section-title-line-height);
    background: var(--section-title-line-color);
    margin: var(--section-title-line-margin-top) auto 0;
  }

.services-title,
.contact-title {
  --section-title-color: #f8fafc; /* jasny, czysty cyan */
}


/* ======================================================
   KANON WSPÓLNY BUTTON LINKOWY
====================================================== */
:root {
  /* BUTTON – wspólne */
  --btn-padding-y: 10px;
  --btn-padding-x: 14px;
  --btn-radius: 999px; /* 🔵 bardziej zaokrąglony */
  --btn-font-weight: 600;
  
  --btn-color: #0f172a;
  --btn-bg: rgba(255,255,255,0.9);
  --btn-bg-hover: rgba(255,255,255,1);

  --btn-border: 1px solid rgba(15,23,42,0.15);
 
  --btn-margin-top: 24px;
  --btn-margin-bottom: 0; 
}

:root {
  --action-hover-bg: rgba(99, 102, 241, 0.10); /* indigo */
  --action-hover-color: #312e81;               /* indigo-900 */
}

:root {
  --icon-accent: #2563eb;
}

/* ==================================
   ICON GAP — LINKS WITH EMOJI
================================== */

/* ==============================
   ICON — BASE CANON
============================== */

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;

  color: var(--icon-accent);
  vertical-align: middle;
}

/* ==================================
   ICON — OUTLINE
================================== */
.icon--outline path {
  fill: none;
  stroke: currentColor;
}

/* ==================================
   ICON — FILLED
================================== */
.icon--filled path {
  fill: currentColor;
  stroke: none;
}

/* ==============================
   ICON — FILLED VARIANT
============================== */

.icon--filled path {
  fill: currentColor;
  stroke: none;
}

/* ==============================
   ICON — CANON
============================== */

.process-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ======================================================
   CLS FIX — process-cta (reserve space)
   Krytyczne: zapobiega skokom po async CSS
====================================================== */

.process-cta {
  min-height: 360px;      /* 🔑 REZERWA MIEJSCA */
}

.process-cta__phone {
  flex: 1 1 calc(50% - 6px);
}

.hero-cta .link-button .icon,
.process-cta__phone .icon {
  width: 24px;
  height: 24px;
}

.link-button.has-icon .icon {
  width: 22px;
  height: 22px;

  stroke: #347cb3;          /* indigo-500 */
  stroke-width: 1.7;

  vertical-align: middle;
  transform: translateY(1px); /* 🔑 mikro korekta osi */
}


.link-button,
.process-cta__phone,
.footer-phone,
.footer-hours a,
.contact-item {
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.link-button:hover,
.link-button:focus-visible,
.link-button:active,

.process-cta__phone:hover,
.process-cta__phone:focus-visible,
.process-cta__phone:active,

.footer-phone:hover,
.footer-phone:focus-visible,
.footer-phone:active,

.footer-hours a:hover,
.footer-hours a:focus-visible,
.footer-hours a:active

/* .contact-item:hover,
.contact-item:focus-visible,
.contact-item:active */ {
  color: var(--action-hover-color);
  background-color: var(--action-hover-bg);
}

.link-button.has-icon:hover .icon,
.link-button.has-icon:active .icon {
  stroke: #4f46e5;          /* indigo-600 */
}

.link-button.has-icon .icon {
  margin-right: 5px; /* 🔑 kontrola odstępu */
}




/* ==================================
   EXCEPTION — SERVICES CTA (NO ARROW)
================================== */


.link-button {
  display: block;

  width: fit-content;

  padding: var(--btn-padding-y) var(--btn-padding-x);
  border-radius: var(--btn-radius);
  border: var(--btn-border);

  font-weight: var(--btn-font-weight);
  color: var(--btn-color);
  text-decoration: none;

  background: var(--btn-bg);
  transition: background 0.2s ease, transform 0.1s ease;
	
  margin: var(--btn-margin-top) auto var(--btn-margin-bottom);
  
  
}

.link-button.has-icon {
  display: inline-flex;          /* 🔑 zamiast block */
  align-items: center;           /* 🔑 ŚRODEK = koniec problemu */
  gap: 6px;
}



.link-button__text {
  line-height: 1;          /* 🔑 stabilniejsza linia (na span) */
  display: inline-block;     /* 🔑 żeby line-height działało przewidywalnie */
  vertical-align: middle;
  font-size: 1.05rem;
}

.link-button:hover {
  background: var(--btn-bg-hover);
}

.link-button:active {
  transform: scale(0.97);
}



.link-button:hover::after {
  transform: translateX(4px);
}

    .link-button::after {
        content: "→";
        margin-left: 10px;
        font-size: 1.1em;
        transition: transform 0.2s ease;
    }

  .process-cta__phone.link-button::after {
    content: none;      /* 🔑 usuwa strzałkę */
    margin-left: 0;     /* 🔑 czyści odstęp */
  }


/* ======================================================
   LAYOUT — MOBILE FIRST
====================================================== */
.page {
  width: 100%;
  min-height: 100vh;
  display: block;
  padding: 0;
}

.page-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 560px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

/* ======================================================
   TYPOGRAFIA
====================================================== */
h1 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .2px;
}

.subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* ======================================================
   ELEMENTY UI
====================================================== */
.building {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.palette {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 22px 0;
}

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #1f2937;
}

.info {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.6;
}

.footer {
  margin-top: 24px;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer strong {
  color: #60a5fa;
  font-weight: 600;
}

/* ======================================================
   KANON KOMPONENTÓW
====================================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 48px 24px;
}

.section:last-of-type {
  padding-bottom: 48px;
}

.page-contact .section:last-of-type {
  padding-bottom: 48px;
}

.grid {
  display: grid;
  gap: 16px;
}

/* ======================================================
   KANON LAYOUTU
====================================================== */

.page {
  width: 100%;
}

.page-about h3 {
  padding-top:15px
}

/* ograniczenie szerokości */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* grid bazowy */
.grid {
  display: grid;
  gap: 16px;
}

/* karty (używasz już) */
.card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 24px;
}

/* CTA / przycisk */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}



/* ======================================================
   HERO — AUTOELEKTRONIKA (MOBILE FIRST)
====================================================== */

.section-hero {

  padding-top: calc(36px + var(--menu-h, 92px));	
  	
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.75) 35%,
      rgba(0, 0, 0, 0.55) 70%,
      rgba(0, 0, 0, 0.35) 100%
    ),
    url("/img/backgrounds/mobile_electronicblue_car_half_webp.webp")
    65% 40% / cover no-repeat;
}
.section-hero .hero {
  max-width: 640px;
  margin: 0 auto;

}

/* H1 */
.hero-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.hero-lead {
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: center
}

.hero-meta {
  font-size: 1.2rem;
  opacity: 0.95;
  text-align: center;
}

/* CTA */
.hero-cta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.hero-phone {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}

.hero-phone:hover {
  background: rgba(0,0,0,0.55);
}

.hero-phone:active {
  transform: scale(0.98);
}

@media (max-width: 360px) {

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-lead {
    font-size: 1rem;
  }


}



/* ======================================================
   PROCES — MOBILE FIRST
====================================================== */



	.process-contact__person {
		font-size: 1.15rem;
	}


	.process-contact__list {
		font-size: 0.95rem;
	}







/* ======================================================
   SERWIS — MOBILE FIRST
====================================================== */

.section-services {
  background:
    linear-gradient(
      rgba(0,0,0,0.75),
      rgba(0,0,0,0.75)
    ),
    url("/img/backgrounds/mobile_electronicblue_car_half_webp.webp")
    center center / cover no-repeat;
  padding: 56px 16px;
}

.services {
  max-width: 720px;
  margin: 0 auto;
}

/* lista kart */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* karta serwisu */
.service-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  background: rgba(15,23,42,0.75);
  border: 1px solid rgba(148,163,184,0.25);
  backdrop-filter: blur(6px);
}

.services-cta {
  margin-top: 60px;
  text-align: center;
}

/* ikona */
.service-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(59,130,246,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   SERWIS — IKONY WEBP (wariant span+bg)
========================================= */

.service-icon span {
  display: block;
  width: 44px;   /* dopasuj jeśli chcesz 48px */
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 1) ELEKTRYKA */
.icon-elektryka {
  background-image: url("/icons/elektryka300.webp");
}

/* 2) DIAGNOSTYKA */
.icon-diagnostyka {
  background-image: url("/icons/diagnostyka300.webp");
}

/* 2) DIAGNOSTYKA */
.icon-immobilizer {
  background-image: url("/icons/immobilizer300.webp");
}

/* 2) DIAGNOSTYKA */
.icon-ecu {
  background-image: url("/icons/ecu300.webp");
}

/* 2) DIAGNOSTYKA */
.icon-klima {
  background-image: url("/icons/klima300.webp");
}

/* 2) DIAGNOSTYKA */
.icon-programowanie {
  background-image: url("/icons/programowanie300.webp");
}

/* 2) DIAGNOSTYKA */
.icon-olej {
  background-image: url("/icons/olej300.webp");
}

/* 2) DIAGNOSTYKA */
.icon-chip {
  background-image: url("/icons/chip300.webp");
}

/* treść */
.service-content h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
  font-weight: 500;
  color: #f8fafc;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.page-serwis .service-content h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
  font-weight: 400;
  color: #f8fafc;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.service-content p {
  font-size: 0.85rem;
  margin: 0;
  color: #cbd5e1;
  font-weight: 600;
}

/* ======================================================
   O NAS — JASNA SEKCJA
====================================================== */

.section-about {
  background:
    linear-gradient(
      rgba(255,255,255,1),
      rgba(255,255,255,1)
    ),
    url("/img/backgrounds/light_tech_bg.webp")
    center center / cover no-repeat;
  padding: 56px 16px;
  color: #0f172a;
}

.about {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #0f172a;
  font-weight: 300;
}

.about-muted {
  color: #475569;
}









/* ======================================================
   KONTAKT — AKCJE, NIE KARTY
====================================================== */

.section-contact {
  background:
    linear-gradient(
      rgba(0,0,0,0.78),
      rgba(0,0,0,0.78)
    ),
    url("/img/backgrounds/mobile_electronicblue_car_half_webp.webp")
    center center / cover no-repeat;
  padding: 56px 16px;
}

.contact {
  max-width: 720px;
  margin: 0 auto;
}

.contact-title {
  font-size: 1.4rem;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: #e5e7eb;
}

/* lista akcji */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* pojedyncza akcja */
.contact-item {
  display: flex;
  align-items: center;
      column-gap: 16px;
    row-gap: 6px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(148,163,184,0.25);
  color: #f8fafc;
  text-decoration: none;
}

/* ikona */
.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--icon-accent); /* #2563eb */
}

/* tekst */
.contact-text {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 300;
}

/* strzałka */
.contact-arrow {
  opacity: 0.7;
}

/* feedback */
.contact-item:active {
  transform: scale(0.98);
}

/* ==================================
   CONTACT — STATIC ITEM (NON-CLICK)
================================== */

.contact-item.contact-static {
  cursor: default;
  pointer-events: none;      /* 🔑 brak klików */
  background: rgba(15,23,42,0.45); /* delikatnie spokojniejszy */
}


/* ====================================================== */

/* rola / zakres */
.contact-meta--name {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.75;
}


.page-home .map-col {
  display: none;
}

	/* wrapper */
	.map-wrap {
	  width: 100%;
	  height: 240px;          /* MOBILE */
	  position: relative;
	  overflow: hidden;
	  border-radius: 0;
	  padding-top: 14px;
	}

	/* iframe */
	.map-iframe {
	  width: 100%;
	  height: 100%;
	  border: 0;
	  filter: grayscale(0.15) contrast(1.05);
	}

	  .map-col {
		margin-left: -16px;
		margin-right: -16px;
	  }

	  .map-wrap {
		margin: 12px 0 0;
		border-radius: 0;
	  }
  
 