/* css/style.css */

:root {
  --dark-top:    #121b44;
  --dark-bottom: #0a0f1e;
  --accent:      #f58822;
  --text:        #f8f9fa;
  --muted:       #a0a8b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom, var(--dark-top) 0%, var(--dark-bottom) 100%) ;
  
  min-height: 100vh;
  line-height: 1.6;
}
html {
  scroll-behavior: smooth;
}
/* ------------------- HEADER ------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 27, 68, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 136, 34, 0.15);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.logo span {
  color: var(--text);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

/* Przełącznik języków */
.lang-switcher {
  display: flex;
  gap: 0.8rem;
}

.lang-switcher a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--text);
  background: rgba(245, 136, 34, 0.18);
}
.privacy-note {
  font-size: 0.75rem;       /* mniejsza czcionka */
  color: #c0c4d0;           /* lekki szary zamiast białego */
  margin-top: 0.5rem;
  line-height: 1.4;
}
.privacy-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* odstęp między checkboxem a tekstem */
}

.privacy-text {
    font-size: 0.75rem;
    /* mniejsza czcionka */
    color: #c0c4d0;
    /* lekki szary kolor */
    line-height: 1.4;
}
.about{
    padding: 120px 5% 100px;
}
/* ------------------- HERO ------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 0 5%;

    background:
        linear-gradient(rgba(18, 27, 68, 0.9),
            rgba(10, 15, 30, 0.9)),
        url("/img/hero-bg.jpeg");

    background-position: center;
    background-repeat: no-repeat;

    /* START większy zoom */
    background-size: 115%;

    animation: heroZoomOut 1.6s ease-out forwards;
}

.hero>* {
    position: relative;
    z-index: 2;
    opacity: 0;           /* start niewidoczny */
    transform: translateY(20px); /* lekki spadek z dołu */
    animation: heroTextFadeIn 1.2s ease-out forwards;
    animation-delay: 0.8s; /* pojawia się po części zoom-out */
}

@keyframes heroTextFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.05;
}

.hero h1 strong {
    font-size: clamp(5rem, 12vw, 10rem);
    color: var(--text);
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.35rem;
    max-width: 780px;
    margin-bottom: 2.5rem;
    color: var(--muted);
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 1rem 2.4rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #e0761d;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(245, 136, 34, 0.25);
}


/* Responsywność – bardzo podstawowa */
@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }
  
  nav ul {
    gap: 1.4rem;
  }
  
  .hero h1 {
    font-size: clamp(2.8rem, 10vw, 4.8rem);
  }
  
  .hero p {
    font-size: 1.15rem;
  }
}
/* Logo */
.logo {
  display: block;
  text-decoration: none;
}

.logo-img {
  height: 48px;               /* Dostosuj wysokość pod swoje logo */
  width: auto;                /* zachowa proporcje */
  max-height: 60px;           /* max wysokość na większych ekranach */
  display: block;
}

/* Menu uppercase – już jest w HTML, ale dodajemy trochę odstępów i stylu */
nav ul {
  display: flex;
  list-style: none;
  gap: 2.8rem;                /* trochę więcej przestrzeni między linkami */
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;  /* na wszelki wypadek, gdyby ktoś zmienił HTML */
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

/* Responsywność – na małych ekranach menu się zbliża */
@media (max-width: 992px) {
  nav ul {
    gap: 1.8rem;
  }
  
  nav a {
    font-size: 0.95rem;
  }
}
.logo-img {
  height: 85px;                  /* dostosuj do siebie */
  width: auto;
  filter: 
    drop-shadow(0 0 12px rgba(245, 136, 34, 0.6))   /* pomarańczowy blask */
    drop-shadow(0 0 4px rgba(245, 136, 34, 0.4));   /* dodatkowa warstwa dla głębi */
  transition: filter 0.4s ease;
}

.logo:hover .logo-img {
  filter: 
    drop-shadow(0 0 20px rgba(245, 136, 34, 0.9))
    drop-shadow(0 0 8px rgba(245, 136, 34, 0.6));
}
/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  text-decoration: none;
}

