:root {
  --navy: #082f49;
  --navy-deep: #041f31;
  --green: #22a35a;
  --green-dark: #15743f;
  --blue: #2563a8;
  --purple: #7651a7;
  --cream: #f7f8f5;
  --ink: #17232b;
  --muted: #60717b;
  --line: #d9e2e5;
  --white: #fff;
  --shadow: 0 16px 40px rgba(8, 47, 73, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { opacity: .78; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: white; color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.nav-wrap { min-height: 126px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 26px; padding-block: 12px 0; }
.brand { display: block; flex: 0 0 245px; }
.brand img { width: 245px; height: auto; }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 11px; margin-left: auto; border: 1px solid rgba(255,255,255,.35); background: transparent; border-radius: 8px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: white; }
.nav-links { display: flex; flex: 1 0 100%; align-items: center; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.nav-links li { margin: 0; }
.nav-links a { display: block; padding: 12px 0; color: white; font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-links a[aria-current="page"], .nav-links a:hover { border-color: #50c878; opacity: 1; }

.hero { position: relative; min-height: 380px; display: grid; place-items: center; overflow: hidden; color: white; text-align: center; }
.hero.home { min-height: min(720px, calc(100vh - 126px)); }
.hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,31,49,.78), rgba(4,31,49,.52)); }
.hero-inner { padding: 76px 20px; max-width: 920px; }
.hero h1 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 6vw, 5.4rem); line-height: 1.05; letter-spacing: -.035em; }
.hero:not(.home) h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.hero p { margin: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); }

