/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #0a0e1a;
  color: #e8edf5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

@media (min-width: 769px) {
  .container { padding: 0 40px; }
}

/* ===== Typography ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f0b90b;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

/* ===== Header / Nav ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #0a0e1a;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
@media (min-width: 769px) {
  nav { padding: 0 40px; }
}
.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0b90b;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 3;
}
.logo span { color: #fff; font-weight: 300; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #8892a8;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #f0b90b;
  transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  z-index: 3;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 0.4s ease, opacity 0.25s ease, transform 0.4s ease, visibility 0s linear 0.4s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 999;
  }
  .nav-links.open {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: max-height 0.4s ease, opacity 0.25s ease, transform 0.4s ease;
  }
}

/* ===== Hero ===== */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(10,14,26,0.4) 0%, #0a0e1a 80%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #f0b90b;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #f0b90b, #d4950a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #8892a8;
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 8px 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #c0c8d8;
}
.hero-features i { color: #f0b90b; font-size: 0.8rem; }
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #f0b90b, #d4950a);
  color: #0a0e1a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,185,11,0.3); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: #f0b90b; color: #f0b90b; transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.btn-phone { background: #25D366; color: #fff; }
.btn-phone:hover { background: #1da851; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #8892a8; border: 1px solid rgba(255,255,255,0.1); }
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ===== Sections shared ===== */
section { padding: 100px 0; }
section:nth-child(even) { background: #0d1225; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header p { color: #8892a8; max-width: 600px; margin: 0 auto; font-size: 1rem; }

/* ===== Company ===== */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.company-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; color: #fff; }
.company-text p { color: #8892a8; margin-bottom: 16px; font-size: 0.95rem; }
.company-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.company-stats .stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.stat-card .number { font-size: 1.8rem; font-weight: 700; color: #f0b90b; }
.stat-card .label { font-size: 0.8rem; color: #8892a8; margin-top: 4px; }
.process-strip {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 8px;
  flex-wrap: wrap;
}
.process-strip .step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #8892a8;
}
.process-strip .step i {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(240,185,11,0.12);
  color: #f0b90b;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .company-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.service-card-img {
  height: 180px;
  overflow: hidden;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-img .placeholder-icon {
  font-size: 3rem;
  color: rgba(240,185,11,0.3);
}
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
.service-card-body p { font-size: 0.85rem; color: #8892a8; line-height: 1.6; }

@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #f0b90b, rgba(240,185,11,0.1));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-step .step-num {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0b90b;
  background: #0d1225;
  border: 2px solid rgba(240,185,11,0.2);
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.process-step p {
  font-size: 0.85rem;
  color: #8892a8;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== Why Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(240,185,11,0.2); }
.why-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(240,185,11,0.1);
  color: #f0b90b;
  font-size: 1.3rem;
}
.why-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
.why-card p { font-size: 0.85rem; color: #8892a8; line-height: 1.6; }

@media (max-width: 992px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; color: #fff; }
.contact-info p { color: #8892a8; font-size: 0.9rem; margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: border-color 0.3s, background 0.3s;
}
.contact-item:hover { border-color: rgba(240,185,11,0.2); background: rgba(240,185,11,0.04); }
.contact-item .icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-item .icon.whatsapp { background: rgba(37,211,102,0.12); color: #25D366; }
.contact-item .icon.phone { background: rgba(37,211,102,0.12); color: #25D366; }
.contact-item .icon.email { background: rgba(240,185,11,0.12); color: #f0b90b; }
.contact-item .icon.location { background: rgba(99,102,241,0.12); color: #6366f1; }
.contact-item .info { flex: 1; }
.contact-item .info .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: #8892a8; }
.contact-item .info .value { font-size: 0.9rem; color: #fff; font-weight: 500; margin-top: 2px; }
.contact-item a { color: #fff; }
.contact-item a:hover { color: #f0b90b; }

@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
footer {
  background: #060a16;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 20px 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-brand .logo { font-size: 0.95rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: #8892a8; transition: color 0.3s; }
.footer-links a:hover { color: #f0b90b; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: #5a6478;
}
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #8892a8;
  transition: color 0.3s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}
.back-top:hover { color: #f0b90b; }

/* ===== Footer Legal Links ===== */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
  margin-bottom: 24px;
  min-height: 200px;
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a0e1a;
  background: linear-gradient(135deg, #f0b90b, #d4950a);
  transition: all 0.3s;
  min-width: 280px;
}
.footer-legal a:hover {
  background: linear-gradient(135deg, #fcd34d, #f0b90b);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 185, 11, 0.3);
}
.footer-legal a i {
  font-size: 1.1rem;
}

@media (max-width: 576px) {
  .footer-legal {
    gap: 14px;
  }
  .footer-legal a {
    padding: 14px 36px;
    font-size: 1rem;
    min-width: 240px;
  }
}

/* ===== Legal Pages (Privacy Policy, Terms of Service) ===== */
.legal-page {
  padding-top: calc(70px + 60px);
  padding-bottom: 60px;
}
.legal-page .page-header {
  text-align: center;
  margin-bottom: 48px;
}
.legal-page .page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.legal-page .page-header .last-updated {
  font-size: 0.85rem;
  color: #8892a8;
}
.legal-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}
.legal-section:hover {
  border-color: rgba(240,185,11,0.15);
}
.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f0b90b;
  margin-bottom: 16px;
}
.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  margin-top: 20px;
}
.legal-section h3:first-child {
  margin-top: 0;
}
.legal-section p {
  font-size: 0.9rem;
  color: #8892a8;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}
.legal-section ul li {
  font-size: 0.9rem;
  color: #8892a8;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #f0b90b;
  border-radius: 50%;
  opacity: 0.5;
}
.legal-section .contact-block {
  background: rgba(240,185,11,0.05);
  border: 1px solid rgba(240,185,11,0.1);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 12px;
}
.legal-section .contact-block p {
  margin-bottom: 4px;
}
.legal-section .contact-block a {
  color: #f0b90b;
}
.legal-section .contact-block a:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .legal-section {
    padding: 24px 20px;
  }
  .legal-page {
    padding-top: calc(70px + 40px);
  }
}

/* ===== 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 ===== */

/* PC: center Contact section vertically & horizontally */
@media (min-width: 769px) {
  #contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  #contact .container {
    width: 100%;
  }
  .contact-wrap {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-bg img {
    width: calc(100% + 422px);
    max-width: none;
    height: 100%;
    object-position: left center;
    position: absolute;
    top: 0;
    left: -422px;
  }
}

@media (max-width: 576px) {
  section { padding: 60px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-features { flex-direction: column; align-items: center; }

  /* About Us: hide icon strip on mobile */
  .process-strip { display: none; }

  /* Footer: grid layout so Contact aligns under Services */
  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: flex-start;
    gap: 10px 24px;
  }
}
