/* Linked RMS — shared styles for service, FAQ and error pages */
:root {
  --bg: #f6f4ef;
  --bg-warm: #eeeae0;
  --ink: #1f2a24;
  --ink-soft: #3d4a42;
  --ink-muted: #6f7c73;
  --rule: #d4cfc2;
  --sage: #5a7a63;
  --sage-deep: #3e5945;
  --sage-pale: #a3c0ab;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
.display em { font-style: italic; font-weight: 400; color: var(--sage); }
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); font-weight: 500; display: block;
}
a { color: var(--sage-deep); text-underline-offset: 3px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,244,239,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.logo-icon { display: inline-block; flex-shrink: 0; }
.logo-words { display: flex; flex-direction: column; gap: 1px; }
.logo-text {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 26px;
  letter-spacing: -0.01em; color: var(--ink); line-height: 1;
}
.logo-full {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500; line-height: 1;
}
nav ul { display: flex; gap: 40px; list-style: none; }
nav a { font-size: 14px; color: var(--ink-soft); text-decoration: none; font-weight: 500; transition: color 0.25s; }
nav a:hover, nav a[aria-current] { color: var(--sage); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.li-header { display: inline-flex; line-height: 0; border-radius: 4px; transition: transform 0.2s, opacity 0.2s; }
.li-header:hover { transform: translateY(-1px); opacity: 0.85; }
.nav-cta {
  padding: 11px 22px; background: var(--ink); color: var(--bg); border-radius: 100px;
  font-size: 13px; font-weight: 500; text-decoration: none; transition: background 0.25s;
}
.nav-cta:hover { background: var(--sage-deep); }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color 0.25s; }
.nav-phone:hover { color: var(--sage); }
@media (max-width: 1150px) { .nav-phone { display: none; } }

/* Page hero */
.page-hero { padding: 72px 0 88px; border-bottom: 1px solid var(--rule); }
.crumbs { font-size: 13px; color: var(--ink-muted); margin-bottom: 44px; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--sage-deep); text-decoration: underline; }
.crumbs span { margin: 0 8px; color: var(--rule); }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); max-width: 17ch; margin-bottom: 32px; }
.page-hero .lead { font-size: 20px; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 40px; }
.btn {
  display: inline-block; padding: 15px 30px; background: var(--sage); color: #fff;
  border-radius: 100px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background 0.25s;
}
.btn:hover { background: var(--sage-deep); }
.text-link { font-weight: 600; font-size: 15px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Content blocks */
.blk {
  display: grid; grid-template-columns: 1fr 2fr; gap: 72px;
  padding: 84px 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.blk:last-of-type { border-bottom: none; }
.blk h2 { font-size: clamp(32px, 3.6vw, 46px); max-width: 13ch; }
.blk .eyebrow { margin-bottom: 16px; }
.prose p { color: var(--ink-soft); font-size: 17px; max-width: 64ch; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--ink); font-weight: 600; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.ticks li {
  padding: 18px 0 18px 34px; border-top: 1px solid var(--rule); position: relative;
  color: var(--ink-soft); font-size: 16px; line-height: 1.5;
}
.ticks li::before {
  content: ''; position: absolute; left: 4px; top: 25px; width: 13px; height: 7px;
  border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg);
}
.ticks li strong { color: var(--ink); font-weight: 600; display: block; }
.ticks li strong a { color: inherit; text-decoration-color: var(--rule); }
.ticks li strong a:hover { color: var(--sage-deep); text-decoration-color: var(--sage); }
.prose + .ticks, .ticks + .prose { margin-top: 28px; }

/* Steps band */
.band { background: var(--ink); color: var(--bg); padding: 96px 0; }
.band .eyebrow { color: #8ba594; margin-bottom: 20px; }
.band h2 { font-size: clamp(34px, 4.4vw, 56px); max-width: 18ch; margin-bottom: 60px; }
.band h2 em { color: var(--sage-pale); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 56px; counter-reset: step; }
.steps li { border-top: 1px solid rgba(246,244,239,0.2); padding-top: 24px; counter-increment: step; }
.steps li::before {
  content: counter(step, lower-roman) '.'; display: block; margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 24px; color: var(--sage-pale);
}
.steps h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 25px; line-height: 1.15; margin-bottom: 10px; }
.steps p { color: rgba(246,244,239,0.72); font-size: 15px; line-height: 1.6; }

/* Quote */
.pull { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 40px; }
.pull .stars { color: #FBBC04; letter-spacing: 2px; font-size: 16px; margin-bottom: 18px; }
.pull blockquote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 24px; line-height: 1.4; }
.pull figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-muted); }
.pull figcaption strong { color: var(--ink); font-weight: 600; }

