/* ============================================
   D P ENTERPRISE - SHARED STYLES
   ============================================ */

:root {
  --primary: #fbbf24;
  --primary-dark: #f59e0b;
  --primary-light: #fcd34d;
  --dark: #0f0f0f;
  --dark-2: #1a1a1a;
  --dark-3: #262626;
  --text: #334155;
  --text-light: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-bottom: 2px solid var(--primary);
  transition: var(--transition);
}

.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white); font-weight: 800; font-size: 1.4rem; letter-spacing: 2px;
}

.logo img { height: 44px; width: 44px; object-fit: cover; border-radius: 8px; border: 2px solid var(--primary); }

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

.nav-links {
  display: flex; list-style: none; gap: 8px; align-items: center;
}

.nav-links a {
  text-decoration: none; color: var(--white); font-weight: 500; font-size: 0.9rem;
  padding: 8px 14px; border-radius: 6px; transition: var(--transition);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary); transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }

.nav-social { display: flex; gap: 12px; margin-left: 8px; }

.nav-social a {
  color: var(--white); font-size: 1.1rem; transition: var(--transition);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.08);
}

.nav-social a:hover { color: var(--primary); background: rgba(251,191,36,0.15); transform: translateY(-2px); }

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

.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--primary); transition: var(--transition);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer; transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--dark); box-shadow: 0 4px 15px rgba(251,191,36,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(251,191,36,0.5);
}

.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}

.btn-outline:hover { background: var(--primary); color: var(--dark); }

.btn-dark {
  background: var(--dark); color: var(--primary); border: 2px solid var(--primary);
}

.btn-dark:hover { background: var(--primary); color: var(--dark); }

.btn-lg { padding: 14px 36px; font-size: 1.05rem; }

/* ========== SECTIONS ========== */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }

.section-tag {
  display: inline-block; background: rgba(251,191,36,0.12); color: var(--primary-dark);
  padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 14px;
  border: 1px solid rgba(251,191,36,0.25);
}

.section-header h2 { font-size: 2.4rem; font-weight: 800; color: var(--dark-2); margin-bottom: 12px; }

.section-header p { color: var(--text-light); font-size: 1.05rem; }

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  color: #94a3b8; padding: 60px 0 0; border-top: 3px solid var(--primary);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { margin-bottom: 16px; font-size: 1.3rem; }

.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; color: #94a3b8; }

.footer-links h4 { color: var(--primary); font-size: 1rem; margin-bottom: 20px; font-weight: 700; }

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; transition: var(--transition); }

.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom { text-align: center; padding: 24px 0; font-size: 0.9rem; color: #64748b; }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }

.footer-social a {
  width: 42px; height: 42px; background: rgba(255,255,255,0.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  text-decoration: none; transition: var(--transition); border: 1px solid rgba(251,191,36,0.2);
}

.footer-social a:hover { background: var(--primary); color: var(--dark); transform: translateY(-3px); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
  background: #25d366; color: white; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 999;
  text-decoration: none; transition: var(--transition); animation: pulse 2s infinite;
}

.whatsapp-float:hover { transform: scale(1.1); background: #128c7e; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}

/* ========== SCROLL TOP ========== */
.scroll-top {
  position: fixed; bottom: 24px; left: 24px; width: 48px; height: 48px;
  background: var(--primary); color: var(--dark); border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; }

.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: var(--transition);
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 8px; }

.lightbox-close {
  position: absolute; top: 20px; right: 30px; background: none; border: none;
  color: white; font-size: 2.5rem; cursor: pointer; transition: var(--transition);
}

.lightbox-close:hover { color: var(--primary); transform: scale(1.1); }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: white;
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem;
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center;
}

.lightbox-nav:hover { background: var(--primary); color: var(--dark); }

.lightbox-prev { left: 20px; }

.lightbox-next { right: 20px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--dark-2); flex-direction: column; padding: 20px; gap: 0;
    box-shadow: var(--shadow-lg); transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: var(--transition); border-bottom: 2px solid var(--primary);
  }
  .nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a::after { display: none; }
  .nav-social { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-header h2 { font-size: 1.8rem; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomSlow {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }

.animate-fadeIn { animation: fadeIn 1s ease forwards; }

.animate-zoomSlow { animation: zoomSlow 20s ease-in-out infinite alternate; }

/* AOS-like utility classes */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-left"] { transform: translateX(-40px); }
[data-aos="fade-right"] { transform: translateX(40px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
