/* ── Reset & Base ─────────────────────────────────── */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #28988B;
  --primary-hover: #1e7a6f;
  --primary-light: #e8f5f3;
  --dark: #254351;
  --dark-hover: #1a3340;
  --text: #1e293b;
  --text-secondary: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 6px;
  --radius-pill: 9999px;
  --max-width: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

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


/* ── Layout ──────────────────────────────────────── */

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


/* ── Header / Nav ────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo img,
.logo svg {
  height: 36px;
  width: auto;
}


/* ── Hero ─────────────────────────────────────────── */

.hero-split {
  padding: 80px 24px 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  grid-template-rows: auto auto auto;
  gap: 0 40px;
  align-items: center;
}

.hero-heading {
  grid-column: 1;
  grid-row: 1;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-desc {
  grid-column: 1;
  grid-row: 2;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-graphic {
  grid-column: 2;
  grid-row: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic svg {
  width: 100%;
  height: auto;
}

/* Contact hero */
.hero {
  padding: 100px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-compact {
  padding: 48px 24px 8px;
}

.hero-compact h1 {
  font-size: 32px;
}

/* Scanner animation */
@keyframes scan {
  0%, 100% { transform: translateY(-60px); }
  50% { transform: translateY(60px); }
}

.scanner {
  animation: scan 3.5s ease-in-out infinite;
}


/* ── Buttons ──────────────────────────────────────── */

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 152, 139, 0.25);
}

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

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: #cbd5e1;
  color: var(--text);
  transform: translateY(-1px);
}

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

.btn-nav:hover {
  background: var(--dark-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 67, 81, 0.25);
}


/* ── Sections ─────────────────────────────────────── */

.section {
  padding: 72px 24px;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}


/* ── Feature Cards ────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ── Services Toggle ───────────────────────────────── */

.services-header {
  text-align: center;
  margin-bottom: 40px;
}

.services-header h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.services-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.toggle-pills {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.toggle-pill {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-pill.active {
  background: #fff;
  color: var(--dark);
}

.toggle-pill:hover:not(.active) {
  color: rgba(255, 255, 255, 0.9);
}

.toggle-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.toggle-pane {
  display: none;
}

.toggle-pane.active {
  display: block;
}

.toggle-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}

.toggle-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  text-align: left;
}

.toggle-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.toggle-feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}


/* ── Pull Quote / Editorial ───────────────────────── */

.pull-quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote blockquote {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
}


/* ── Steps ────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ── CTA Banner ───────────────────────────────────── */

.cta-banner {
  text-align: center;
  padding: 72px 24px;
  background: var(--bg-alt);
}

.cta-banner h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}


/* ── Contact ──────────────────────────────────────── */

.contact-form-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 152, 139, 0.1);
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}


/* ── Footer ───────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-secondary);
}


/* ── Scroll Animations ────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger .feature,
.stagger .step {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger .feature.visible,
.stagger .step.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger .feature:nth-child(2),
.stagger .step:nth-child(2) { transition-delay: 0.1s; }

.stagger .feature:nth-child(3),
.stagger .step:nth-child(3) { transition-delay: 0.2s; }

.stagger .feature:nth-child(4) { transition-delay: 0.1s; }
.stagger .feature:nth-child(5) { transition-delay: 0.2s; }
.stagger .feature:nth-child(6) { transition-delay: 0.3s; }


/* ── Responsive ───────────────────────────────────── */

@media (max-width: 768px) {
  .hero {
    padding: 56px 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    text-align: center;
  }

  .hero-heading {
    grid-column: 1;
    grid-row: 1;
    font-size: 32px;
  }

  .hero-graphic {
    grid-column: 1;
    grid-row: 2;
    margin: 24px 0 8px;
  }

  .hero-graphic svg {
    max-width: 340px;
  }

  .hero-desc {
    grid-column: 1;
    grid-row: 3;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    grid-column: 1;
    grid-row: 4;
    justify-content: center;
  }

  .hero-compact {
    padding: 48px 24px 16px;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .toggle-features {
    grid-template-columns: 1fr;
  }

  .pull-quote blockquote {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 22px;
  }
}