.whatsapp-container {
  display: flex;
  align-items: center;
  background: #25D366;          /* klasyczny zielony WhatsApp */
  color: white;
  border-radius: 50px;
  padding: 12px 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  transform: translateX(30px);   /* ukryty na start */
}

.whatsapp-float:hover .whatsapp-container {
  transform: translateX(0);      /* wysuwa się po najechaniu */
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
  width: 42px;
  height: 42px;
  margin-right: 12px;
}

.whatsapp-text {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.3;
}

/* Mały pulsujący efekt (opcjonalny, bardzo elegancki) */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float .whatsapp-container {
  animation: pulse 2.5s infinite;
}

/* Na bardzo małych ekranach chowamy tekst */
@media (max-width: 480px) {
  .whatsapp-text {
    display: none;
  }
  .whatsapp-container {
    padding: 14px;
    border-radius: 50%;
    transform: translateX(0); /* zawsze widoczny okrągły */
  }
}
/* ==================== SEKCJA USŁUGI ==================== */
.services {
  padding: 120px 5% 100px;
  /*background: rgba(10, 15, 30, 0.4);  delikatne przyciemnienie */
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

h2 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  text-align: center;
  margin-bottom: 1rem;
}

h2 span {
  color: var(--accent);
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(380px, 1fr));  /* Wszystkie karty równe, min 380px */
  gap: 2.5rem;
}
.about p:not(.section-subtitle) {
  
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;   /* marginesy na mobile */
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  
}

/* trochę oddechu między paragrafami */

/* Usuwamy stare .service-card.large – nie jest już potrzebne */
.service-card {
  background: rgba(18, 27, 68, 0.6);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(245, 136, 34, 0.15);
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(245, 136, 34, 0.18);
}

/* Aby dłuższe treści nie psuły układu – ograniczamy wysokość obrazu i pozwalamy na scroll treści */
.service-image-placeholder {
  height: 300px;  /* Stała wysokość dla wszystkich kart */
  background: linear-gradient(135deg, #1a234e 0%, #121b44 100%);
  position: relative;
}

.service-content {
  padding: 2rem;
  flex-grow: 1;  /* Treść wypełnia przestrzeń */
  display: flex;
  flex-direction: column;
  text-align: justify; 
  text-justify: inter-word;
}


.service-image-placeholder[data-image] {
  background: linear-gradient(135deg, #1a234e 0%, #121b44 100%);
  background-size: cover;
  background-position: center;
}

.service-image-placeholder[data-image="transport-ekspresowy.jpg"] {
  background-image: url('../img/photos/transport-ekspresowy.jpg');
}

.service-image-placeholder[data-image="transport-drogowy.jpg"] {
  background-image: url('../img/transport-drogowy.jpg');
}
.service-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* dzięki temu obraz wypełni placeholder, zachowując proporcje */
  display: block;
}
/* ==================== MISSION GRID Z IKONKAMI ==================== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.mission-grid .service-card {
  background: rgba(18, 27, 68, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(245, 136, 34, 0.15);
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  text-align: center;
}

.mission-grid .service-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(245, 136, 34, 0.18);
}

/* Obszar na ikonę */
.mission-icon {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem auto;
}

.mission-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* zachowuje proporcje ikonki */
  filter: 
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.363))   /* pomarańczowy blask */
    drop-shadow(0 0 4px rgb(255, 255, 255));   /* dodatkowa warstwa dla głębi */
  transition: filter 0.4s ease;
}

