:root {
  --navy: #052b49;
  --navy-2: #083b61;
  --blue: #4995d1;
  --blue-dark: #2f7ebc;
  --ice: #edf7ff;
  --mist: #f3f6f5;
  --ink: #020e17;
  --muted: #5b6872;
  --line: #dce5eb;
  --white: #fff;
  --success: #167b5a;
  --warning: #9a5d08;
  --shadow: 0 18px 50px rgba(5, 43, 73, 0.12);
  --radius: 22px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; }
button, .button { touch-action: manipulation; }
:focus-visible { outline: 3px solid #f3b940; outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: clamp(70px, 8vw, 118px) 0; }
.section-sm { padding: clamp(46px, 6vw, 76px) 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); }
.section-ice { background: var(--ice); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-navy .eyebrow, .hero .eyebrow { color: #8bcaff; }
h1, h2, h3, h4 { margin: 0 0 0.55em; color: var(--navy); line-height: 1.1; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); max-width: 16ch; }
h2 { font-size: clamp(2.05rem, 4vw, 3.6rem); max-width: 19ch; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.08rem; }
.section-navy h1, .section-navy h2, .section-navy h3, .hero h1, .hero h2, .hero h3 { color: var(--white); }
p { margin: 0 0 1.15em; }
.lead { max-width: 68ch; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.25rem); }
.section-navy .lead, .hero .lead { color: #d9e7f1; }
.lede-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr); gap: 42px; align-items: end; }
.section-heading { margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { max-width: 70ch; color: var(--muted); }

.topbar { background: var(--navy); color: #dcecf7; font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 18px; padding-block: 8px; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; }
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(5, 43, 73, 0.09);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 154px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav > a, .nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  border-radius: 9px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.main-nav > a:hover, .nav-dropdown > summary:hover { background: var(--ice); color: var(--blue-dark); }
.nav-dropdown { position: relative; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: "⌄"; font-size: 0.9rem; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 300px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.dropdown-panel a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 0.88rem; font-weight: 650; text-decoration: none; }
.dropdown-panel a:hover { background: var(--ice); }
.header-cta { padding: 11px 16px !important; background: var(--blue) !important; color: var(--white) !important; }
.header-cta:hover { background: var(--blue-dark) !important; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-weight: 800; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  color: var(--white);
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 25, 43, 0.97) 0%, rgba(5, 43, 73, 0.91) 43%, rgba(5, 43, 73, 0.38) 100%), var(--hero-image) center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  right: -220px;
  bottom: -340px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(73, 149, 209, 0.08), 0 0 0 160px rgba(73, 149, 209, 0.05);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 430px); gap: 64px; align-items: center; padding-block: 86px 110px; }
.hero h1 span { color: #86c7f7; }
.hero-copy > p { max-width: 62ch; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--blue-dark); color: var(--white); }
.button-secondary { border-color: rgba(255, 255, 255, 0.48); background: rgba(255, 255, 255, 0.08); }
.button-secondary:hover { background: var(--white); color: var(--navy); }
.button-dark { background: var(--navy); }
.button-ghost { border-color: var(--line); background: var(--white); color: var(--navy); }
.button-ghost:hover { background: var(--ice); color: var(--navy); }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.hero-point { padding: 15px 16px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 14px; background: rgba(255, 255, 255, 0.07); }
.hero-point strong { display: block; margin-bottom: 3px; font-size: 0.9rem; }
.hero-point span { color: #cfdfeb; font-size: 0.78rem; }

.quote-card { padding: 28px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 24px; background: rgba(255, 255, 255, 0.98); color: var(--ink); box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28); }
.quote-card h2 { color: var(--navy); font-size: 1.65rem; }
.quote-card p { color: var(--muted); font-size: 0.9rem; }
.form-progress { display: flex; gap: 7px; margin: 18px 0 22px; }
.form-progress span { height: 5px; flex: 1; border-radius: 99px; background: var(--line); }
.form-progress span.is-active { background: var(--blue); }
.form-step[hidden] { display: none; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label, .field legend { color: var(--navy); font-size: 0.78rem; font-weight: 800; }
.field input, .field select, .field textarea, .search-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd7df;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(73, 149, 209, 0.16); outline: 0; }
.form-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 0.72rem !important; }
.form-status { margin: 12px 0 0; color: var(--success) !important; font-weight: 700; }
.honeypot { position: absolute !important; left: -9999px !important; }

