/* ===========================
   Sacred Skin LLC — styles
   Palette: deep green, gold, warm neutrals, white
   =========================== */

:root {
  --green-900: #14271f;
  --green-800: #1f3d34;
  --green: #2c5447;
  --gold: #c2a14e;
  --gold-soft: #d8c08a;
  --gold-text: #7d6226; /* AA-contrast gold for small text on cream/white */
  --cream: #f6f2ea;
  --sand: #ece4d6;
  --ink: #2a2a26;
  --muted: #6f6a60;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1140px;
  --radius: 4px;
  --shadow: 0 18px 40px -24px rgba(20, 39, 31, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* Scroll-reveal (guarded by .js so content is never hidden if JS is off) */
.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal-on-scroll.in-view { opacity: 1; transform: none; }

a { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-text); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--green-900);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--gold-text);
  margin: 0 0 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--green-800);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  padding: .95rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--green-800);
  transition: all .25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }

.btn-light { background: var(--white); color: var(--green-900); border-color: var(--white); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }

.btn-small { padding: .65rem 1.25rem; font-size: .7rem; }

/* On the dark-green panels the standard green button all but vanishes into the
   background (measured 1.0:1 in the results CTA, 1.33:1 in the footer), so it
   reads as a line of text rather than a button. Primary CTA takes the same
   solid-light treatment as .btn-light; the footer's secondary one goes ghost. */
.result-cta .btn { background: var(--white); color: var(--green-900); border-color: var(--white); }
.result-cta .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.site-footer .btn { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.site-footer .btn:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: .7rem; line-height: 1; }
.brand-emblem { width: 38px; height: 38px; flex: 0 0 auto; }
/* Miriah's logo sits straight on the page — no chip, no square (Paul, 2026-09-11).
   Her transparent file leaves the dark stained glass PARTLY see-through, so it is
   backed with black in the shape of the logo itself; on bare cream it bleached out. */
img.brand-emblem { width: 50px; height: 50px; object-fit: contain; display: block; }
.footer-emblem { width: 56px; height: 56px; object-fit: contain; display: block; margin-bottom: .8rem; }
.brand-text { display: flex; flex-direction: column; }
.brand-mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--green-900);
}
.brand-sub {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--gold-text);
  margin-top: .25rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0; padding: 0;
}
.nav-menu a {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-menu a:hover { color: var(--gold-text); }
.nav-menu .btn { color: var(--white); }
.nav-menu .btn:hover { color: var(--green-900); }
.nav-phone {
  font-family: var(--serif);
  font-size: 1.05rem !important;
  letter-spacing: .04em !important;
  text-transform: none !important;
  color: var(--green-800);
}
.nav-phone:hover { color: var(--gold-text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--green-900);
  transition: .25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: url("assets/process-1.jpg") center 25% / cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20,39,31,.88) 0%, rgba(20,39,31,.62) 55%, rgba(31,61,52,.45) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero .eyebrow { color: var(--gold-soft); }
.lede {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,.92);
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Trust strip ===== */
.trust { background: var(--green-900); color: var(--white); }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.4rem 1.5rem;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: .4rem; }
.trust-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold-soft);
}
.trust-label { font-size: .8rem; letter-spacing: .04em; color: rgba(255,255,255,.8); }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.section-intro { color: var(--muted); font-size: 1.05rem; }

/* ===== Service cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card h3 { color: var(--green-800); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card p a { font-weight: 400; }
.card-accent { background: var(--green-800); border-color: var(--green-800); }
.card-accent h3, .card-accent p { color: var(--white); }
.card-accent p { color: rgba(255,255,255,.85); }
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold-soft);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem;
}
.card-link:hover { color: var(--white); }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.about-text p { color: #4a463f; }
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--green-800);
  margin-top: 1.5rem;
}

/* ===== Galleries ===== */
.gallery { display: grid; gap: 1.1rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.05); }

.gallery-process { grid-template-columns: repeat(4, 1fr); }
.gallery-process figure { aspect-ratio: 3 / 4; }

