/* ===== CSS VARIABLES ===== */
:root {
  --gold: #ebd35b;
  --gold-dark: #e3bd2c;
  --dark: #183030;
  --dark-2: #526354;
  --light-bg: #f3faf6;
  --white: #ffffff;
  --gray: #dfe2e2;
  --text: #183030;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'Lexend', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 3rem); letter-spacing: -1px; }
h5 { font-size: 1.1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 80px 0; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235,211,91,0.4);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(24,48,48,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.logo-text-fallback {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
}
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(235,211,91,0.1);
}
.header-cta { margin-left: auto; flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/forensics_bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24,48,48,0.88) 0%, rgba(24,48,48,0.65) 60%, rgba(24,48,48,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--dark);
  padding: 48px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
  color: var(--white);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--dark);
}
.feature-item h5 { color: var(--gold); margin-bottom: 8px; }
.feature-item p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ===== ABOUT ===== */
.about { background: var(--light-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 400px;
  box-shadow: var(--shadow);
}
.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 55%;
  border-radius: 12px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  height: 200px;
  object-fit: cover;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-2);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.label-icon { width: 16px; height: 16px; fill: var(--gold-dark); }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--dark-2); margin-bottom: 24px; }
.check-list { margin-bottom: 32px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--dark-2);
  font-weight: 500;
}
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== VIDEO SECTION ===== */
.video-section { background: var(--dark); }
.video-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  max-width: 900px;
  margin: 0 auto;
}
.main-video {
  width: 100%;
  display: block;
  background: #000;
}

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 32px 24px;
  transition: var(--transition);
  border: 1px solid var(--gray);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; fill: var(--gold); }
.service-card h5 { margin-bottom: 10px; color: var(--dark); }
.service-card p { color: var(--dark-2); font-size: 0.9rem; }

/* ===== HOW WE HELP ===== */
.how-we-help { background: var(--light-bg); }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.how-content h2 { margin-bottom: 32px; }
.how-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.how-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark);
  flex-shrink: 0;
  font-weight: 700;
}
.how-item h5 { margin-bottom: 6px; }
.how-item p { color: var(--dark-2); font-size: 0.9rem; }
.how-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 450px;
  box-shadow: var(--shadow);
}

/* ===== IMPACT ===== */
.impact { background: var(--white); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.impact-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.impact-card:hover { transform: translateY(-4px); }
.impact-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.impact-info {
  padding: 20px;
  background: var(--dark);
  color: var(--white);
}
.impact-info h5 { color: var(--gold); margin-bottom: 6px; font-size: 1rem; }
.impact-info p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--dark); }
.testimonials .section-title { color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
}
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-card p { color: rgba(255,255,255,0.85); font-style: italic; margin-bottom: 24px; line-height: 1.7; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--white); }
.testimonial-author span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.cta-inner {
  text-align: center;
  max-width: 700px;
}
.cta-inner h2 { color: var(--dark); margin-bottom: 16px; }
.cta-inner p { color: var(--dark); opacity: 0.8; margin-bottom: 32px; font-size: 1.05rem; }
.cta-inner .btn-primary {
  background: var(--dark);
  color: var(--white);
}
.cta-inner .btn-primary:hover {
  background: #0f2020;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ===== FOOTER ===== */
#site-footer {
  background: #0f2020;
  color: rgba(255,255,255,0.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer-logo { width: 48px; height: 48px; object-fit: contain; margin-bottom: 16px; border-radius: 8px; }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-links h6,
.footer-contact h6 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.whatsapp-link:hover { background: #1ebe5d; transform: translateY(-2px); }
.whatsapp-link svg { width: 18px; height: 18px; fill: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--gold); }

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-toggle {
  width: 56px;
  height: 56px;
  background: #25D366;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: wa-pulse 2s infinite;
}
.wa-toggle:hover { transform: scale(1.1); }
.wa-toggle svg { width: 28px; height: 28px; fill: var(--white); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}
.wa-popup {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  width: 320px;
  overflow: hidden;
  display: none;
  animation: popup-in 0.3s ease;
}
.wa-popup.open { display: block; }
@keyframes popup-in {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-popup-header {
  background: #075E54;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.wa-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 4px;
}
.wa-profile { position: relative; flex-shrink: 0; }
.wa-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}
.wa-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #25D366;
  border-radius: 50%;
  border: 2px solid #075E54;
}
.wa-profile-info strong { display: block; color: var(--white); font-size: 0.95rem; }
.wa-profile-info span { color: rgba(255,255,255,0.75); font-size: 0.8rem; }
.wa-popup-body {
  background: #ECE5DD;
  padding: 20px;
  min-height: 100px;
}
.wa-bubble {
  background: var(--white);
  border-radius: 0 12px 12px 12px;
  padding: 12px 16px;
  max-width: 90%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.wa-bubble p { font-size: 0.9rem; color: #333; margin-bottom: 4px; }
.wa-bubble p:first-child { font-weight: 600; color: #075E54; font-size: 0.8rem; margin-bottom: 6px; }
.wa-time { font-size: 0.72rem; color: #999; display: block; text-align: right; margin-top: 6px; }
.wa-popup-footer {
  padding: 16px 20px;
  background: var(--white);
  text-align: center;
}
.wa-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  width: 100%;
  justify-content: center;
  transition: var(--transition);
}
.wa-start-btn:hover { background: #1ebe5d; }
.wa-start-btn svg { width: 18px; height: 18px; fill: var(--white); }
.wa-powered { font-size: 0.75rem; color: #999; margin-top: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-secondary { display: none; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 16px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .section-pad { padding: 56px 0; }
  .hero-content h1 { font-size: 2rem; }
  .wa-popup { width: 290px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
  .whatsapp-float { bottom: 16px; right: 16px; }
}
