:root {
  --navy: #10243f;
  --navy-deep: #0b1a2e;
  --navy-mid: #1b3a63;
  --ink: #1c2430;
  --muted: #5c6a78;
  --gold: #8d6b3a;
  --gold-soft: #c6a56a;
  --cream: #f3efe7;
  --paper: #fbfaf7;
  --line: #e4dccf;
  --white: #ffffff;
  --danger: #8d3030;
  --teal: #1d5c56;
  --shadow: 0 18px 40px rgba(16, 36, 63, 0.08);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

h1, h2, h3, h4, .wordmark-text {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.35rem; }

a { color: var(--navy-mid); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold-soft);
  color: var(--navy-deep);
  padding: 0.5rem 0.8rem;
  z-index: 2000;
}
.skip-link:focus { top: 0.5rem; }

.utility-bar {
  background: var(--navy-deep);
  color: #d9e2ec;
  font-size: 0.86rem;
}
.utility-bar a { color: #f3efe7; text-decoration: none; }
.utility-bar a:hover { color: var(--gold-soft); }
.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}
.utility-meta { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.lang-switch { display: inline-flex; align-items: center; gap: 0.35rem; }
.lang-switch a { letter-spacing: 0.04em; }
.lang-switch a.is-active { color: var(--gold-soft); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}
.wordmark img { height: 42px; width: auto; }
.wordmark-mark {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--gold-soft);
  transform: rotate(45deg);
  display: inline-block;
}
.wordmark-text { font-size: 1.45rem; letter-spacing: 0.08em; }
.wordmark-text .gold { color: var(--gold); }

.site-nav .nav-link {
  color: var(--navy);
  font-weight: 600;
  padding: 0.7rem 0.9rem;
}
.site-nav .nav-link.active,
.site-nav .nav-link:hover { color: var(--gold); }
.navbar-toggler { border-color: var(--line); }
.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  box-shadow: var(--shadow);
  padding: 0.4rem;
}
.dropdown-item { border-radius: 0.4rem; color: var(--navy); }
.dropdown-item:hover { background: var(--cream); color: var(--navy); }

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.btn-gold {
  background: var(--gold-soft);
  color: var(--navy-deep);
  border: 1px solid #b59255;
}
.btn-gold:hover { background: #d7bc86; color: var(--navy-deep); }
.btn-navy {
  background: var(--navy);
  color: white;
  border: 1px solid var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); color: white; }
.btn-line {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-line:hover { background: white; color: var(--navy); }
.btn-line-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-line-dark:hover { background: var(--navy); color: white; }

.hero {
  position: relative;
  color: #f7f4ee;
  background:
    radial-gradient(circle at 88% 12%, rgba(198, 165, 106, 0.28), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px),
    var(--navy);
  overflow: hidden;
}
.hero h1, .hero p { color: #f7f4ee; }
.hero-inner { padding: 5.2rem 0 4.6rem; max-width: 820px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold-soft);
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.page-hero { padding: 3.4rem 0 2.4rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }

.section { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.lead-text { font-size: 1.15rem; color: var(--muted); }

.service-card, .feature-card, .highlight-card, .panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.service-card {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--gold-soft); }
.service-icon, .highlight-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--navy);
  margin-bottom: 1rem;
}
.icon { width: 1.6rem; height: 1.6rem; }
.service-card p { color: var(--muted); flex: 1; }
.text-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
}
.text-link:hover { color: var(--gold); }

.highlight-card { padding: 1.4rem; height: 100%; }
.feature-card { padding: 1.2rem 1.3rem; height: 100%; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }

.prose { white-space: pre-line; color: var(--ink); }
.prose p { margin-bottom: 0; }

.callout {
  border-left: 4px solid var(--gold);
  background: #f8f3ea;
  padding: 1rem 1.1rem;
  border-radius: 0.6rem;
}
.callout-danger {
  border-left-color: var(--danger);
  background: #fbf3f1;
}

.closing-band {
  background: var(--navy);
  color: #f7f4ee;
  border-radius: 1.2rem;
  padding: 2.4rem;
}
.closing-band h2 { color: white; }

.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: white;
  border: 0;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.faq-item .faq-body { padding: 0 1.1rem 1rem; color: var(--muted); white-space: pre-line; }

.site-footer {
  background: var(--navy-deep);
  color: #d5deE7;
  padding: 3.2rem 0 1.4rem;
}
.site-footer h2, .site-footer h3 { color: white; font-size: 1.05rem; }
.site-footer a { color: #f3efe7; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1rem;
  color: #c9d3de;
  font-size: 0.92rem;
  white-space: pre-line;
}
.hours-list, .footer-list { list-style: none; padding: 0; margin: 0; }
.hours-list li, .footer-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; }

.visit-section { padding-top: 0; }
.visit-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.visit-card > div,
.visit-card > aside { padding: 1.8rem; }
.visit-card aside {
  background: var(--navy);
  color: #e7eef6;
}
.visit-card aside h3 { color: white; font-size: 1.15rem; }
.visit-card aside a { color: var(--gold-soft); text-decoration: none; }
.visit-card aside a:hover { color: white; }
.visit-address { white-space: pre-line; margin-bottom: 1rem; }
.office-map { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow); background: white; }
.office-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1.5rem; }
.info-panel { background: white; border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem; }
.form-panel { background: white; border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow); }
.form-label { font-weight: 650; color: var(--navy); }
.form-control, .form-select {
  border-color: #d9d1c4;
  border-radius: 0.6rem;
  padding: 0.7rem 0.8rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(198, 165, 106, 0.25);
}
.field-validation-error, .validation-summary-errors { color: var(--danger); font-size: 0.92rem; }
.input-validation-error { border-color: var(--danger); }
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.confirm-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 720px;
}
.reading-column { max-width: 860px; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(198, 165, 106, 0.25), transparent 24%),
    var(--cream);
  padding: 2rem 1rem;
}
.auth-card {
  width: min(460px, 100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

@media (max-width: 991.98px) {
  .contact-grid, .visit-card { grid-template-columns: 1fr; }
  .office-map iframe { height: 280px; }
  .hero-inner { padding: 3.4rem 0 3rem; }
  .section { padding: 3rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card { transition: none; }
}

[dir="rtl"] .skip-link { left: auto; right: 1rem; }
[dir="rtl"] .callout { border-left: 0; border-right: 4px solid var(--gold); }
[dir="rtl"] .callout-danger { border-left-color: transparent; border-right-color: var(--danger); }
[dir="rtl"] .faq-item button { text-align: right; }