.gallery-results { grid-template-columns: repeat(3, 1fr); }
.gallery-results figure { aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
/* Wide before/after composites: double cell, full image, no crop */
.gallery-results figure.ba { grid-column: span 2; aspect-ratio: 2.05 / 1; background: var(--green-900); }
.gallery-results figure.ba img { object-fit: contain; }
.gallery-results figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(20,39,31,.85));
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .06em;
  padding: 1.6rem .9rem .8rem;
}
/* Click-to-reveal sensitive images */
.gallery-results figure.sensitive { cursor: pointer; outline: none; }
.gallery-results figure.sensitive img {
  filter: blur(18px);
  transform: scale(1.08);
  transition: filter .45s ease, transform .5s ease;
}
.gallery-results figure.sensitive .reveal-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: rgba(20, 39, 31, .72);
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .55rem 1.1rem;
  border: 1px solid rgba(216,192,138,.5);
  border-radius: 999px;
  pointer-events: none;
  transition: opacity .35s ease;
  white-space: nowrap;
  max-width: calc(100% - 1rem);
}
@media (max-width: 560px) {
  .gallery-results figure.sensitive .reveal-label {
    font-size: .6rem;
    letter-spacing: .1em;
    padding: .4rem .75rem;
  }
  /* Lift the pill off the multi-line captions on small square tiles */
  .gallery-results figure.sensitive:not(.ba) .reveal-label { top: 36%; }
}
.gallery-results figure.sensitive:not(.revealed):hover img { transform: scale(1.08); }
.gallery-results figure.sensitive.revealed img { filter: none; transform: scale(1); }
.gallery-results figure.sensitive.revealed .reveal-label { opacity: 0; }
.gallery-results figure.sensitive:focus-visible { box-shadow: 0 0 0 3px var(--gold); }

.result-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-800);
  text-align: center;
  padding: 1.5rem;
}
/* Closes the last grid row when the tile count would leave a hole
   (needs the full selector to out-specify the 1/1 base figure rule) */
