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

:root {
  --primary: #F59E0B;
  --primary-dark: #D97706;
  --secondary: #0d1b2a;
  --accent: #FB923C;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --dark-card: #1a2744;
  --gradient: linear-gradient(135deg, #0d1b2a 0%, #1a2744 100%);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fa;
  color: #333;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  padding: 0.75rem 2rem;
}
.navbar-logo img { height: 46px; width: auto; }

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.navbar-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.navbar-nav a:hover::after,
.navbar-nav a.active::after { width: 100%; }
.navbar-nav a:hover,
.navbar-nav a.active { color: #FCD34D; }

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245,158,11,0.45);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1002; }
.hamburger span { width: 26px; height: 3px; background: white; border-radius: 3px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
.nav-overlay.open { display: block; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 22px rgba(245,158,11,0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(245,158,11,0.55);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: white;
  color: var(--secondary);
  border-color: white;
  transform: translateY(-3px);
}
.btn-dark {
  background: var(--secondary);
  color: white;
}
.btn-dark:hover {
  background: var(--dark-card);
  transform: translateY(-3px);
}

/* ── SECTION UTILITIES ── */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  color: var(--primary);
  padding: 0.3rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-dark {
  background: var(--gradient);
}
.section-dark .section-title { color: white; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }

/* ── PAGE HERO BANNER (interior pages) ── */
.page-hero {
  background: var(--gradient);
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-block;
  background: rgba(245,158,11,0.25);
  border: 1px solid rgba(245,158,11,0.5);
  color: #FCD34D;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero h1 span { color: var(--primary); }
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.breadcrumb {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }

/* ── FOOTER ── */
footer {
  background: #060f1c;
  color: rgba(255,255,255,0.75);
  padding: 4.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 48px; margin-bottom: 1.2rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; opacity: 0.65; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-heading {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  position: relative;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--primary);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 0.5rem;
  transition: all 0.3s;
}
.footer-links a:hover { color: var(--primary); padding-left: 6px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1rem; font-size: 0.88rem;
}
.footer-contact-item .icon { color: var(--primary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.55;
}

/* ── FLOATING WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 62px; height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 22px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: all 0.3s;
  animation: pulseWA 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.65); }
.whatsapp-float svg { width: 34px; height: 34px; fill: white; }
@keyframes pulseWA {
  0%,100% { box-shadow: 0 5px 22px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 5px 22px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.08); }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-left { opacity: 0; transform: translateX(-45px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-right { opacity: 0; transform: translateX(45px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible, .fade-left.visible, .fade-right.visible { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2.4rem; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--secondary);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2rem;
    transition: right 0.35s ease;
    gap: 1.5rem;
    z-index: 1001;
  }
  .navbar-nav.open { right: 0; }
  .navbar-nav a { font-size: 1.1rem; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .page-hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .section-title { font-size: 1.75rem; }
  .page-hero h1 { font-size: 1.7rem; }
  .btn { padding: 0.8rem 1.8rem; font-size: 0.95rem; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
