/* ──────────────────────────────────────────────────────────────────────
   Wright Aerial — Service detail page styles (extends site.css)
   ────────────────────────────────────────────────────────────────────── */

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.breadcrumb a, .breadcrumb span {
  font-size: var(--text-sm); color: rgba(255,255,255,0.6);
  font-family: var(--font-heebo);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.32); }
.breadcrumb .current { color: var(--signal-300); }

/* ── Service hero (navy band, shorter than home hero) ────────────────── */
.svc-hero {
  position: relative; background: var(--navy-800); color: #fff; overflow: hidden;
  padding-block: 128px 72px;
}
.svc-hero .hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 80% 10%, rgba(40,71,105,0.5), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-700));
}
.svc-hero .hero-topo {
  position: absolute; inset-block: -15% -15%; inset-inline-end: -10%; width: 62%;
  opacity: 0.42; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 95%);
          mask-image: linear-gradient(to left, #000 35%, transparent 95%);
}
.svc-hero .wrap { position: relative; z-index: 2; }
.svc-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: end; }
.svc-hero .eyebrow .label { color: var(--signal-300); }
.svc-hero h1 {
  color: #fff; font-family: var(--font-heebo); font-weight: var(--weight-bold);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0;
}
.svc-hero .lead {
  margin-top: 20px; max-width: 52ch; font-size: var(--text-md);
  line-height: var(--leading-relaxed); color: rgba(255,255,255,0.78);
}
.svc-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.svc-hero-meta {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.04); overflow: hidden;
}
.svc-hero-meta .row { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.svc-hero-meta .row:last-child { border-bottom: none; }
.svc-hero-meta .k {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 5px;
}
.svc-hero-meta .v { font-size: var(--text-md); color: #fff; font-weight: var(--weight-medium); }

/* ── Overview (copy + sticky glance card) ────────────────────────────── */
.overview { background: var(--bg-canvas); }
.overview .wrap { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.overview-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 20px; }
.overview-copy p { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--fg-body); margin: 0 0 18px; }
.overview-copy .pull {
  margin: 28px 0; padding-inline-start: 20px; border-inline-start: 3px solid var(--signal-400);
  font-family: var(--font-heebo); font-weight: var(--weight-medium);
  font-size: var(--text-lg); line-height: var(--leading-snug); color: var(--fg-primary);
}
.glance {
  position: sticky; top: 88px;
  background: var(--bg-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-xs);
}
.glance h3 {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-secondary); margin: 0 0 18px;
}
.glance-row { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
.glance-row:last-of-type { border-bottom: none; }
.glance-row .ic {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--radius-md);
  background: var(--navy-50); color: var(--navy-600); display: grid; place-items: center;
}
.glance-row .ic svg { width: 19px; height: 19px; }
.glance-row .k { font-size: var(--text-xs); color: var(--fg-secondary); margin-bottom: 2px; }
.glance-row .v { font-size: var(--text-base); color: var(--fg-primary); font-weight: var(--weight-medium); }
.glance .btn { width: 100%; margin-top: 20px; }

/* ── Capabilities grid ───────────────────────────────────────────────── */
.caps { background: var(--bg-surface); border-block: 1px solid var(--border-default); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
  background: var(--bg-canvas); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: 24px;
  transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.cap-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.cap-card .ic {
  width: 44px; height: 44px; border-radius: var(--radius-md); margin-bottom: 16px;
  background: var(--navy-600); color: var(--signal-400); display: grid; place-items: center;
}
.cap-card .ic svg { width: 22px; height: 22px; }
.cap-card h3 { font-family: var(--font-heebo); font-weight: var(--weight-bold); font-size: var(--text-lg); color: var(--fg-primary); margin: 0 0 8px; }
.cap-card p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--fg-secondary); margin: 0; }

/* ── Deliverables checklist ──────────────────────────────────────────── */
.deliver { background: var(--bg-canvas); }
.deliver .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.deliver-figure { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--border-default); box-shadow: var(--shadow-md); background: var(--bg-sunken); }
.deliver-figure::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("topo-texture.svg") center/cover no-repeat; opacity: 0.55;
}
.deliver-figure image-slot { width: 100%; height: 100%; position: relative; z-index: 1; }
.deliver-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.deliver-list li { display: flex; gap: 13px; align-items: flex-start; }
.deliver-list .check {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: var(--success-50); color: var(--success-500); display: grid; place-items: center; margin-top: 1px;
}
.deliver-list .check svg { width: 14px; height: 14px; }
.deliver-list .t { font-size: var(--text-base); color: var(--fg-body); line-height: var(--leading-snug); }
.deliver-list .t b { color: var(--fg-primary); font-weight: var(--weight-semibold); }

/* ── Gallery ─────────────────────────────────────────────────────────── */
.gallery { background: var(--bg-surface); border-block: 1px solid var(--border-default); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery-cell { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-default); background: var(--bg-sunken); }
.gallery-cell::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("topo-texture.svg") center/cover no-repeat; opacity: 0.5;
}
.gallery-cell image-slot { width: 100%; height: 100%; position: relative; z-index: 1; }
.gallery-cell.wide { grid-column: span 2; }
.gallery-cell.tall { grid-row: span 2; }

/* ── Related services ────────────────────────────────────────────────── */
.related { background: var(--bg-canvas); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card {
  display: flex; flex-direction: column; gap: 12px; padding: 22px;
  background: var(--bg-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); color: var(--fg-primary);
  transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.related-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--fg-primary); }
.related-card .ic { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--navy-50); color: var(--navy-600); display: grid; place-items: center; }
.related-card .ic svg { width: 21px; height: 21px; }
.related-card h3 { font-family: var(--font-heebo); font-weight: var(--weight-bold); font-size: var(--text-md); margin: 0; color: var(--fg-primary); }
.related-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--navy-600); }
.related-card .go svg { width: 15px; height: 15px; }

/* ── FAQ section ─────────────────────────────────────────────────────── */
.faq { background: var(--bg-surface); border-block: 1px solid var(--border-default); }
.faq-list { margin-top: 36px; display: grid; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item:first-child { border-top: 1px solid var(--border-subtle); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 20px 0;
  font-family: var(--font-heebo); font-weight: var(--weight-semibold);
  font-size: var(--text-md); color: var(--fg-primary); line-height: var(--leading-snug);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 26px; height: 26px;
  border-radius: 50%; border: 1.5px solid var(--border-default);
  display: grid; place-items: center;
  font-size: 18px; line-height: 1; color: var(--fg-secondary);
  transition: transform var(--dur-base), background var(--dur-base);
}
.faq-item[open] summary::after { content: "−"; background: var(--navy-50); border-color: var(--navy-200); color: var(--navy-600); transform: rotate(180deg); }
.faq-item .faq-body {
  padding-bottom: 20px; font-size: var(--text-base);
  color: var(--fg-body); line-height: var(--leading-relaxed); max-width: 70ch;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .overview .wrap { grid-template-columns: 1fr; }
  .glance { position: static; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver .wrap { grid-template-columns: 1fr; }
  .deliver-figure { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cap-grid, .gallery-grid, .related-grid { grid-template-columns: 1fr; }
  .gallery-cell.wide { grid-column: span 1; }
  .gallery-cell.tall { grid-row: span 1; }
}
