/* ==========================================================================
   STYLE SHEET: REVOLUTION MÓVIL PREMIUM HIGH-END CORPORATE (LIGHT THEME)
   Vanilla CSS & High-Performance UI (Navy Blue `#0B2545` & Teal `#00A49E` Accents)
   ========================================================================== */

/* --- Design Tokens / Theme Variables --- */
:root {
  --bg-dark: #F8FAFC;                /* Slate 50 Light Background */
  --bg-card: #FFFFFF;                /* Pure White Cards */
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --accent-orange: #00A49E;          /* Brand Teal (Primary UI Color) */
  --accent-orange-hover: #00827D;
  --accent-blue: #0B2545;            /* Brand Corporate Navy (Primary Brand Color) */
  --accent-blue-hover: #07172C;
  --accent-blue-light: #134074;      /* Secondary Navy Accent */
  
  --text-main: #1E293B;              /* Dark Charcoal Body Text */
  --text-secondary: #475569;         /* Slate 600 Sub-text */
  --text-muted: #64748B;             /* Slate 500 Muted Text */
  
  --border-color: rgba(11, 37, 69, 0.06);
  --border-glow: rgba(0, 164, 158, 0.15);
  
  --shadow-sm: 0 4px 6px rgba(11, 37, 69, 0.02);
  --shadow-md: 0 10px 25px rgba(11, 37, 69, 0.05);
  --shadow-lg: 0 20px 40px rgba(11, 37, 69, 0.08);
  --shadow-glow: 0 0 25px rgba(0, 164, 158, 0.2);
  --shadow-glow-blue: 0 0 25px rgba(11, 37, 69, 0.15);
  
  --font-family: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 16px;
  --border-radius-sm: 8px;
}

/* --- Base & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(rgba(19, 64, 116, 0.03) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--accent-blue);
}

p {
  color: var(--text-secondary);
  font-size: 16px;
}

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

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

.sub {
  color: var(--accent-orange);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  display: inline-block;
  margin-bottom: 12px;
}

.badge {
  background: rgba(0, 164, 158, 0.05);
  border: 1px solid rgba(0, 164, 158, 0.2);
  color: var(--accent-orange);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- Top Info Bar --- */
.top-bar {
  background-color: var(--accent-blue);
  color: #E2E8F0;
  height: 44px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-left i {
  color: var(--accent-orange);
}

.top-bar-left .separator {
  opacity: 0.3;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-link {
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.phone-link:hover {
  color: var(--accent-orange);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), #00BFB7);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 164, 158, 0.4);
}

.btn-primary:disabled {
  background: #CBD5E1;
  color: #94A3B8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: white;
  border: 1.5px solid var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(11, 37, 69, 0.03);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --- Header / Navigation --- */
.main-header {
  position: fixed;
  top: 44px; /* Offset for top-bar */
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 90px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

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

.logo-container {
  display: flex;
  align-items: center;
  height: 80px;
}

.header-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: var(--transition);
}

.header-logo:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}

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

.contact-btn {
  background: white;
  border: 1.5px solid var(--accent-orange);
  color: var(--accent-orange);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.contact-btn:hover {
  background: var(--accent-orange);
  color: white;
  box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent-blue);
  font-size: 24px;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 200px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 164, 158, 0.08) 0%, transparent 70%);
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.hero-content h1 {
  font-size: 58px;
  font-weight: 800;
  margin-top: 15px;
  margin-bottom: 24px;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 19px;
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  z-index: 3;
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 30px 60px rgba(11, 37, 69, 0.15);
  display: block;
}

.card-accent-border {
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border: 1.5px solid var(--accent-orange);
  border-radius: 20px;
  z-index: 2;
  opacity: 0.3;
  pointer-events: none;
}

.floating-tag {
  position: absolute;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  border: 1px solid rgba(11, 37, 69, 0.06);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(11, 37, 69, 0.08);
  z-index: 4;
  animation: float-anim 5s ease-in-out infinite;
}

.tag-diagnose {
  bottom: 40px;
  left: -40px;
  animation-delay: 0s;
}

.tag-warranty {
  top: 40px;
  right: -40px;
  animation-delay: 2.5s;
}

.tag-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 164, 158, 0.06);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 20px;
}

.tag-warranty .tag-icon {
  background: rgba(11, 37, 69, 0.06);
  color: var(--accent-blue);
}

.floating-tag h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 2px;
}

.floating-tag p {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Brand Slider Section --- */
.brand-slider-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: white;
}

.brand-slider-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 25px;
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  animation: scrollMarquee 35s linear infinite;
}

.brand-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-blue);
  filter: grayscale(100%);
  opacity: 0.6;
  margin: 0 30px;
  transition: var(--transition);
}

.brand-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Stats Section --- */
.stats-section {
  padding: 60px 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border-color);
}