/* Tytuł i tekst */
.mission-grid .service-card h4 {
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.mission-grid .service-card p {
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}
/* ==================== SEKCJA KONTAKT ==================== */
.contact {
  padding: 120px 5% 80px;
 /* background: rgba(10, 15, 30, 0.4);*/
}

.contact h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.contact h2 span {
  color: var(--accent);
}

.contact .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

/* Karty adresowe */
.address-card {
  background: rgba(18, 27, 68, 0.6);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(245, 136, 34, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}


.address-card h4 {
  color: var(--accent);
  font-size: 2rem;      /* większe od reszty tekstu */
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Tekst w kartach */
.address-card p {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}

/* Ikonki */
.address-card .icon {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;         /* nie zmniejszają się przy wąskim ekranie */
}
.address-card p a {
  color: var(--text);         /* taki sam kolor jak tekst */
  text-decoration: none;      /* usuwa podkreślenie */
  transition: color 0.3s ease;
}

/* Hover – lekko podświetlamy link */
.address-card p a:hover {
  color: var(--accent);       /* pomarańczowy efekt na hover */
  text-decoration: none;      /* nadal bez podkreślenia */
}

/* ===================== KONTAKT ===================== */
.contact {
  padding: 100px 5% 50px;
/*background: rgba(10, 15, 30, 0.4);*/
}

.contact h2 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  text-align: center;
  margin-bottom: 1rem;
}

.contact h2 span {
  color: var(--accent);
}

.contact .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* GRID: adresy + formularz */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info,
.contact-form {
  flex: 1 1 400px;
}

/* Karty adresów */
.address-card {
  background: rgba(18, 27, 68, 0.6);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(245, 136, 34, 0.15);
  margin-bottom: 1.5rem;
}

.address-card h4 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

/* Formularz */
.contact-form {
  background: rgba(18, 27, 68, 0.6);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(245, 136, 34, 0.15);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  margin-top: 1rem;
}

/* Pole telefonu z kierunkowym */

.phone-input select {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
}

.phone-input select option {
  background-color: #0f172a;
  color: #ffffff;
}
.phone-input {
  display: flex;
  gap: 0.5rem;
}

.phone-input select {
  flex: 0 0 120px;
}

.phone-input input {
  flex: 1;
}

/* Komunikaty błędów */
.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 3px;
  display: none;
}

/* MAPA – osobny wiersz pod formularzem i adresami */
.contact-map-wrapper {
  width: 100%;
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(245, 136, 34, 0.15);
}

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

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
}
/* ==================================================
   MOBILE & TABLET – OVERRIDES
   bazuje na STARYM CSS
================================================== */

