:root {
  --navy-900: #0b2037;
  --navy-800: #0f2742;
  --navy-700: #163654;
  --navy-600: #1d4674;
  --navy-500: #2a5a90;
  --steel-400: #5b85b5;
  --steel-200: #aec6e0;
  --gray-900: #1c2630;
  --gray-700: #3f4a57;
  --gray-600: #586472;
  --gray-500: #6b7685;
  --gray-400: #8b97a5;
  --gray-300: #c3ccd6;
  --gray-200: #e3e8ee;
  --gray-100: #eef2f6;
  --gray-50: #f6f8fa;
  --white: #ffffff;
  --accent: #1d4674;
  --accent-hover: #0f2742;
  --focus: #2a5a90;
  --success: #1f7a52;
  --danger: #b3351d;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 66, 0.06);
  --shadow: 0 6px 20px rgba(15, 39, 66, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 39, 66, 0.14);
  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 128px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5 { color: var(--navy-800); font-weight: 700; line-height: 1.22; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.2rem; margin-bottom: 1rem; }
li { margin-bottom: .4rem; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel-400); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--steel-400); display: inline-block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font); font-size: .95rem; font-weight: 600;
  padding: .85rem 1.6rem; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease; white-space: nowrap; line-height: 1;
}
.btn i { font-size: 1.1rem; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-dark { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn-dark:hover { background: var(--navy-900); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); background: var(--gray-50); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-block { width: 100%; }
.btn-sm { padding: .6rem 1.1rem; font-size: .875rem; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--navy-800); color: var(--steel-200);
  font-size: .85rem;
}
.header-top .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 46px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-logo { flex: 0 0 auto; width: 42px; height: 42px; display: block; }
.brand-logo svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.02rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.brand-sub { font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-400); }

.header-contact { display: flex; align-items: center; gap: 1.4rem; }
.header-contact a { display: inline-flex; align-items: center; gap: .45rem; color: var(--steel-200); font-weight: 500; }
.header-contact a:hover { color: var(--white); }
.header-contact i { font-size: 1.05rem; color: var(--steel-400); }

.header-main .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav a {
  display: inline-flex; align-items: center; padding: .6rem .95rem; border-radius: var(--radius-sm);
  color: var(--gray-700); font-weight: 600; font-size: .95rem; position: relative;
}
.main-nav a:hover { color: var(--navy-800); background: var(--gray-50); }
.main-nav a.active { color: var(--navy-800); }
.main-nav a.active::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: -2px;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--accent);
}
.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--gray-200);
  background: var(--white); border-radius: var(--radius-sm); cursor: pointer;
  align-items: center; justify-content: center; color: var(--navy-800); font-size: 1.5rem;
}

.hero {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.hero-content h1 { margin-bottom: 1.1rem; }
.hero-lead { font-size: 1.12rem; color: var(--gray-600); max-width: 36rem; margin-bottom: 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .65rem; }
.hero-points li { display: flex; align-items: flex-start; gap: .6rem; margin: 0; color: var(--gray-700); font-weight: 500; }
.hero-points i { color: var(--accent); font-size: 1.2rem; flex: 0 0 auto; margin-top: .1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-cta {
  background: var(--navy-800); color: var(--steel-200); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-cta::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(91,133,181,.35), transparent 70%); border-radius: 50%;
}
.hero-cta h2 { color: var(--white); font-size: 1.4rem; margin-bottom: .6rem; position: relative; }
.hero-cta p { font-size: .95rem; margin-bottom: 1.4rem; position: relative; }
.hero-cta .cta-meta { display: grid; gap: .7rem; margin-bottom: 1.5rem; position: relative; }
.hero-cta .cta-meta div { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--steel-200); }
.hero-cta .cta-meta i { color: var(--steel-400); font-size: 1.15rem; }
.hero-cta .btn { position: relative; }

.service-categories {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  position: sticky; top: var(--header-h); z-index: 90;
}
.service-categories .container { display: flex; align-items: stretch; gap: .25rem; overflow-x: auto; scrollbar-width: thin; }
.service-categories a {
  display: inline-flex; align-items: center; gap: .5rem; padding: 1rem .9rem;
  color: var(--gray-600); font-weight: 600; font-size: .9rem; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.service-categories a:hover { color: var(--navy-800); border-bottom-color: var(--gray-300); }
.service-categories a i { font-size: 1.15rem; color: var(--steel-400); }

.section { padding: clamp(3rem, 2.4rem + 3vw, 5rem) 0; }
.section-sm { padding: clamp(2.2rem, 1.8rem + 2vw, 3.5rem) 0; }
.section-gray { background: var(--gray-50); }
.section-navy { background: var(--navy-800); color: var(--steel-200); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--gray-600); margin-top: .8rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.8rem; transition: all .2s ease; display: flex; flex-direction: column; height: 100%;
}
.card:hover { border-color: var(--steel-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--gray-50);
  border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.6rem; margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--gray-600); font-size: .96rem; margin-bottom: 1.2rem; }
.card ul { margin-bottom: 1.2rem; }
.card ul li { font-size: .92rem; color: var(--gray-600); }
.card .card-foot { margin-top: auto; }

