/* ==========================================================================
   Greek Cargo - Custom Stylesheet (Bootstrap 5 Override)
   ========================================================================== */

/* --- Variables & Core Settings --- */
:root {
  --primary-color: #0a3068;       /* Deep Greek Navy Blue */
  --secondary-color: #3498db;     /* Vibrant Accent Blue */
  --accent-blue: #4ea5ff;         /* Light Blue Accent */
  --bg-dark-navy: #051b3b;        /* Rich Dark Navy for Features and Footers */
  --text-dark: #122136;           /* Main Charcoal Body Text */
  --text-gray: #4d5f75;           /* Secondary Gray Text */
  --white: #ffffff;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-family-sans: 'Inter', sans-serif;
  --font-family-heading: 'Jost', sans-serif;
}

body {
  font-family: var(--font-family-sans);
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Nagłówki, tytuły i menu - Jost */
h1, h2, h3, h4, h5, h6,
.navbar-greek .nav-link,
.btn-navy-cta,
.sb-eyebrow,
.sb-title,
.sb-big,
.sb-info strong,
.sb-cta-title {
  font-family: var(--font-family-heading);
}

/* Preloader/wowjs default helper */
.wow {
  visibility: hidden;
}

/* --- Navigation Bar (.navbar-greek) --- */
.navbar-greek {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 18px 0;
  border-bottom: none;
  box-shadow: none;
  transition: var(--transition-smooth);
  z-index: 1050;
}

/* Nav scrolling states */
.navbar-greek.scrolled {
  background-color: #ffffffed;
  padding: 6px 0;
  box-shadow: 0 10px 30px rgba(10, 48, 104, 0.08);
  border-bottom: 1px solid rgba(10, 48, 104, 0.05);
}

.navbar-greek .navbar-brand {
  padding: 0;
  margin: 0;
}

.navbar-greek .nav-logo {
  height: 122px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar-greek.scrolled .nav-logo {
  height: 62px;
}

/* Navigation Links */
.navbar-greek .navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color); /* matches layout charcoal-blue */
  letter-spacing: 1px;
  padding: 8px 18px !important;
  position: relative;
  transition: var(--transition-smooth);
}

.navbar-greek .navbar-nav .nav-link:hover,
.navbar-greek .navbar-nav .nav-link:focus,
.navbar-greek .navbar-nav .nav-item.active .nav-link {
  color: var(--secondary-color);
}

/* Custom underline effect for nav links */
.navbar-greek .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.navbar-greek .navbar-nav .nav-link:hover::after,
.navbar-greek .navbar-nav .nav-item.active .nav-link::after {
  transform: scaleX(1);
}

/* Strona główna przed przewinięciem: półprzezroczyste tło pod menu,
   żeby linki były czytelne na każdym fragmencie zdjęcia w hero */
@media (min-width: 992px) {
  .navbar-greek:not(.scrolled):not(.navbar-solid) .navbar-nav {
    padding: 6px 6px 6px 8px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(10, 48, 104, 0.08);
  }
}

