/* =========================================================================
   SERVICES — page-specific styles
   ========================================================================= */

/* ---------- PAGE HERO (shared with portfolio/contact) ---------- */
.page-hero {
  padding-top: 130px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.page-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(40px, 7vh, 80px);
  align-items: end;
}

.page-hero-title h1 {
  font-size: clamp(80px, 13vw, 200px);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.page-hero-title h1 .display-italic {
  font-size: 1.05em;
}

.page-hero-aside .lead {
  margin-bottom: 28px;
}

.lead-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: gap 0.3s, border-color 0.3s;
}

.lead-link:hover {
  gap: 20px;
  border-color: var(--gold);
}

.lead-link .arr {
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.lead-link .arr::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 880px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- TABLE OF CONTENTS ---------- */
.section-toc .toc {
  list-style: none;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.toc li {
  border-bottom: 1px solid var(--line);
}

.toc a {
  display: grid;
  grid-template-columns: 60px 1fr 2fr 60px;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  transition: padding 0.3s, color 0.3s;
}

.toc a:hover {
  padding-left: 16px;
  color: var(--gold-deep);
}

.toc a .numeral {
  font-size: 14px;
}

.toc-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  color: var(--ink);
  transition: color 0.3s;
}

.toc a:hover .toc-title {
  color: var(--gold-deep);
}

.toc-line {
  height: 1px;
  background: var(--line);
  border-top: 1px dotted var(--line);
  background: none;
  border-style: dotted;
  border-top: 1px dotted rgba(28, 20, 14, 0.3);
}

.toc-page {
  font-size: 14px;
  color: var(--ink-3);
  text-align: right;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .toc a {
    grid-template-columns: 36px 1fr 40px;
  }
  .toc-line {
    display: none;
  }
}

/* ---------- SERVICE DETAILS ---------- */
.service-detail {
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
  scroll-margin-top: 100px;
}

.service-detail:nth-of-type(even) {
  background: rgba(232, 222, 196, 0.4);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.sd-rail {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.numeral.big {
  font-family: var(--serif);
  font-size: clamp(72px, 7vw, 120px);
  color: var(--gold-deep);
  line-height: 1;
}

.sd-rail .label {
  margin-top: 8px;
}

.sd-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sd-main h2 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.sd-main .lead {
  font-family: var(--serif);
  font-size: clamp(22px, 1.8vw, 28px);
  color: var(--ink);
  max-width: 30ch;
  margin-bottom: 24px;
}

.sd-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.sd-cols h5 {
  margin-bottom: 20px;
}

.dash-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.dash-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  color: var(--ink-2);
}

.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.service-detail .tag-row {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .sd-rail {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  .numeral.big {
    font-size: 56px;
  }
  .sd-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- PRICING ---------- */
.section-pricing {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 2;
}

.section-pricing h2,
.section-pricing .label,
.section-pricing .label-row .label {
  color: var(--paper);
}

.section-pricing .label.numeral {
  color: var(--gold-2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.price-card {
  background: rgba(241, 233, 215, 0.03);
  border: 1px solid rgba(241, 233, 215, 0.18);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}

.price-card:hover {
  background: rgba(241, 233, 215, 0.06);
  border-color: var(--gold);
}

.price-card-featured {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--gold);
}

.price-card-featured .eyebrow,
.price-card-featured .numeral,
.price-card-featured .from {
  color: var(--ink-2);
}

.price-ribbon {
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-head .numeral {
  color: var(--gold-2);
}

.price-card-featured .price-head .numeral {
  color: var(--gold-deep);
}

.price-head h3 {
  font-size: clamp(36px, 4vw, 56px);
  color: inherit;
  line-height: 1;
}

.price-head .eyebrow {
  color: rgba(241, 233, 215, 0.7);
}

.price-tag {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  border-top: 1px solid rgba(241, 233, 215, 0.15);
  border-bottom: 1px solid rgba(241, 233, 215, 0.15);
}

.price-card-featured .price-tag {
  border-color: var(--line);
}

.price-tag .from {
  font-size: 13px;
  font-family: var(--italic);
  font-style: italic;
  color: rgba(241, 233, 215, 0.6);
  letter-spacing: 0.02em;
}

.price-num {
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  color: inherit;
  letter-spacing: -0.01em;
}

.price-num .cur {
  font-size: 0.5em;
  color: var(--gold-2);
  margin-left: 6px;
  vertical-align: top;
}

.price-card-featured .price-num .cur {
  color: var(--gold-deep);
}

.price-feat {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.price-feat li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(241, 233, 215, 0.85);
  line-height: 1.5;
}

.price-card-featured .price-feat li {
  color: var(--ink-2);
}

.price-feat li::before {
  content: "·";
  position: absolute;
  left: 8px;
  top: -6px;
  font-size: 22px;
  color: var(--gold-2);
}
.price-card-featured .price-feat li::before {
  color: var(--gold-deep);
}

.price-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 8px;
  align-self: flex-start;
  transition: background 0.3s, color 0.3s;
}

.price-cta .arr {
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s;
}

.price-cta .arr::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.price-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

.price-cta:hover .arr {
  width: 28px;
}

.price-card-featured .price-cta {
  border-color: var(--ink);
  color: var(--ink);
}

.price-card-featured .price-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.pricing-note {
  font-family: var(--italic);
  font-style: italic;
  color: rgba(241, 233, 215, 0.65);
  font-size: 14px;
  margin-top: 24px;
}

@media (max-width: 880px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.section-faq {
  background: var(--paper);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  cursor: none;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 28px);
  color: var(--ink);
  list-style: none;
  transition: padding 0.3s;
}

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

.faq-list summary .numeral {
  font-size: 13px;
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  justify-self: end;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.4s, background 0.4s;
}

.faq-icon::before {
  width: 24px;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 1px;
  height: 24px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-list details[open] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-list details[open] .faq-icon::before {
  background: var(--gold-deep);
}

.faq-list details[open] summary {
  padding-left: 12px;
  color: var(--gold-deep);
}

.faq-body {
  padding: 0 0 32px 80px;
  max-width: 72ch;
}

.faq-body p {
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .faq-list summary {
    grid-template-columns: 32px 1fr 24px;
  }
  .faq-body {
    padding-left: 0;
  }
}

/* ---------- Footer overrides (reused from home.css base) ---------- */
.footer-cta {
  max-width: 1000px;
}

.footer-cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-light {
  border-color: rgba(241, 233, 215, 0.5);
  color: var(--paper);
}
.btn-light:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.mail-link {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  color: var(--gold-2);
  border-bottom: 1px solid rgba(201, 162, 103, 0.4);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}
.mail-link:hover {
  color: var(--paper);
  border-color: var(--paper);
}

.brand-light {
  color: var(--paper);
}
.brand-light .crest {
  color: var(--gold-2);
  border-color: var(--gold-2);
}
