/* Global Layout, Navbar, Footer, & Utility Styles */
@import url('variables.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.bg-surface {
  background-color: var(--bg-surface);
}

.bg-navy {
  background-color: var(--primary-navy);
  color: var(--text-white);
}

.bg-dark {
  background-color: var(--primary-navy-dark);
  color: var(--text-white);
}

/* Section Header Typography */
.section-title-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title-tag.tag-dark {
  background-color: rgba(255, 101, 0, 0.15);
  color: #FF8A00;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title.text-white {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.6;
}

.section-subtitle.text-light {
  color: var(--text-light);
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--text-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(255, 101, 0, 0.45);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: var(--text-white);
}

.btn-navy:hover {
  background-color: var(--primary-navy-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-muted);
  color: var(--primary-navy);
}

.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background-color: var(--accent-orange-light);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-white);
}

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--primary-navy);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Top Notification / Contact Bar */
.top-bar {
  background-color: var(--primary-navy-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-info item, .top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-orange);
}

.top-bar-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-badge {
  color: #38BDF8;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Header & Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop-blur);
  -webkit-backdrop-filter: var(--glass-backdrop-blur);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 62px;
  max-height: 68px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.logo-link:hover img {
  transform: scale(1.03);
}


.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-navy);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--accent-orange);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-orange);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-navy);
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 15, 30, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background-color: var(--primary-navy-dark);
  color: var(--text-white);
  z-index: 2001;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
}

.mobile-drawer-overlay.active .mobile-drawer {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-white);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--accent-orange);
}

/* Page Header Banner (for subpages) */
.page-header {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  padding: 4rem 0;
  color: var(--text-white);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.svg') center/cover no-repeat;
  opacity: 0.2;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

.breadcrumbs a:hover {
  color: var(--accent-orange);
}

.breadcrumbs span.current {
  color: var(--accent-orange);
  font-weight: 600;
}

/* Footer Section */
.site-footer {
  background-color: var(--primary-navy-dark);
  color: var(--text-light);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 40px;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  margin: 1.25rem 0;
  line-height: 1.7;
  font-size: 0.95rem;
}


.footer-certifications {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cert-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: #38BDF8;
}

.footer-column-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--accent-orange);
  margin-top: 0.5rem;
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* Floating CTAs System */
.floating-ctas {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  position: relative;
}

.floating-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--text-white);
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background-color: #25D366;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.btn-call {
  background-color: var(--primary-navy);
}

.btn-scroll-top {
  background-color: var(--accent-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn:hover {
  transform: scale(1.1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: var(--primary-navy);
  color: var(--text-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-orange);
  box-shadow: var(--shadow-xl);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
