:root {
  --bg: #f6f8fc;
  --bg-soft: #edf3fb;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --line: rgba(18, 34, 61, 0.10);
  --text: #132238;
  --muted: #5b6b80;
  --accent: #1976d2;
  --accent-2: #1fa39a;
  --accent-3: #c98c16;
  --shadow: 0 18px 40px rgba(20, 36, 61, 0.10);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(25, 118, 210, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 163, 154, 0.08), transparent 26%),
    linear-gradient(180deg, #fcfdff 0%, #f7f9fd 48%, #eef4fa 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--muted); line-height: 1.7; }
h1, h2, h3, h4 { margin: 0 0 0.6rem; line-height: 1.1; }
.container { width: min(100% - 2rem, var(--container)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(31, 163, 154, 0.07);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}
.page-shell { padding-bottom: 4rem; }
.site-header, .site-footer {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(18, 34, 61, 0.08);
  box-shadow: 0 10px 24px rgba(20, 36, 61, 0.10);
}
.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
  filter: none;
}
.brand-logo-footer {
  height: 42px;
  margin-bottom: 0.4rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04111f;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--muted); font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.site-nav a.nav-cta,
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] {
  color: #ffffff;
}
.nav-cta:hover, .button:hover { transform: translateY(-1px); filter: brightness(1.02); box-shadow: 0 22px 32px rgba(20, 36, 61, 0.13); }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 999px;
  padding: 0.8rem 1rem;
}
.hero, .content-block, .section, .quote-card, .news-card, .service-card, .contact-card, .form-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.hero {
  position: relative;
  overflow: hidden;
  margin: 2rem auto 1.5rem;
  padding: 4.4rem 0 3.2rem;
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 253, 0.94));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.12), transparent 60%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 12% auto auto -6%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 163, 154, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(220px, 0.75fr);
  gap: 1.4rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  max-width: 11ch;
}
.hero-copy p { font-size: 1.05rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-visual {
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
}
.hero-visual img {
  width: min(100%, 520px);
  filter: drop-shadow(0 24px 34px rgba(20, 36, 61, 0.16));
}
.button.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}
.hero-stat-grid, .stats-grid, .cards-grid, .news-grid, .contact-grid, .footer-grid {
  display: grid;
  gap: 1rem;
}
.hero-stat-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat-card, .metric-card, .service-card, .news-card, .contact-card, .form-card, .feature-card, .quote-card {
  border-radius: var(--radius);
}
.stat-card, .metric-card, .feature-card {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}
.stat-card strong, .metric-card strong { display: block; font-size: 1.7rem; color: var(--text); }
.stat-card span, .metric-card span { color: var(--muted); font-size: 0.95rem; }
.hero-panel {
  padding: 1.4rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.98));
}
.hero-panel h2 { font-size: 1.2rem; }
.feature-list { display: grid; gap: 0.9rem; margin-top: 1rem; }
.feature-item {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(25, 118, 210, 0.04);
  border: 1px solid var(--line);
}
.section, .content-block {
  margin: 1.2rem auto;
  padding: 2rem;
  border-radius: var(--radius);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .service-card, .news-card, .contact-card, .form-card { padding: 1.4rem; }
.feature-card .icon, .service-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.12), rgba(31, 163, 154, 0.12));
  margin-bottom: 0.9rem;
}
.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-card { display: grid; gap: 0.9rem; }
.news-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; color: var(--muted); font-size: 0.92rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(25, 118, 210, 0.06);
  border: 1px solid var(--line);
  color: var(--muted);
}
.layout-two-col { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1rem; }
.contact-card, .form-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 253, 0.96)); }
.contact-grid { grid-template-columns: 0.85fr 1.15fr; }
.form-grid { display: grid; gap: 1rem; }
.field-row { display: grid; gap: 0.8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: block; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
input, textarea, select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font: inherit;
}
textarea { min-height: 160px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8191a8; }
.form-status {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(25, 118, 210, 0.05);
  border: 1px solid var(--line);
}
.form-status[data-state="success"] { border-color: rgba(57, 208, 184, 0.45); }
.form-status[data-state="error"] { border-color: rgba(247, 185, 85, 0.5); }
.site-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}
.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  padding: 2rem 0;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.brand-footer { margin-bottom: 1rem; }
.page-hero {
  margin: 2rem auto 1rem;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.breadcrumb { color: var(--muted); margin-bottom: 0.8rem; }
.source-link { color: var(--accent); font-weight: 700; }

@media (max-width: 980px) {
  .hero-grid, .layout-two-col, .contact-grid, .cards-grid, .news-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-head, .footer-note { flex-direction: column; align-items: start; }
}

@media (max-width: 780px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .hero-copy { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 100%; }
  .hero-visual { min-height: 220px; }
}
