@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   SIN GROUP — SHARED DESIGN TOKENS & COMPONENTS
   ============================================================ */

:root {
  --primary:       #071B4D;
  --primary-light: #0A2460;
  --accent:        #F59E0B;
  --accent-hover:  #D97706;
  --white:         #FFFFFF;
  --bg-light:      #F4F7FB;
  --text:          #1E293B;
  --muted:         #64748B;
  --border:        #E2E8F0;
  --shadow-xs:  0 1px 3px rgba(7,27,77,0.05);
  --shadow-sm:  0 2px 10px rgba(7,27,77,0.07);
  --shadow-md:  0 4px 22px rgba(7,27,77,0.10);
  --shadow-lg:  0 12px 44px rgba(7,27,77,0.14);
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  24px;
  --r-3xl:  32px;
  --r-pill: 9999px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: #fff; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: 'Poppins', sans-serif; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 14px 20px;
  pointer-events: none;
  transition: padding 0.3s;
}
.nav-wrapper.compact { padding: 8px 20px; }

.navbar {
  max-width: 1160px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  pointer-events: all;
  transition: box-shadow 0.3s, padding 0.3s;
}
.nav-wrapper.compact .navbar { padding: 10px 28px; box-shadow: var(--shadow-lg); }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .brand { font-weight: 700; font-size: 0.92rem; color: var(--primary); }
.logo-text .sub   { font-size: 0.7rem; color: var(--primary); font-weight: 400; opacity: 0.75; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Nav CTA button */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--primary); border-radius: 2px;
  margin: 5px 0; transition: all 0.3s;
}

/* Mobile drawer */
.nav-mobile-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 199;
  background: rgba(7,27,77,0.55);
  backdrop-filter: blur(2px);
}
.nav-mobile-panel {
  position: absolute; top: 0; right: 0;
  width: 260px; height: 100%;
  background: #fff;
  padding: 80px 32px 40px;
  display: flex; flex-direction: column; gap: 24px;
  box-shadow: var(--shadow-lg);
}
.nav-mobile-drawer.open { display: block; }
.nav-mobile-links { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.nav-mobile-links a {
  display: block; padding: 10px 0;
  font-size: 1rem; font-weight: 500; color: var(--primary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile-links a.active { color: var(--accent); }
.nav-mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 20px 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 480px; height: 320px;
  background: radial-gradient(ellipse at 100% 100%, rgba(245,158,11,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.footer-inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.6fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-brand-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.8; margin-top: 12px; max-width: 190px; }
.footer-col-title { font-size: 0.875rem; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.52); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-line { font-size: 0.8rem; color: rgba(255,255,255,0.52); margin-bottom: 8px; line-height: 1.65; }
.footer-socials { display: flex; gap: 10px; margin-top: 6px; }
.social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.72rem; font-weight: 700;
  transition: background 0.2s;
}
.social-icon:hover { background: var(--accent); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
.footer-copy { font-size: 0.73rem; color: rgba(255,255,255,0.3); text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; border-radius: var(--r-pill);
  padding: 13px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.35); }

.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }

.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline-accent { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline-accent:hover { background: var(--accent); color: #fff; }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: 2rem; font-weight: 700;
  color: var(--primary); line-height: 1.25;
  margin-bottom: 14px;
}
.section-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.8; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 84px 20px; }

/* ============================================================
   IMAGE FRAME (asymmetric with orange border)
   ============================================================ */
.img-frame {
  position: relative;
  display: inline-block;
}
.img-frame-inner {
  border-radius: 22px 88px 88px 22px;
  overflow: hidden;
  position: relative; z-index: 2;
  line-height: 0;
}
.img-frame-border {
  position: absolute;
  inset: -4px;
  border: 2.5px solid var(--accent);
  border-radius: 26px 92px 92px 26px;
  z-index: 1;
  pointer-events: none;
}
.img-frame-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 80px; height: 80px;
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.3;
}

/* ============================================================
   WAREHOUSE PLACEHOLDER (shared across pages)
   ============================================================ */
.warehouse-ph {
  width: 100%; height: 100%;
  min-height: 320px;
  background: linear-gradient(160deg, #B8D4EA 0%, #C8DFF2 50%, #BCCFDE 100%);
  position: relative;
  display: flex; align-items: stretch;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(130deg, var(--primary) 0%, #0F2D70 55%, #071B4D 100%);
  border-radius: var(--r-2xl);
  padding: 52px 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%;
  background: radial-gradient(ellipse at right center, rgba(245,158,11,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-glow {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-text .cta-title { font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 6px; }
.cta-banner-text .cta-sub { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.cta-banner-section { padding: 0 20px 84px; }
.cta-banner-wrap { max-width: 1160px; margin: 0 auto; }

/* ============================================================
   CARDS
   ============================================================ */
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: rgba(245,158,11,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--accent);
}
.card-title { font-size: 0.95rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.card-desc  { font-size: 0.8rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="100"] { transition-delay: 0.10s; }
[data-reveal][data-delay="150"] { transition-delay: 0.15s; }
[data-reveal][data-delay="200"] { transition-delay: 0.20s; }
[data-reveal][data-delay="300"] { transition-delay: 0.30s; }
[data-reveal][data-delay="400"] { transition-delay: 0.40s; }
[data-reveal][data-delay="500"] { transition-delay: 0.50s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .section-title { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .section-pad { padding: 60px 16px; }
  .cta-banner { flex-direction: column; padding: 40px 30px; text-align: center; }
  .cta-banner::before { width: 100%; opacity: 0.4; }
  .section-title { font-size: 1.55rem; }
  .img-frame { width: 100%; }
  .img-frame-inner { border-radius: var(--r-xl); }
  .img-frame-border { border-radius: calc(var(--r-xl) + 4px); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-banner { padding: 32px 20px; }
  .cta-banner-text .cta-title { font-size: 1.35rem; }
}
