/* =========================================================
   ABS Global — Service detail page (serviceview.html)
   Page-specific styles. Builds on assets/css/style.css
   (hero + breadcrumbs follow the services/about treatment)
   ========================================================= */

/* ---------- Page hero (services artwork, crumbs + title + actions) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48vh;
  overflow: hidden;
  padding: 98px 0 86px;
  background: #0c2540;
  color: #fff;
  text-align: center;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../img/services-hero.jpg') center / cover no-repeat;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .85) 100%);
  opacity: .6;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 940px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-hero h1 {
  max-width: 860px;
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.05rem, 3.9vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: .002em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 6px 40px rgba(2, 12, 24, .35);
}

/* service category chip (same treatment as the blog post hero) */
.sv-hero__cat {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sv-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* green WhatsApp button */
.btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 24px -16px rgba(37, 211, 102, .7);
}
.btn--wa:hover { background: #20b858; }

/* ---------- Breadcrumbs (matches about/services hero) ---------- */
.crumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .62);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .75);
  transition: color .2s;
}
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 13px; height: 13px; }
.crumbs__sep { color: rgba(255, 255, 255, .32); display: inline-flex; }
.crumbs [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- Two-column layout (content + sticky sidebar) ---------- */
.sv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 4.4vw, 58px);
  align-items: start;
}
.sv-main {
  min-width: 0;
  display: grid;
  gap: clamp(44px, 5vw, 68px);
}
.sv-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.sv-block .pill { margin-bottom: 16px; }
.sv-block h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
  line-height: 1.22;
  color: var(--ink);
}
.sv-block p {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}
.sv-block__lead { margin-bottom: 24px; }
.sv-block > p:last-child { margin-bottom: 0; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] {
  border-color: var(--brand-200);
  box-shadow: 0 24px 48px -34px rgba(13, 35, 58, .4);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}
.faq-item__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--brand-100);
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.faq-item__q {
  flex: 1;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.faq-item__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.faq-item__icon svg { width: 15px; height: 15px; }
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.faq-item__a { padding: 0 22px 22px 72px; }
.faq-item__a p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--muted);
}
.faq-item__a ul { display: grid; gap: 8px; margin: 0; }
.faq-item__a li {
  position: relative;
  padding-left: 26px;
  font-size: .98rem;
  line-height: 1.7;
  color: var(--muted);
}
.faq-item__a li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .56em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-100);
}

/* ---------- Request form ---------- */
.field input[readonly] {
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand-800);
  font-weight: 600;
  cursor: default;
}

/* ---------- Sticky sidebar ---------- */
.sv-side { display: grid; gap: 20px; }

.sv-badge__media {
  display: flex;
  justify-content: center;
  padding: 26px 22px 0;
}
.sv-badge__media img {
  width: min(224px, 72%);
  height: auto;
}
.sv-badge__body {
  display: grid;
  gap: 4px;
  padding: 14px 22px 24px;
  text-align: center;
}
.sv-badge__body h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.sv-badge__body p { margin: 0; font-size: .84rem; color: var(--muted); }
.sv-badge__actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sv-links {
  display: grid;
  gap: 2px;
  padding: 14px 22px 20px;
}
.sv-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -10px;
  padding: 10px;
  border-radius: 12px;
  transition: background .25s;
}
.sv-side-link:hover { background: var(--brand-50); }
.sv-side-link__text { flex: 1; min-width: 0; }
.sv-side-link__name {
  display: block;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .25s;
}
.sv-side-link:hover .sv-side-link__name { color: var(--brand); }
.sv-side-link__cat { display: block; margin-top: 1px; font-size: .74rem; color: var(--muted); }
.sv-side-link svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--brand);
  transition: transform .25s var(--ease);
}
.sv-side-link:hover svg { transform: translateX(3px); }

/* ---------- Responsive ---------- */
@media (min-width: 1024px) {
  .sv-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .sv-side { position: sticky; top: calc(var(--header-h) + 26px); }
}
@media (max-width: 1023px) {
  .sv-side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 640px) {
  .page-hero { padding: 74px 0 66px; }
  .sv-hero { padding: 84px 0 72px; }
  .page-hero__inner { width: calc(100% - 36px); }
  .sv-hero__actions { width: 100%; }
  .sv-hero__actions .btn { width: 100%; }
  .faq-item summary { gap: 12px; padding: 16px; }
  .faq-item__num { width: 30px; height: 30px; border-radius: 9px; font-size: .72rem; }
  .faq-item__q { font-size: .96rem; }
  .faq-item__a { padding: 0 16px 18px; }
}