/* Note box */
.note { background: var(--bg-warm); border-left: 3px solid var(--sage); padding: 26px 30px; border-radius: 0 4px 4px 0; }
.note p { font-size: 16px; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 16px; font-family: 'Manrope', sans-serif;
  font-size: 24px; font-weight: 300; color: var(--sage); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--sage-deep); }
.faq .answer { padding: 0 0 26px; max-width: 64ch; }
.faq .answer p { color: var(--ink-soft); font-size: 16.5px; }
.faq .answer p + p { margin-top: 14px; }

/* Related */
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.related a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 20px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink);
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500; transition: color 0.2s, padding 0.25s;
}
.related a span { font-family: 'Manrope', sans-serif; font-size: 16px; color: var(--sage); }
.related a:hover { color: var(--sage-deep); padding-left: 8px; }

/* CTA */
.cta { background: var(--sage-deep); color: var(--bg); padding: 88px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(34px, 4.4vw, 54px); max-width: 16ch; }
.cta h2 em { color: #cfe0d4; }
.cta p { color: rgba(246,244,239,0.8); max-width: 44ch; margin-top: 16px; font-size: 17px; }
.cta p a { color: #fff; font-weight: 600; white-space: nowrap; }
.cta .btn { background: var(--bg); color: var(--ink); white-space: nowrap; }
.cta .btn:hover { background: #fff; }

/* Footer */
footer { padding: 44px 0; background: var(--ink); color: rgba(246,244,239,0.5); font-size: 12px; letter-spacing: 0.05em; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 10px 26px; padding-bottom: 28px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(246,244,239,0.12); font-size: 13px;
}
.footer-nav + .footer-nav { margin-top: -6px; }
.footer-nav a, .footer-links a { color: rgba(246,244,239,0.75); text-decoration: none; transition: color 0.25s; }
.footer-nav a:hover, .footer-links a:hover { color: var(--sage-pale); }
.footer-base { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.footer-co { line-height: 1.9; }
.footer-name { color: rgba(246,244,239,0.8); font-weight: 500; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.li-inline { display: inline-flex; align-items: center; gap: 10px; }

/* Error page */
.notfound { padding: 120px 0 140px; }
.notfound h1 { font-size: clamp(44px, 6vw, 80px); max-width: 14ch; margin: 24px 0 28px; }
.notfound p { font-size: 18px; color: var(--ink-soft); max-width: 52ch; margin-bottom: 36px; }

@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  nav ul { display: none; }
  .page-hero { padding: 44px 0 60px; }
  .crumbs { margin-bottom: 30px; }
  .page-hero .lead { font-size: 18px; }
  .blk { grid-template-columns: 1fr; gap: 26px; padding: 60px 0; }
  .ticks, .related { grid-template-columns: 1fr; }
  .band { padding: 68px 0; }
  .band h2 { margin-bottom: 40px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pull { padding: 28px; }
  .pull blockquote { font-size: 21px; }
  .faq summary { font-size: 21px; }
  .cta { padding: 64px 0; }
  .notfound { padding: 72px 0 90px; }
}
@media (max-width: 480px) {
  .header-actions { gap: 10px; }
  .li-header svg { width: 26px; height: 26px; }
  .nav-cta { padding: 9px 14px; font-size: 12px; white-space: nowrap; }
  .logo { gap: 9px; }
  .logo-icon { width: 30px; height: 27px; }
  .logo-text { font-size: 22px; }
  .logo-full { font-size: 8.5px; white-space: nowrap; letter-spacing: 0.06em; }
}
