/* ==========================================================================
   M.I.H. Group — services/_layout.css
   Shared structural styles for ALL service landing pages (hero, sections,
   FAQ, related work). Per-service accents live in <slug>.css.
   Pricing presentation lives in ../pricing-base.css.
   ========================================================================== */
.container-tight {
  width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto;
}
@media (max-width: 900px) { .container-tight { width: calc(100% - 2 * var(--gutter-tight)); } }

/* ---------------------------------------------------------------- hero -- */
.sv-hero { padding-top: calc(var(--nav-h) + clamp(36px, 6vh, 80px)); }
.sv-hero .lead { margin-top: 14px; max-width: 62ch; }
.sv-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sv-hero-cta .btn-inner { min-height: 48px; }
.sv-accent {
  position: relative;
}
.sv-accent::after {
  /* subtle gold corner glow unique hook each page can recolor */
  content: ""; position: absolute; right: 0; top: 0;
  width: clamp(220px, 30vw, 520px); aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--sv-glow, rgba(197,160,89,.14)), transparent);
  pointer-events: none; z-index: -1;
}

/* ------------------------------------------------------------- layout --- */
.sv-section { padding-block: clamp(44px, 5vw, 96px); border-top: 1px solid var(--c-stroke); }
.sv-section-title { margin-bottom: clamp(24px, 3vw, 52px); }

.sv-grid {
  display: grid; gap: clamp(18px, 2vw, 32px);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) { .sv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .sv-grid { grid-template-columns: 1fr; } }

.sv-card {
  padding: clamp(22px, 2vw, 34px);
  border: 1px solid var(--c-stroke);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .02);
  transition: border-color var(--dur-hovercard-in) ease, transform .35s var(--ease-slide);
}
.sv-card:hover { border-color: rgba(197, 160, 89, .45); transform: translateY(-4px); }
.sv-card i { color: var(--c-gold); font-size: 22px; margin-bottom: 14px; display: inline-block; }
.sv-card h3 { font-size: clamp(17px, 1.35vw, 21px); font-weight: 700; margin-bottom: 8px; }
.sv-card p { color: var(--c-text-2); font-size: 15px; line-height: 1.65; }

/* ------------------------------------------------------------- process -- */
.sv-steps { counter-reset: step; display: grid; gap: 0; }
.sv-step {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: clamp(18px, 2vw, 32px) 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.sv-step:last-child { border-bottom: 1px solid rgba(255,255,255,.07); }
.sv-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: clamp(22px, 2vw, 34px); font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(197, 160, 89, .75);
}
.sv-step h3 { font-size: clamp(17px, 1.4vw, 23px); font-weight: 700; margin-bottom: 6px; }
.sv-step p { color: var(--c-text-2); font-size: 15px; line-height: 1.65; max-width: 68ch; }

/* ----------------------------------------------------------------- FAQ -- */
.sv-faq { max-width: 860px; }
.sv-faq details {
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.sv-faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.07); }
.sv-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none;
  padding: 20px 0;
  font-size: clamp(16px, 1.25vw, 19px); font-weight: 600;
}
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after {
  content: "\2b"; font-weight: 400; font-size: 24px; color: var(--c-gold);
  transition: transform var(--dur-hover) ease; flex: none;
}
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details p {
  padding: 0 0 20px; color: var(--c-text-2); font-size: 15px; line-height: 1.7; max-width: 70ch;
}

/* ------------------------------------------------------- related cards -- */
.sv-related-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  margin-bottom: clamp(20px, 2.5vw, 40px);
}
.related-grid {
  display: grid; gap: clamp(18px, 2vw, 32px); grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .related-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- CTA -- */
.cta-wrap {
  min-height: 44vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  max-width: min(60vw, 1100px); margin-inline: auto; padding-inline: var(--gutter-tight);
}
@media (max-width: 900px) { .cta-wrap { max-width: 92%; } }
.cta-title { font-size: clamp(34px, 4vw, 68px); font-weight: 500; text-transform: uppercase; }
.cta-btn { margin-top: 26px; }
