:root {
  --slate: #454d52;
  --slate-dark: #343b3f;
  --teal: #82cfcd;
  --teal-dark: #5fb5b3;
  --bg: #ffffff;
  --bg-alt: #f4f6f6;
  --ink: #2c3134;
  --muted: #6b7378;
  --max-width: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a { color: inherit; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--slate);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  padding: 16px 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: #e8ecec;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--teal); }

.nav-cta {
  border: 1px solid var(--teal);
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--teal);
  color: var(--slate-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Sections */
.section {
  padding: 88px 0;
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--teal);
}

.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--slate-dark);
  color: #f1f3f3;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin: 0 0 12px;
}

.section-dark .eyebrow { color: var(--teal); }

h1, h2, h3 {
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15; }

h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.25; max-width: 760px; }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 0 18px;
}

.section-dark .lead { color: #c7cfcf; }

/* Hero */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--slate-dark);
  box-shadow: 0 6px 18px rgba(69, 77, 82, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--slate);
}

.btn-ghost:hover { background: rgba(69, 77, 82, 0.06); }

.section-dark .btn-primary { background: var(--teal); color: var(--slate-dark); }
.section-dark .btn-primary:hover { background: var(--teal-dark); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid #e4e8e8;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(69, 77, 82, 0.08);
}

.card h3 {
  font-size: 1.15rem;
  color: var(--slate-dark);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */
.contact-inner { max-width: 640px; }

.contact-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.9rem;
  color: #c7cfcf;
}

.form-row-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #5b6367;
  background: #3b4245;
  color: #fff;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--teal);
}

.contact-form .btn-primary {
  align-self: flex-start;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--teal);
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  background: var(--slate-dark);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo { height: 22px; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-inner p {
  margin: 0;
  color: #9aa3a6;
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--slate);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { width: 100%; text-align: center; }
  .hero { padding: 110px 0 72px; }
  .section { padding: 64px 0; }
}
