/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAFBFC;
  --bg2: #FFFFFF;
  --bg3: #F4F6F8;
  --surface: #FFFFFF;
  --border: rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.15);
  --accent: #007B83;
  --accent2: #F1883F;
  --accent-glow: rgba(0,123,131,0.12);
  --text: #111827;
  --text-muted: #4B5563;
  --text-dim: #6B7280;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── TYPOGRAPHY ───────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--text);
}

/* ─── NAV ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav.scrolled {
  background: rgba(250, 251, 252, 0.98);
}

.logo {
  text-decoration: none;
  display: inline-block;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-display);
  padding: 8px 18px;
  border: 1px solid var(--border-mid);
  border-radius: 99px;
  color: var(--text);
  text-decoration: none;
  background: var(--accent-glow);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: rgba(0,123,131,0.2);
  border-color: var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu.open { display: flex; }

.mobile-link {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color var(--transition);
}

.mobile-link:hover { color: var(--text); }

/* ─── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 99px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(241,136,63,0.35);
}

.btn-ghost {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: 99px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(0,0,0,0.25);
  background: rgba(0,0,0,0.04);
}

.btn-white {
  display: inline-block;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  border-radius: 99px;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-white:hover {
  background: #f4f6f8;
  transform: translateY(-1px);
}

.btn-ghost-light {
  display: inline-block;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-ghost-light:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

/* ─── SECTION COMMON ───────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 4px 12px;
  border: 1px solid rgba(0,123,131,0.2);
  border-radius: 99px;
  background: rgba(0,123,131,0.08);
}

.section-tag.light {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,123,131,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,123,131,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(243,178,67,0.8), transparent 70%);
  top: -150px; left: -100px;
  animation: float1 12s ease-in-out infinite;
}

.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,123,131,0.8), transparent 70%);
  bottom: -50px; right: -50px;
  animation: float2 15s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
  border-radius: 99px;
  padding: 6px 14px;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.03);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0,123,131,0.6);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #007B83, #F1883F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stack {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.stack-label {
  font-size: 12px;
  color: var(--text-dim);
}

.stack-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.stack-tags span {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-display);
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  background: rgba(0,0,0,0.02);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── STATS ────────────────────────────────────────── */
.stats-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── SERVICES ─────────────────────────────────────── */
.services-section {
  padding: 7rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 2rem;
  transition: background var(--transition);
  position: relative;
}

.service-card:hover {
  background: var(--surface);
}

.service-card.featured {
  background: var(--bg2);
}

.service-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid rgba(0,123,131,0.2);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-icon svg {
  width: 18px;
  height: 18px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.2px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.service-tags span {
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-display);
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
}

/* ─── ABOUT ────────────────────────────────────────── */
.about-section {
  padding: 7rem 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-left h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 1.5rem;
}

.about-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.about-card:hover {
  border-color: var(--border-mid);
}

.about-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 8px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.about-card-icon svg {
  width: 17px;
  height: 17px;
}

.about-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.about-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── APPROACH ─────────────────────────────────────── */
.approach-section {
  padding: 7rem 0;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 1rem;
}

.step {
  flex: 1;
  padding: 2rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.step:hover { border-color: var(--border-mid); }

.step-arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--text-dim);
  padding: 2rem 0.5rem;
  align-self: center;
}

.step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.step h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

/* ─── CTA ──────────────────────────────────────────── */
.cta-section {
  padding: 7rem 0;
}

.cta-box {
  position: relative;
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 20% 50%, rgba(0,123,131,0.4), transparent),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(241,136,63,0.3), transparent);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-contact-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ─── FOOTER ───────────────────────────────────────── */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 260px;
}

.footer-links h5 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps-grid {
    flex-direction: column;
    gap: 0.75rem;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0 0.5rem;
    align-self: flex-start;
    margin-left: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .cta-box { padding: 3rem 1.5rem; }

  .br-lg { display: none; }

  .hero { padding: 7rem 1.5rem 5rem; }
}

/* ─── SCROLL ANIMATIONS ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
