:root {
  --ink: #1a2330;
  --body: #2a3542;
  --muted: #4a5663;
  --paper: #f3efe6;
  --sheet: #fbf9f4;
  --line: #d9d1c4;
  --line-strong: #c3b8a6;
  --navy: #102a3c;
  --navy-2: #1b4158;
  --pine: #164c3f;
  --copper: #8a4b20;
  --focus: #0e6b52;
  --wa: #0f5c39;
  --danger: #8d2f2f;
  --soft: #e7f0ec;
  --max: 1120px;
  --header: 4.75rem;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --shadow: 0 16px 40px rgba(16, 42, 60, 0.06);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--body);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

body.has-bar { padding-bottom: 4.5rem; }

img { max-width: 100%; height: auto; display: block; }

a { color: #0e4d72; text-underline-offset: 0.16em; }

a:hover { color: var(--pine); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); margin: 0 0 0.8rem; }

h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); margin: 0 0 0.8rem; }

h3 { font-size: 1.25rem; margin: 0 0 0.45rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

li + li { margin-top: 0.35rem; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus { top: 0.75rem; color: white; }

.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;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 249, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}

.brand img {
  display: block;
  height: 3.8rem;
  width: auto;
  max-height: 3.8rem;
  max-width: 16rem;
}

@media (max-width: 420px) {
  .brand img { height: 2.55rem; }
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle,
.header-phone {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--line-strong);
  background: var(--sheet);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-phone { text-decoration: none; padding: 0 0.75rem; white-space: nowrap; }

.nav-toggle { padding: 0; }

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
}

.nav.is-open { display: block; }

.nav-list,
.sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.4rem 0.2rem;
  text-decoration: none;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.sub-list { display: none; padding: 0 0 0.4rem 0.8rem; }

.has-sub.is-open .sub-list { display: block; }

.sub-list a { font-size: 0.98rem; }

.header-actions { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  line-height: 1.2;
}

.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-2); color: white; }
.btn-wa { background: var(--wa); color: white; }
.btn-wa:hover { background: #0c4a2e; color: white; }
.btn-line { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: white; color: var(--navy); }

.hero {
  display: grid;
  background: var(--navy);
  color: #f4efe6;
}

.hero-copy { padding: 2.2rem 0 2.4rem; }

.hero h1,
.hero p { color: #f7f3eb; }

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d7c4a4;
}

.lede { font-size: 1.12rem; max-width: 42rem; }

.hero-actions,
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.hero-figure { margin: 0; background: #0b2231; }

.hero-figure img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }

.hero-figure figcaption {
  padding: 0.55rem 1rem 0.8rem;
  color: #d5d0c6;
  font-size: 0.82rem;
}

.section { padding: 3.2rem 0; }

.section-head { max-width: 44rem; margin-bottom: 1.4rem; }

.section-head p:last-child { margin-bottom: 0; color: var(--muted); }

.sheet {
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature {
  display: grid;
  gap: 1.2rem;
}

.feature-copy,
.feature-media { padding: 1.2rem; }

.feature-media img { width: 100%; }

.feature-media figcaption,
.caption { color: var(--muted); font-size: 0.86rem; margin-top: 0.45rem; }

.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }

.index-list a {
  display: grid;
  gap: 0.2rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.index-no {
  font-family: var(--serif);
  color: var(--copper);
  letter-spacing: 0.08em;
}

.index-list strong { color: var(--navy); font-size: 1.15rem; }

.index-list span { color: var(--muted); }

.callout {
  background: var(--navy);
  color: #f4efe6;
  padding: 2rem 0;
}

.callout h2,
.callout p { color: #f7f3eb; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--sheet); }

table { width: 100%; border-collapse: collapse; min-width: 40rem; }

caption {
  text-align: left;
  padding: 0.9rem 1rem;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.15rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
}

th { background: #efeae1; color: var(--navy); font-weight: 650; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }

.steps li {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1rem;
}

.steps strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; }

.step-no { color: var(--copper); font-size: 0.78rem; letter-spacing: 0.12em; }

.grid-2,
.grid-3,
.card-grid { display: grid; gap: 0.9rem; }

.card {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  display: block;
  min-height: 100%;
}

.card:hover { border-color: var(--navy-2); }

.card p { color: var(--muted); margin: 0; }

.note {
  border-left: 3px solid var(--copper);
  background: #f8f1e6;
  padding: 0.9rem 1rem;
  color: var(--ink);
}

.region { margin-bottom: 1.4rem; }

.region h3 { margin-bottom: 0.6rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }

.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--line-strong);
  background: var(--sheet);
  text-decoration: none;
  color: var(--navy);
}

.chips a:hover { border-color: var(--navy); }

.filter {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

.filter input,
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--ink);
  font: inherit;
}

.form textarea { min-height: 8rem; resize: vertical; }

.form label { display: block; font-weight: 650; color: var(--navy); margin-bottom: 0.3rem; }

.field { margin-bottom: 0.9rem; }

.help { color: var(--muted); font-size: 0.9rem; }

.errors {
  background: #f8e8e8;
  border: 1px solid #e3b8b8;
  color: var(--danger);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.errors:empty { display: none; }

.faq-item { border-top: 1px solid var(--line); padding: 0.9rem 0; }

.faq-item h3 { font-size: 1.12rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--muted); }

.prose { max-width: 46rem; }

.prose h2 { margin-top: 2rem; }

.figure { margin: 1.2rem 0; }

.page-hero { padding: 1.6rem 0 0.4rem; }

.split { display: grid; gap: 1rem; }

.contact-box { padding: 1.1rem; }

.contact-box a { font-weight: 650; }

.site-footer {
  background: var(--navy);
  color: #e6e0d6;
  padding: 2.4rem 0 1.2rem;
}

.site-footer a { color: #f3ecdf; }

.footer-grid { display: grid; gap: 1.3rem; }

.site-footer h2 {
  color: white;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.legal {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #c9c1b4;
  font-size: 0.88rem;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sheet);
  border-top: 1px solid var(--line);
}

.mobile-bar a {
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 650;
}

.mobile-bar a:first-child { background: var(--navy); color: white; }
.mobile-bar a:last-child { background: var(--wa); color: white; }

.map-frame {
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--sheet), var(--sheet)) padding-box;
  padding: 0.6rem;
}

.hidden { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (min-width: 720px) {
  .feature,
  .split,
  .grid-2 { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .grid-3,
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .index-list a { grid-template-columns: 3rem 14rem 1fr; align-items: baseline; }
}

@media (min-width: 980px) {
  body.has-bar { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-toggle { display: none; }
  .header-phone { display: none; }
  .nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .nav-list { display: flex; align-items: center; gap: 0.2rem; }
  .nav-list > li > a,
  .sub-toggle {
    width: auto;
    border: 0;
    min-height: 2.6rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.95rem;
  }
  .has-sub { position: relative; }
  .sub-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 17rem;
    padding: 0.4rem;
    background: var(--sheet);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 5;
  }
  .has-sub.is-open .sub-list,
  .has-sub:hover .sub-list,
  .has-sub:focus-within .sub-list { display: block; }
  .sub-list a { border-bottom: 0; min-height: 2.3rem; }
  .header-actions { display: flex; gap: 0.45rem; }
  .hero { grid-template-columns: 1.05fr 0.95fr; min-height: 34rem; }
  .hero-copy { padding: 4rem 0; display: flex; flex-direction: column; justify-content: center; }
  .hero-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(8, 20, 30, 0.72)); }
  .hero-figure { position: relative; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
