:root {
  --navy: #103a55;
  --navy-deep: #092739;
  --blue: #1f658b;
  --red: #c93438;
  --red-dark: #a62228;
  --cream: #f5f2eb;
  --paper: #fffdf9;
  --ink: #17252e;
  --muted: #5d6a72;
  --line: #dfe5e7;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(9, 39, 57, 0.12);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--red); }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2.5rem), 820px); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--cream); }
.section-dark { color: var(--white); background: var(--navy-deep); }

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before { width: 2.2rem; height: 2px; content: ""; background: currentColor; }
h1, h2, h3 { margin: 0 0 0.7em; font-weight: 750; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 13ch; font-size: clamp(2.8rem, 7vw, 5.8rem); }
h2 { max-width: 17ch; font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.lead { max-width: 65ch; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.section-dark .lead, .section-dark p { color: #dce7ec; }
.section-heading { display: grid; gap: 1rem; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.section-heading > * { margin-bottom: 0; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 253, 249, 0.93);
  border-bottom: 1px solid rgba(16, 58, 85, 0.1);
  backdrop-filter: blur(16px);
}

.nav-wrap { display: flex; min-height: 122px; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-brands { display: flex; flex: 0 0 auto; align-items: center; gap: 1.1rem; }
.brand-legacy { flex: 0 0 auto; }
.legacy-logo { width: 108px; height: auto; }
.association { display: inline-flex; padding: 0.35rem 0.45rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: 180ms ease; }
.association:hover { border-color: rgba(16, 58, 85, 0.35); box-shadow: 0 8px 20px rgba(9, 39, 57, 0.08); transform: translateY(-1px); }
.association-logo { width: 184px; height: auto; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 14px 14px 14px 4px;
  font-weight: 850;
  letter-spacing: -0.06em;
  box-shadow: 6px 6px 0 rgba(201, 52, 56, 0.18);
}
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-size: 1.04rem; }
.brand-copy small { color: var(--muted); font-size: 0.72rem; }

.site-nav { display: flex; align-items: center; gap: 0.2rem; }
.site-nav a { padding: 0.65rem 0.78rem; color: var(--ink); border-radius: 999px; font-size: 0.91rem; font-weight: 680; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); background: #e7f0f4; }
.site-nav .nav-cta { margin-left: 0.35rem; color: var(--white); background: var(--red); }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { color: var(--white); background: var(--red-dark); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { width: 21px; height: 2px; content: ""; background: currentColor; transition: 180ms ease; }
.menu-toggle span { display: block; }
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-2px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 8rem) 0 clamp(4.5rem, 10vw, 9rem); }
.hero::before { position: absolute; z-index: -1; top: -20rem; right: -17rem; width: 46rem; height: 46rem; content: ""; background: #eaf2f3; border-radius: 50%; }
.hero-grid { display: grid; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: clamp(2.5rem, 6vw, 6rem); }
.hero-copy p { max-width: 59ch; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 0.65rem; padding: 0.8rem 1.15rem; color: var(--white); background: var(--red); border: 1px solid var(--red); border-radius: 12px; font-weight: 760; text-decoration: none; transition: 180ms ease; }
.button:hover { color: var(--white); background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.button-secondary { color: var(--navy); background: transparent; border-color: rgba(16, 58, 85, 0.28); }
.button-secondary:hover { color: var(--navy); background: #eaf2f3; border-color: #eaf2f3; }

.hero-visual { position: relative; min-height: 500px; }
.hero-image { width: 100%; height: 100%; min-height: 500px; object-fit: cover; border-radius: 42% 10% 36% 10%; box-shadow: var(--shadow); }
.hero-badge { position: absolute; right: -1.25rem; bottom: 2rem; max-width: 230px; padding: 1.2rem 1.35rem; color: var(--white); background: var(--navy); border-radius: 18px 18px 5px 18px; box-shadow: var(--shadow); }
.hero-badge strong { display: block; margin-bottom: 0.15rem; font-size: 1.15rem; }
.hero-badge span { color: #dce7ec; font-size: 0.9rem; }

.trustbar { margin-top: -2.2rem; position: relative; z-index: 2; }
.trustbar-inner { display: grid; padding: 1.4rem 1.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 0.5rem 1.1rem; color: var(--navy); border-right: 1px solid var(--line); text-align: center; font-size: 0.92rem; font-weight: 780; }
.trust-item:last-child { border-right: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { padding: clamp(1.5rem, 3vw, 2.3rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(9, 39, 57, 0.06); }
.card-icon { display: grid; width: 48px; height: 48px; margin-bottom: 1.3rem; place-items: center; color: var(--white); background: var(--navy); border-radius: 14px; font-size: 1.3rem; font-weight: 800; }
.card p { color: var(--muted); }
.card ul, .check-list { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.card li, .check-list li { position: relative; margin: 0.55rem 0; padding-left: 1.55rem; }
.card li::before, .check-list li::before { position: absolute; top: 0.12rem; left: 0; color: var(--red); content: "✓"; font-weight: 900; }

.split { display: grid; align-items: center; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 7vw, 6rem); }
.split-image { position: relative; }
.split-image img { width: 100%; min-height: 440px; object-fit: cover; border-radius: 10px 38% 10px 10px; box-shadow: var(--shadow); }
.metric { display: inline-grid; margin-top: 1rem; padding: 1rem 1.3rem; color: var(--white); background: var(--red); border-radius: 15px; }
.metric strong { font-size: 1.5rem; line-height: 1; }
.metric span { font-size: 0.86rem; }

.quote { margin: 0; padding: clamp(2rem, 5vw, 4rem); background: var(--navy); border-radius: var(--radius); color: var(--white); }
.quote p { margin: 0; color: var(--white); font-size: clamp(1.5rem, 3.5vw, 2.6rem); font-weight: 720; line-height: 1.25; letter-spacing: -0.025em; }
.quote footer { margin-top: 1.3rem; color: #bfd0d9; }

.page-hero { padding: clamp(4rem, 8vw, 7.2rem) 0 clamp(3.5rem, 7vw, 6rem); color: var(--white); background: var(--navy-deep); }
.page-hero h1 { max-width: 14ch; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero .lead { color: #dce7ec; }
.page-hero .eyebrow { color: #ff777b; }

.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 135px 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.timeline-item strong { color: var(--red); }

.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.person { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.person img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.person-body { padding: 1.6rem; }
.person-body p { color: var(--muted); }

.service-block { display: grid; grid-template-columns: 0.42fr 1fr; gap: 2rem; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-number { color: var(--red); font-size: 0.8rem; font-weight: 850; letter-spacing: 0.12em; }
.service-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }

.reference-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.reference { padding: clamp(1.6rem, 4vw, 2.8rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.reference .reference-tag { color: var(--red); font-size: 0.8rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.reference address { color: var(--muted); font-style: normal; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.contact-list { display: grid; gap: 1rem; margin: 2rem 0; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; }
.contact-item-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--white); background: var(--navy); border-radius: 14px; }
.contact-item span { display: block; color: var(--muted); font-size: 0.85rem; }
.contact-item a, .contact-item strong { color: var(--ink); font-weight: 760; text-decoration: none; }
.contact-panel { padding: clamp(2rem, 5vw, 3.5rem); color: var(--white); background: var(--navy); border-radius: var(--radius); }
.contact-panel p { color: #dce7ec; }
.contact-panel .button { margin-top: 1rem; }

.legal h2 { max-width: none; margin-top: 2em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.legal h3 { margin-top: 1.7em; }
.legal address { font-style: normal; }
.notice { padding: 1.2rem 1.4rem; background: #edf4f6; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; }

.cta-band { padding: clamp(2.4rem, 5vw, 4rem); color: var(--white); background: var(--red); border-radius: var(--radius); }
.cta-band-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { max-width: 15ch; margin: 0; }
.cta-band .button { color: var(--navy); background: var(--white); border-color: var(--white); }

.site-footer { padding: 4rem 0 2rem; color: #dce7ec; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr; gap: 3rem; }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.site-footer p, .site-footer address { color: #b8cbd5; font-style: normal; }
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { width: fit-content; color: #dce7ec; text-decoration: none; }
.footer-links a:hover { color: #ff777b; }
.footer-bottom { display: flex; margin-top: 3rem; padding-top: 1.5rem; justify-content: space-between; gap: 1rem; color: #91a9b6; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.86rem; }

@media (max-width: 940px) {
  .nav-wrap { min-height: 98px; }
  .legacy-logo { width: 82px; }
  .association-logo { width: 154px; }
  .menu-toggle { display: grid; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 1rem 1.25rem 1.4rem; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(9,39,57,0.1); flex-direction: column; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem 1rem; }
  .site-nav .nav-cta { margin: 0.35rem 0 0; text-align: center; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 420px; }
  .hero-image { min-height: 420px; }
  .hero-badge { right: 1rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid .card:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(calc(100% - 1.5rem), var(--max)); }
  .nav-wrap { min-height: 88px; gap: 0.65rem; }
  .header-brands { gap: 0.55rem; }
  .legacy-logo { width: 70px; }
  .association { padding: 0.22rem 0.3rem; border-radius: 7px; }
  .association-logo { width: 118px; }
  .menu-toggle { width: 44px; height: 44px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 3.2rem; }
  .hero-visual, .hero-image { min-height: 340px; }
  .hero-badge { right: 0.6rem; bottom: -1rem; }
  .trustbar { margin-top: 0; padding-top: 1rem; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; padding: 0.8rem; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .card-grid, .people-grid, .reference-grid, .service-columns { grid-template-columns: 1fr; }
  .card-grid .card:last-child { grid-column: auto; }
  .service-block { grid-template-columns: 1fr; gap: 0.6rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .split-image img { min-height: 340px; }
  .cta-band-grid { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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