/* Węższe odstępy w menu, żeby wszystkie zakładki zmieściły się w jednym rzędzie */
@media (max-width: 1399.98px) {
  .navbar-greek .navbar-nav .nav-link {
    padding: 8px 14px !important;
    font-size: 13px;
  }
  .navbar-greek .navbar-nav .nav-link::after {
    left: 14px;
    right: 14px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-greek .navbar-nav .nav-link {
    padding: 8px 9px !important;
    font-size: 11.5px;
    letter-spacing: 0.5px;
  }
  .navbar-greek .navbar-nav .nav-link::after {
    left: 9px;
    right: 9px;
  }
  .navbar-greek .btn-navy-cta {
    padding: 10px 16px;
    font-size: 12.5px;
  }
}

/* Instagram icon in navbar */
.nav-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-social-link:hover,
.nav-social-link:focus {
  color: var(--secondary-color);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-social-link {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

@media (max-width: 991.98px) {
  .nav-social-link {
    width: auto;
    height: auto;
    padding: 12px 10px;
    font-family: var(--font-family-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
  }
}

/* Przełącznik języka (flaga) w menu */
.nav-lang-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-lang-flag {
  display: inline-block;
  width: 26px;
  height: 18px;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(10, 48, 104, 0.18), 0 2px 6px rgba(10, 48, 104, 0.12);
  transition: var(--transition-smooth);
}

.nav-lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-lang-link:hover .nav-lang-flag,
.nav-lang-link:focus .nav-lang-flag {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--secondary-color), 0 4px 10px rgba(10, 48, 104, 0.2);
}

.nav-lang-link:hover,
.nav-lang-link:focus {
  color: var(--secondary-color);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-lang-link {
    width: 34px;
    height: 34px;
  }
  .nav-lang-flag {
    width: 22px;
    height: 15px;
  }
}

@media (max-width: 991.98px) {
  .nav-lang-link {
    width: auto;
    height: auto;
    padding: 12px 10px;
    font-family: var(--font-family-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
  }
}

/* CTA Button in navbar */
.btn-navy-cta {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.btn-navy-cta i {
  transition: var(--transition-smooth);
}

.btn-navy-cta:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(30, 92, 179, 0.3);
}

.btn-navy-cta:hover i {
  transform: translateX(4px);
}

/* Sticky Collapse for Toggler */
.navbar-toggler {
  border: none;
  padding: 0;
}
.navbar-toggler:focus {
  box-shadow: none;
}


/* --- Hero Section (.hero-section) --- */
.hero-section {
  min-height: 100vh;
  background-image: url('img/herobg4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 140px; /* Accounts for fixed navbar */
  padding-bottom: 80px; 
  z-index: 1;
}

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

/* Typography styles matching layout */
.hero-subtitle {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  color: var(--primary-color);
  font-size: 54px;
  font-weight: 600;
    line-height: 1.20;
  letter-spacing: -2.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title .text-highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 17.5px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 35px;
}

/* Hero Section CTAs */
.hero-btns-group {
  display: flex;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-primary-hero i {
  transition: var(--transition-smooth);
}

.btn-primary-hero:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(30, 92, 179, 0.25);
}

.btn-primary-hero:hover i {
  transform: translateX(4px);
}

/* "Skontaktuj się z nami" - szklany przycisk z okrągłą ikoną telefonu */
.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 28px 7px 7px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.55);
  border: 0px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.btn-hero-icon {
  position: relative;
  width: 41px;
  height: 41px;
  min-width: 41px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 15px;
  transition: var(--transition-smooth);
}

/* Pierścień "sygnału" wokół ikony, widoczny po najechaniu */
.btn-hero-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--secondary-color);
  opacity: 0;
}

.btn-outline-hero:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-color);
  box-shadow: 0 14px 34px rgba(10, 48, 104, 0.2);
}

.btn-outline-hero:hover .btn-hero-icon {
  background-color: var(--secondary-color);
}

.btn-outline-hero:hover .btn-hero-icon i {
  animation: heroPhoneRing 0.9s ease-in-out;
}

.btn-outline-hero:hover .btn-hero-icon::after {
  animation: heroPhonePulse 1.4s ease-out infinite;
}

.btn-outline-hero:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

@keyframes heroPhoneRing {
  0%, 100% { transform: rotate(0); }
  15%      { transform: rotate(-16deg); }
  30%      { transform: rotate(14deg); }
  45%      { transform: rotate(-10deg); }
  60%      { transform: rotate(6deg); }
  75%      { transform: rotate(-3deg); }
}

@keyframes heroPhonePulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-outline-hero:hover .btn-hero-icon i,
  .btn-outline-hero:hover .btn-hero-icon::after {
    animation: none;
  }
}


/* --- Right Image Visual Card (.hero-image-container) --- */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-truck-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 48, 104, 0.18);
  border: 8px solid var(--white);
  transform: perspective(800px) rotateY(-5deg);
  transition: var(--transition-smooth);
}

.hero-truck-card:hover {
  transform: perspective(800px) rotateY(0deg) scale(1.02);
  box-shadow: 0 25px 60px rgba(10, 48, 104, 0.25);
}

.hero-truck-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Floating custom badge over truck preview */
.truck-card-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  z-index: 3;
  border-left: 4px solid var(--secondary-color);
  animation: floatBadge 3s ease-in-out infinite;
}

.badge-icon {
  font-size: 24px;
  color: var(--secondary-color);
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseIcon 2s infinite;
}

.badge-info .badge-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.badge-info .badge-desc {
  font-size: 11px;
  color: var(--text-gray);
  font-weight: 600;
}


/* --- Bottom Features Bar (.hero-features-bar) --- */
.hero-features-bar {
  position: relative;
  width: 100%;
  z-index: 10;
}

.container-features {
  padding: 0;
}

.features-bar-row {
  background-color: var(--primary-color);
  box-shadow: 0 20px 45px rgba(3, 15, 36, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  border-right: none;
}

/* Feature columns vertical separators (jasne kreseczki) */
@media (min-width: 992px) {
  .features-bar-row > [class*="col-"]:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* 2x2 grid */
  .features-bar-row > [class*="col-"]:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
  .features-bar-row > [class*="col-"]:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1.5rem;
  }
  .features-bar-row > [class*="col-"]:nth-child(n+3) {
    padding-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  /* 1-column stacked */
  .features-bar-row > [class*="col-"]:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1.5rem;
  }
}

