/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.header__logo img { height: 3rem; width: auto; }
.header__nav { display: flex; align-items: center; gap: 2rem; }
.header__nav a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.header__nav a:hover,
.header__nav a.active { color: var(--secondary); }
.header__cta { display: flex; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a.active { background: var(--secondary); color: var(--white); }
.mobile-nav.open { display: block; }

@media (max-width: 1024px) {
  .header__nav, .header__cta { display: none; }
  .hamburger { display: block; }
}

/* ===================== FOOTER ===================== */
.footer { background: var(--primary); color: var(--white); padding: 5rem 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand img { height: 3rem; width: auto; margin-bottom: 1rem; }
.footer__brand p { color: #94a3b8; line-height: 1.7; font-size: 0.95rem; }
.footer__heading { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer__links li { margin-bottom: 0.75rem; }
.footer__links a { color: #94a3b8; font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--secondary); }
.footer__contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.footer__contact-item svg { margin-top: 2px; flex-shrink: 0; }
.footer__contact-item a,
.footer__contact-item span { color: #94a3b8; font-size: 0.95rem; transition: color 0.2s; }
.footer__contact-item a:hover { color: var(--secondary); }
.footer__social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer__social a { color: #94a3b8; transition: color 0.2s; }
.footer__social a:hover { color: var(--secondary); }
.footer__bottom { border-top: 1px solid #1e3a6e; padding: 1.5rem 0; text-align: center; }
.footer__bottom p { color: #64748b; font-size: 0.875rem; }

@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } }

/* ===================== WHATSAPP BUTTON ===================== */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
  transition: transform 0.2s, background 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.1); background: var(--green-hover); }

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(4rem);
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  font-weight: 600;
  z-index: 999;
  opacity: 0;
  transition: all 0.35s;
  border-left: 4px solid var(--secondary);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: #ef4444; }

/* ===================== PAGE ROUTING ===================== */
.page { display: none; }
.page.active { display: block; }

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.page-hero__title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero__sub { font-size: 1.15rem; color: #cbd5e1; max-width: 600px; margin: 0 auto; }

/* ===================== CTA BANNER ===================== */
.cta-banner { background: var(--primary); color: var(--white); padding: 5rem 0; text-align: center; }
.cta-banner__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-banner__sub { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
