/* /* ==========================================================
   OPTYMALNI — PODSTRONY USŁUG
   Hero, treść, sidebar i CTA.

   Font Alexandria i Font Awesome wczytuje functions.php.
   Style ograniczone do sekcji z klasami olt-service-*.
   ========================================================== */

/* ----------------------------------------------------------
   PODSTAWA
   ---------------------------------------------------------- */

.olt-service-hero,
.olt-service-detail,
.olt-service-cta {
  --olt-gray: #515153;
  --olt-gold: #dcb16a;
  --olt-cream: #faf8f4;
  --olt-white: #ffffff;

  width: 100%;
  margin: 0;
  font-family: "Alexandria", sans-serif;
}

.olt-service-hero,
.olt-service-hero *,
.olt-service-hero *::before,
.olt-service-hero *::after,
.olt-service-detail,
.olt-service-detail *,
.olt-service-detail *::before,
.olt-service-detail *::after,
.olt-service-cta,
.olt-service-cta *,
.olt-service-cta *::before,
.olt-service-cta *::after {
  box-sizing: border-box;
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.olt-service-hero {
  position: relative;
  padding: 170px 24px 70px;
  overflow: hidden;
  background: linear-gradient(160deg, #515153, #3a3a3c);
  color: var(--olt-white);
  text-align: center;
}

.olt-service-hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(220, 177, 106, 0.25),
    transparent 70%
  );
  pointer-events: none;
}

.olt-service-hero .olt-service-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.olt-service-hero .olt-service-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--olt-gold);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.olt-service-hero .olt-service-title {
  margin: 10px 0 0 !important;
  padding: 0 !important;
  color: var(--olt-white) !important;
  font-family: inherit !important;
  font-size: clamp(28px, 3.6vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.olt-service-hero .olt-service-breadcrumb {
  margin-top: 16px;
  color: #fcecbf;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.olt-service-hero .olt-service-breadcrumb a,
.olt-service-hero .olt-service-breadcrumb a:visited {
  color: #d2d3d5 !important;
  font-family: inherit !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.olt-service-hero .olt-service-breadcrumb a:hover {
  color: var(--olt-gold) !important;
}

/* ----------------------------------------------------------
   TREŚĆ USŁUGI
   ---------------------------------------------------------- */

.olt-service-detail {
  padding: 90px 24px;
  background: var(--olt-cream);
  color: var(--olt-gray);
}

.olt-service-detail .olt-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.olt-service-detail .olt-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.olt-service-detail .olt-content,
.olt-service-detail .olt-sidebar {
  min-width: 0;
}

.olt-service-detail .olt-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--olt-gold);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.olt-service-detail .olt-title {
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: var(--olt-gray) !important;
  font-family: inherit !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.olt-service-detail .olt-subtitle {
  margin: 36px 0 16px !important;
  padding: 0 !important;
  color: var(--olt-gray) !important;
  font-family: inherit !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.olt-service-detail .olt-text {
  margin: 0 0 18px !important;
  padding: 0;
  color: var(--olt-gray);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   LISTA Z PTASZKAMI
   ---------------------------------------------------------- */

.olt-service-detail .olt-list {
  margin: 16px 0 !important;
  padding: 0 !important;
  list-style: none;
}

.olt-service-detail .olt-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px dashed #d2d3d5;
  color: var(--olt-gray);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}

.olt-service-detail .olt-list li:last-child {
  border-bottom: 0;
}

.olt-service-detail .olt-list li i {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--olt-gold);
  font-size: 14px;
}

/* ----------------------------------------------------------
   SIDEBAR
   ---------------------------------------------------------- */

.olt-service-detail .olt-sidebar-card {
  margin-bottom: 24px;
  padding: 28px;
  border-radius: 10px;
  background: var(--olt-cream);
  box-shadow: 0 10px 30px rgba(81, 81, 83, 0.12);
}

.olt-service-detail .olt-sidebar-card:last-child {
  margin-bottom: 0;
}

.olt-service-detail .olt-sidebar-title {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: var(--olt-gray) !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.olt-service-detail .olt-sidebar-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.olt-service-detail .olt-sidebar-list a,
.olt-service-detail .olt-sidebar-list a:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid #d2d3d5;
  color: var(--olt-gray) !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.olt-service-detail .olt-sidebar-list li:last-child a {
  border-bottom: 0;
}

.olt-service-detail .olt-sidebar-list a:hover {
  padding-left: 6px;
  color: var(--olt-gold) !important;
}

.olt-service-detail .olt-sidebar-list a i {
  flex-shrink: 0;
  color: var(--olt-gold);
  font-size: 13px;
}

.olt-service-detail .olt-sidebar-list a.current {
  color: var(--olt-gold) !important;
}

/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */

.olt-service-cta {
  padding: 0 24px 90px;
  background: var(--olt-cream);
}

.olt-service-cta .olt-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.olt-service-cta .olt-box {
  padding: 36px;
  border-radius: 10px;
  background: linear-gradient(150deg, #dcb16a, #c99a4e);
  color: var(--olt-white);
  text-align: center;
}

.olt-service-cta .olt-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--olt-white) !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.olt-service-cta .olt-text {
  max-width: 480px;
  margin: 12px auto 20px !important;
  padding: 0;
  color: var(--olt-white) !important;
  opacity: 0.95;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.olt-service-cta a.olt-button,
.olt-service-cta a.olt-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  background: var(--olt-white);
  color: var(--olt-gray) !important;
  font-family: inherit !important;
  font-size: 15.2px !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

@media (hover: hover) {
  .olt-service-cta a.olt-button:hover {
    background: var(--olt-gold);
    color: var(--olt-white) !important;
    transform: translateY(-3px);
  }
}

/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1024px) {
  .olt-service-detail {
    padding: 60px 20px;
  }

  .olt-service-detail .olt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .olt-service-hero {
    padding: 140px 20px 55px;
  }
}

/* ----------------------------------------------------------
   TELEFON
   ---------------------------------------------------------- */

@media (max-width: 600px) {
  .olt-service-hero {
    padding: 120px 20px 50px;
  }

  .olt-service-hero .olt-service-eyebrow,
  .olt-service-hero .olt-service-breadcrumb {
    font-size: 12px;
  }

  .olt-service-cta {
    padding: 0 20px 60px;
  }

  .olt-service-cta .olt-box {
    padding: 28px 22px;
  }
}