/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #334155;
  background: #f8fafc;
  line-height: 1.6;
}

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --slate: #334155;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --emerald: #10b981;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --text-muted: #64748b;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; color: var(--navy); line-height: 1.2; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: var(--gold);
}

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

.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
}

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

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

/* Geometric pattern background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(245,158,11,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16,185,129,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge i { font-size: 0.7rem; }

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Dashboard Card (hero visual) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.dash-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), #f97316);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.dash-title { color: var(--white); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; }
.dash-sub { color: #64748b; font-size: 0.75rem; }

.dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.stat-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.85rem;
}

.stat-num { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--white); }
.stat-num.gold { color: var(--gold); }
.stat-num.emerald { color: var(--emerald); }
.stat-label { font-size: 0.7rem; color: #64748b; margin-top: 2px; }

.dash-progress { margin-bottom: 0.5rem; }
.prog-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: #94a3b8; margin-bottom: 0.4rem; }
.prog-bar { height: 6px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; margin-bottom: 0.75rem; }
.prog-fill { height: 100%; border-radius: 99px; }
.prog-fill.gold { background: var(--gold); }
.prog-fill.emerald { background: var(--emerald); }
.prog-fill.blue { background: #3b82f6; }

/* ===== SECTION BASE ===== */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ===== ABOUT ===== */
#about { background: var(--white); }

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

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.about-link:hover { gap: 0.7rem; }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.trust-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  border-radius: 4px 0 0 4px;
}

.trust-card.emerald::before { background: var(--emerald); }
.trust-card.blue::before { background: #3b82f6; }
.trust-card.purple::before { background: #8b5cf6; }

.trust-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}

.trust-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ===== SERVICES ===== */
#services { background: var(--light); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.09);
  border-color: var(--gold);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.service-icon.gold { background: rgba(245,158,11,0.1); color: var(--gold); }
.service-icon.emerald { background: rgba(16,185,129,0.1); color: var(--emerald); }
.service-icon.blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.service-icon.purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 99px;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--slate);
}

/* ===== CONTACT ===== */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.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);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--light);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-submit:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* Contact info side */
.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.contact-intro {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.contact-item:hover { border-color: var(--gold); transform: translateX(3px); }

.contact-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ci-whatsapp { background: rgba(37,211,102,0.1); color: #25d366; }
.ci-email    { background: rgba(245,158,11,0.1); color: var(--gold); }
.ci-phone    { background: rgba(59,130,246,0.1); color: #3b82f6; }
.ci-address  { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.ci-facebook { background: rgba(24,119,242,0.1); color: #1877f2; }

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.contact-item-value {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  margin-top: 2px;
  word-break: break-all;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: #64748b;
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
}

footer span { color: var(--gold); }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 999;
}

#scrollTop.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#scrollTop:hover { background: var(--gold-dark); }

/* ===== TOAST ===== */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-left: 3px solid var(--emerald);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}

#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--navy-mid);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav .mobile-cta {
  color: var(--gold);
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 4rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
