@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("../fonts/open-sans-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #283b62;
  --navy-dark: #1e3054;
  --navy-deep: #141d31;
  --blue: #5272b2;
  --sand: #cbb492;
  --sand-light: #efe7da;
  --text: #283b62;
  --muted: #56647f;
  --line: #dfe3ea;
  --bg: #ffffff;
  --bg-soft: #f6f4f0;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(20, 29, 49, 0.12);
  --wrap: 1120px;
  --header-h: 80px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; color: var(--navy); text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 28px; font-weight: 800; letter-spacing: .02em; }
.brand-sub { font-size: 15px; color: var(--muted); margin-top: 4px; padding-left: 2px; }

.nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.nav a {
  text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--sand); }
.nav a[aria-current="page"] { color: var(--sand); border-bottom-color: var(--sand); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 13px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-sand { background: var(--sand); color: var(--navy-deep); }
.btn-sand:hover { background: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.plain { text-transform: none; letter-spacing: 0; }

/* ---------- Hero slideshow ---------- */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); }
.slides { position: absolute; inset: 0; }
.slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.slides img.active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 29, 49, .45) 0%, rgba(20, 29, 49, 0) 60%); pointer-events: none; }

.hero .wrap { position: relative; z-index: 2; padding-block: 56px; }
.hero-card {
  max-width: 400px; padding: 36px 34px; color: #fff;
  background: rgba(30, 48, 84, .88); box-shadow: var(--shadow);
}
.hero-card h1 { color: #fff; font-size: clamp(24px, 3vw, 30px); margin-bottom: 18px; }
.hero-card p { font-size: 15px; color: rgba(255, 255, 255, .9); }
.hero-card .divider { height: 1px; background: rgba(255, 255, 255, .55); margin: 24px 0; }
.hero-card .tagline { font-size: 22px; font-weight: 300; text-align: center; margin-bottom: 22px; color: #fff; }
.hero-card .btn { width: 100%; }

.call-pill {
  position: absolute; z-index: 3; top: 0; right: max(16px, calc((100% - var(--wrap)) / 2));
  display: flex; align-items: center; gap: 12px;
  background: rgba(30, 48, 84, .92); color: #fff; text-decoration: none;
  padding: 16px 26px; font-size: 19px; font-weight: 400;
}
.call-pill:hover span { text-decoration: underline; }
.call-pill svg { width: 24px; height: 24px; }

.slide-btn {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; background: rgba(20, 29, 49, .35); color: #fff; cursor: pointer;
  display: grid; place-items: center; border-radius: 50%; transition: background .2s;
}
.slide-btn:hover { background: rgba(20, 29, 49, .7); }
.slide-btn svg { width: 22px; height: 22px; }
.slide-btn.prev { left: 16px; }
.slide-btn.next { right: 16px; }
.dots { position: absolute; z-index: 3; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; }
.dots button[aria-current="true"] { background: #fff; }

@media (max-width: 760px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .slides { position: relative; height: 56vw; min-height: 240px; }
  .hero::after { display: none; }
  .hero .wrap { width: 100%; padding: 0; }
  .hero-card { max-width: none; background: var(--navy-dark); padding: 30px 20px; }
  .call-pill { top: auto; right: auto; position: relative; justify-content: center; padding: 14px 16px; font-size: 17px; background: var(--navy); }
  .slide-btn { top: 28vw; width: 40px; height: 40px; }
  .dots { bottom: auto; top: calc(56vw - 28px); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-title {
  text-align: center; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; margin-bottom: clamp(36px, 5vw, 56px);
}
.section-lead { text-align: center; max-width: 640px; margin: -28px auto 48px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.feature .icon { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--sand); }
.feature h3 { font-size: 16px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 15px; max-width: 280px; margin-inline: auto; }

.photo-band { position: relative; color: #fff; background: var(--navy-dark) center / cover no-repeat; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: rgba(30, 48, 84, .84); }
.photo-band > * { position: relative; }
.photo-band .section-title { color: #fff; }
.photo-band .feature h3 { color: var(--sand); }
.photo-band .feature p { color: rgba(255, 255, 255, .9); }

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info h3, .contact-form h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.contact-info address { font-style: normal; color: var(--muted); margin-bottom: 20px; }
.map { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; border: 1px solid var(--line); display: block; background: var(--bg-soft); }
.map-link { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.contact-lines { margin-top: 28px; }
.contact-lines p { margin-bottom: 4px; color: var(--muted); }
.contact-lines strong { color: var(--navy); }
.contact-lines a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.form label .req { color: var(--blue); }
.form input,
.form textarea,
.form select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 11px 13px; border: 1px solid #b9c1d0; border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus,
.form textarea:focus,
.form select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(82, 114, 178, .2); }
.form .actions { display: flex; justify-content: flex-end; }
.form .btn { min-width: 160px; }
.form .btn[disabled] { opacity: .65; cursor: progress; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; padding: 12px 14px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #e7f3ec; color: #1d5b37; }
.form-status.err { display: block; background: #fbeaea; color: #8a1f1f; }

@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } .form .actions .btn { width: 100%; } }

/* ---------- Page banner + article ---------- */
.banner { position: relative; padding: clamp(64px, 10vw, 120px) 0; text-align: center; background: var(--navy-dark) center / cover no-repeat; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .25); }
.banner .wrap { position: relative; }
.banner h1 {
  display: inline-block; background: rgba(255, 255, 255, .92); padding: 10px 22px; margin: 0 0 12px;
  font-weight: 400; font-size: clamp(28px, 4.4vw, 48px);
}
.banner p { display: table; margin: 0 auto; background: rgba(255, 255, 255, .92); padding: 6px 16px; font-size: clamp(16px, 1.8vw, 21px); }

.article h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 56px; margin-bottom: 16px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: var(--muted); }
.article ul, .article ol { padding-left: 22px; margin: 0 0 1em; }
.article li { margin-bottom: 6px; }

.check-list { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 30px; margin: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23283b62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--bg-soft); padding: 28px; border-radius: var(--radius); }
.card h3 { font-size: 18px; margin-bottom: 14px; }
.card .check-list { margin: 0; }

.steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 48px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px;
}

.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-table tr.group td { background: var(--bg-soft); font-weight: 700; color: var(--navy); text-align: left; }
.price-table td.sub { padding-left: 30px; color: var(--muted); }
.note { background: var(--sand-light); border-left: 4px solid var(--sand); padding: 16px 20px; color: var(--navy) !important; }
.note p { color: var(--navy); }

.cta-box { background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); margin-top: 56px; }
.cta-box h2 { color: #fff; margin-top: 0 !important; }
.cta-box p { color: rgba(255, 255, 255, .88) !important; }
.cta-box .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }

@media (max-width: 700px) { .cols-2 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); color: var(--navy-deep); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 28px; }
.site-footer a { color: var(--navy-deep); text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); }
.notfound p { color: var(--muted); margin-bottom: 28px; }
