/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TOKENS ===== */
:root {
  --primary: #00402e;
  --primary-light: #005c43;
  --secondary: #a3b8a6;
  --accent: #7d5a77;
  --accent-light: #9b7a95;
  --bg-dark: #002d20;
  --text: #ffffff;
  --text-muted: #a3b8a6;
  --border: rgba(163, 184, 166, 0.2);
  --radius: 16px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* ===== NAV ===== */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2rem;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav-wrap.scrolled {
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-size: 1.25rem; letter-spacing: -0.5px; }
.logo-icon { color: var(--secondary); font-size: 1.5rem; font-weight: 800; font-family: 'Playfair Display', serif; }
.logo-text { font-weight: 400; color: var(--text-muted); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; }
.nav-links { display: flex; gap: 0; list-style: none; margin-left: auto; }
.nav-links a { display: block; padding: 0.5rem 1rem; color: var(--slate); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--slate); border-radius: 2px; transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.5rem; border-radius: 8px; font-size: 0.875rem;
  font-weight: 600; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(125, 90, 119, 0.35); filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-nav { background: rgba(163, 184, 166, 0.1); color: var(--secondary); border: 1px solid var(--border); padding: 0.5rem 1.2rem; font-size: 0.8rem; margin-left: 1rem; }
.btn-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-large { padding: 1rem 2.2rem; font-size: 1rem; border-radius: 10px; }
.btn-full { width: 100%; padding: 1rem; font-size: 1rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 7rem 2rem 4rem;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--primary-light) 0%, var(--bg-dark) 70%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(163, 184, 166, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(163, 184, 166, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(200,169,110,0.08); top: -100px; right: 10%; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(92,143,255,0.06); bottom: 0; left: 5%; }
.hero-content { position: relative; flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(125, 90, 119, 0.15); border: 1px solid rgba(125, 90, 119, 0.3);
  color: var(--secondary); font-size: 0.78rem; font-weight: 600;
  padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  color: #fff; margin-bottom: 1.25rem;
}
.hero-title em { color: var(--secondary); font-style: normal; }
.hero-sub { color: var(--slate); font-size: 1.05rem; max-width: 480px; margin-bottom: 2rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--secondary); }
.stat-unit { font-size: 1.1rem; font-weight: 700; color: var(--secondary); }
.stat-label { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* HERO VISUAL */
.hero-visual { position: relative; flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.board-card {
  background: rgba(0, 64, 46, 0.4); border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius); padding: 1.5rem; width: 320px;
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.board-header { display: flex; align-items: center; gap: 6px; margin-bottom: 1.25rem; }
.board-dot { width: 10px; height: 10px; border-radius: 50%; }
.board-dot.green { background: #3ecf8e; }
.board-dot.yellow { background: #f6c90e; }
.board-dot.red { background: #ff6b6b; }
.board-title { margin-left: auto; font-size: 0.75rem; color: var(--slate); font-weight: 600; }
.board-rows { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.board-row { display: flex; align-items: center; justify-content: space-between; }
.board-label { font-size: 0.82rem; color: var(--slate); }
.badge { font-size: 0.7rem; font-weight: 600; padding: 2px 10px; border-radius: 100px; }
.badge-green { background: rgba(62,207,142,0.15); color: #3ecf8e; }
.badge-yellow { background: rgba(246,201,14,0.15); color: #f6c90e; }
.badge-blue { background: rgba(92,143,255,0.15); color: #7aaeff; }
.board-score { border-top: 1px solid var(--border); padding-top: 1rem; }
.score-label { font-size: 0.75rem; color: var(--slate); display: block; margin-bottom: 0.5rem; }
.score-bar-wrap { background: var(--navy-4); border-radius: 100px; height: 6px; margin-bottom: 0.4rem; overflow: hidden; }
.score-bar { height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 100px; transition: width 1.5s cubic-bezier(0.4,0,0.2,1); }
.score-val { font-size: 0.8rem; color: var(--secondary); font-weight: 700; }

/* ===== LOGOS BAR ===== */
.logos-bar { padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.logos-label { text-align: center; font-size: 0.75rem; color: var(--slate); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.2rem; }
.logos-track { overflow: hidden; }
.logos-inner { display: flex; gap: 2.5rem; width: max-content; animation: marquee 20s linear infinite; }
.logos-inner:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.logo-pill {
  background: var(--navy-3); border: 1px solid var(--border);
  padding: 0.5rem 1.4rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 500; color: var(--slate);
  white-space: nowrap; transition: 0.2s;
}
.logo-pill:hover { border-color: var(--gold); color: var(--gold); }

/* ===== SECTION BASE ===== */
.section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head.light .section-title, .section-head.light .section-sub { color: inherit; }
.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--secondary); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 1rem;
}
.section-sub { color: var(--slate); max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: rgba(0, 64, 46, 0.3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--secondary); }
.service-card.featured { border-color: var(--accent); background: linear-gradient(135deg, rgba(0, 64, 46, 0.4), rgba(125, 90, 119, 0.1)); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.service-card p { color: var(--slate); font-size: 0.875rem; margin-bottom: 1rem; line-height: 1.7; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.service-list li { font-size: 0.8rem; color: var(--slate); display: flex; align-items: center; gap: 0.5rem; }
.service-list li::before { content: '✓'; color: var(--secondary); font-weight: 700; font-size: 0.75rem; }
.card-tag-featured {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--accent); color: #fff;
  font-size: 0.65rem; font-weight: 800; padding: 2px 10px;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* ===== METHODOLOGY ===== */
.methodology { background: var(--navy-2); }
.methodology .section-title { color: #fff; }
.methodology .section-sub { color: var(--slate); }
.steps { display: flex; align-items: flex-start; gap: 0; }
.step {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.5rem;
  background: var(--navy-3); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.3s;
}
.step:hover { border-color: var(--secondary); }
.step-num {
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--text));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.step p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; }
.step-connector {
  width: 48px; height: 2px; background: var(--border);
  flex-shrink: 0; margin-top: 4rem;
  position: relative;
}
.step-connector::after {
  content: ''; position: absolute; right: -5px; top: -4px;
  border: 5px solid transparent; border-left-color: var(--border);
}

/* ===== DIFFERENTIALS ===== */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.diff-card {
  background: var(--navy-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: 0.3s;
}
.diff-card:hover { transform: translateY(-4px); border-color: rgba(200,169,110,0.35); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.diff-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.diff-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.diff-card p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; }

/* ===== CASES / TESTIMONIALS ===== */
.cases { background: var(--navy-2); }
.cases .section-title { color: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--navy-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: 0.3s; position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(200,169,110,0.3); }
.test-quote { font-size: 4rem; line-height: 1; color: var(--secondary); opacity: 0.3; margin-bottom: 0.5rem; }
.testimonial-card > p { color: var(--slate); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 0.75rem; }
.test-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.test-info strong { display: block; font-size: 0.875rem; color: #fff; }
.test-info span { font-size: 0.75rem; color: var(--slate); }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a2a40, #243047);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.cta-orb {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.12), transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem); color: #fff; margin-bottom: 0.75rem;
}
.cta-text p { color: var(--slate); font-size: 0.95rem; }

/* ===== CONTACT ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info { padding-top: 0.5rem; }
.contact-info .section-title { font-size: 2rem; text-align: left; }
.contact-info p { color: var(--slate); font-size: 0.95rem; line-height: 1.75; margin: 1rem 0 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--slate); }
.contact-icon { font-size: 1.1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--slate); letter-spacing: 0.3px; }
.form-group input, .form-group select, .form-group textarea {
  background: #002d20; border: 1px solid var(--border);
  border-radius: 10px; padding: 0.75rem 1rem;
  color: var(--text); font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
}
.form-group select option { background: #001a13; color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-disclaimer { font-size: 0.75rem; color: var(--slate); text-align: center; margin-top: 0.25rem; }

/* ===== FOOTER ===== */
.footer { background: #001a13; padding: 4rem 2rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; max-width: 1200px; margin: 0 auto; padding-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; max-width: 220px; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: var(--slate); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--secondary); }
.footer-newsletter h4 { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-newsletter p { font-size: 0.82rem; color: var(--slate); margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input {
  flex: 1; background: var(--navy-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.6rem 0.9rem; color: var(--text); font-size: 0.85rem; outline: none;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  width: 40px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.newsletter-form button:hover { filter: brightness(1.1); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.footer-bottom p { font-size: 0.78rem; color: var(--slate); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--slate); text-decoration: none;
  transition: 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 5.5rem 1.5rem 3rem; gap: 3rem; }
  .hero-visual { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy-2); padding: 1.5rem; border-bottom: 1px solid var(--border); gap: 0.5rem; }
  .nav-links.open + .btn-nav { display: block; margin: 0 1.5rem 1.5rem; }
  .services-grid, .diff-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 30px; margin: 0 auto; }
  .step-connector::after { top: auto; bottom: -5px; right: -4px; border: 5px solid transparent; border-top-color: var(--border); }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .board-card { width: 100%; max-width: 320px; }
}