.feature-item {
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--white);
  transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon-box {
  background-color: transparent;
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.feature-text-box {
  display: flex;
  flex-direction: column;
}

.feature-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .8px;
  margin-bottom: 4px;
}

.feature-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}


/* --- About Us Section (.about-section) --- */
.about-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
  background-color: var(--white);
}

.about-subtitle {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about-title {
color: var(--primary-color);
    font-size: 46px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 28px;
}

.about-text-wrapper {
  margin-bottom: 35px;
}

.about-paragraph {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 18px;
}

.about-paragraph.text-highlight-p {
  color: var(--text-dark);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.65;
}

/* Button "DOWIEDZ SIĘ WIĘCEJ" */
.btn-outline-about {
  background-color: transparent;
  border: 2px solid rgba(10, 48, 104, 0.25);
  color: var(--primary-color);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-outline-about i {
  transition: var(--transition-smooth);
}

.btn-outline-about:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(10, 48, 104, 0.15);
}

.btn-outline-about:hover i {
  color: var(--white) !important;
  transform: translateX(4px);
}

/* Image Elements and Decorative Components */
.about-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(10, 48, 104, 0.12);
  border: 1px solid rgba(10, 48, 104, 0.04);
  z-index: 2;
  background-color: var(--white);
}

.about-content-col {
  padding-right:80px
}

.about-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.about-image-card:hover .about-img {
  transform: scale(1.03);
}

/* Dot grid positioning */
.about-dots-pattern {
  position: absolute;
  top: -42px;
  right: -30px;
  z-index: 5;
  pointer-events: none;
}

/* Decorative twin bars: // */
.about-decor-slashes {
  position: absolute;
  bottom: -22px;
  right: -20px;
  z-index: 3;
  pointer-events: none;
}


/* --- CTA Cooperate Section (.cta-cooperate-section) --- */
.cta-cooperate-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, rgba(2, 39, 95, 0.94) 0%, rgba(10, 48, 104, 0.92) 100%), url('img/herobg4.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  color: var(--white);
  z-index: 1;
}

/* Subtle map styling & alignment */
.cta-map-svg {
  max-width: 100%;
  height: auto;
  overflow: visible;
  /* Brings it to life with a gentle 3D hover sensation */
  transition: var(--transition-smooth);
}

.cta-content-column {
  padding-left:120px
}

.cta-map-column:hover .cta-map-svg {
  transform: scale(1.02);
}

/* Pulse animation for the pins */
.cta-pulse-ring {
  transform-origin: 10px 10px;
  animation: pulsePinRing 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* Route Line dash animation to signify active logistics movement */
.cta-route-line {
  stroke-dasharray: 10, 6;
  animation: routeDashFlow 24s linear infinite;
}

/* Content block styling */
.cta-heading {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  line-height: 1.25;
}

.cta-teaser {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.9);
}

/* CTA buttons inside cooperation bar */
.btn-cta-white {
  background-color: var(--white);
  border: 2px solid var(--white);
  color: var(--primary-color);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 16px 36px;
  border-radius: 10px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.btn-cta-white:hover {
  background-color: var(--bg-dark-navy);
  border-color: var(--bg-dark-navy);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(5, 27, 59, 0.35);
  transform: translateY(-2px);
}

.btn-cta-outline-white {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 16px 36px;
  border-radius: 10px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  display: inline-block;
}

.btn-cta-outline-white:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--secondary-color);
  transform: translateY(-2px);
}


/* --- Contact Section (.contact-section) --- */
.contact-section {
  padding: 7rem 0;
  background-color: var(--white);
}

