/*
singleServices.css — styles used ONLY on single-services.php
(the CPT "services" single template).

Everything already defined in the shared style.css — variables, reset,
typography base, .wrap, .eyebrow, .btn/.btn-primary, .link-arrow,
.section/.section-head, header, mobile drawer, .cta-section/.cta-grid,
form.consult + fields, footer, and their shared responsive rules — has
been removed from this file on purpose. Load style.css first, then this
file, on the single-services template only.
*/

/* ---------- Ghost button (only used on this page) ---------- */
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stone);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-deep);
}

.btn-ghost:active {
  transform: scale(0.98);
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  padding: 22px 0;
  border-bottom: 1px solid var(--stone-2);
  background: var(--parchment-2);
}

.breadcrumb ol {
  margin: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--charcoal-soft);
}

.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: var(--stone);
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a:hover {
  color: var(--brass-deep);
}

.breadcrumb li[aria-current] {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- SERVICE HERO ---------- */
.wp-block-heading{font-size: 35px !important;}
.service-hero {
  position: relative;
  padding: 64px 0 60px;
  overflow: hidden;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 56px;
  align-items: center;
}

.service-hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.05;
  font-weight: 500;
  max-width: 15ch;
}
.service-hero h1:lang(ar){
  font-size: clamp(34px, 4.4vw, 45px);
}
.service-hero p.lede {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--charcoal-soft);
  max-width: 54ch;
  line-height: 1.65;
}

.service-hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
  align-items: center;
}

.service-photo {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  /* aspect-ratio: 4/5; */
  box-shadow: 0 30px 60px -24px rgba(var(--shadow-ink), 0.4);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-photo-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--parchment);
  padding: 14px 18px;
  border-radius: var(--radius-s);
  box-shadow: 0 20px 40px -18px rgba(var(--shadow-ink), 0.5);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--brass-deep);
}

/* ---------- LAYOUT: content + sidebar ---------- */
.service-body {
  padding: 50px 0;
}

.service-body-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

.service-content h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  margin-top: 44px;
  margin-bottom: 16px;
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content h3 {
  font-size: 19px;
  margin-top: 28px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.service-content p {
  color: var(--charcoal-soft);
  font-size: 15.5px;
  margin-bottom: 16px;
  max-width: 68ch;
}

.service-content ul,
.service-content ol {
  color: var(--charcoal-soft);
  font-size: 15.5px;
  margin: 0 0 16px 20px;
}

.service-content li {
  margin-bottom: 8px;
}

.service-content a {
  color: var(--brass-deep);
  border-bottom: 1px solid var(--brass);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--parchment-2);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius-m);
  padding: 26px;
}

.sidebar-card h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 16px;
}

.sidebar-list {
  margin: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-list li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 11px 4px;
  font-size: 14px;
  color: var(--charcoal-soft);
  border-bottom: 1px solid var(--stone-2);
  transition:
    color 0.2s var(--ease),
    padding-left 0.2s var(--ease);
}

.sidebar-list li:last-child a {
  border-bottom: none;
}

.sidebar-list li a:hover {
  color: var(--ink);
  padding-left: 8px;
}

.sidebar-list li a.current {
  color: var(--ink);
  font-weight: 600;
}

.sidebar-list li a.current::before {
  content: "—";
  margin-right: 6px;
  color: var(--brass);
}

.sidebar-cta {
  background: var(--ink);
  color: var(--parchment);
}

.sidebar-cta h5 {
  color: var(--brass-light);
}

.sidebar-cta p {
  font-size: 14px;
  color: rgba(246, 241, 231, 0.75);
  margin-bottom: 18px;
  line-height: 1.6;
}

.sidebar-cta .btn-primary {
  background: var(--brass);
  width: 100%;
  justify-content: center;
  box-shadow: none;
}

.sidebar-cta .btn-primary:hover {
  background: var(--brass-deep);
}

.sidebar-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
}

.sidebar-phone a {
  font-family: var(--font-mono);
  color: var(--parchment);
}

/* ---------- FEATURES (What's included) ---------- */
.features {
  padding: 100px 0;
  background: var(--parchment-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--stone-2);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.feature-cell {
  background: var(--parchment);
  padding: 30px;
}

/* Self-contained tick icon — does not depend on home.css's .why-tick,
   since single-services.php never loads home.css */
.feature-cell .why-tick {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-cell .why-tick img {
  width: 13px;
  height: 13px;
}

.feature-cell h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-body);
  margin-bottom: 8px;
}

.feature-cell p {
  font-size: 14.5px;
  color: var(--charcoal-soft);
  max-width: 42ch;
}

/* ---------- PROCESS STEPS ---------- */
.steps {
  padding: 100px 0;
}

.steps-ledger {
  border-top: 1px solid var(--stone);
}

.step-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--stone);
}

/* Self-contained index badge — does not depend on home.css's .ledger-index */
.step-row .ledger-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brass-deep);
  padding-top: 4px;
}

.step-row h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.step-row p {
  color: var(--charcoal-soft);
  max-width: 62ch;
  font-size: 14.5px;
}

/* ---------- RELATED SERVICES ---------- */
.related {
  padding: 100px 0;
  background: var(--parchment-2);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--parchment);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius-m);
  padding: 28px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(var(--shadow-ink), 0.3);
}

.related-card .eyebrow {
  margin-bottom: 14px;
}

.related-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.related-card p {
  font-size: 14px;
  color: var(--charcoal-soft);
  margin-bottom: 18px;
}

.related-card .link-arrow {
  font-size: 14px;
}

/* ---------- SINGLE-SERVICES-ONLY RESPONSIVE ---------- */
/* (nav/menu-toggle, .cta-grid, .footer-grid, .form-row collapses are
   already handled by the shared responsive rules in style.css) */
@media (max-width: 980px) {
  .service-hero-grid,
  .service-body-grid {
    grid-template-columns: 1fr;
  }

  .service-body-grid .sidebar {
    position: static;
    order: -1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .service-hero {
    padding: 40px 0 32px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .service-body,
  .features,
  .steps,
  .related {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    padding: 0;
  }
}