.service-block {
  display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200); scroll-margin-top: calc(var(--header-h) + 60px);
}
.service-block:last-child { border-bottom: none; }
.service-block .sb-head { display: flex; align-items: center; gap: 1rem; }
.service-block .sb-icon {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: var(--radius-sm);
  background: var(--navy-800); color: var(--white); display: flex; align-items: center;
  justify-content: center; font-size: 1.7rem;
}
.service-block .sb-body { color: var(--gray-600); }
.service-block .sb-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .55rem; }
.feature-list li { display: flex; align-items: flex-start; gap: .6rem; margin: 0; font-size: .95rem; color: var(--gray-700); }
.feature-list i { color: var(--success); font-size: 1.15rem; flex: 0 0 auto; margin-top: .1rem; }

.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit i { font-size: 1.7rem; color: var(--accent); flex: 0 0 auto; }
.benefit h4 { margin-bottom: .3rem; }
.benefit p { font-size: .94rem; color: var(--gray-600); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.4rem 1rem; }
.stat .num { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.stat .lbl { font-size: .92rem; color: var(--steel-200); margin-top: .3rem; }

.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.media-row.rev .media-img { order: 2; }
.media-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.media-img img { width: 100%; height: 100%; object-fit: cover; }

.cta-band { background: var(--navy-800); color: var(--steel-200); border-radius: var(--radius-lg); padding: clamp(2rem, 1.6rem + 2vw, 3.2rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .5rem; }
.cta-band p { max-width: 38rem; }
.cta-band .cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.page-hero { background: var(--navy-800); color: var(--steel-200); padding: clamp(2.6rem, 2rem + 3vw, 4rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 300px at 85% -20%, rgba(91,133,181,.25), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .8rem; max-width: 40rem; }
.page-hero p { font-size: 1.1rem; max-width: 42rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--steel-400); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--steel-200); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; margin: 0; }
.info-list .ic { width: 46px; height: 46px; flex: 0 0 auto; border-radius: var(--radius-sm); background: var(--gray-50); border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.35rem; }
.info-list .info-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); font-weight: 700; margin-bottom: .2rem; }
.info-list .info-val { color: var(--gray-800); font-weight: 500; }
.info-list .info-val a { color: var(--navy-700); }

.form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy-800); margin-bottom: .45rem; }
.form-group label .req { color: var(--danger); }
.form-control {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--gray-800);
  padding: .8rem .9rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(42,90,144,.14); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: 1.2rem; }
.form-check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.form-check label { font-size: .88rem; color: var(--gray-600); font-weight: 400; }
.form-error { display: none; color: var(--danger); font-size: .82rem; margin-top: .35rem; }
.form-control.invalid { border-color: var(--danger); }
.form-control.invalid + .form-error { display: block; }
.form-note { font-size: .82rem; color: var(--gray-500); margin-top: 1rem; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem; font-size: .93rem; font-weight: 500; }
.form-status.ok { display: flex; gap: .6rem; align-items: center; background: #e8f3ee; color: var(--success); border: 1px solid #bfe0cf; }
.form-status i { font-size: 1.3rem; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); margin-top: 2.5rem; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.2); }

.legal { max-width: 56rem; }
.legal h2 { margin: 2.2rem 0 .9rem; padding-top: .4rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h3 { margin: 1.5rem 0 .6rem; color: var(--navy-700); }
.legal p, .legal li { color: var(--gray-700); }
.legal .muted { color: var(--gray-500); font-size: .9rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--gray-200); vertical-align: top; }
.legal th { background: var(--gray-50); color: var(--navy-800); font-weight: 600; }
.toc { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2rem; }
.toc h4 { margin-bottom: .7rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { font-size: .93rem; margin-bottom: .3rem; }

.site-footer { background: var(--navy-900); color: var(--gray-300); padding-top: 3.5rem; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .fb-name { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: .8rem; }
.footer-brand p { color: var(--gray-400); max-width: 24rem; font-size: .9rem; }
.footer-brand .socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-brand .socials a { width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: var(--steel-200); font-size: 1.2rem; }
.footer-brand .socials a:hover { background: var(--accent); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col ul li { margin: 0; }
.footer-col ul a { color: var(--gray-300); }
.footer-col ul a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; color: var(--gray-300); }
.footer-contact i { color: var(--steel-400); font-size: 1.1rem; flex: 0 0 auto; margin-top: .15rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0; color: var(--gray-400); font-size: .85rem; }
.footer-bottom .fb-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom .fb-links a { color: var(--gray-400); }
.footer-bottom .fb-links a:hover { color: var(--white); }

.cookie-banner {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(140%);
  bottom: 20px; width: calc(100% - 40px); max-width: 940px; z-index: 500;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.6rem 1.8rem;
  display: grid; grid-template-columns: 1fr auto; gap: 1.4rem; align-items: center;
  transition: transform .4s cubic-bezier(.16,1,.3,1); opacity: 0;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-banner h4 { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.cookie-banner h4 i { color: var(--accent); }
.cookie-banner p { font-size: .88rem; color: var(--gray-600); margin: 0; }
.cookie-banner p a { font-weight: 600; }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

.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; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta { max-width: 460px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-block .sb-cols { grid-template-columns: 1fr; gap: 1.2rem; }
  .media-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .media-row.rev .media-img { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .header-top { display: none; }
  .header-main .container { min-height: 64px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 1rem 24px 2rem; gap: .2rem; transform: translateX(100%);
    transition: transform .3s ease; overflow-y: auto; border-top: 1px solid var(--gray-200);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: .95rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: var(--accent); }
  .header-actions .btn-cta-desktop { display: none; }
  .brand-logo { width: 38px; height: 38px; }
  .service-categories { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cookie-banner { grid-template-columns: 1fr; padding: 1.3rem 1.4rem; }
  .cookie-actions .btn { flex: 1; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 18px; }
  .card { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