/* TABLET */
@media (max-width: 992px) {

    nav ul {
        gap: 1.2rem;
    }

    .hero {
        min-height: 70vh;
        padding-top: 120px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-map-wrapper iframe {
        height: 500px;
    }
}

/* MOBILE */
@media (max-width: 480px) {

    /* HEADER */
    header {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.8rem 1rem;
    }

    nav {
        display: none;
    }

    .logo-img {
        height: 48px;
    }

    .lang-switcher {
        justify-content: center;
        gap: 0.5rem;
    }

    .lang-switcher a {
        font-size: 0.75rem;
    }

    /* HERO */
    .hero {
        min-height: 60vh;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero h1 strong {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* SERVICES */
    .service-content {
        padding: 1.2rem;
        text-align: left;
    }

    .service-image-placeholder {
        height: 200px;
    }

    @media (max-width: 480px) {

  /* FIX FLEX WIDTH */
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  /* KARTY ADRESOWE */
  .address-card {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
  }

  /* FORMULARZ */
  .contact-form {
    padding: 1rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    max-width: 100%;
  }

  /* TELEFON – select + input */
  .phone-input {
    flex-direction: column;
  }

  .phone-input select,
  .phone-input input {
    width: 100%;
  }

  /* MAPA */
  .contact-map-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .contact-map-wrapper iframe {
    width: 100%;
    max-width: 100%;
    height: 320px;
  }
}

    /* WHATSAPP – tylko ikona */
    .whatsapp-container {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        transform: none;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-icon {
        margin: 0;
        width: 28px;
        height: 28px;
    }
}

/* BLOKADA SCROLLA POZIOMEGO */
html,
body {
    overflow-x: hidden;
}

@keyframes heroZoomOut {
    from {
        background-size: 115%;
    }
    to {
        background-size: 100%;
    }
}
.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* karty wyrównane wysokością */
}

.service-content {
    position: relative;
    flex-grow: 1;               /* treść wypełnia przestrzeń */
    padding: 1.5rem 1.5rem 5rem 1.5rem; /* ← KLUCZ: duży padding-dół, żeby zrobić miejsce na link */
}

.more-link {
    position: absolute;
    bottom: 1.8rem;             /* zwiększony odstęp od dołu */
    right: 1.8rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    z-index: 2;                 /* na wszelki wypadek nad treścią */
   /* delikatne tło pod linkiem, żeby nie nakładał się na tekst */
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.more-link:hover {
    color: #ffffff;
    background: var(--accent);
    text-decoration: none;
    transform: translateX(4px);
}

.more-link::after {
    content: " →";
    margin-left: 0.3rem;
    transition: margin-left 0.25s ease;
}

.more-link:hover::after {
    margin-left: 0.8rem;
}

/* Na mobile – link wraca do normalnego flow, nie absolutny */
@media (max-width: 768px) {
    .service-content {
        padding-bottom: 1.5rem; /* mniejszy padding na małych ekranach */
    }

    .more-link {
        position: static;
        display: block;
        text-align: right;
        margin-top: 1.2rem;
        background: none;
        padding: 0;
    }
}






/* ==================================================
   ROZWIJANE MENU + LANG SWITCHER – finalna wersja
================================================== */

/* Główna pozioma belka menu */
.main-menu {
    display: flex;
    align-items: center;
    gap: 2.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Kontener na dropdown */
.has-dropdown {
    position: relative;
}

/* Link "USŁUGI" + strzałka */
.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.has-dropdown>a:hover {
    color: var(--accent);
}

.arrow {
    font-size: 0.75rem;
    opacity: 0.8;
    transition: transform 0.25s ease;
}

.has-dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* === SAMO PODMENU === */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: rgba(18, 27, 68, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 136, 34, 0.22);
    border-radius: 8px;
    padding: 8px 0;
    margin: 4px 0 0 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
}

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

/* KLUCZ – pionowy układ w podmenu */
.dropdown,
.dropdown li,
.dropdown a {
    display: block !important;
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    padding: 0.8rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown a:hover {
    background: rgba(245, 136, 34, 0.14);
    color: var(--accent);
    padding-left: 2rem;
}

/* Opcjonalny trójkącik nad menu */
.has-dropdown::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 18px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(18, 27, 68, 0.94);
    opacity: 0;
    transition: opacity 0.2s;
}

.has-dropdown:hover::after {
    opacity: 1;
}

/* Lang switcher – bez zmian, tylko wyrównanie */
.lang-switcher {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.lang-switcher a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--text);
    background: rgba(245, 136, 34, 0.18);
}
.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* karty wyrównane wysokością */
}

.service-content {
    position: relative;
    flex-grow: 1;
    /* treść wypełnia przestrzeń */
    padding: 1.5rem 1.5rem 5rem 1.5rem;
    /* ← KLUCZ: duży padding-dół, żeby zrobić miejsce na link */
}

.more-link {
    position: absolute;
    bottom: 1.8rem;
    /* zwiększony odstęp od dołu */
    right: 1.8rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    z-index: 2;
    /* na wszelki wypadek nad treścią */
    
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.more-link:hover {
    color: #ffffff;
    background: var(--accent);
    text-decoration: none;
    transform: translateX(4px);
}

.more-link::after {
    content: " →";
    margin-left: 0.3rem;
    transition: margin-left 0.25s ease;
}

.more-link:hover::after {
    margin-left: 0.8rem;
}

/* Na mobile – link wraca do normalnego flow, nie absolutny */
@media (max-width: 768px) {
    .service-content {
        padding-bottom: 1.5rem;
        /* mniejszy padding na małych ekranach */
    }

    .more-link {
        position: static;
        display: block;
        text-align: right;
        margin-top: 1.2rem;
        background: none;
        padding: 0;
    }
}