.contact-subtitle {
  color: var(--secondary-color);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-title {
  color: var(--primary-color);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.contact-head {
  margin-bottom: 3rem;
}

.contact-lead {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Karty kontaktu - bez ramek, tylko miękki cień */
.contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  border-radius: 24px;
  background-color: var(--white);
  box-shadow: 0 20px 50px rgba(10, 48, 104, 0.09);
}

.contact-card-label {
  display: block;
  margin-bottom: 22px;
  color: var(--secondary-color);
  font-family: var(--font-family-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Karta 1: dwie osoby obok siebie, oddzielone pionową linią */
.contact-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1;
}

.contact-person {
  display: flex;
  flex-direction: column;
}

.contact-person:first-child {
  padding-right: 32px;
  border-right: 1px solid rgba(10, 48, 104, 0.08);
}

.contact-person:last-child {
  padding-left: 32px;
}

/* Karta 2: dane firmy */
.contact-info {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info li > i {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(52, 152, 219, 0.12);
  color: var(--primary-color);
  font-size: 16px;
}

.contact-info small {
  display: block;
  margin-bottom: 2px;
  color: var(--text-gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-info address,
.contact-info span {
  color: var(--text-dark);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
}

.contact-card--company .contact-action {
  margin-top: auto;
}

.contact-person-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(10, 48, 104, 0.08);
}

.contact-avatar {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  font-family: var(--font-family-heading);
  font-size: 24px;
  font-weight: 700;
}

.contact-person-head h3 {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-person-role {
  color: var(--text-gray);
  font-size: 14px;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background-color: #f3f7fa;
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-action + .contact-action {
  margin-top: 12px;
}

.contact-action-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  color: var(--primary-color);
  font-size: 17px;
  transition: var(--transition-smooth);
}

.contact-action-text {
  flex: 1;
  min-width: 0;
}

.contact-action-text small {
  display: block;
  color: var(--text-gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.contact-action-text strong {
  display: block;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: break-word;
  transition: color 0.35s ease;
}

.contact-action-arrow {
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.contact-action:hover {
  background-color: var(--primary-color);
}

.contact-action:hover .contact-action-icon {
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.contact-action:hover small {
  color: rgba(255, 255, 255, 0.7);
}

.contact-action:hover strong,
.contact-action:hover .contact-action-arrow {
  color: var(--white);
}

.contact-action:hover .contact-action-arrow {
  transform: translateX(4px);
}

.contact-action:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

/* Tablet / mały laptop: karta firmy na pełną szerokość, dane w dwóch kolumnach */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .contact-card--company {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  .contact-card--company .contact-card-label,
  .contact-card--company .contact-person-head {
    grid-column: 1 / -1;
  }
  .contact-card--company .contact-info {
    margin: 0;
  }
  .contact-card--company .contact-action {
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .contact-section { padding: 4.5rem 0; }
  .contact-title { font-size: 32px; }
  .contact-head { margin-bottom: 2rem; }
}

/* Telefon: osoby jedna pod drugą */
@media (max-width: 767.98px) {
  .contact-people { grid-template-columns: minmax(0, 1fr); }
  .contact-person:first-child {
    padding: 0 0 26px;
    margin-bottom: 26px;
    border-right: 0;
    border-bottom: 1px solid rgba(10, 48, 104, 0.08);
  }
  .contact-person:last-child { padding-left: 0; }
}

@media (max-width: 575.98px) {
  .contact-section { padding: 3.5rem 0; }
  .contact-title { font-size: 26px; }
  .contact-card { padding: 24px 18px; border-radius: 20px; }
  .contact-action { padding: 12px; }
}


/* --- Greek Cargo Footer (.greekcargo-footer) --- */
.greekcargo-footer {
  background-color: #03152a; /* Rich very dark brand navy from layout */
  color: #c4d1e2; /* Soft grey-blue for premium dark mode contrast */
  padding-top: 4.5rem;
  padding-bottom: 0px;
  position: relative;
  z-index: 1;
}

.footer-logo-img {
  height: 88px;
  width: auto;
  transition: var(--transition-smooth);
}

.footer-logo-img:hover {
  transform: scale(1.02);
}

.footer-brand-desc {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 300px;
  color: #94a9bf;
}

/* Social icons layout */
.social-icon-link {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-icon-link:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-4px) rotate(8deg);
}

/* Quick link headers and anchor items */
.footer-col-title {
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

/* Red indicator line under foot titles */
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.footer-quick-links li a {
  font-size: 15px;
  color: #94a9bf;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-quick-links li a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-policy-links {
  font-size:13px
}

/* Bottom Bar settings */
.greekcargo-footer .footer-bottom {
  margin-top: 3.5rem;
}

.bg-copyright {
  background-color: #021021; /* Slightly darker bottom row */
}

.border-top-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.copyright-text {
  font-size: 13px;
  color: #647b93;
  font-weight: 550;
}

.policy-link {
  font-size: 13px;
  color: #647b93;
  text-decoration: none;
  font-weight: 550;
  transition: var(--transition-smooth);
}

.policy-link:hover {
  color: var(--white);
}


/* --- Keyframe Animations --- */
@keyframes floatBadge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes pulsePinRing {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes routeDashFlow {
  to {
    stroke-dashoffset: -400px;
  }
}


/* --- Responsive Styles (Media Queries) --- */

/* Extra Large Screens */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 60px;
  }
}

/* Medium & Large Screens down to Tablet */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 46px;
  }
  .hero-description {
    font-size: 16px;
  }
}

@media (max-width: 991.98px) {
  /* Navbar Overrides */
  .navbar-greek {
    background-color: transparent !important;
    padding: 12px 0;
    box-shadow: none !important;
    border-bottom: none !important;
  }
  .navbar-greek.scrolled {
    background-color: var(--white) !important;
    box-shadow: 0 10px 30px rgba(10, 48, 104, 0.08) !important;
    border-bottom: 1px solid rgba(10, 48, 104, 0.05) !important;
  }
  .navbar-greek .navbar-collapse {
    background-color: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }
  .navbar-greek .navbar-nav .nav-link {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .navbar-greek .navbar-nav .nav-link::after {
    display: none;
  }
  
  /* Hero Overrides */
  .hero-section {
    padding-top: 120px;
    padding-bottom: 220px; /* Extra room on mobiles for the feature box stacking */
    background-position: center;
  }
  .hero-overlay {
    /* More solid overlay to guarantee high-contrast readability on smaller devices */
    background: rgba(255, 255, 255, 0.94);
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-subtitle {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .hero-description {
    font-size: 15px;
    margin-bottom: 25px;
    max-width: 100%;
  }
  .hero-btns-group {
    justify-content: center;
  }
  
  /* About Us Section Overrides */
  .about-section {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }
  .about-title {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .about-img {
    height: 380px;
  }
  
  
  /* CTA Cooperate Overrides */
  .cta-cooperate-section {
    padding: 4.5rem 0;
  }
  .cta-heading {
    font-size: 32px;
  }
}

/* Phone Portrait Screens */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 12px;
    letter-spacing: 1.5px;
  }
  .btn-primary-hero, .btn-outline-hero {
    width: 100%;
    position: relative;
    padding: 14px 24px;
    font-size: 13px;
  }
  .btn-outline-hero {
    padding: 6px 24px 6px 6px;
  }
  .btn-hero-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .features-bar-row {
    margin: 0;
  }
  
  /* About Us Section Overrides Mobile */
  .about-section {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }
  .about-title {
    font-size: 26px;
  }
  .about-paragraph.text-highlight-p {
    font-size: 15px;
  }
  .btn-outline-about {
    width: 100%;
  }
  .about-img {
    height: 350px;
  }
  .about-dots-pattern {
    display: none;
  }
  .about-decor-slashes {
    display: none;
  }
  
  
  /* CTA Cooperate Overrides Mobile */
  .cta-cooperate-section {
    padding: 3.5rem 0;
  }
  .cta-heading {
    font-size: 26px;
  }
  .cta-teaser {
    font-size: 14.5px;
    margin-bottom: 25px;
  }
  .btn-cta-white, .btn-cta-outline-white {
    width: 100%;
    padding: 14px 24px;
    font-size: 13px;
  }
}

@media (max-width: 1400px) {

  .navbar-greek .nav-logo {
    height: 102px;
}

.hero-description {
    max-width: 480px;
}


.about-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.feature-desc {
    font-size: 13px;
}

}

@media (max-width: 998px) {

.cta-content-column {
    padding-left: 10px;
}

.greekcargo-footer {
    padding-top: 40px;
}

.about-image-col.mt-5 {
margin-top:30px !important
}

}

/* Centrowanie całej zawartości stopki na urządzeniach mobilnych */
@media (max-width: 767.98px) {
  .greekcargo-footer {
    text-align: center;
  }
  .greekcargo-footer .footer-brand-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .greekcargo-footer .footer-social-icons {
    justify-content: center;
  }
  .greekcargo-footer .footer-col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

.features-bar-row {
  padding-top:0px !important
}

    .about-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .about-content-col {
    padding-right: 10px;
}

.navbar-greek.scrolled .nav-logo {
    height: 52px;
}

}


/* --- Services Section - bento grid (.services-bento) --- */
.services-bento {
  padding: 7rem 0;
  background-color: #f3f7fa;
}

.services-bento-head {
  margin-bottom: 3rem;
}

.sb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: var(--white);
  border: 1px solid rgba(10, 48, 104, 0.08);
  box-shadow: 0 6px 18px rgba(10, 48, 104, 0.06);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.sb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

.sb-heading {
  color: var(--primary-color);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}


.sb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, auto);
  gap: 18px;
  grid-template-areas:
    "trans trans fresh sped"
    "trans trans fresh ftl"
    "route cold  cta   cta";
}

.sb-transport  { grid-area: trans; }
.sb-fresh      { grid-area: fresh; }
.sb-forwarding { grid-area: sped; }
.sb-ftl        { grid-area: ftl; }
.sb-route      { grid-area: route; }
.sb-cold       { grid-area: cold; }
.sb-cta        { grid-area: cta; }

.sb-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.35s ease;
}

.sb-tile:hover {
  box-shadow: 0 22px 45px rgba(10, 48, 104, 0.15);
}

.sb-tile:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

/* Kafelki ze zdjęciem */
.sb-photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sb-photo:hover img {
  transform: scale(1.06);
}

.sb-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 27, 59, 0) 35%, rgba(5, 27, 59, 0.88) 100%);
}

.sb-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.sb-kicker {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sb-title {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.sb-transport .sb-title {
  font-size: 34px;
}

.sb-text {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.sb-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(5, 27, 59, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.sb-photo:hover .sb-arrow {
  background-color: var(--white);
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Kafelki informacyjne */
.sb-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 26px;
  background-color: var(--white);
  border: 1px solid rgba(10, 48, 104, 0.06);
}

.sb-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-color);
  font-size: 17px;
  font-weight: 800;
}

.sb-info p {
  margin: 0;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.5;
}

.sb-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(52, 152, 219, 0.12);
  color: var(--primary-color);
  font-size: 21px;
  transition: var(--transition-smooth);
}

.sb-info:hover .sb-info-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotate(-6deg);
}

.sb-ftl {
  justify-content: flex-end;
  background-color: var(--primary-color);
  border-color: transparent;
}

.sb-ftl::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 26px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.sb-big {
  color: var(--white);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0px;
}

.sb-big small {
  color: var(--accent-blue);
  font-size: 24px;
  font-weight: 700;
}

.sb-ftl p {
  color: rgba(255, 255, 255, 0.75);
}

/* Kafelek CTA */
.sb-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px;
  background: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--white);
}

.sb-cta:hover {
  color: var(--white);
  box-shadow: 0 22px 45px rgba(30, 92, 179, 0.35);
}

.sb-cta-title {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.sb-cta-text {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.sb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 22px;
  border-radius: 12px;
  background-color: var(--white);
  color: var(--primary-color);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.sb-cta-btn i {
  transition: transform 0.35s ease;
}

.sb-cta:hover .sb-cta-btn {
  background-color: var(--bg-dark-navy);
  color: var(--white);
}

.sb-cta:hover .sb-cta-btn i {
  transform: translateX(4px);
}


/* Services (bento) - responsive */
@media (max-width: 1199.98px) {
  .sb-heading { font-size: 38px; }
  .sb-transport .sb-title { font-size: 30px; }
  .sb-cta { flex-direction: column; align-items: flex-start; justify-content: center; }
  .sb-big { font-size: 34px; }
}

@media (max-width: 991.98px) {
  .services-bento { padding: 4.5rem 0; }
  .sb-heading { font-size: 32px; }
  .sb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(200px, auto);
    grid-template-areas:
      "trans trans"
      "trans trans"
      "fresh sped"
      "fresh ftl"
      "route cold"
      "cta   cta";
  }
  .sb-cta { flex-direction: row; align-items: center; }
}

@media (max-width: 575.98px) {
  .services-bento { padding: 4rem 0 3.5rem; }
  .services-bento-head { margin-bottom: 2rem; }
  .sb-heading { font-size: 27px; letter-spacing: -0.8px; }
  .sb-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 14px;
    grid-template-areas: "trans" "fresh" "sped" "ftl" "route" "cold" "cta";
  }
  .sb-tile { border-radius: 20px; }
  .sb-transport { min-height: 380px; }
  .sb-fresh,
  .sb-forwarding { min-height: 250px; }
  .sb-transport .sb-title { font-size: 26px; }
  .sb-text { font-size: 14px; }
  .sb-info { flex-direction: row; align-items: center; justify-content: flex-start; }
  .sb-ftl { flex-direction: column; align-items: flex-start; }
  .sb-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .sb-cta-btn { width: 100%; justify-content: center; }
}


/* ==========================================================================
   PODSTRONA: Transport całopojazdowy (transport.html) - klasy .tp-*
   ========================================================================== */

/* --- Wspólne elementy podstrony --- */
.tp-section {
  padding: 7rem 0;
}

.tp-section-head {
  margin-bottom: 3.5rem;
}

.tp-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--secondary-color);
  font-family: var(--font-family-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

.tp-eyebrow--light {
  color: var(--accent-blue);
}

.tp-heading {
  margin-bottom: 22px;
  color: var(--primary-color);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
}

.tp-section-head .tp-heading {
  margin-bottom: 0;
}

.tp-heading--light {
  color: var(--white);
}

.tp-text {
  margin-bottom: 18px;
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.75;
}

.tp-text--lead {
  color: var(--text-dark);
  font-size: 17px;
  font-weight: 600;
}

.tp-text--light {
  color: rgba(255, 255, 255, 0.78);
}


/* --- Menu na podstronie: od razu białe tło (jak po przewinięciu) --- */
.navbar-greek.navbar-solid {
  padding: 6px 0;
  background-color: #ffffffed;
  box-shadow: 0 10px 30px rgba(10, 48, 104, 0.08);
  border-bottom: 1px solid rgba(10, 48, 104, 0.05);
}

.navbar-greek.navbar-solid .nav-logo {
  height: 62px;
}

@media (max-width: 991.98px) {
  .navbar-greek.navbar-solid {
    background-color: var(--white) !important;
    box-shadow: 0 10px 30px rgba(10, 48, 104, 0.08) !important;
  }
}

@media (max-width: 767.98px) {
  .navbar-greek.navbar-solid .nav-logo {
    height: 52px;
  }
}


/* --- Nagłówek podstrony (.tp-hero) - pełna szerokość --- */
.tp-hero {
  position: relative;
  padding: 190px 0 110px;
  background:
    linear-gradient(180deg, rgba(5, 27, 59, 0.78) 0%, rgba(5, 27, 59, 0.88) 100%),
    url('img/herobg4.jpg') center 60% / cover no-repeat;
  color: var(--white);
  text-align: center;
}

.tp-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.tp-hero-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-blue);
  font-family: var(--font-family-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Okruszki */
.tp-breadcrumb {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.tp-breadcrumb ol {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 9px 20px;
  list-style: none;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 0px solid rgba(255, 255, 255, 0.18);
  font-size: 13.5px;
  font-weight: 500;
}

.tp-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.tp-breadcrumb li + li::before {
  content: '/';
  color: rgba(255, 255, 255, 0.45);
}

.tp-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}

.tp-breadcrumb a:hover {
  color: var(--white);
}

.tp-hero-title {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.tp-hero-lead {
  max-width: 840px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}


/* --- Nasza specjalizacja (.tp-intro) --- */
.tp-intro-media {
  position: relative;
  padding: 0 24px 24px 0;
}

.tp-intro-media img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 25px 55px rgba(10, 48, 104, 0.15);
}

.tp-intro-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(10, 48, 104, 0.12);
}

.tp-intro-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 20px 26px;
  border-radius: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 20px 40px rgba(10, 48, 104, 0.3);
}

