:root {
  --ink: #17212b;
  --muted: #5b6773;
  --paper: #ffffff;
  --soft: #f3f6f7;
  --brand: #1e4c59;
  --brand-dark: #153943;
  --accent: #b38b4d;
  --line: #d9e0e3;
  --max: 1160px;
  --radius: 18px;
  --shadow: 0 14px 42px rgba(23, 33, 43, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.topbar { background: var(--brand-dark); color: #fff; font-size: .92rem; }
.topbar .container { display: flex; gap: 1.25rem; justify-content: flex-end; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
header { border-bottom: 1px solid var(--line); background: #fff; }
.nav { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding-block: 1rem; }
.brand { display: block; width: 100%; text-decoration: none; }
.brand-logo { display: block; width: 100%; height: auto; }
nav ul { display: flex; list-style: none; padding: 0; margin: 0; gap: .25rem; align-items: center; }
nav a { display: block; padding: .7rem .85rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 650; }
nav a:hover, nav a[aria-current="page"] { background: var(--soft); color: var(--brand-dark); }
.hero { background: linear-gradient(125deg, var(--brand-dark), var(--brand) 55%, #3e6d74); color: #fff; padding: clamp(4rem, 8vw, 7.5rem) 0; overflow: hidden; position: relative; }
.hero:after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 90px solid rgba(255,255,255,.055); right: -160px; top: -140px; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .98; max-width: 850px; margin: 0 0 1.2rem; letter-spacing: -.055em; }
.hero p { max-width: 760px; font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,.9); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; color: var(--accent); margin-bottom: .8rem; }
.hero .eyebrow { color: #e7cfaa; }
.button { display: inline-block; text-decoration: none; background: var(--brand); color: #fff; padding: .8rem 1.1rem; border-radius: 999px; font-weight: 750; border: 0; cursor: pointer; }
.button:hover { background: var(--brand-dark); color: #fff; }
.button.light { background: #fff; color: var(--brand-dark); }
.button.light:hover { background: #f3f6f7; color: var(--brand-dark); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
section.soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head h2, .page-title h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 .85rem; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 1.25rem; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 5px 18px rgba(23,33,43,.035); }
.card h3 { margin-top: 0; font-size: 1.18rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; transition: transform .16s ease, box-shadow .16s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.icon { width: 44px; height: 44px; border-radius: 14px; background: #eaf0f1; display: grid; place-items: center; color: var(--brand); font-weight: 900; margin-bottom: 1rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.callout { background: var(--brand-dark); color: #fff; border-radius: 26px; padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow); }
.callout h2 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; }
.callout p { color: rgba(255,255,255,.88); }
.quote { border-left: 4px solid var(--accent); padding: .1rem 0 .1rem 1.25rem; font-size: 1.08rem; }
.page-title { background: var(--soft); padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-title p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.content { max-width: 820px; }
.content h2 { margin-top: 2.4rem; font-size: 1.55rem; }
.content h3 { margin-top: 2rem; }
.content ul { padding-left: 1.25rem; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; align-items: start; }
.side-nav { position: sticky; top: 112px; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; background: #fff; }
.side-nav h3 { margin: .2rem .55rem .65rem; font-size: .88rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.side-nav a { display: block; padding: .55rem .65rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .94rem; }
.side-nav a:hover, .side-nav a.active { background: var(--soft); color: var(--brand-dark); }
.partner-list { list-style: none; padding: 0 !important; display: grid; gap: .55rem; }
.partner-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.contact-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 2rem; align-items: start; }
form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
label { display: grid; gap: .42rem; font-weight: 700; font-size: .94rem; }
input, textarea, select { width: 100%; border: 1px solid #bfc9ce; border-radius: 11px; padding: .85rem .9rem; font: inherit; color: var(--ink); background: #fff; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(30,76,89,.16); border-color: var(--brand); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
legend { font-weight: 750; padding: 0 .35rem; }
.radio-row { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.radio-row label, .check-label { display: flex; align-items: center; gap: .5rem; font-weight: 550; }
.radio-row input, .check-label input { width: auto; }
.notice { border-left: 4px solid var(--accent); background: #fbf7ef; padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; }
.success { background: #edf7f0; border: 1px solid #b9dcc2; color: #1e5a30; padding: 1rem 1.1rem; border-radius: 12px; }
.error { background: #fff1f0; border: 1px solid #efc4c0; color: #7a2922; padding: 1rem 1.1rem; border-radius: 12px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
footer { background: #101a20; color: rgba(255,255,255,.78); padding: 3.25rem 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 2rem; }
footer h3 { color: #fff; margin-top: 0; font-size: 1rem; }
footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
footer .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.3rem; padding-top: 1.2rem; font-size: .86rem; color: rgba(255,255,255,.56); }
.muted { color: var(--muted); }
@media (max-width: 900px) {
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid, .service-layout, .footer-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  header { position: static; }
  .nav { padding: 1rem 0; gap: .8rem; }
  nav ul { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .topbar .container { justify-content: flex-start; gap: .6rem 1rem; }
  .grid.three, .grid.two, .form-row { grid-template-columns: 1fr; }
  nav a { padding: .55rem .65rem; font-size: .94rem; }
}
