
/* ========================================
   SZUMI DEV — SERVICE DETAIL PAGES
   ======================================== */

/* GLOBAL */

.sd-detail {
  font-family: "Inter", system-ui, sans-serif;
  color: #f4f7ff;
  background: #080f24;
}

.sd-detail,
.sd-detail *,
.sd-detail *::before,
.sd-detail *::after {
  box-sizing: border-box;
}

.sd-detail-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* ========================================
   HEADER — SHARED SITE STYLES
   ======================================== */

/*
  Główny wygląd nagłówka, logo i nawigacji
  pochodzi z /style.css.
*/

#service-detail-root .site-header {
  position: relative;
  z-index: 100;
}

#service-detail-root .site-header .nav {
  display: flex;
  align-items: center;
}

/* ========================================
   SERVICES DROPDOWN
   ======================================== */

#service-detail-root .nav-dropdown {
  position: relative;
}

#service-detail-root .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

#service-detail-root .nav-dropdown-toggle {
  cursor: pointer;
}

#service-detail-root .nav-dropdown-menu a[aria-current="page"] {
  background: rgba(38, 207, 242, 0.09);
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */

#service-detail-root .sd-detail-languages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(160, 180, 230, 0.18);
  border-radius: 100px;
  background: rgba(12, 20, 44, 0.8);
  flex-shrink: 0;
}

#service-detail-root .sd-detail-languages a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #aebbd5;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

#service-detail-root .sd-detail-languages a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

#service-detail-root .sd-detail-languages a.active {
  background: linear-gradient(135deg, #183e58, #48305d);
  color: #fff;
}

/* ========================================
   MOBILE MENU BUTTON
   ======================================== */

#service-detail-root .sd-detail-mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

#service-detail-root .sd-detail-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#service-detail-root
.sd-detail-mobile-toggle[aria-expanded="true"]
span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#service-detail-root
.sd-detail-mobile-toggle[aria-expanded="true"]
span:nth-child(2) {
  opacity: 0;
}

#service-detail-root
.sd-detail-mobile-toggle[aria-expanded="true"]
span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

#service-detail-root .sd-detail-mobile-nav[hidden] {
  display: none !important;
}

#service-detail-root .sd-detail-mobile-nav {
  padding: 14px 20px 22px;
  background: #0b1429;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.15);
}

#service-detail-root .sd-detail-mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  color: #e8efff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

#service-detail-root .sd-detail-mobile-nav a:hover {
  color: #26d5f4;
  background: rgba(255, 255, 255, 0.04);
}

/* Podstrony usług w menu mobilnym */

#service-detail-root .sd-detail-mobile-nav a:nth-child(3),
#service-detail-root .sd-detail-mobile-nav a:nth-child(4) {
  padding-left: 26px;
  color: #aebbd5;
  font-size: 0.88rem;
}

/* ========================================
   HERO
   ======================================== */

.sd-detail-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 11vw, 155px) 0;
  background:
    radial-gradient(
      ellipse at 88% 15%,
      rgba(160, 65, 220, 0.22),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 12% 80%,
      rgba(0, 195, 235, 0.13),
      transparent 48%
    ),
    linear-gradient(
      120deg,
      #071e32,
      #0a1028 60%,
      #17112e
    );
}

.sd-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.10) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.10) 1px,
      transparent 1px
    );
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.sd-detail-hero .sd-detail-container {
  position: relative;
  z-index: 1;
}