.tp-intro-badge-route {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.tp-intro-badge-route i {
  color: var(--accent-blue);
  font-size: 20px;
}

.tp-intro-badge small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.tp-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 28px 0 0;
}

.tp-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
}

.tp-checklist i {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 15px;
}


/* --- Korzyści (.tp-features) --- */
.tp-features {
  background-color: #f3f7fa;
}

.tp-feature {
  height: 100%;
  padding: 34px 30px;
  border-radius: 24px;
  background-color: var(--white);
  box-shadow: 0 12px 35px rgba(10, 48, 104, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tp-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(10, 48, 104, 0.12);
}

.tp-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background-color: rgba(52, 152, 219, 0.12);
  color: var(--primary-color);
  font-size: 26px;
  transition: var(--transition-smooth);
}

.tp-feature:hover .tp-feature-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotate(-6deg);
}

.tp-feature h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 21px;
  font-weight: 600;
}

.tp-feature p {
  margin: 0;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.65;
}


/* --- Jak to działa (.tp-process) --- */
.tp-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
}

/* Linia łącząca kroki */
.tp-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(10, 48, 104, 0.25) 50%, transparent 50%);
  background-size: 14px 2px;
}

.tp-step {
  position: relative;
  text-align: center;
}

.tp-step-num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--white);
  font-family: var(--font-family-heading);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 0 0 8px var(--white), 0 12px 25px rgba(10, 48, 104, 0.2);
}

