/* Shared styles for the Waterloo service pages (Nov 2026).
   Same tokens, fonts and buttons as the homepage. */
:root {
  --gold: #C5A46A; --gold-dark: #B08D52; --gold-ink: #8F6E33; --gold-text: #A07E3F;
  --gold-light: rgba(197,164,106,.14); --gold-pale: rgba(197,164,106,.06);
  --navy: #0F1F2E; --slate: #4A5568; --slate-light: #718096;
  --cream: #FAFAF8; --white: #FFFFFF; --border: #E2E8F0; --border-soft: #EDF2F7;
  --shadow: 0 4px 24px rgba(15,31,46,.08);
  --radius: 12px; --radius-lg: 20px;
  --font-head: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font-body); background: var(--white); color: var(--navy); -webkit-font-smoothing: antialiased; line-height: 1.65; overflow-x: hidden; }
a { color: var(--gold-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* Nav (matches the homepage) */
.pg-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-soft); }
.pg-nav-in { max-width: 1160px; margin: 0 auto; padding: 0 2rem; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; background: var(--gold); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 18px; height: 18px; fill: #fff; }
.logo-text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .86rem; font-weight: 500; color: var(--slate); text-decoration: none; padding: .25rem 0; border-bottom: 1.5px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-ink); border-bottom-color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 600; text-decoration: none; line-height: 1; border-radius: 50px; transition: background .2s, box-shadow .2s; }
.btn-primary { background: var(--gold); color: var(--navy); padding: .95rem 2rem; font-size: .92rem; }
.btn-primary:hover { background: #D3B580; box-shadow: 0 6px 20px rgba(197,164,106,.3); }
.btn-nav { background: var(--gold); color: var(--navy); padding: .6rem 1.4rem; font-size: .82rem; }
.btn-nav:hover { background: #D3B580; }
.btn-text { font-size: .92rem; font-weight: 600; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(197,164,106,.5); }
.btn-text:hover { text-decoration-color: var(--gold); }

/* Hero */
.pg-hero { background: linear-gradient(160deg, var(--cream) 0%, var(--white) 70%); border-bottom: 1px solid var(--border-soft); padding: 2.25rem 0 3rem; }
.crumbs { font-size: .8rem; color: var(--slate-light); margin-bottom: 1.75rem; }
.crumbs a { color: var(--slate-light); text-decoration: none; }
.crumbs a:hover { color: var(--gold-ink); }
.crumbs span[aria-hidden] { margin: 0 .4rem; }
.pg-hero h1 { font-family: var(--font-head); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 1.1rem; }
.lede { font-size: 1.08rem; color: var(--slate); max-width: 640px; margin-bottom: 1.75rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.fact { background: #fff; border: 1px solid rgba(197,164,106,.4); border-radius: 14px; padding: .6rem .95rem; font-size: .84rem; color: var(--slate); }
.fact b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; color: var(--navy); font-variant-numeric: lining-nums; line-height: 1.2; }
.ctas { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* Body */
main { padding: 1rem 0 2rem; }
section { padding: 2.5rem 0 .5rem; }
h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.55rem, 3.5vw, 1.95rem); line-height: 1.2; margin-bottom: 1rem; }
h2 a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgba(197,164,106,.45); }
h2 a:hover { text-decoration-color: var(--gold); }
h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .4rem; }
p { color: var(--slate); margin-bottom: 1rem; }
p strong { color: var(--navy); font-weight: 600; }
.small { font-size: .84rem; color: var(--slate-light); }

/* Price table */
.tbl { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: .9rem; }
.tbl-head, .tr { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .9rem 1.2rem; }
.tbl.cols3 .tbl-head, .tbl.cols3 .tr { grid-template-columns: 1fr 6.5rem 6.5rem; }
.tbl.cols4 .tbl-head, .tbl.cols4 .tr { grid-template-columns: 1fr 5.5rem 5.5rem 5.5rem; }
.tbl-head { background: var(--cream); font-size: .76rem; font-weight: 600; color: var(--slate-light); padding-top: .65rem; padding-bottom: .65rem; }
.tr { border-top: 1px solid var(--border-soft); }
.tr-n { font-weight: 600; font-size: .94rem; }
.tr-d { display: block; font-weight: 400; font-size: .8rem; color: var(--slate-light); margin-top: .1rem; }
.tr-p, .tbl-head .r { text-align: right; }
.tr-p { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: var(--navy); font-variant-numeric: lining-nums; }
.tr-p small { display: block; font-family: var(--font-body); font-size: .74rem; color: var(--slate-light); font-weight: 400; }