.gallery-results figure.result-cta-wide { grid-column: span 2; aspect-ratio: auto; }
.result-cta p {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.sensitive-note {
  text-align: center;
  margin: -1rem auto 2.2rem;
  max-width: 620px;
}
.sensitive-note p {
  display: inline-block;
  background: var(--sand);
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  margin: 0;
}

/* ===== Testimonials ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow);
}
.testimonial .stars {
  color: var(--gold);
  letter-spacing: .18em;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.testimonial blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--green-900);
}
.testimonial figcaption {
  margin-top: auto;
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--ink);
}
.testimonial figcaption span {
  margin-left: .5rem;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.testimonials-cta { text-align: center; margin-top: 2.6rem; }
/* Single centered testimonial on service pages */
.testimonial-solo { max-width: 640px; margin: 0 auto; }

/* ===== Jewelry ===== */
.jewelry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.jewelry-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.jewelry-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .7rem;
  color: #4a463f;
}
.jewelry-list li::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.jewelry-note { color: var(--muted); font-size: .92rem; font-style: italic; }
.jewelry-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.jewelry-photos img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
}
.jewelry-photos img:first-child {
  grid-column: 1 / 3;
  aspect-ratio: 2 / 1.1;
}

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--sand);
}
.faq details:first-child { border-top: 1px solid var(--sand); }
.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.3rem 2.6rem 1.3rem 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--green-900);
  transition: color .2s ease;
}
.faq summary:hover { color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold-text);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p {
  margin: 0;
  padding: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

/* ===== CTA banner ===== */
.cta-banner {
  background:
    linear-gradient(rgba(20,39,31,.9), rgba(20,39,31,.9)),
    url("assets/process-2.jpg") center / cover no-repeat fixed;
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-banner h2 { color: var(--white); }
.cta-inner p { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-call { margin-top: 1.4rem; margin-bottom: 0; font-size: .95rem; letter-spacing: .04em; }
.cta-call a { color: var(--gold-soft); border-bottom: 1px solid rgba(216,192,138,.4); }
.cta-call a:hover { color: var(--white); }

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 4rem 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer .brand-mark { color: var(--white); }
/* Stack the footer lockup like the header's (wordmark over tagline) */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer .brand-sub { color: var(--gold-soft); }
.footer-tagline { font-size: .92rem; margin-top: 1rem; max-width: 320px; }
.footer-col h3 {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.footer-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.footer-list li { margin-bottom: .6rem; font-size: .92rem; }
.footer-list a { color: rgba(255,255,255,.82); display: inline-block; padding: .35rem 0; margin: -.35rem 0; }
.footer-list a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}
/* Quiet designer credit — middle of the same footer-bottom line (Paul, 2026-08-11) */
.footer-bottom p:first-child { flex: 1 1 0; text-align: left; }
.site-credit-line { flex: 1 1 0; text-align: center; }
.footer-bottom p:last-child { flex: 1 1 0; text-align: right; }
.site-credit { color: rgba(255,255,255,.45); text-decoration: none; }
.site-credit:hover { color: rgba(255,255,255,.8); text-decoration: underline; }
/* Footer brand: emblem left of the wordmark, header-style (Paul, 2026-08-11) */
.footer-brand-row { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.footer-brand-col { display: flex; flex-direction: column; }
.footer-brand-row .footer-emblem { margin-bottom: 0; }

/* ===========================
   Service pages (added 2026-07-30)
   =========================== */

/* ===== Nav dropdown ===== */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 300;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s ease;
}
.dropdown-toggle:hover,
.has-dropdown:hover .dropdown-toggle,
.dropdown-toggle[aria-expanded="true"] { color: var(--gold-text); }
.dropdown-toggle .caret {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(-135deg) translate(-3px, -3px); }

.dropdown {
  list-style: none;
  margin: 0;
  padding: .6rem 0;
  position: absolute;
  top: calc(100% + 18px);
  left: -1.2rem;
  min-width: 264px;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.dropdown.open { opacity: 1; visibility: visible; transform: none; }
.dropdown li { width: 100%; }
.dropdown a {
  display: block;
  padding: .62rem 1.4rem;
  font-size: .78rem !important;
  letter-spacing: .05em !important;
  text-transform: none !important;
  color: var(--ink);
  white-space: nowrap;
}
.dropdown a:hover { background: var(--cream); color: var(--green-800); }
.dropdown a[aria-current="page"] { color: var(--gold-text); }
/* Bridge the 18px visual gap so slow/diagonal hover paths don't drop the menu */
.dropdown::before {
  content: "";
  position: absolute;
  top: -18px; left: 0; right: 0;
  height: 18px;
}

/* ===== Compact hero for interior pages ===== */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46vh;
  padding: 4.5rem 0 3.5rem;
  color: var(--white);
  overflow: hidden;
}
.page-hero-media {
  position: absolute; inset: 0;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(20,39,31,.92) 0%, rgba(20,39,31,.7) 60%, rgba(31,61,52,.52) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 1rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .lede { margin-bottom: 1.8rem; }

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.2rem;
  padding: 0;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.82); }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: .55rem; color: rgba(255,255,255,.4); }

/* ===== Two-column service layout ===== */
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3.5rem;
  align-items: start;
}
.svc-main > :first-child { margin-top: 0; }
.svc-main h2 { margin-top: 2.8rem; }
.svc-main h2:first-of-type { margin-top: 0; }
.svc-main p, .svc-main li { color: #4a463f; }

.svc-aside {
  position: sticky;
  top: 104px;
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.svc-aside h3 {
  font-family: var(--sans);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 500;
  color: var(--gold-text);
  margin-bottom: 1.1rem;
}
.svc-aside .btn { width: 100%; text-align: center; }
.svc-facts { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.svc-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: .9rem;
}
.svc-facts li:last-child { border-bottom: 0; }
.svc-facts .fact-label { color: var(--muted); }
.svc-facts .fact-value { color: var(--green-900); text-align: right; font-weight: 400; }
.svc-aside-call {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}

/* ===== Numbered process steps ===== */
/* Capped for line length — full 1140px container is too wide to read comfortably */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 auto; max-width: 860px; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2.2rem 4.2rem;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -.15rem;
  width: 2.8rem; height: 2.8rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-text);
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
}
.steps > li::after {
  content: "";
  position: absolute;
  left: 1.4rem; top: 2.95rem; bottom: .4rem;
  width: 1px;
  background: var(--sand);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { color: var(--green-800); margin-bottom: .45rem; font-size: 1.22rem; }
.steps p { margin: 0; color: #4a463f; }
.section-alt .steps > li::before { background: var(--cream); }

/* ===== Treatment timeline box ===== */
.timeline-box {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.8rem 1.9rem;
  margin: 1.6rem 0 0;
}
.section-alt .timeline-box { background: var(--white); }
.timeline-box h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--green-900);
  margin-bottom: .9rem;
}
.timeline-box ul { list-style: none; padding: 0; margin: 0; }
.timeline-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .65rem;
  font-size: .98rem;
}
.timeline-box li:last-child { margin-bottom: 0; }
.timeline-box li::before {
  content: "";
  position: absolute; left: 0; top: .68em;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===== Conditions list (2-col; boxes removed 8/03 — grid rows stretched
   to the tallest card and left the short items in mostly-empty boxes) ===== */
.conditions {
  columns: 2;
  column-gap: 3.5rem;
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.conditions li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .55rem 0;
  font-size: .97rem;
  line-height: 1.55;
  color: #4a463f;
  break-inside: avoid;
}
.conditions li::before {
  content: "";
  flex: 0 0 auto;
  margin-top: .55em;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
@media (max-width: 700px) {
  .conditions { columns: 1; max-width: 480px; }
}

/* ===== Insurance callout ===== */
.insurance-box {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}
.insurance-box h3 { color: var(--green-800); margin-bottom: .8rem; }
.insurance-box p { color: #4a463f; }
.insurance-box ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.insurance-box li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  color: #4a463f;
}
.insurance-box li::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.insurance-note {
  margin: 1.4rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--sand);
  font-size: .9rem;
  font-style: italic;
  color: var(--muted);
}

/* ===== Related services ===== */
.related-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.related-card h3 { font-size: 1.12rem; color: var(--green-800); margin-bottom: .4rem; }
.related-card p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Service card headings become links on the home page */
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--gold-text); }

