:root {
  --navy: #003F5E;
  --navy-deep: #002A40;
  --ink: #2F3B45;
  --muted: #55626D;
  --red: #B23A2E;
  --red-dark: #92291F;
  --cream: #FAF7F2;
  --sand: #F1EBE1;
  --line: #E3DDD3;
  --display: 'Merriweather', Georgia, serif;
  --body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 4px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1140px; margin: 0 auto; padding-inline: clamp(16px, 5vw, 40px); }
.narrow { max-width: 760px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 14px; }
.brand img { width: 210px; height: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 24px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 0; color: var(--ink); }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 13px 24px; border-radius: 3px; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.3; text-align: center; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.nav .btn { padding: 10px 18px; font-size: 15px; color: #fff; }
.nav .btn[aria-current="page"] { text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Type */
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; line-height: 1.2; }
h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.eyebrow { display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.lede { font-size: 20px; color: var(--ink); max-width: 680px; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.section { padding-block: clamp(56px, 7vw, 96px); }
.cream { background: var(--cream); }
.sand { background: var(--sand); }
.navy-band { background: var(--navy); color: #fff; }
.navy-band h2, .navy-band h3 { color: #fff; }
.navy-band p { color: #D9E6EE; }
.center { text-align: center; align-items: center; }

/* Hero */
.hero { position: relative; background: var(--navy-deep) url('/assets/img/hero.webp') center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 32, 50, 0.55); }
.hero .wrap { position: relative; padding-block: clamp(56px, 9vw, 120px); }
.hero-card { background: var(--navy); color: #fff; max-width: 640px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.35); }
.hero-card h1 { color: #fff; }
.hero-card p { color: #E3EDF3; font-size: 19px; }

/* Page head */
.page-head { padding-block: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.price { font-weight: 700; color: var(--red); font-size: 17px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 40px; }
.feature { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 2px solid var(--red); }
.feature h3 { font-size: 19px; }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.split > .media { flex: 1 1 300px; max-width: 460px; }
.split > .text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Lists */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.cols-2 { columns: 2 260px; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

/* Service blocks */
.service { display: flex; flex-wrap: wrap; gap: 20px 56px; padding-block: 44px; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 3px solid var(--navy); }
.service-head { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.service-body { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; }
.facts div { background: var(--cream); padding: 14px 16px; }
.facts dt { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; color: var(--navy); }
.subhead { font-family: var(--body); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 17px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 700; }
td strong { color: var(--navy); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--red); line-height: 1; }

/* Callout */
.callout { border-left: 4px solid var(--navy); background: var(--cream); padding: 18px 22px; }
.callout a { font-weight: 700; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; color: var(--navy); font-size: 18px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--red); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 18px; line-height: 1.6; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--navy); }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
.quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.member { display: flex; flex-direction: column; gap: 10px; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member .role { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.member .genres { font-size: 16px; color: var(--muted); }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
label { font-weight: 700; font-size: 16px; }
.req { color: var(--red); }
.hint { font-size: 15px; color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid #8C969F; border-radius: 3px; padding: 11px 13px; min-height: 48px; width: 100%; }
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--red); outline-offset: 1px; }
.hidden { position: absolute; left: -9999px; }
.form .btn { align-self: flex-start; }
.newsletter { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.newsletter img { width: 150px; box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.newsletter .text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { flex: 1 1 240px; width: auto; }
.form-status { font-weight: 700; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9D6DE; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-block: 40px 28px; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer nav a { padding: 8px 0; display: inline-block; }
.footer-col { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.footer-legal { width: 100%; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 18px; font-size: 14px; }

@media (max-width: 600px) {
  table { min-width: 0; font-size: 15px; }
  th, td { padding: 10px 8px; }
  .nav { gap: 2px 18px; }
  .nav a { font-size: 15px; }
}

/* Video cards */
.thumb { position: relative; display: block; }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; background: rgba(178,58,46,0.92); border-radius: 10px; }
.play::after { content: ""; position: absolute; left: 26px; top: 12px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.thumb:hover .play { background: var(--red-dark); }
.videos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }
.video h3 { font-size: 18px; line-height: 1.35; }
.video h3 a { text-decoration: none; color: var(--navy); }
.video h3 a:hover { text-decoration: underline; }

.hero-card { margin-inline: auto; }
