:root {
  --ink: #1a2332;
  --muted: #4e5d70;
  --line: #d5dee8;
  --paper: #f4f7f6;
  --sand: #e7f0ea;
  --white: #ffffff;
  --navy: #102033;
  --link: #084e73;
  --link-h: #06364f;
  --blue: #0a5f86;
  --green: #146338;
  --focus: #0b6e9a;
  --max: 1200px;
  --shadow: 0 10px 28px rgba(16, 32, 51, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

.hero-grid > *,
.split > *,
.gallery > *,
.layout > *,
.cards > *,
.frame,
.card,
.shot,
.wrap { min-width: 0; }

a { color: var(--link); }

a:hover { color: var(--link-h); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip:focus { top: 0.75rem; color: var(--white); }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  background: var(--navy);
  color: #e7eef5;
  font-size: 0.95rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  min-height: 42px;
}

.topbar p { margin: 0; }

.top-phone {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.top-phone:hover { color: #d7efe3; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 78px;
}

.brand { margin-right: auto; display: flex; align-items: center; }

.brand img { height: 58px; width: auto; }

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
}

#site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

#site-nav > a,
.menu > summary {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  padding: 0.5rem 0.45rem;
  border-radius: 6px;
}

#site-nav > a:hover,
.menu > summary:hover { background: var(--paper); }

#site-nav > a[aria-current="page"] { color: var(--green); }

.menu.is-current > summary { color: var(--green); }

.menu { position: relative; }

.menu > summary {
  list-style: none;
  cursor: pointer;
}

.menu > summary::-webkit-details-marker { display: none; }

.menu > summary::after { content: " ▾"; font-size: 0.75em; }

.menu-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 240px;
  max-height: 70vh;
  overflow: auto;
  padding: 0.4rem;
  box-shadow: var(--shadow);
  z-index: 40;
}

.menu-panel a {
  display: block;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.menu-panel a:hover,
.menu-panel a[aria-current="page"] { background: var(--paper); }

.header-call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 750;
  border-radius: 6px;
  white-space: nowrap;
}

.header-call:hover { color: #ffffff; background: #084e6e; }

.hero { padding: 2.2rem 0 1.5rem; background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 78%); }

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: center;
}

h1, h2, h3 { line-height: 1.25; color: var(--navy); }

h1 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); margin: 0 0 0.8rem; }

.lead { font-size: 1.12rem; margin-top: 0; }

.muted { color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.1rem 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 750;
  border: 2px solid transparent;
}

.btn-call { background: var(--blue); color: #ffffff; }
.btn-call:hover { background: #084e6e; color: #ffffff; }
.btn-line { background: #ffffff; color: var(--navy); border-color: #9eb0c2; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-green { background: var(--green); color: #ffffff; }
.btn-green:hover { background: #0f4e2c; color: #ffffff; }

.fine { color: var(--muted); font-size: 0.95rem; }

.frame {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.frame figcaption,
.shot figcaption {
  padding: 0.55rem 0.75rem 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.band { padding: 2.4rem 0; }
.band-paper { background: var(--paper); }
.band-sand { background: var(--sand); }
.band-navy { background: var(--navy); color: #e8eef4; }
.band-navy h2,
.band-navy h3 { color: #ffffff; }
.band-navy a { color: #d9f3e4; }

.section-head { max-width: 44rem; margin-bottom: 1.2rem; }
.section-head p { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 0.9rem 1rem 1.05rem; }
.card h3 { margin: 0 0 0.35rem; font-size: 1.12rem; }
.card p { margin: 0 0 0.7rem; color: var(--muted); }
.card a.more { font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem; }
.steps strong { display: block; color: var(--green); margin-bottom: 0.25rem; }

.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.5rem; }
.uses a { font-weight: 650; }

.gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.shot img { width: 100%; object-fit: cover; }
.shot.wide img { aspect-ratio: 16 / 9; }
.shot.tall img { aspect-ratio: 4 / 3; }

.crumbs { padding: 0.85rem 0 0; font-size: 0.95rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: #8aa; }

.page { padding: 0.4rem 0 2.5rem; }
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.45rem; margin: 2rem 0 0.55rem; }
.prose h3 { font-size: 1.15rem; margin: 1.3rem 0 0.4rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.28rem 0; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
}

.side {
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}

.side h2 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.side p { margin: 0.4rem 0; }
.side .btn { width: 100%; margin-top: 0.4rem; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { border: 1px solid var(--line); padding: 0.6rem 0.7rem; text-align: left; vertical-align: top; }
th { background: #e7f0f6; }

.faq { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 0.8rem 0; }
.faq p { margin-top: 0; }

.cta {
  margin-top: 2rem;
  background: #f3f8f5;
  border: 1px solid #cfe0d6;
  border-radius: 10px;
  padding: 1.1rem 1.15rem;
}
.cta h2 { margin-top: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.form { display: grid; gap: 0.85rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid #b7c3d0;
  border-radius: 6px;
  background: #ffffff;
}
textarea { min-height: 140px; resize: vertical; }
button.btn { cursor: pointer; }
.form-status { min-height: 1.4em; }

.site-footer { background: var(--navy); color: #d5e0ea; padding: 2.2rem 0 1.2rem; }
.foot-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 1.4rem; }
.site-footer a { color: #e7f6ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: #ffffff; font-size: 1.05rem; margin: 0 0 0.5rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0.28rem 0; }
.foot-logo { height: 48px; width: auto; background: #ffffff; border-radius: 6px; padding: 0.25rem 0.4rem; }
.legal { margin-top: 1.4rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,255,255,.15); font-size: 0.92rem; }

.callbar { display: none; }

.list-links { columns: 2; padding-left: 1.1rem; }
.list-links li { break-inside: avoid; margin: 0.35rem 0; }

.missing { padding: 3rem 0 4rem; max-width: 40rem; }
.narrow { max-width: 760px; }

@media (max-width: 980px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .layout, .hero-grid, .split, .gallery { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }
  #site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 0.8rem; }
  body.nav-open #site-nav { display: flex; }
  .menu-panel { position: static; box-shadow: none; border: 0; min-width: 0; max-height: none; padding: 0 0 0.3rem 0.6rem; }
}

@media (max-width: 860px) {
  .brand img { height: 48px; }
  .header-call { display: none; }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .top-phone { white-space: normal; text-align: left; }
  .actions { flex-direction: column; align-items: stretch; }
  .cards, .steps, .uses, .two, .list-links { grid-template-columns: 1fr; columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #ffffff;
    border-top: 1px solid var(--line);
  }
  .callbar a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 750;
    font-size: 0.95rem;
    padding: 0 0.5rem;
    text-align: center;
  }
  .callbar .call { background: var(--blue); color: #ffffff; }
  .callbar .wa { background: var(--green); color: #ffffff; }
  body { padding-bottom: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