/* Whole card is clickable: the "Learn more" (or card-link) anchor stretches over the card */
.card { position: relative; }
.card p > a::after,
.card > .card-link::after { content: ""; position: absolute; inset: 0; }

/* ===== Responsive ===== */
@media (max-width: 1040px) {
  .svc-layout { grid-template-columns: 1fr; gap: 2.6rem; }
  .svc-aside { position: static; max-width: 460px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    padding: 1rem 1.5rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding-top: 0; padding-bottom: 0;
  }
  .nav-menu.open {
    max-height: calc(100vh - 78px);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    padding-top: 1rem; padding-bottom: 1.5rem;
    box-shadow: var(--shadow);
  }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .7rem 0; }
  .nav-menu .btn { margin-top: .6rem; padding: .8rem 1.25rem; text-align: center; }

  /* Dropdown becomes an inline accordion on mobile */
  .dropdown-toggle { width: 100%; justify-content: space-between; padding: .7rem 0; }
  .dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-left: 1px solid var(--sand);
    margin: 0 0 .4rem .3rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { max-height: 0; }
  .dropdown.open,
  .has-dropdown:focus-within > .dropdown.open { max-height: 340px; }
  /* iOS keeps :hover on the tapped element, so the hover rule above must not win over .open */
  .has-dropdown:hover > .dropdown.open { max-height: 340px; }
  .dropdown a { padding: .55rem 0 .55rem 1rem; }
  .dropdown a:hover { background: transparent; }
  .dropdown::before { display: none; }

  .about-grid, .jewelry-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .testimonials { grid-template-columns: 1fr; }
  /* width:100% reserves the photo's box before it loads, so anchors below About land where they point */
  .about-photo { max-width: 360px; width: 100%; margin: 0 auto; }
  .gallery-process { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { background-attachment: scroll; }
}

@media (max-width: 560px) {
  .section { padding: 4rem 0; }
  .gallery-results { grid-template-columns: 1fr 1fr; }
  /* The closing CTA reads as a banner, not a cramped half-width square */
  .gallery-results .result-cta { grid-column: 1 / -1; aspect-ratio: auto; padding: 2.2rem 1.5rem; }
  /* Odd single tile spans the row so nothing sits beside an empty slot */
  .gallery-results figure.m-full { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { scroll-behavior: auto; transition: none !important; }
  .js .reveal-on-scroll { opacity: 1; transform: none; }
}

/* Print / save-as-PDF drops CSS blur filters, which would expose the
   sensitive result photos — hide them entirely in print instead */
@media print {
  .gallery-results figure.sensitive img { visibility: hidden; }
  /* Scroll-reveal sections the user never scrolled past would print at
     opacity 0 (blank pages) — force everything visible in print */
  .js .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}
