:root {
  --navy: #0d2b28;
  --navy-2: #123a35;
  --charcoal: #10201c;
  --emerald: #147a5e;
  --emerald-bright: #1fb88a;
  --gold: #d3ab4a;
  --gold-dark: #b8892c;
  --gold-deep: #8c6a1c;
  --ink: #14231f;
  --gray-700: #4d5f5a;
  --gray-500: #5c726c;
  --gray-200: #dfe7e3;
  --gray-100: #f3f6f4;
  --cream: #faf8f3;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(13, 43, 40, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(13, 43, 40, 0.3);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy);
}
p { margin: 0 0 1em; color: var(--gray-700); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 24px -8px rgba(211, 171, 74, 0.55);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); transform: translateY(-2px); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* Header */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s ease;
}
.nav-wrap.is-scrolled { box-shadow: 0 8px 24px -16px rgba(13,43,40,0.3); }
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand-mark { width: 38px; height: 38px; color: var(--navy); flex-shrink: 0; }
.brand-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 1.4px;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { font-weight: 600; font-size: 0.92rem; color: var(--gray-700); transition: color 0.15s ease; }
.nav-link:hover { color: var(--navy); }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.nav-phone svg { width: 16px; height: 16px; }
.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: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(31,184,138,0.35), transparent 60%),
    linear-gradient(160deg, rgba(13,43,40,0.93) 0%, rgba(16,32,28,0.96) 100%),
    url('../img/hero-desk.jpg') center 30%/cover no-repeat;
  padding: 64px 0 0;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.blob-1 { width: 460px; height: 460px; background: var(--emerald-bright); top: -160px; right: -120px; animation: float-a 14s ease-in-out infinite; }
.blob-2 { width: 340px; height: 340px; background: var(--gold); bottom: -140px; left: -100px; animation: float-b 16s ease-in-out infinite; }
@keyframes float-a {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}
.hero-grid-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 60px 24px 90px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(211, 171, 74, 0.15);
  border: 1px solid rgba(211, 171, 74, 0.4);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.14;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--gold); }
.hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14); }
.hero-stat .num {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.hero-stat small { display: block; color: rgba(255, 255, 255, 0.68); font-size: 0.78rem; margin-top: 2px; }

/* Hero visual: dashboard card */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.dash-card {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 20px;
  transform: rotate(-2deg);
  animation: dash-float 6s ease-in-out infinite;
}
@keyframes dash-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-10px); }
}
.dash-head { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.dash-dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-dot-r { background: #e6685f; }
.dash-dot-y { background: #ecb84a; }
.dash-dot-g { background: #4ac48a; }
.dash-title { margin-left: 8px; font-weight: 700; font-size: 0.85rem; color: var(--gray-700); }
.dash-body { position: relative; background: var(--gray-100); border-radius: 12px; padding: 18px 16px 10px; height: 130px; }
.dash-bars { position: absolute; left: 16px; right: 16px; bottom: 10px; display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.dash-bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--emerald-bright), var(--emerald));
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: bar-grow 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.dash-bars span:nth-child(1) { animation-delay: 0.05s; }
.dash-bars span:nth-child(2) { animation-delay: 0.12s; }
.dash-bars span:nth-child(3) { animation-delay: 0.19s; }
.dash-bars span:nth-child(4) { animation-delay: 0.26s; }
.dash-bars span:nth-child(5) { animation-delay: 0.33s; }
.dash-bars span:nth-child(6) { animation-delay: 0.4s; }
.dash-bars span:nth-child(7) { animation-delay: 0.47s; }
.dash-bars span:nth-child(8) { animation-delay: 0.54s; }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.dash-line { position: absolute; inset: 0; width: 100%; height: 100%; }
.dash-line path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: line-draw 1.6s 0.3s ease forwards; }
@keyframes line-draw { to { stroke-dashoffset: 0; } }
.dash-foot { display: flex; justify-content: space-between; margin-top: 16px; }
.dash-foot strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.1rem; color: var(--navy); }
.dash-foot small { color: var(--gray-500); font-size: 0.75rem; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
  z-index: 3;
}
.float-chip svg { width: 16px; height: 16px; color: var(--emerald); flex-shrink: 0; }
.chip-1 { top: 6%; left: -4%; animation: chip-float-1 5s ease-in-out infinite; }
.chip-2 { bottom: 12%; right: -6%; animation: chip-float-2 6.5s ease-in-out infinite; }
.chip-3 { top: 48%; right: -10%; animation: chip-float-3 5.6s ease-in-out infinite; }
@keyframes chip-float-1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes chip-float-2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes chip-float-3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; color: var(--gold-deep); font-weight: 700; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.section-sub { font-size: 1.03rem; }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(20, 122, 94, 0.1);
  color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}
.why-card:hover .why-icon { transform: scale(1.08) rotate(-4deg); }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.why-card p { font-size: 0.92rem; margin-bottom: 0; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { font-size: 0.93rem; margin-bottom: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; max-width: 400px; margin: 0 auto; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-avatar {
  position: absolute; top: -22px; left: -22px; z-index: 2;
  width: 92px; height: 92px;
  border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}
.about-badge {
  position: absolute; bottom: -18px; right: -12px; z-index: 2;
  background: var(--navy); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge .num { font-family: 'Manrope', sans-serif; font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.about-badge small { display: block; font-size: 0.72rem; letter-spacing: 0.5px; margin-top: 4px; color: rgba(255,255,255,0.8); }
.about-list { margin-top: 22px; display: grid; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--navy); font-size: 0.96rem; }
.about-list .check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(211, 171, 74, 0.22); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.about-list .check svg { width: 13px; height: 13px; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step { position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); }
.process-num {
  display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 0.85rem; color: var(--white); background: var(--emerald);
  width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; margin-bottom: 0; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--emerald) 130%);
  border-radius: 22px;
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(211,171,74,0.35), transparent 55%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 0; position: relative; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; text-align: left; cursor: pointer;
  padding: 20px 24px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy);
}
.faq-toggle {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-100); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-item.is-open .faq-toggle { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 24px 20px; margin: 0; font-size: 0.95rem; }
.faq-item.is-open .faq-a { max-height: 220px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-info { background: var(--navy); color: var(--white); padding: 56px 48px; }
.contact-info h2 { color: var(--white); }
.contact-info p { color: rgba(255,255,255,0.75); }
.contact-rows { margin: 28px 0; display: grid; gap: 18px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-row .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(211,171,74,0.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-row .icon svg { width: 19px; height: 19px; }
.contact-row strong { display: block; font-size: 1rem; }
.contact-row small { color: rgba(255,255,255,0.6); }

.contact-form { padding: 56px 48px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; font-size: 0.86rem; color: var(--navy); margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--gray-200); font-family: inherit; font-size: 0.95rem;
  color: var(--ink); background: var(--gray-100);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.form-note { font-size: 0.82rem; color: var(--gray-500); text-align: center; margin-top: 14px; margin-bottom: 0; }

/* Footer */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.1rem; }
.footer-brand .brand-mark { color: var(--gold); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { min-height: 340px; margin-top: 20px; order: -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { margin-bottom: 40px; }
  .contact-info, .contact-form { padding: 40px 32px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 20px 24px 28px; gap: 16px; box-shadow: var(--shadow-lg);
    transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .nav-phone { order: -1; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 28px; flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 22px; }
  .float-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .dash-card, .float-chip, .dash-bars span, .dash-line path {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}
