:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --text: #171a1d;
  --muted: #5d6670;
  --line: #dfe3e7;
  --accent: #8b1e2d;
  --accent-dark: #651521;
  --slate: #26333d;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 16px 45px rgba(28, 38, 46, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.external-link::after {
  content: "";
  display: inline-block;
  width: .58em;
  height: .58em;
  margin-left: .28em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  background: linear-gradient(45deg, transparent 43%, currentColor 44%, currentColor 56%, transparent 57%);
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--slate);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #d34257;
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,227,231,.85);
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: min(500px, 58vw); height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  text-decoration: none;
  color: var(--slate);
  font-size: .95rem;
  font-weight: 650;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }

.hero {
  padding: 84px 0 68px;
  background:
    radial-gradient(circle at 85% 18%, rgba(139,30,45,.11), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f5f6f7 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr .8fr;
  gap: 58px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}
h1, h2, h3 { margin-top: 0; line-height: 1.15; }
h1 {
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  margin-bottom: 10px;
  letter-spacing: -.045em;
}
.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: var(--slate);
  margin: 0 0 28px;
}
.hero-copy { max-width: 760px; font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--slate); }

.credentials {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.credentials h2 { font-size: 1.25rem; margin-bottom: 18px; }
.credentials p { margin: 0 0 16px; color: var(--muted); }
.credentials a { color: var(--accent); font-weight: 700; }

.section { padding: 76px 0; }
.section-white { background: #fff; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; margin-bottom: 12px; }
.section-head p { margin: 0; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(28,38,46,.045);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.service-card.is-open {
  background: #fffafb;
  border-color: rgba(139,30,45,.38);
  box-shadow: 0 12px 30px rgba(28,38,46,.08);
}
.service-heading { margin: 0; }
.service-toggle {
  display: block;
  width: 100%;
  min-height: 153px;
  padding: 26px;
  border: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.service-number {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #f6e9eb;
  color: var(--accent);
  font-weight: 850;
  margin-bottom: 18px;
}
.service-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.service-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.service-toggle[aria-expanded="true"] .service-chevron { transform: rotate(225deg); }
.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .25s ease, opacity .2s ease, visibility 0s linear .25s;
}
.service-card.is-open .service-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.service-detail {
  min-height: 0;
  overflow: hidden;
}
.service-detail-inner { padding: 0 26px 26px; }
.service-detail p { margin: 0 0 16px; color: var(--muted); }
.service-detail ul { margin: 0; padding-left: 21px; color: #424a51; }
.service-detail li + li { margin-top: 5px; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card, .contact-note {
  border-radius: var(--radius);
  padding: 34px;
}
.contact-card { background: var(--slate); color: #fff; }
.contact-card h2 { color: #fff; }
.contact-card address { font-style: normal; }
.contact-card a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-row { margin: 18px 0; }
.contact-label { display: block; color: #bfc9d0; font-size: .86rem; margin-bottom: 3px; }
.contact-note { background: #fff; border: 1px solid var(--line); }
.contact-note p { color: var(--muted); }

.site-footer { background: #11171c; color: #dce1e5; padding: 26px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.external-links-note {
  max-width: 650px;
  margin: 7px 0 0;
  color: #aeb8bf;
  font-size: .78rem;
  line-height: 1.45;
}

.legal-hero { padding: 64px 0 26px; background: #fff; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.legal-content { padding: 52px 0 80px; }
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}
.legal-card h2 { margin-top: 34px; font-size: 1.35rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #424a51; }
.notice {
  padding: 16px 18px;
  background: #fff5e8;
  border: 1px solid #f0d6ae;
  border-radius: 12px;
  color: #61451c;
}

@media (max-width: 860px) {
  .header-inner { min-height: 74px; }
  .brand img { width: min(390px, 62vw); }
  .hero { padding-top: 58px; }
  .hero-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { gap: 10px; }
  .brand img { width: min(250px, 44vw); }
  .site-nav { gap: 10px; }
  .site-nav a { font-size: .78rem; }
  .hero { padding: 48px 0 52px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-toggle { min-height: 145px; padding: 22px; }
  .service-detail-inner { padding: 0 22px 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-card { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card, .service-chevron, .service-panel { transition: none; }
}
