/* Site stylesheet: hand-written, dependency-free. */
:root{
  --bg:#f4f6f8;--surface:#fff;--line:#e2e7ec;
  --ink:#4a5561;--ink-strong:#2b3640;--muted:#7a8794;
  --accent:#4b7ca6;--accent-strong:#39678d;--accent-soft:#e9f0f7;
  --foot:#1d2a34;--foot-deep:#131b22;--foot-ink:#a9b4be;
  --radius:8px;--wrap:960px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);font:15px/1.65 var(--font)}
img{max-width:100%;height:auto}
a{color:var(--accent-strong);text-decoration:none;transition:color .15s,background-color .15s}
a:hover{color:var(--ink-strong)}
p{margin:0 0 16px}
ol,ul{margin:0 0 16px;padding-left:1.3em}
li{padding:3px 0}
li ol{margin:4px 0 0}
strong{color:var(--ink-strong)}
hr{border:0;border-top:1px solid var(--line);margin:22px 0}
h2,h3{color:var(--ink-strong);line-height:1.4;margin:26px 0 8px}
h2{font-size:18px;font-weight:600}
h3{font-size:14.5px;font-weight:700;margin-top:20px}
h2 strong,h3 strong{font-weight:inherit;color:inherit}
h2:first-child,h3:first-child{margin-top:0}
.wrap{width:min(var(--wrap),100% - 2.5rem);margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-999px;top:10px;z-index:100;background:#fff;color:var(--ink-strong);padding:8px 14px;border-radius:6px;box-shadow:0 2px 10px rgba(0,0,0,.15)}
.skip:focus{left:10px}

/* Header */
.site-head{background:linear-gradient(#fff,var(--bg) 150px)}
.brand{padding:24px 0 18px;margin:0;font-size:inherit;font-weight:inherit;line-height:inherit}
.brand a{display:inline-block;line-height:0}
.brand img{width:289px}

/* Primary navigation */
.nav-bar{position:relative;z-index:20;display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px rgba(0,0,0,.04)}
.menu{display:flex;flex-wrap:wrap;width:100%;margin:0;padding:3px;gap:2px;list-style:none}
.menu li{padding:0;position:relative}
.menu a{display:flex;align-items:center;gap:6px;height:38px;padding:0 13px;border-radius:6px;font-size:13.5px;font-weight:500;color:var(--ink);white-space:nowrap}
.menu svg{flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.menu > li > a:hover{background:var(--accent-soft);color:var(--accent-strong)}
.menu > li.is-active > a,.menu > li.is-trail > a{background:var(--accent);color:#fff}
.home-link{padding:0 14px}
.nav-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin-left:auto;border:0;background:none;color:var(--ink-strong);cursor:pointer;border-radius:6px}
.nav-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.nav-toggle .ico-close,.nav-toggle[aria-expanded="true"] .ico-open{display:none}
.nav-toggle[aria-expanded="true"] .ico-close{display:block}
.sub{position:absolute;top:100%;left:0;z-index:30;display:none;min-width:236px;margin:6px 0 0;padding:6px;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 32px rgba(29,42,52,.14)}
.sub::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
.has-sub:hover > .sub,.has-sub:focus-within > .sub{display:block}
.sub a{height:auto;padding:9px 12px;white-space:normal}
.sub a:hover{background:var(--bg);color:var(--accent-strong)}
.sub li.is-active > a{background:var(--accent-soft);color:var(--accent-strong);box-shadow:inset 3px 0 0 var(--accent)}

/* Hero slider */
.hero{position:relative;margin:28px auto 36px;border-radius:var(--radius);overflow:hidden;background:#1d2a34;box-shadow:0 10px 28px rgba(29,42,52,.14)}
.hero-track{position:relative;padding-bottom:46.875%}
.slide{position:absolute;inset:0;opacity:0;z-index:1;transition:opacity .7s ease}
.slide.is-active{opacity:1;z-index:2}
.slide-bg{display:block;width:100%;height:100%;object-fit:cover}
.slide-panel{position:absolute;top:0;left:0;height:100%}
.slide-panel img{display:block;height:100%;width:auto}
.hero-btn{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:40px;height:40px;transform:translateY(-50%);border:0;border-radius:50%;background:rgba(255,255,255,.88);color:var(--ink-strong);cursor:pointer;opacity:0;transition:opacity .2s,background-color .15s}
.hero-btn:hover{background:#fff}
.hero-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.hero-prev{left:14px}.hero-next{right:14px}
.hero:hover .hero-btn,.hero:focus-within .hero-btn{opacity:1}
.hero-dots{position:absolute;left:0;right:0;bottom:12px;z-index:3;display:flex;justify-content:center;gap:8px}
.hero-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer}
.hero-dots button[aria-selected="true"]{background:#fff}
.hero:not(.is-ready) .hero-btn,.hero:not(.is-ready) .hero-dots{display:none}

/* Home columns */
.home-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.split{font-size:23px;font-weight:400;margin:0 0 18px;color:var(--ink-strong)}
.split span{color:var(--accent);font-weight:700}
.img-frame{margin-bottom:16px;padding:7px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 3px rgba(0,0,0,.04)}
.img-frame img{display:block}
.feature{display:flow-root}
.icon-l{float:left;margin:4px 20px 12px 0}
.icon-r{float:right;margin:4px 0 12px 20px}
.btn-more{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--accent-strong);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.btn-more::after{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.btn-more:hover{border-color:var(--accent);background:var(--accent);color:#fff}

/* Inner pages */
main{flex:1}
.crumbs{margin:22px 0 18px;font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.crumbs li{padding:0}
.crumbs li + li::before{content:"\203A";margin-right:8px;color:#b4bec8}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--accent-strong)}
.crumbs [aria-current]{color:var(--ink-strong)}
.page{padding-bottom:24px}
.not-found{padding-top:40px;min-height:200px}

/* Forms & alerts */
.contact-block{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.contact-block h2{font-size:24px;font-weight:600;margin:0 0 18px}
.field{margin:0 0 16px}
.field label{display:block;margin-bottom:6px;font-size:14px;font-weight:600;color:var(--ink-strong)}
.req{color:#d24a4a}
.field input,.field textarea{display:block;width:100%;max-width:420px;padding:9px 12px;font:inherit;color:var(--ink);background:var(--surface);border:1px solid #cdd5dd;border-radius:6px;transition:border-color .15s,box-shadow .15s}
.field textarea{max-width:none;min-height:160px;resize:vertical}
.field input:focus,.field textarea:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px rgba(75,124,166,.2)}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.cf-turnstile{min-height:65px}
.field-error{margin-top:6px;font-size:13px;color:#b23a3a}
.btn-submit{padding:10px 24px;font:inherit;font-weight:600;color:#fff;background:var(--accent);border:0;border-radius:6px;cursor:pointer;transition:background-color .15s}
.btn-submit:hover{background:var(--accent-strong)}
.alert{margin:16px 0;padding:12px 16px;border:1px solid;border-radius:6px}
.alert-ok{background:#eaf7ee;border-color:#bfe3c8;color:#1f5f31}
.alert-error{background:#fdeeee;border-color:#f2c4c4;color:#8b2626}

/* Footer */
.site-foot{margin-top:40px;background:var(--foot);color:var(--foot-ink);font-size:14px}
.site-foot p{margin:0 0 14px}
.site-foot strong{color:#fff}
.site-foot a{color:#e5ebf0}
.site-foot a:hover{color:#fff}
.foot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:44px 0 30px}
.foot-logo{display:inline-block;overflow:hidden;line-height:0;border-radius:6px}
.foot-links{grid-column:3}
.foot-links ul{margin:0;padding:0;list-style:none}
.foot-links li{padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
.foot-links li:first-child{border-top:0;padding-top:0}
.foot-bar{background:var(--foot-deep);padding:18px 0;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-align:right}
.foot-bar a{color:#8f9ba7}

/* Responsive */
@media (max-width:767px){
  body{font-size:15px}
  .brand{padding:18px 0 14px}
  .brand img{width:220px}
  .nav-bar{flex-wrap:wrap}
  .nav-toggle{display:inline-flex}
  .menu{display:none;flex-direction:column;gap:0;padding:6px}
  .menu.is-open{display:flex}
  .menu a{height:auto;padding:11px 12px;white-space:normal}
  .home-link .sr-only{position:static;width:auto;height:auto;margin:0;clip:auto;white-space:normal}
  .sub{position:static;display:block;min-width:0;margin:0 0 4px 22px;padding:0;border:0;box-shadow:none;background:none}
  .sub::before{display:none}
  .hero{margin:20px auto 28px;border-radius:6px}
  .hero-btn{display:none}
  .home-cols{grid-template-columns:1fr;gap:28px}
  .foot-grid{grid-template-columns:1fr;gap:28px;padding:36px 0 24px}
  .foot-links{grid-column:auto}
  .foot-bar{text-align:center}
}
@media (min-width:768px) and (max-width:959px){
  .home-cols{gap:28px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}
