:root {
  --color-ink: #1B2A41;
  --color-ink-soft: #2C3E58;
  --color-accent: #2F6F62;
  --color-accent-soft: #E4EEEC;
  --color-bg: #F6F4F0;
  --color-surface: #FFFFFF;
  --color-border: #E1DED6;
  --color-text: #33393F;
  --color-text-muted: #616770;
  --color-gold: #A98456;
  --font-display: 'Source Serif 4', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 2px 18px rgba(27, 42, 65, 0.07);
  --shadow-elevated: 0 12px 34px rgba(27, 42, 65, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--color-text); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--color-ink);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent); }

.btn-outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: #fff; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--color-ink);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.25;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--color-ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--color-accent); text-decoration: none; }
.main-nav a.active { color: var(--color-accent); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-ink);
  cursor: pointer;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--color-border); }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { display: none; }
}

/* Hero */
.hero {
  background: var(--color-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}

.hero h1 { color: #fff; }
.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
}

.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.hero-figure img { width: 100%; height: 420px; object-fit: cover; }

.hero-stat-card {
  position: absolute;
  bottom: -1px;
  left: -1px;
  background: var(--color-surface);
  color: var(--color-ink);
  padding: 18px 22px;
  border-radius: var(--radius-md) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-card);
  max-width: 260px;
}

.hero-stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--color-accent);
  font-weight: 600;
}

.hero-stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-figure img { height: 280px; }
}

/* Sections */
section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards grid */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.card .icon-badge {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); margin-bottom: 0; font-size: 0.95rem; }

/* Process flow (signature element) */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: flow-step;
}

.flow-step {
  position: relative;
  padding: 0 22px 0 0;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  right: -2px;
  width: 24px;
  height: 1px;
  background: var(--color-border);
}

.flow-num {
  counter-increment: flow-step;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 20px;
  background: var(--color-surface);
}

.flow-num::before { content: counter(flow-step, decimal-leading-zero); }

.flow-step h3 { font-size: 1.05rem; }
.flow-step p { font-size: 0.9rem; color: var(--color-text-muted); }

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow-step:not(:last-child)::after { display: none; }
}

/* Split content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; height: 420px; object-fit: cover; }
.split.reverse .split-media { order: 2; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split img { height: 280px; }
}

.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list i { color: var(--color-accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* Stats band */
.stats-band {
  background: var(--color-ink);
  color: #fff;
}
.stats-band .grid { text-align: center; }
.stats-band .stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: #fff;
}
.stats-band .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.03em;
}

/* Testimonial / quote */
.quote-block {
  background: var(--color-accent-soft);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}
.quote-block i.quote-mark {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: block;
}
.quote-block p.quote-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-ink);
  line-height: 1.5;
}
.quote-cite { font-size: 0.9rem; color: var(--color-text-muted); font-style: normal; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-soft) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 0; }

/* Notice box */
.notice {
  display: flex;
  gap: 14px;
  background: var(--color-accent-soft);
  border: 1px solid rgba(47,111,98,0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  align-items: flex-start;
  margin: 28px 0;
}
.notice i { color: var(--color-accent); font-size: 1.3rem; margin-top: 2px; }
.notice p { margin: 0; font-size: 0.92rem; color: var(--color-ink-soft); }

/* Forms */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-bg);
  color: var(--color-text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.field-check input { width: auto; margin-top: 3px; }

.form-note { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 16px; }

/* Contact info list */
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .icon-badge {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 1.15rem;
}
.contact-info-list strong { display: block; color: var(--color-ink); font-size: 0.92rem; }
.contact-info-list span, .contact-info-list a { font-size: 0.92rem; color: var(--color-text-muted); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Legal pages */
.legal-page section { padding: 56px 0; }
.legal-content h2 { margin-top: 2em; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content p, .legal-content li { color: var(--color-text-muted); }
.legal-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
  margin-bottom: 8px;
}

.page-hero {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 0 48px;
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero p.lead { max-width: 60ch; color: var(--color-text-muted); font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb i { font-size: 0.7rem; margin: 0 6px; }

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.footer-brand img { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.footer-brand span { font-family: var(--font-display); color: #fff; font-weight: 600; }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-legal-note { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 40ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
}
.footer-socials a:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 24px;
  z-index: 200;
  transform: translateY(140%);
  transition: transform 0.35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 16px; }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.88rem; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
  cursor: pointer;
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