.tp-step h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 21px;
  font-weight: 600;
}

.tp-step p {
  margin: 0;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.65;
}


/* --- Dlaczego my (.tp-why) --- */
.tp-why {
  background:
    radial-gradient(circle at 10% 0%, rgba(52, 152, 219, 0.22) 0%, rgba(52, 152, 219, 0) 45%),
    radial-gradient(circle at 95% 100%, rgba(78, 165, 255, 0.12) 0%, rgba(78, 165, 255, 0) 40%),
    var(--bg-dark-navy);
  color: var(--white);
}

.tp-why-media {
  overflow: hidden;
  margin-top: 32px;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.tp-why-media img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.tp-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tp-why-item {
  height: 100%;
  padding: 26px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.35s ease;
}

.tp-why-item:hover {
  background-color: rgba(255, 255, 255, 0.09);
}

.tp-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--secondary-color) 100%);
  color: var(--white);
  font-size: 21px;
}

.tp-why-item h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 19px;
  font-weight: 600;
}

.tp-why-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  line-height: 1.6;
}


/* --- FAQ (.tp-faq) --- */
.tp-faq {
  background-color: #f3f7fa;
}

.tp-faq .btn-primary-hero {
  margin-top: 10px;
}

.tp-accordion {
  --bs-accordion-bg: var(--white);
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 18px;
  --bs-accordion-inner-border-radius: 18px;
  --bs-accordion-btn-color: var(--primary-color);
  --bs-accordion-active-color: var(--primary-color);
  --bs-accordion-active-bg: var(--white);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
  --bs-accordion-btn-padding-x: 26px;
  --bs-accordion-btn-padding-y: 22px;
  --bs-accordion-body-padding-x: 26px;
  --bs-accordion-body-padding-y: 0;
  display: grid;
  gap: 12px;
}

