:root {
  --background: #f4f8fc;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #16324f;
  --muted: #5f7590;
  --primary: #1f8fdd;
  --primary-dark: #156cad;
  --accent: #79d3c6;
  --border: rgba(22, 50, 79, 0.1);
  --shadow: 0 20px 45px rgba(31, 54, 84, 0.12);
  --radius: 24px;
  --container: 1120px;
}

* {
  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(--text);
  background:
    radial-gradient(circle at top left, rgba(121, 211, 198, 0.35), transparent 30%),
    radial-gradient(circle at top right, rgba(31, 143, 221, 0.2), transparent 35%),
    linear-gradient(180deg, #f8fbff 0%, var(--background) 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.75);
  border-bottom: 1px solid rgba(22, 50, 79, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
  background: rgba(31, 143, 221, 0.12);
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-dark);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.hero-copy,
p,
li,
label {
  color: var(--muted);
}

.hero-copy {
  max-width: 60ch;
  font-size: 1.1rem;
}

.narrow-copy {
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #46b3f3 100%);
  color: white;
  box-shadow: 0 16px 30px rgba(31, 143, 221, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-dark);
  border: 1px solid rgba(31, 143, 221, 0.15);
}

.hero-card,
.feature-card,
.service-card,
.info-panel,
.contact-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 340px;
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(160deg, rgba(31, 143, 221, 0.9), rgba(121, 211, 198, 0.75)),
    #d6eff8;
}

.hero-card-content {
  position: relative;
  z-index: 1;
  color: white;
}

.hero-card-content span {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero-card-content strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.2;
}

.pulse {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.pulse-one {
  width: 220px;
  height: 220px;
  top: -40px;
  right: -30px;
}

.pulse-two {
  width: 120px;
  height: 120px;
  top: 110px;
  left: 20px;
}

.pulse-three {
  width: 150px;
  height: 150px;
  bottom: -30px;
  right: 90px;
}

.section {
  padding: 2rem 0 4rem;
}

.section-accent {
  padding-bottom: 5rem;
}

.section-heading {
  max-width: 70ch;
  margin-bottom: 2rem;
}

.feature-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card,
.service-card,
.info-panel,
.contact-card {
  padding: 1.75rem;
}

.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.page-hero-services,
.page-hero-contact {
  padding-bottom: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(22, 50, 79, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
}

.site-footer {
  border-top: 1px solid rgba(22, 50, 79, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2rem;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  h1 {
    font-size: clamp(2.3rem, 10vw, 3.6rem);
  }
}