.trust-strip { position: relative; z-index: 3; margin-top: -34px; }
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.trust-item { padding: 23px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy); }
.trust-item span { color: var(--muted); font-size: 0.82rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(5, 43, 73, 0.06);
}
.card-image { aspect-ratio: 4/3; width: 100%; object-fit: cover; background: var(--mist); }
.card-body { padding: 26px; }
.card-body p { color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.card-link::after { content: "→"; transition: transform 0.2s ease; }
.card-link:hover::after { transform: translateX(4px); }
.feature-card { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.feature-number { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--ice); color: var(--blue-dark); font-weight: 900; }
.feature-card p { color: var(--muted); }

.split-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.split-layout.reverse > :first-child { order: 2; }
.media-frame { position: relative; overflow: hidden; border-radius: 26px; background: var(--mist); box-shadow: var(--shadow); }
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-badge { position: absolute; right: 18px; bottom: 18px; max-width: 220px; padding: 15px 17px; border-radius: 14px; background: rgba(5, 43, 73, 0.92); color: var(--white); font-size: 0.82rem; }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #dff5ed; color: var(--success); font-size: 0.75rem; font-weight: 900; }

.comparison { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.comparison-tabs { display: flex; gap: 6px; padding: 8px; border-bottom: 1px solid var(--line); background: var(--mist); }
.comparison-tab { flex: 1; padding: 12px; border: 0; border-radius: 11px; background: transparent; color: var(--navy); font-weight: 800; cursor: pointer; }
.comparison-tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.comparison-panel { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; padding: 30px; }
.comparison-panel img { width: 100%; aspect-ratio: 4/3; border-radius: 16px; object-fit: cover; }
.data-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.data-list div { padding: 13px; border-radius: 12px; background: var(--mist); }
.data-list strong, .data-list span { display: block; }
.data-list span { color: var(--muted); font-size: 0.8rem; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.project-grid a { position: relative; grid-column: span 4; overflow: hidden; min-height: 270px; border-radius: 18px; background: var(--navy); }
.project-grid a:first-child, .project-grid a:nth-child(5) { grid-column: span 8; }
.project-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.project-grid a:hover img { transform: scale(1.04); }
.project-grid span { position: absolute; inset: auto 14px 14px; padding: 10px 12px; border-radius: 10px; background: rgba(5, 43, 73, 0.9); color: var(--white); font-size: 0.85rem; font-weight: 800; }

.cost-table, .content table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; font-size: 0.92rem; }
.cost-table th, .cost-table td, .content th, .content td { padding: 14px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cost-table th, .content th { background: var(--navy); color: var(--white); }
.cost-table tr:last-child td, .content tr:last-child td { border-bottom: 0; }
.notice { padding: 18px 20px; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--ice); }
.notice-warning { border-left-color: #d48712; background: #fff7e8; }

.area-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.area-list a, .area-list span { display: inline-flex; padding: 9px 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: 0.84rem; font-weight: 700; text-decoration: none; }
.area-list a:hover { border-color: var(--blue); background: var(--ice); }

.faq-list { display: grid; gap: 11px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue-dark); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }

.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: var(--navy); color: var(--white); }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: 0.24; background: linear-gradient(90deg, var(--navy) 0%, transparent 90%), var(--cta-image) center/cover; }
.cta-band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(36px, 6vw, 72px); }
.cta-band h2 { color: var(--white); }

