:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #102a43;
  --muted: #525f7f;
  --primary: #134e4a;
  --primary-soft: #d8f3ec;
  --accent: #0f766e;
  --border: #e2e8f0;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.header-inner > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.brand-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.site-nav a,
.dropdown-toggle {
  color: var(--muted);
  transition: color 0.25s ease;
}

.site-nav a:hover,
.dropdown-toggle:hover {
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.25rem);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu a {
    color: var(--text);
    display: block;
    padding: 0.45rem 0.35rem;
    border-radius: 0.75rem;
  }

  .dropdown-menu a:hover {
    color: var(--primary);
    background: rgba(15, 118, 110, 0.06);
  }

  .dropdown-menu a:hover {
    color: var(--primary);
  }

  .menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
  }

.hero-section {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.hero-section h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 0;
  line-height: 1.03;
}

.hero-section p {
  max-width: 58ch;
  color: var(--muted);
  margin: 1.5rem 0 2rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.hero-card {
  align-self: center;
}

.hero-card-inner {
  padding: 2rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: var(--shadow);
}

.hero-card-inner h2 {
  margin-top: 0;
}

.hero-card-inner ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.hero-card-inner li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--muted);
}

.hero-card-inner li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.section {
  padding: 4rem 0;
}

.section-heading h2 {
  margin: 0.5rem 0 1.5rem;
}

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

.service-card,
.solution-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
}

.service-card h3,
.solution-card h3 {
  margin-top: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.about-stats div {
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.about-stats strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
}

.about-stats span {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
}

.footer-inner {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

  .site-nav {
    position: absolute;
    inset: 4rem 1.5rem auto auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 1rem;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .site-nav .dropdown:hover .dropdown-menu,
  .site-nav.open .dropdown .dropdown-menu,
  .site-nav .dropdown:focus-within .dropdown-menu {
    display: flex;
  }

  .site-nav .dropdown-menu a {
    padding-left: 0;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 3rem;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card-inner,
  .service-card,
  .solution-card,
  .about-stats div,
  .contact-form {
    padding: 1.5rem;
  }
}