/* Ticks */
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; margin-bottom: 1rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: .92rem; color: var(--slate); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .2rem; width: 18px; height: 18px; border-radius: 50%; background: rgba(197,164,106,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2.5,6.2 5,8.6 9.5,3.4' fill='none' stroke='%23B08D52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.crosses li::before { background: var(--border-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' stroke='%23718096' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat; }

/* Steps */
.steps { list-style: none; counter-reset: s; display: grid; gap: .75rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1rem 1.15rem; font-size: .92rem; color: var(--slate); }
.steps li::before { content: counter(s); width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid rgba(197,164,106,.45); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--gold-ink); font-variant-numeric: lining-nums; }
.steps b { display: block; color: var(--navy); font-weight: 600; margin-bottom: .1rem; }

/* Callout */
.callout { background: var(--cream); border: 1px solid var(--border-soft); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.25rem; margin: 1.25rem 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: .5rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font-weight: 600; font-size: .95rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: .25rem; top: 1.35rem; width: 8px; height: 8px; border-right: 2px solid var(--slate-light); border-bottom: 2px solid var(--slate-light); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.55rem; }
.faq summary:hover { color: var(--gold-ink); }
.faq details p { font-size: .92rem; }

/* Other services */
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.more-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.15rem; text-decoration: none; color: var(--navy); transition: border-color .15s, box-shadow .15s; }
.more-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.more-card b { display: block; font-weight: 600; font-size: .95rem; }
.more-card span { font-size: .84rem; color: var(--slate); }

/* Final CTA */
.final { background: var(--navy); border-radius: var(--radius-lg); padding: 2.25rem 1.75rem; text-align: center; margin: 3rem 0 1rem; }
.final h2 { color: #fff; margin-bottom: .5rem; }
.final p { color: rgba(255,255,255,.7); margin-bottom: 1.5rem; }
.final .small { color: rgba(255,255,255,.55); margin: 1rem 0 0; }
.final .small a { color: var(--gold); }

/* Footer (matches the homepage) */
footer { background: var(--navy); color: rgba(255,255,255,.55); padding: 3rem 0 2rem; margin-top: 3rem; }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.foot-brand { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; text-decoration: none; }
.foot-brand .logo-text { color: #fff; }
.foot-desc { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: .9rem; }
.foot-contact { font-size: .85rem; line-height: 1.9; }
.foot-contact a { color: rgba(255,255,255,.75); text-decoration: none; }
.foot-contact a:hover, footer ul a:hover { color: var(--gold); }
footer h4 { font-size: .8rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
footer ul { list-style: none; display: grid; gap: .55rem; }
footer ul a { font-size: .85rem; color: rgba(255,255,255,.5); text-decoration: none; }
.foot-bottom { max-width: 1160px; margin: 2.5rem auto 0; padding: 1.5rem 2rem 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .78rem; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .pg-nav-in { padding: 0 1rem; height: 60px; }
  .wrap { padding: 0 1rem; }
  .pg-hero { padding: 1.5rem 0 2.25rem; }
  .crumbs { margin-bottom: 1.25rem; }
  .lede { font-size: 1rem; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .fact { padding: .55rem .7rem; font-size: .76rem; line-height: 1.35; }
  .fact b { font-size: 1.1rem; }
  .ctas .btn-primary { width: 100%; }
  .ticks { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
  .tbl-head, .tr { padding-left: .9rem; padding-right: .9rem; }
  .tbl.cols3 .tbl-head, .tbl.cols3 .tr { grid-template-columns: 1fr 4.6rem 4.6rem; gap: .5rem; }
  .tbl.cols4 .tbl-head, .tbl.cols4 .tr { grid-template-columns: 1fr 3.9rem 3.9rem 3.9rem; gap: .4rem; }
  .tbl.cols3 .tr-p, .tbl.cols4 .tr-p { font-size: 1rem; }
  .foot-in { grid-template-columns: 1fr 1fr; padding: 0 1rem; gap: 2rem; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
  .foot-bottom { padding: 1.5rem 1rem 0; }
}