.tp-accordion .accordion-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(10, 48, 104, 0.05);
}

.tp-accordion .accordion-header {
  margin: 0;
}

.tp-accordion .accordion-button {
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: 600;
  box-shadow: none;
}

.tp-accordion .accordion-body {
  padding-bottom: 24px;
  color: var(--text-gray);
  font-size: 15.5px;
  line-height: 1.7;
}


/* --- Responsywność podstrony --- */
@media (max-width: 1199.98px) {
  .tp-hero-title { font-size: 46px; }
  .tp-heading { font-size: 36px; }
}

@media (max-width: 991.98px) {
  .tp-section { padding: 4.5rem 0; }
  .tp-section-head { margin-bottom: 2.5rem; }
  .tp-heading { font-size: 32px; }
  .tp-hero { padding: 160px 0 90px; }
  .tp-hero-title { font-size: 40px; }

  .tp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tp-steps::before { display: none; }

  .tp-why-media img { height: 240px; }
}

@media (max-width: 575.98px) {
  .tp-section { padding: 3.5rem 0; }
  .tp-heading { font-size: 27px; }
  .tp-text--lead { font-size: 16px; }

  .tp-hero { padding: 130px 0 70px; }
  .tp-hero-title { font-size: 31px; }
  .tp-hero-lead { font-size: 15.5px; }
  .tp-breadcrumb { margin-top: 24px; }
  .tp-breadcrumb ol { padding: 8px 16px; font-size: 12.5px; }

  .tp-intro-media { padding: 0 12px 12px 0; }
  .tp-intro-media img { height: 300px; border-radius: 22px; }
  .tp-intro-badge { padding: 14px 18px; }
  .tp-intro-badge-route { font-size: 21px; }
  .tp-checklist { grid-template-columns: minmax(0, 1fr); }

  .tp-feature { padding: 28px 24px; }

  /* Kroki pionowo z linią po lewej */
  .tp-steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .tp-steps::before {
    display: block;
    top: 10px;
    bottom: 10px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background-image: linear-gradient(180deg, rgba(10, 48, 104, 0.25) 50%, transparent 50%);
    background-size: 2px 14px;
  }
  .tp-step { padding-left: 76px; text-align: left; }
  .tp-step-num {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 18px;
  }

  .tp-why-grid { grid-template-columns: minmax(0, 1fr); }
  .tp-why-item { padding: 22px; }

  .tp-accordion {
    --bs-accordion-btn-padding-x: 20px;
    --bs-accordion-btn-padding-y: 18px;
    --bs-accordion-body-padding-x: 20px;
  }
  .tp-accordion .accordion-button { font-size: 16.5px; }
  .tp-faq .btn-primary-hero { width: 100%; }
}