.page-hero { padding: 72px 0 58px; background: linear-gradient(135deg, var(--navy), #0d527f); color: var(--white); }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4.6rem); }
.page-hero p { max-width: 70ch; color: #dbeaf4; font-size: 1.12rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; color: #b7d2e5; font-size: 0.78rem; }
.breadcrumbs a { color: var(--white); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; }
.article-card { min-width: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; color: var(--muted); font-size: 0.82rem; }
.article-image { width: 100%; max-height: 520px; margin-bottom: 34px; border-radius: 22px; object-fit: cover; }
.content { color: #172832; }
.content > * { max-width: 78ch; }
.content h2 { max-width: 27ch; margin-top: 1.65em; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.content h3 { margin-top: 1.45em; }
.content p, .content li { font-size: 1.02rem; }
.content ul, .content ol { padding-left: 1.3rem; }
.content li { margin-bottom: 0.48em; }
.content blockquote { margin: 26px 0; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--ice); color: var(--navy); }
.content section, .content div { max-width: 78ch; }
.content pre { overflow-x: auto; }
.content .button { color: var(--white); }
.sidebar { position: sticky; top: 110px; display: grid; gap: 18px; }
.sidebar-card { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--mist); }
.sidebar-card h2, .sidebar-card h3 { font-size: 1.14rem; letter-spacing: -0.02em; }
.sidebar-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sidebar-card a { font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.sidebar-card a:hover { text-decoration: underline; }

.search-panel { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 28px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--navy); font-size: 0.82rem; font-weight: 800; cursor: pointer; }
.filter-button.is-active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.blog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card { display: flex; min-height: 100%; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.blog-card h2, .blog-card h3 { font-size: 1.16rem; line-height: 1.25; letter-spacing: -0.02em; }
.blog-card p { color: var(--muted); font-size: 0.86rem; }
.blog-card .card-link { margin-top: auto; }
.blog-card[hidden] { display: none; }
.cluster-count { color: var(--blue-dark); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; }

.inventory-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.inventory-table { width: 100%; min-width: 800px; border-collapse: collapse; font-size: 0.8rem; }
.inventory-table th, .inventory-table td { padding: 11px; border-bottom: 1px solid var(--line); text-align: left; }
.inventory-table th { position: sticky; top: 0; background: var(--navy); color: var(--white); }
.status-pill { display: inline-flex; padding: 4px 8px; border-radius: 99px; background: #dff5ed; color: var(--success); font-weight: 800; }

.footer { background: #021c30; color: #c8d8e3; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-block: 74px 50px; }
.footer-logo { width: 180px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer h2, .footer h3 { color: var(--white); font-size: 1rem; letter-spacing: -0.01em; }
.footer p, .footer a { color: #c8d8e3; font-size: 0.84rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.75rem; }
.floating-call { position: fixed; z-index: 80; right: 18px; bottom: 18px; display: none; padding: 12px 16px; border-radius: 99px; background: var(--blue); color: var(--white); font-weight: 900; text-decoration: none; box-shadow: 0 12px 34px rgba(5, 43, 73, 0.3); }

@media (max-width: 1080px) {
  .main-nav { position: absolute; top: 100%; right: 20px; left: 20px; display: none; max-height: calc(100vh - 110px); overflow-y: auto; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav > a, .nav-dropdown > summary { justify-content: space-between; padding: 13px; }
  .dropdown-panel { position: static; width: auto; margin-top: 6px; border: 0; box-shadow: none; background: var(--mist); }
  .menu-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 820px; }
  .quote-card { max-width: 650px; }
  .footer-top { grid-template-columns: 1.5fr repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topbar .container { justify-content: center; }
  .topbar span:first-child { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 64px 94px; }
  .hero-points, .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card-grid, .blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lede-grid, .split-layout, .comparison-panel, .article-layout { grid-template-columns: 1fr; }
  .split-layout.reverse > :first-child { order: initial; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .project-grid a, .project-grid a:first-child, .project-grid a:nth-child(5) { grid-column: span 6; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .brand img { width: 136px; }
  .hero::before { background: linear-gradient(180deg, rgba(2, 25, 43, 0.96), rgba(5, 43, 73, 0.88)), var(--hero-image) center/cover; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.8rem); }
  .hero-points, .card-grid, .card-grid-2, .blog-list, .sidebar { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .quote-card { padding: 22px; }
  .button-row .button { width: 100%; }
  .comparison-tabs { flex-direction: column; }
  .data-list { grid-template-columns: 1fr; }
  .project-grid a, .project-grid a:first-child, .project-grid a:nth-child(5) { grid-column: 1 / -1; min-height: 230px; }
  .cta-band-inner { align-items: stretch; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .floating-call { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