.section { padding: 72px 0; }
.section.alt { background: var(--cream); }
.section.dark { position: relative; color: white; background: var(--navy); overflow: hidden; }
.section.image { position: relative; color: white; background-position: center; background-size: cover; }
.section.image::before { content: ""; position: absolute; inset: 0; background: rgba(4,31,49,.7); }
.section.image > * { position: relative; }
.eyebrow { margin: 0 0 8px; color: var(--green-dark); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h2, h3, h4 { line-height: 1.2; color: var(--navy); }
h2 { margin: 0 0 28px; font-size: clamp(1.9rem, 4vw, 2.75rem); text-align: center; }
h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 15px auto 0; background: var(--green); border-radius: 9px; }
h3 { margin: 0 0 16px; font-size: 1.55rem; }
h4 { margin: 26px 0 10px; font-size: 1.15rem; }
.dark h2, .dark h3, .image h2, .image h3 { color: white; }
p { margin: 0 0 18px; }
.lead { font-size: 1.08rem; }
.center { text-align: center; }
.highlight { padding: .08em .28em; color: var(--green-dark); background: rgba(34,163,90,.12); border-radius: 4px; font-weight: 700; }
.callout { padding: 22px 24px; margin: 24px 0; background: #effaf4; border-left: 4px solid var(--green); border-radius: 8px; }
.callout.blue { background: #eef6fb; border-color: var(--blue); }
.callout.purple { background: #f5f0fa; border-color: var(--purple); }
.callout p:last-child { margin-bottom: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; color: white; background: var(--green-dark); border: 2px solid var(--green-dark); border-radius: 7px; font-weight: 750; text-align: center; text-decoration: none; }
.button.blue { background: var(--blue); border-color: var(--blue); }
.button.purple { background: var(--purple); border-color: var(--purple); }
.button.outline { color: white; background: transparent; border-color: rgba(255,255,255,.8); }
.icon-list { padding: 0; list-style: none; }
.icon-list li { position: relative; padding-left: 30px; margin: 12px 0; }
.icon-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card { overflow: hidden; color: inherit; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 22px; }
.card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 28px; padding: 0; list-style: none; }
.service-grid li { position: relative; padding: 10px 10px 10px 30px; font-weight: 650; }
.service-grid li::before { content: "✓"; position: absolute; left: 5px; color: var(--green); }

.downloads { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; max-width: 720px; margin: 28px auto 0; }
.downloads .button { justify-content: flex-start; }
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; align-items: start; }
.contact-list { padding: 0; list-style: none; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--navy); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.embed-card { min-width: 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.embed-card iframe { width: 100%; min-height: 520px; display: block; border: 0; color-scheme: normal; }

.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.quote { margin: 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(8,47,73,.08); }
.quote blockquote { margin: 0 0 18px; white-space: normal; }
.quote figcaption { color: var(--navy); font-weight: 750; }
.quote small { color: var(--muted); font-weight: 500; }

.guide-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 32px; align-items: start; }
.guide-sections { display: grid; gap: 24px; }
.guide-section { scroll-margin-top: 112px; padding: 30px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 14px; box-shadow: 0 8px 28px rgba(8,47,73,.07); }
.guide-section h2 { text-align: left; font-size: 1.9rem; }
.guide-section h2::after { margin-left: 0; }
.guide-nav { position: sticky; top: 116px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.guide-nav h2 { margin-bottom: 14px; font-size: 1.2rem; text-align: left; }
.guide-nav h2::after { display: none; }
.guide-nav a { display: block; padding: 8px 10px; color: var(--muted); text-decoration: none; border-radius: 6px; }
.guide-nav a:hover { color: white; background: var(--green-dark); opacity: 1; }

.price-wrap { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.price-table th, .price-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { color: white; background: var(--navy); font-size: .92rem; line-height: 1.25; }
.price-table th:first-child { width: 42%; text-align: left; }
.price-table th:not(:first-child), .price-table td:not(:first-child) { width: 29%; text-align: center; }
.price-table tbody th { color: var(--navy); font-weight: 750; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.price-table tr.group th { background: rgba(8,47,73,.07); color: var(--navy); font-size: .82rem; font-weight: 800; text-align: left; text-transform: uppercase; letter-spacing: .05em; }

.mode-tabs { display: flex; gap: 8px; margin: 0 0 24px; padding: 5px; width: fit-content; max-width: 100%; background: #edf3f4; border-radius: 999px; }
.mode-tabs button { min-height: 44px; padding: 9px 18px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; font-weight: 700; }
.mode-tabs button.active { color: white; background: var(--green-dark); }
.mode-panel { display: none; }
.mode-panel.active { display: block; }
.policy { max-width: 860px; margin-inline: auto; }
.policy-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 24px 0; }
.policy-meta div { padding: 16px; background: var(--cream); border-radius: 8px; text-align: center; }
.policy-meta dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.policy-meta dd { margin: 2px 0 0; color: var(--navy); font-weight: 750; }
.policy-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.policy-section h2 { text-align: left; font-size: 1.65rem; }
.policy-section h2::after { margin-left: 0; }
.policy-num { color: var(--green-dark); margin-right: 8px; }
.policy-callout { padding: 18px; background: var(--cream); border-radius: 10px; }

.site-footer { padding: 50px 0 20px; color: rgba(255,255,255,.76); background: #111827; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { width: min(280px,100%); margin-bottom: 18px; }
.site-footer h2, .site-footer h3 { color: white; text-align: left; font-size: 1rem; }
.site-footer h2::after { display: none; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer a { color: white; }
.partner { width: 150px; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; }
.footer-bottom p { margin: 0; }

.not-found { min-height: 70vh; display: grid; place-items: center; padding: 40px 20px; color: white; background: var(--navy); text-align: center; }
.not-found h1 { margin: 0 0 10px; font-size: clamp(3rem,12vw,7rem); }

@media (max-width: 1040px) {
  .nav-wrap { min-height: 78px; flex-wrap: nowrap; justify-content: flex-start; padding-block: 0; }
  .brand { flex-basis: min(245px, calc(100% - 70px)); }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 78px 0 0; display: block; padding: 20px; background: var(--navy-deep); transform: translateX(-100%); transition: transform .22s ease; overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { min-height: 48px; padding: 12px; font-size: 1rem; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .section { padding: 52px 0; }
  .hero { min-height: 310px; }
  .hero.home { min-height: 560px; }
  .hero-inner { padding: 52px 14px; }
  .card-grid, .service-grid, .downloads, .contact-grid, .testimonials, .guide-layout, .footer-grid { grid-template-columns: 1fr; }
  .guide-nav { position: static; order: -1; }
  .guide-nav div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .policy-meta { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .brand img { width: 215px; }
  .hero.home { min-height: 520px; }
  .guide-section { padding: 22px 18px; }
  .price-table th, .price-table td { padding: 12px 6px; font-size: .76rem; overflow-wrap: anywhere; hyphens: auto; }
  /* Column headings must never split mid-word ("Unaccompanie|d"). `overflow-wrap:
     anywhere` above is needed for the long service names in column 1, but on a
     heading it produces a break with no hyphen, which reads as a typo on a price
     list. Keep whole words here and let `hyphens: auto` break properly if it must. */
  .price-table thead th { font-size: .72rem; padding-left: 4px; padding-right: 4px; overflow-wrap: normal; }
  .price-table th:first-child { width: 40%; }
  .price-table th:not(:first-child), .price-table td:not(:first-child) { width: 30%; }
  .mode-tabs { width: 100%; }
  .mode-tabs button { flex: 1; padding-inline: 8px; font-size: .82rem; }
}

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