.stat-card:last-child {
  border-right: none;
}

.stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1.1;
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Services Section --- */
.services-section {
  position: relative;
}

.section-desc {
  max-width: 600px;
  margin: 15px auto 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2x2 Grid for cleaner layout */
  gap: 30px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(0, 164, 158, 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card {
  display: flex;
  gap: 25px;
  text-align: left;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 164, 158, 0.05);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent-orange);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 164, 158, 0.05);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(19, 64, 116, 0.05);
  color: var(--accent-blue-light);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(11, 37, 69, 0.05);
  color: var(--accent-blue);
}

.service-card:nth-child(4) .service-icon {
  background: rgba(0, 164, 158, 0.05);
  color: var(--accent-orange);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--accent-blue);
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* --- Programas e Instalaciones Section --- */
.software-showcase {
  margin-top: 60px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 50px 40px;
  box-shadow: var(--shadow-md);
}

.software-showcase h4 {
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
  color: var(--accent-blue);
}

.software-sub-text {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.software-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg-dark);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
}

.software-badge i {
  font-size: 28px;
  flex-shrink: 0;
}

.sw-details {
  display: flex;
  flex-direction: column;
}

.sw-details strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-blue);
}

.sw-details span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Software Specific Colors */
.sw-win i { color: #0078D4; }
.sw-off i { color: #D83B01; }
.sw-adobe i { color: #FF0000; }
.sw-cad i { color: #E50914; }
.sw-chrome i { color: #4285F4; }
.sw-sec i { color: #10B981; }
.sw-drivers i { color: #64748B; }

.software-badge:hover {
  transform: translateY(-2px);
  background: white;
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

/* --- Quote Calculator Section --- */
.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.quote-info h2 {
  font-size: 38px;
  margin-bottom: 24px;
}

.quote-info p {
  font-size: 17px;
  margin-bottom: 30px;
}

.trust-pill-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-blue);
}

.trust-pill i {
  color: var(--accent-orange);
  font-size: 18px;
}

.quote-card {
  padding: 40px;
  background: white;
  border: 1px solid rgba(11, 37, 69, 0.08);
  box-shadow: var(--shadow-lg);
}

.quote-card h3 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--accent-blue);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  height: 52px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--border-radius-sm);
  color: var(--text-main);
  padding: 0 16px;
  font-size: 15px;
  font-family: var(--font-family);
  font-weight: 500;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-orange);
  background: white;
  box-shadow: 0 0 12px rgba(0, 164, 158, 0.08);
}

.form-control:disabled {
  background: #F1F5F9;
  color: var(--text-muted);
  cursor: not-allowed;
}

/* --- Price Display Box --- */
.price-display-box {
  background: rgba(0, 164, 158, 0.02);
  border: 1.5px dashed rgba(0, 164, 158, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  text-align: center;
  margin-bottom: 25px;
  opacity: 0.5;
  transition: var(--transition);
  transform: scale(0.98);
}

.price-display-box.active {
  opacity: 1;
  background: rgba(0, 164, 158, 0.06);
  border-color: var(--accent-orange);
  transform: scale(1);
}

.price-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.price-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent-orange);
  margin: 5px 0;
}

.price-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* --- Repair Tracker Section --- */
.tracker-card-container {
  display: flex;
  justify-content: center;
}

.tracker-card {
  width: 100%;
  max-width: 750px;
  padding: 40px;
  background: white;
  border: 1px solid rgba(11, 37, 69, 0.08);
  box-shadow: var(--shadow-md);
}

.tracker-input-row {
  display: flex;
  gap: 15px;
}

.tracker-input {
  flex-grow: 1;
  height: 55px;
  font-size: 16px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
}

.tracker-input::placeholder {
  text-transform: none;
  font-weight: 400;
}

.tracker-error-msg {
  color: #EF4444;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
  display: none;
}

.tracker-result {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: none;
}

.device-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.device-info-header h4 {
  font-size: 20px;
  color: var(--accent-blue);
}

.badge-status {
  background: var(--accent-blue);
  color: white;
  border: none;
  font-size: 14px;
}

/* --- Timeline Layout --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: #E2E8F0;
  z-index: 1;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: #F1F5F9;
  border: 2px solid #CBD5E1;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-weight: 800;
  font-size: 16px;
  transition: var(--transition);
}

.step-content h5 {
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--text-secondary);
}

.step-content p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Active states for timeline steps */
.timeline-step.completed .step-num {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
  box-shadow: var(--shadow-glow-blue);
}

.timeline-step.completed .step-content h5 {
  color: var(--accent-blue);
}

.timeline-step.current .step-num {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
  box-shadow: var(--shadow-glow);
}

.timeline-step.current .step-content h5 {
  color: var(--accent-orange);
}

/* --- Wholesale Section --- */
.wholesale-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.wholesale-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wholesale-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.flyer-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  z-index: 3;
  transition: var(--transition);
}

