:root {
  --ink: #173443;
  --ink-soft: #3c5660;
  --paper: #f8f7f2;
  --paper-deep: #edf1ec;
  --line: #d5dfda;
  --accent: #df9176;
  --accent-deep: #b65f4e;
  --cream: #f0e5d8;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(23, 52, 67, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 50;
  padding: .7rem 1rem; background: var(--ink); color: var(--white);
}
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 1rem; color: var(--accent-deep); font-size: .76rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.section-heading { max-width: 680px; margin-bottom: 3.4rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(3.2rem, 7vw, 6.7rem); max-width: 850px; }
h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.25rem; }
.muted { color: var(--ink-soft); }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: .72rem 1.18rem; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { color: var(--white); transform: translateY(-2px); background: var(--accent-deep); border-color: var(--accent-deep); }
.button--quiet { background: transparent; color: var(--ink); }
.button--quiet:hover { color: var(--ink); background: var(--cream); border-color: var(--cream); }

.site-header { position: absolute; z-index: 5; inset: 0 0 auto; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 180px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: .9rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:last-child { padding: .55rem .88rem; border: 1px solid var(--ink); border-radius: 999px; }

.hero { position: relative; overflow: hidden; padding: 11.2rem 0 7rem; background: var(--paper-deep); }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
.hero::before { width: 34rem; height: 34rem; right: -11rem; top: -12rem; background: var(--accent); opacity: .5; }
.hero::after { width: 23rem; height: 23rem; right: 11%; bottom: -15rem; border: 1px solid var(--accent-deep); opacity: .35; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 5rem; align-items: end; }
.hero-copy { max-width: 830px; }
.hero-copy h1 { margin-bottom: 1.8rem; }
.hero-copy h1 em { color: var(--accent-deep); font-style: normal; }
.hero-intro { max-width: 590px; font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--ink-soft); }
.hero-aside { padding: 1.6rem 0 0 2rem; border-left: 1px solid var(--ink); }
.hero-aside p { max-width: 300px; color: var(--ink-soft); }
.hero-meta { display: flex; gap: 1rem; margin-top: 3.8rem; color: var(--ink-soft); font-size: .82rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-deep); }

section { padding: 8rem 0; }
.section-lead { font-size: 1.22rem; color: var(--ink-soft); }
.services { background: var(--ink); color: var(--white); }
.services .eyebrow, .services .section-lead { color: #b7c9c7; }
.services .muted { color: #c3d1d0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #4b6269; border: 1px solid #4b6269; }
.service-card { min-height: 335px; padding: 2rem; background: var(--ink); }
.service-number { display: block; margin-bottom: 4.8rem; color: var(--accent); font-weight: 800; font-size: .82rem; letter-spacing: .14em; }
.service-card h3 { margin-bottom: 1.1rem; }
.service-card p, .service-card li { color: #c3d1d0; font-size: .96rem; }
.service-card ul { margin: 0; padding-left: 1.1rem; }
.service-card li + li { margin-top: .36rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: start; }
.about-copy { max-width: 620px; }
.about-copy p { font-size: 1.15rem; }
.fact-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fact { padding: 1.55rem; border-top: 1px solid var(--ink); }
.fact strong { display: block; margin-bottom: .25rem; font-size: 1.15rem; }
.fact span { color: var(--ink-soft); font-size: .94rem; }

.reference-section { background: var(--cream); }
.reference-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.reference-card { min-height: 285px; padding: 2.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.reference-card--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.reference-card--dark p { color: #c3d1d0; }
.reference-card h3 { margin-bottom: 1rem; }
.reference-label { display: block; margin-bottom: 3rem; color: var(--accent-deep); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-deep); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 680px; padding: 0 3rem 1.4rem 0; color: var(--ink-soft); }

.reviews { padding-top: 0; }
.reviews-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; padding: 3rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }

.contact { background: var(--paper-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; }
.contact h2 { margin-bottom: 1.4rem; }
.contact-note { max-width: 490px; font-size: 1.12rem; color: var(--ink-soft); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-detail { padding: 1.3rem 0; border-top: 1px solid var(--ink); }
.contact-detail small { display: block; margin-bottom: .45rem; color: var(--accent-deep); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-detail a { font-size: 1.1rem; font-weight: 700; }
.contact-detail address { font-style: normal; }
.contact-detail--wide { grid-column: span 2; }

.site-footer { padding: 2.2rem 0; background: var(--ink); color: #c3d1d0; font-size: .85rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { text-decoration: none; }

.cookie-banner { position: fixed; z-index: 20; right: 1.25rem; bottom: 1.25rem; width: min(470px, calc(100% - 2.5rem)); padding: 1.35rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(248, 247, 242, .98); box-shadow: var(--shadow); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin-bottom: .5rem; font-size: 1.15rem; letter-spacing: -.02em; }
.cookie-banner p { margin-bottom: 1rem; color: var(--ink-soft); font-size: .87rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-actions button { border: 1px solid var(--ink); border-radius: 999px; padding: .6rem .9rem; background: var(--ink); color: var(--white); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.cookie-actions button:last-child { background: transparent; color: var(--ink); }

.legal-main { padding: 11rem 0 7rem; }
.legal-header { max-width: 760px; margin-bottom: 4rem; }
.legal-content { max-width: 780px; }
.legal-content h2 { margin: 3rem 0 1rem; font-size: 2rem; }
.legal-content h3 { margin: 2rem 0 .7rem; font-size: 1.25rem; }
.legal-content ul { padding-left: 1.2rem; }
.not-found { min-height: 75vh; display: grid; place-items: center; text-align: center; }
.not-found-inner { max-width: 600px; padding: 8rem 0; }
.not-found h1 { margin-inline: auto; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .faq-grid, .reviews-inner, .contact-grid, .reference-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-aside { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--ink); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-number { margin-bottom: 2rem; }
  .reviews-inner { gap: 1.5rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .nav-wrap { align-items: flex-start; }
  .nav-links { gap: .7rem; font-size: .78rem; }
  .nav-links a:not(:last-child) { display: none; }
  .nav-links a:last-child { padding: .45rem .72rem; }
  .hero { padding: 9rem 0 5rem; }
  section { padding: 5rem 0; }
  .section-heading { margin-bottom: 2.2rem; }
  .hero-meta { flex-direction: column; gap: .4rem; margin-top: 2.5rem; }
  .fact-stack, .contact-details { grid-template-columns: 1fr; }
  .contact-detail--wide { grid-column: auto; }
  .footer-row { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .cookie-banner { right: .75rem; bottom: .75rem; width: calc(100% - 1.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