.sd-detail-eyebrow {
  color: #21d4f4;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.sd-detail-hero h1 {
  max-width: 850px;
  margin: 24px 0;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.045em;
  background: linear-gradient(
    110deg,
    #fff 20%,
    #b8d6ff 58%,
    #b66af3
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.sd-detail-lead {
  max-width: 700px;
  color: #aebbd3;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.85;
}

.sd-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ========================================
   BUTTONS
   ======================================== */

.sd-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sd-detail-button:hover {
  transform: translateY(-2px);
}

.sd-detail-button-primary {
  color: #071326;
  background: linear-gradient(110deg, #20d2f1, #b78bff);
  box-shadow: 0 10px 25px rgba(27, 186, 226, 0.15);
}

.sd-detail-button-secondary {
  color: #f4f7ff;
  border: 1px solid rgba(173, 194, 233, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

/* ========================================
   SECTIONS
   ======================================== */

.sd-detail-section {
  padding: clamp(70px, 8vw, 110px) 0;
}

.sd-detail-section-alt {
  background: #0c152c;
}

.sd-detail-section h2 {
  max-width: 780px;
  margin: 15px 0 20px;
  color: #f4f7ff;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.sd-detail-section-lead {
  color: #9daecb;
  margin-bottom: 36px;
}

.sd-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 35px;
}

/* ========================================
   CARDS
   ======================================== */

.sd-detail-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(148, 170, 215, 0.16);
  border-radius: 20px;
  background: linear-gradient(
    150deg,
    #111d39,
    #0a132a
  );
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.sd-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 211, 243, 0.5);
}

.sd-detail-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #26d7f7;
  background: rgba(0, 195, 235, 0.1);
  font-size: 0.9rem;
  font-weight: 800;
}

.sd-detail-card h3,
.sd-detail-step h3 {
  margin: 20px 0 10px;
  color: #f4f7ff;
  font-size: 1.2rem;
}

.sd-detail-card p,
.sd-detail-step p {
  margin: 0;
  color: #a8b7d1;
  line-height: 1.75;
}

/* ========================================
   PROCESS
   ======================================== */

.sd-detail-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.sd-detail-step {
  border-top: 2px solid rgba(40, 205, 240, 0.45);
  padding-top: 20px;
}

.sd-detail-step > span {
  color: #27d1f4;
  font-weight: 800;
  font-size: 1.4rem;
}

/* ========================================
   FAQ
   ======================================== */

.sd-detail-narrow {
  max-width: 850px;
}

.sd-detail-faqs {
  margin-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sd-detail-faq {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sd-detail-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  cursor: pointer;
  list-style: none;
  color: #f4f7ff;
  font-weight: 700;
}

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

.sd-detail-faq summary span {
  color: #28d2f4;
  font-size: 1.6rem;
  transition: transform 0.2s ease;
}

.sd-detail-faq[open] summary span {
  transform: rotate(45deg);
}

.sd-detail-faq p {
  margin: 0 0 25px;
  color: #aab8d0;
  line-height: 1.8;
}

/* ========================================
   OTHER SERVICE
   ======================================== */

.sd-detail-other {
  padding: 28px 0;
  background: #0d1831;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.sd-detail-other .sd-detail-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.sd-detail-other span {
  color: #9aabc7;
}

.sd-detail-other a {
  color: #f4f7ff;
  font-weight: 700;
  text-decoration: none;
}

.sd-detail-other a:hover {
  color: #24d3f4;
}

/* ========================================
   CTA
   ======================================== */

.sd-detail-cta {
  padding: clamp(75px, 10vw, 125px) 0;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 50% 100%,
      rgba(116, 68, 224, 0.19),
      transparent 65%
    ),
    #080f24;
}

.sd-detail-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.sd-detail-cta p {
  max-width: 590px;
  margin: 20px auto 30px;
  color: #aab8d0;
  line-height: 1.8;
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */

@media (max-width: 1000px) {
  #service-detail-root .site-header .site-nav {
    display: none;
  }

  #service-detail-root .sd-detail-mobile-toggle {
    display: flex;
  }

  #service-detail-root .site-header .nav {
    gap: 14px;
  }

  .sd-detail-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */

@media (max-width: 600px) {
  .sd-detail-container {
    width: min(100% - 32px, 1120px);
  }

  .sd-detail-grid,
  .sd-detail-steps {
    grid-template-columns: 1fr;
  }

  .sd-detail-hero {
    padding: 75px 0 85px;
  }

  .sd-detail-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .sd-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sd-detail-actions .sd-detail-button {
    width: 100%;
    text-align: center;
  }

  #service-detail-root .site-header .nav {
    gap: 10px;
  }

  #service-detail-root .sd-detail-languages {
    gap: 1px;
    padding: 3px;
  }

  #service-detail-root .sd-detail-languages a {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  #service-detail-root .sd-detail-mobile-toggle {
    width: 36px;
    height: 36px;
  }

  .sd-detail-card {
    padding: 24px;
  }

  .sd-detail-section {
    padding: 65px 0;
  }
}

/* ========================================
   RESPONSIVE — DESKTOP
   ======================================== */

@media (min-width: 1001px) {
  #service-detail-root .sd-detail-mobile-nav {
    display: none !important;
  }

  #service-detail-root .sd-detail-mobile-toggle {
    display: none !important;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

#service-detail-root a:focus-visible,
#service-detail-root button:focus-visible,
#service-detail-root summary:focus-visible {
  outline: 2px solid #26d5f4;
  outline-offset: 4px;
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .sd-detail-button,
  .sd-detail-card,
  .sd-detail-faq summary span,
  .sd-detail-mobile-toggle span,
  .sd-detail-mobile-nav a {
    transition: none;
  }
}
.sd-detail-hero h1 {
  max-width: 950px;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1.12;
}