/* --- Podstrona: Przewóz warzyw i owoców (przewoz-warzyw-i-owocow.html) --- */
.tp-hero--fresh {
  background:
    linear-gradient(180deg, rgba(5, 27, 59, 0.78) 0%, rgba(5, 27, 59, 0.88) 100%),
    url('img/truck-chlodnia.jpg') center 40% / cover no-repeat;
}

/* --- Podstrona: Spedycja (spedycja.html) --- */
.tp-hero--forwarding {
  background:
    linear-gradient(180deg, rgba(5, 27, 59, 0.78) 0%, rgba(5, 27, 59, 0.88) 100%),
    url('img/herobg4.jpg') center 55% / cover no-repeat;
}

/* Link w treści */
.tp-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(52, 152, 219, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.tp-link:hover {
  color: var(--secondary-color);
  text-decoration-color: var(--secondary-color);
}

.tp-intro-chip i {
  margin-right: 4px;
  color: var(--secondary-color);
}

/* Co przewozimy */
.tp-product-card {
  height: 100%;
  padding: 32px;
  border-radius: 24px;
  background-color: #f3f7fa;
}

.tp-product-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.tp-product-head .tp-feature-icon {
  margin: 0;
  background-color: var(--primary-color);
  color: var(--white);
}

.tp-product-head h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 600;
}

.tp-product-head p {
  margin: 0;
  color: var(--text-gray);
  font-size: 14px;
}

.tp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.tp-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(10, 48, 104, 0.05);
}

.tp-chips li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

.tp-products-note {
  margin: 28px 0 0;
  color: var(--text-gray);
  font-size: 15px;
  text-align: center;
}

.tp-products-note i {
  margin-right: 4px;
  color: var(--secondary-color);
}

@media (max-width: 575.98px) {
  .tp-product-card { padding: 24px 20px; }
  .tp-chips li { padding: 8px 14px; font-size: 14px; }
}
