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

:root {
  --brand-green: #008a3e;
  --brand-green-hover: #007032;
  --brand-green-light: #e6f7ee;
  --brand-green-subtle: #f0fdf4;
  
  --brand-blue: #0f3e82;
  --brand-blue-hover: #0a2d5e;
  --brand-blue-light: #edf4fc;
  --brand-blue-dark: #0a1f42;
  
  --brand-red: #c01823;
  --brand-red-hover: #99121b;
  --brand-red-light: #fef2f2;
  
  --surface-white: #ffffff;
  --surface-muted: #f8fafc;
  --surface-border: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: #fafbfc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* Custom Utilities */
.bg-brand-green { background-color: var(--brand-green); }
.text-brand-green { color: var(--brand-green); }
.border-brand-green { border-color: var(--brand-green); }

.bg-brand-blue { background-color: var(--brand-blue); }
.text-brand-blue { color: var(--brand-blue); }
.border-brand-blue { border-color: var(--brand-blue); }

.bg-brand-red { background-color: var(--brand-red); }
.text-brand-red { color: var(--brand-red); }

.bg-hero-gradient {
  background: radial-gradient(circle at 80% 20%, rgba(0, 138, 62, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(15, 62, 130, 0.05) 0%, transparent 45%),
              #ffffff;
}

/* Language Toggle Switcher Button */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.lang-toggle-btn:hover {
  border-color: var(--brand-green);
  background-color: #f8fafc;
  box-shadow: 0 2px 8px rgba(0, 138, 62, 0.15);
}

.lang-toggle-btn .lang-divider {
  margin: 0 6px;
  color: #94a3b8;
}

/* Full-Width Cinematic Hero Banner Slider Styles */
.hero-fullwidth-container {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background-color: #081c3c;
}

@media (min-width: 768px) {
  .hero-fullwidth-container {
    min-height: 560px;
  }
}

@media (min-width: 1024px) {
  .hero-fullwidth-container {
    min-height: 600px;
  }
}

.hero-fullwidth-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-fullwidth-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.hero-fullwidth-slide.active .hero-banner-image {
  transform: scale(1);
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 60, 0.96) 0%, rgba(9, 38, 82, 0.88) 42%, rgba(9, 38, 82, 0.5) 75%, rgba(9, 38, 82, 0.2) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-banner-image {
    object-position: center;
  }
  .hero-banner-overlay {
    background: linear-gradient(180deg, rgba(8, 28, 60, 0.92) 0%, rgba(9, 38, 82, 0.88) 60%, rgba(9, 38, 82, 0.75) 100%);
  }
}

.hero-slider-dot {
  cursor: pointer;
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.hero-slider-dot.active {
  width: 32px;
  background: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.hero-nav-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 25;
}

.hero-nav-arrow:hover {
  background: #ffffff;
  color: var(--brand-green);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Clean Cards & Hover */
.card-clean {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-clean:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 138, 62, 0.3);
  box-shadow: 0 16px 24px -8px rgba(15, 62, 130, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: all 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.5;
  animation: pulse-border 2s infinite;
  z-index: -1;
}

@keyframes pulse-border {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Sticky Header */
.header-scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-finfast-primary {
  background: #008a3e;
  color: white;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 138, 62, 0.22);
}

.btn-finfast-primary:hover {
  background: #007233;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 138, 62, 0.32);
}

.btn-finfast-secondary {
  background: #0f3e82;
  color: white;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 62, 130, 0.22);
}

.btn-finfast-secondary:hover {
  background: #0b2f63;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 62, 130, 0.32);
}

/* Modal Backdrop */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

@media print {
  body * { visibility: hidden; }
  #print-receipt, #print-receipt * { visibility: visible; }
  #print-receipt { position: absolute; left: 0; top: 0; width: 100%; }
}
