:root {
  --navy: #003663;
  --teal: #005374;
  --accent: #c2410c;
  --sand: #ffe9a3;
  --orange: #ffa500;
  --text: #1a1f24;
  --muted: #55606b;
  --line: #e3e6ea;
  --bg: #ffffff;
  --card: #f7f8fa;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Layout */
.layout { min-height: 100vh; }

.deco {
  background: var(--sand) url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgdmlld0JveD0iMCAwIDUwIDUwIj4KPGcgaWQ9ImdyaWQiIHN0cm9rZT0ib3JhbmdlIj4KICA8bGluZSB4MT0iMCIgeTE9IjI1IiB4Mj0iNTAiIHkyPSIyNSIgc3R5bGU9InN0cm9rZS1kYXNoYXJyYXk6MSw5LDAsMDtzdHJva2Utd2lkdGg6NTA7Ii8+CiAgPGxpbmUgeDE9IjI1IiB5MT0iMCIgeDI9IjI1IiB5Mj0iNTAiIHN0eWxlPSJzdHJva2UtZGFzaGFycmF5OjEsOSwwLDA7c3Ryb2tlLXdpZHRoOjUwOyIvPgogIDxsaW5lIHgxPSIwIiB5MT0iMjUiIHgyPSI1MCIgeTI9IjI1IiBzdHlsZT0ic3Ryb2tlLWRhc2hhcnJheToxLDQ4LDEsMDtzdHJva2Utd2lkdGg6NTA7Ii8+CiAgPGxpbmUgeDE9IjI1IiB5MT0iMCIgeDI9IjI1IiB5Mj0iNTAiIHN0eWxlPSJzdHJva2UtZGFzaGFycmF5OjEsNDgsMSwwO3N0cm9rZS13aWR0aDo1MDsiLz4KPC9nPgo8L3N2Zz4=') center bottom;
  border-bottom: 1px solid var(--orange);
  min-height: 96px;
}

.content {
  padding: 1.25rem 1rem 2rem;
  max-width: 54rem;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--navy);
}
.logo { display: block; line-height: 0; }
.logo svg { width: min(240px, 60vw); height: auto; }

.lang { display: flex; gap: .25rem; font-size: .875rem; font-weight: 600; }
.lang a {
  padding: .25rem .5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  color: var(--muted);
}
.lang a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.lang a:not([aria-current]):hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { padding: 2.5rem 0 2rem; }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); font-weight: 800; letter-spacing: -.01em; }
.lead { margin: 1rem 0 1.5rem; font-size: 1.1875rem; color: var(--muted); max-width: 40rem; }

.btn {
  display: inline-block;
  padding: .75rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}
.btn:hover { background: var(--accent); color: #fff; }

/* Sections */
section { padding: 2rem 0; border-top: 1px solid var(--line); }
section > h2 {
  font-size: .875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.cards li {
  background: var(--card);
  border-left: 3px solid var(--orange);
  padding: 1.125rem 1.25rem;
  border-radius: 0 6px 6px 0;
}
.cards h3 { font-size: 1.0625rem; margin-bottom: .375rem; }
.cards p { margin: 0; color: var(--muted); font-size: .9688rem; }

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: .375rem;
}
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); font-size: .9375rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.tags li {
  font-size: .875rem;
  padding: .25rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
}

.contact { display: grid; gap: .25rem; margin: 0; }
.contact dt { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .75rem; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: 0; font-size: 1.125rem; }

/* Contact form */
.contact-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  padding: 1.5rem 1.25rem;
  background: var(--card);
  border-left: 3px solid var(--orange);
  border-radius: 0 6px 6px 0;
}
.contact-form h3, .form-intro, .field-wide { grid-column: 1 / -1; }
.contact-form h3 { font-size: 1.25rem; }
.form-intro { margin: -.5rem 0 0; color: var(--muted); font-size: .9688rem; }

.field { display: grid; gap: .3rem; min-width: 0; }
.field label { font-size: .875rem; font-weight: 600; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #c9ced4;
  border-radius: 6px;
  padding: .625rem .75rem;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field [aria-invalid="true"] { border-color: #b42318; background: #fff6f5; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.form-actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.form-actions .btn:disabled { opacity: .6; cursor: progress; }
.form-actions .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-note { margin: 0; font-size: .8125rem; color: var(--muted); }

.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #12703b; }
.form-status.is-error { color: #b42318; }

/* Honeypot: hidden from people and assistive tech, still visible to naive bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 560px) {
  .contact-form { grid-template-columns: 1fr 1fr; padding: 1.75rem 1.75rem; }
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
  font-size: .875rem;
  color: var(--muted);
}
footer p { margin: 0; }

/* Main navigation */
.site-nav ul {
  display: flex; flex-wrap: wrap; gap: .25rem 1.25rem;
  list-style: none; margin: 0; padding: .75rem 0 0;
  font-size: .9375rem; font-weight: 600;
}
.site-nav a { text-decoration: none; color: var(--navy); }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }

/* Offer cards (whole card is clickable) */
.offer-cards li { position: relative; }
.offer-cards li:hover { border-left-color: var(--accent); }
.offer-cards h3 a { color: inherit; text-decoration: none; }
.offer-cards h3 a::after { content: ""; position: absolute; inset: 0; }
.offer-cards h3 a:focus-visible { outline: none; }
.offer-cards li:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.offer-cards .card-link { margin-top: .625rem; color: var(--teal); font-weight: 600; font-size: .9375rem; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: ""; position: absolute; left: .25rem; top: .45em;
  width: .5rem; height: .85rem;
  border: solid var(--orange); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* Comparison table */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 32rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .625rem .75rem; border-bottom: 1px solid var(--line); }
.compare thead th { color: var(--navy); border-bottom: 2px solid var(--navy); }
.compare tbody th { color: var(--navy); font-weight: 600; white-space: nowrap; }
.compare td { color: var(--muted); }
.compare td:last-child { color: var(--text); background: var(--card); }
.note { margin: 1rem 0 0; font-size: .9375rem; color: var(--muted); font-style: italic; }

/* Packages */
.packages {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.packages > li {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-top: 3px solid var(--orange);
  border-radius: 0 0 6px 6px; padding: 1.25rem;
}
.packages h3 { font-size: 1.125rem; }
.package-for { margin: .25rem 0 0; color: var(--muted); font-size: .9375rem; }
.package-price { margin: .75rem 0; font-weight: 700; color: var(--navy); }
.packages ul { margin: 0 0 1.25rem; padding-left: 1.125rem; font-size: .9375rem; flex: 1; }
.packages ul li + li { margin-top: .25rem; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); text-align: center; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.related { margin: 1.25rem 0 0; }
.related a { font-weight: 600; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: .875rem 0; font-weight: 600; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq details p { margin: 0 0 1rem; color: var(--muted); }

@media (min-width: 768px) {
  .layout { display: grid; grid-template-columns: 2fr 5fr; }
  .deco {
    position: sticky;
    top: 0;
    height: 100vh;
    background-position: right center;
    border-bottom: 0;
    border-right: 1px solid var(--orange);
  }
  .content { padding: 2rem 4rem 2.5rem 3rem; }
  .hero { padding: 4rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