.flyer-card-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
}

.flyer-showcase-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(11, 37, 69, 0.12);
  display: block;
}

.wholesale-content h2 {
  font-size: 38px;
  margin-bottom: 20px;
}

.wholesale-content p {
  font-size: 17px;
  margin-bottom: 35px;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--accent-blue);
  color: white;
  padding: 80px 0 30px 0;
}

.main-footer h3, .main-footer h4, .main-footer p {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-info h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 25px;
  color: #E2E8F0;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.social-icons a:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.footer-grid h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
  border-left: 3px solid var(--accent-orange);
  padding-left: 10px;
}

.footer-hours p, .footer-contact p {
  margin-bottom: 15px;
  font-size: 15px;
  color: #CBD5E1;
}

.footer-contact i {
  color: var(--accent-orange);
  margin-right: 10px;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #94A3B8;
}

/* --- Smart Floating WhatsApp Widget --- */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.wa-trigger-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50px;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: var(--transition);
}

.wa-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #EF4444;
  color: white;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.wa-chat-box {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background: white;
  border: 1px solid rgba(11, 37, 69, 0.08);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 45px rgba(11, 37, 69, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-chat-box.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-chat-header {
  background: var(--accent-blue);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.wa-chat-header h4 {
  color: white;
}

.wa-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  position: relative;
}

.online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50px;
  border: 2px solid var(--accent-blue);
}

.wa-header-text h4 {
  font-size: 15px;
  font-weight: 800;
}

.wa-header-text p {
  font-size: 11px;
  color: #CBD5E1;
}

.wa-close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #CBD5E1;
  font-size: 18px;
  cursor: pointer;
}

.wa-close-btn:hover {
  color: white;
}

.wa-chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #F8FAFC;
}

.wa-message {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  max-width: 85%;
}

.bot-msg {
  background: white;
  color: var(--text-secondary);
  border-bottom-left-radius: 2px;
  border: 1px solid #E2E8F0;
}

.wa-quick-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-opt-btn {
  width: 100%;
  padding: 12px;
  background: rgba(0, 164, 158, 0.05);
  border: 1px solid rgba(0, 164, 158, 0.15);
  color: var(--accent-blue);
  border-radius: 10px;
  text-align: left;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.wa-opt-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-actions {
    justify-content: center;
  }
  .floating-card {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .quote-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wholesale-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .wholesale-graphic {
    order: 2;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }
  .timeline::before {
    display: none;
  }
  .timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }
  .step-num {
    margin: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .stat-card:nth-child(even) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Controlled by JS for hamburger */
  }
  .mobile-menu-btn {
    display: block;
  }
  .main-header {
    height: 70px;
    top: 0; /* Align to top on mobile */
  }
  .top-bar {
    display: none; /* Hide top bar on mobile for compactness */
  }
  .hero-section {
    padding-top: 120px;
  }
  .tracker-input-row {
    flex-direction: column;
  }
}

/* --- Scroll Animations & Enhancements --- */
.main-header.scrolled {
  top: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: rgba(255, 255, 255, 0.95);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tracker Loading Spinner */
#tracker-loading {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--accent-blue);
  font-weight: 600;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 71, 143, 0.2);
  border-left-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Interactive Catalog Gallery --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.filter-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
  box-shadow: var(--shadow-glow-blue);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.gallery-item {
  width: calc(25% - 18.75px);
  transition: var(--transition);
}

.gallery-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 164, 158, 0.2);
}

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 69, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.zoom-icon {
  background: var(--accent-orange);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-glow);
}

.gallery-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-info h4 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--accent-blue);
}

.gallery-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
}

/* --- Lightbox Modal Overlay --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 37, 69, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: lightbox-anim 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes lightbox-anim {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.lightbox-img, #lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: #CBD5E1;
  font-size: 40px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10002;
}

.lightbox-close:hover {
  color: white;
  transform: rotate(90deg);
}

.lightbox-caption {
  color: #E2E8F0;
  margin-top: 15px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-align: center;
}

/* --- Responsive updates for Gallery --- */
@media (max-width: 1200px) {
  .gallery-item {
    width: calc(33.333% - 16.66px);
  }
}

@media (max-width: 768px) {
  .gallery-item {
    width: calc(50% - 12.5px);
  }
}

@media (max-width: 480px) {
  .gallery-item {
    width: 100%;
  }
}
 
 
/* --- Testimonials Section --- */
.testimonials-section {
  background-color: var(--bg-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.testimonial-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.testimonial-card .stars {
  color: #FFB800;
  font-size: 1.2rem;
}
.testimonial-card p {
  font-style: italic;
  color: var(--text-dark);
  flex-grow: 1;
}
.client-info {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}
.client-info strong {
  color: var(--primary-dark);
}
.client-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
