/* ============================================================
   ASCENSORES CONFORT CALI S.A.S. — Design System
   Premium Dark Mode with Cyan Accents
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --color-bg-primary: #050508;
  --color-bg-secondary: #0a0e17;
  --color-bg-tertiary: #0d1b2a;
  --color-bg-card: rgba(13, 27, 42, 0.55);
  --color-bg-card-hover: rgba(0, 180, 216, 0.08);
  --color-bg-glass: rgba(255, 255, 255, 0.04);
  --color-bg-glass-border: rgba(255, 255, 255, 0.08);

  --color-cyan: #00b4d8;
  --color-cyan-light: #48cae4;
  --color-cyan-dark: #0096c7;
  --color-cyan-glow: rgba(0, 180, 216, 0.35);
  --color-cyan-subtle: rgba(0, 180, 216, 0.12);

  --color-text-primary: #f0f4f8;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-text-accent: #48cae4;

  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(0, 180, 216, 0.3);

  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --fs-display: clamp(2.8rem, 6vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.2rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 8rem);
  --section-px: clamp(1rem, 3vw, 2rem);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--color-cyan-glow);
  --shadow-glow-sm: 0 0 15px rgba(0, 180, 216, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-navbar: 1000;
  --z-chatbot: 1050;
  --z-whatsapp: 1040;
  --z-overlay: 1100;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan-dark);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.section-title {
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title span {
  color: var(--color-cyan);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

a {
  color: var(--color-cyan-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-cyan);
}

/* ---------- Utility Classes ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-section {
  background: linear-gradient(180deg,
    var(--color-bg-primary) 0%,
    var(--color-bg-secondary) 50%,
    var(--color-bg-primary) 100%);
}

.bg-gradient-dark {
  background: linear-gradient(180deg,
    var(--color-bg-secondary) 0%,
    var(--color-bg-tertiary) 50%,
    var(--color-bg-secondary) 100%);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--color-cyan-glow), 0 0 40px rgba(0, 180, 216, 0.1);
  }
  50% {
    box-shadow: 0 0 30px var(--color-cyan-glow), 0 0 60px rgba(0, 180, 216, 0.2);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(0, 180, 216, 0.15);
  }
  50% {
    border-color: rgba(0, 180, 216, 0.4);
  }
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Reveal animation classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* ---------- NAVBAR ---------- */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  padding: 1rem 0;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-custom .navbar-brand img {
  height: 42px;
  transition: height var(--transition-base);
}
.navbar-custom.scrolled .navbar-brand img {
  height: 36px;
}

.navbar-custom .nav-link {
  color: #334155 !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--color-cyan-dark) !important;
  background: rgba(0, 180, 216, 0.08);
}

.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-cyan);
  border-radius: var(--radius-full);
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  color: #fff !important;
  border: none;
  padding: 0.55rem 1.5rem !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow-sm);
}
.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, var(--color-cyan-light), var(--color-cyan));
}

/* Mobile Menu */
.navbar-custom .navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-custom .navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.25);
}
.navbar-custom .navbar-toggler-icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(51, 65, 85, 0.85)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

@media (max-width: 991.98px) {
  #mobileMenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: var(--z-navbar);
  }
  
  #mobileMenu .nav-link {
    display: block;
    padding: 0.6rem 1rem !important;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }
  
  #mobileMenu .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 8, 0.6) 0%,
    rgba(5, 5, 8, 0.3) 40%,
    rgba(5, 5, 8, 0.7) 80%,
    rgba(5, 5, 8, 1) 100%
  );
  z-index: 1;
}

/* Animated lines / decorative element */
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--color-cyan-glow), transparent);
  animation: float 6s ease-in-out infinite;
}
.hero-lines::before {
  left: 15%;
  animation-delay: 0s;
  opacity: 0.3;
}
.hero-lines::after {
  right: 20%;
  animation-delay: 3s;
  opacity: 0.2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-cyan-subtle);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: var(--color-cyan-light);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge i {
  font-size: 0.8rem;
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.15s both;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.3s both;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow-sm);
  cursor: pointer;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-glass);
  color: var(--color-text-primary);
  border: 1px solid var(--color-bg-glass-border);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.btn-hero-secondary:hover {
  background: var(--color-cyan-subtle);
  border-color: var(--color-border-hover);
  color: var(--color-text-primary);
  transform: translateY(-3px);
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stat h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-cyan);
  margin-bottom: 0.2rem;
}
.hero-stat p {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  margin: 0;
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .hero-stat h3 {
    font-size: 1.4rem;
  }
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  padding: var(--section-py) 0;
  position: relative;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), var(--shadow-glow-sm);
  background: var(--color-bg-card-hover);
}

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-img .service-icon {
  position: absolute;
  bottom: -22px;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: var(--shadow-glow-sm);
  z-index: 2;
}

.service-card-body {
  padding: 2rem 1.5rem 1.5rem;
}

.service-card-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--color-text-primary);
}

.service-card-body p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-cyan);
  font-weight: 600;
  font-size: var(--fs-small);
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.service-link:hover {
  gap: 0.7rem;
  color: var(--color-cyan-light);
}

/* ---------- STATS / EXPERIENCE SECTION ---------- */
.stats-section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-cyan-glow) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-sm);
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  background: var(--color-cyan-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-cyan);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  font-weight: 500;
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
  padding: var(--section-py) 0;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: brightness(0.85) saturate(1.1);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  pointer-events: none;
}

.about-experience-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-cyan);
  display: block;
  line-height: 1;
}
.about-experience-badge .label {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
}

.about-text h3 {
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-features {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.6rem 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.about-features li i {
  color: var(--color-cyan);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ---------- BENEFITS SECTION ---------- */
.benefits-section {
  padding: var(--section-py) 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  height: 100%;
}

.benefit-item:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-cyan-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-cyan);
}

.benefit-item h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.benefit-item p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  margin: 0;
  line-height: 1.6;
}

/* ---------- CONTACT / CTA SECTION ---------- */
.contact-section {
  padding: var(--section-py) 0;
  position: relative;
}

.contact-form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-cyan-light), var(--color-cyan));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-control-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control-dark:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
  color: var(--color-text-primary);
  outline: none;
}

.form-control-dark::placeholder {
  color: var(--color-text-muted);
}

.form-label-dark {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-select-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  appearance: auto;
}
.form-select-dark:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
  outline: none;
}
.form-select-dark option {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-base);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.contact-info-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--color-border-hover);
}

.contact-info-card .icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--color-cyan-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-size: 1.1rem;
}

.contact-info-card h6 {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  color: var(--color-text-primary);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- EMERGENCY BANNER ---------- */
.emergency-banner {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.emergency-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.emergency-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-warning), var(--color-danger), var(--color-warning));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.emergency-card h4 {
  color: var(--color-warning);
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}

.emergency-card .schedule {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.emergency-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.emergency-phone-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--color-text-primary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.emergency-phone-tag:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}
.emergency-phone-tag i {
  color: var(--color-danger);
}

/* ---------- FOOTER ---------- */
.footer-section {
  padding: 4rem 0 0;
  background: #ffffff;
  color: #0f172a;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #475569;
  font-size: var(--fs-small);
  max-width: 300px;
  line-height: 1.7;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
  color: #475569;
  font-size: var(--fs-small);
}

.footer-links a {
  color: #475569;
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--color-cyan-dark);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-cyan-subtle);
  border-color: var(--color-cyan);
  color: var(--color-cyan-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: var(--fs-xs);
  margin: 0;
}

/* ---------- WHATSAPP BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-whatsapp);
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float .tooltip-text {
  position: absolute;
  right: 70px;
  background: rgba(5, 5, 8, 0.9);
  color: var(--color-text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  border: 1px solid var(--color-border);
}
.whatsapp-float:hover .tooltip-text {
  opacity: 1;
}

/* ---------- CHATBOT WIDGET ---------- */
.chatbot-trigger {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-chatbot);
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  animation: glowPulse 3s ease-in-out infinite;
}
.chatbot-trigger:hover {
  transform: scale(1.1);
}
.chatbot-trigger .badge-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  background: var(--color-danger);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-primary);
}

.chatbot-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 380px;
  max-height: 520px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-chatbot);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
}

.chatbot-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--color-cyan-dark), var(--color-bg-tertiary));
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--color-border);
}

.chatbot-header .avatar {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}

.chatbot-header .info h6 {
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
}
.chatbot-header .info span {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
}

.chatbot-header .close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.3rem;
  transition: color var(--transition-fast);
}
.chatbot-header .close-btn:hover {
  color: #fff;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 280px;
  max-height: 350px;
}

.chat-msg {
  max-width: 85%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  line-height: 1.6;
  animation: fadeInUp 0.3s ease;
}

.chat-msg.bot {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg .quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.quick-action-btn {
  background: var(--color-cyan-subtle);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: var(--color-cyan-light);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.quick-action-btn:hover {
  background: rgba(0, 180, 216, 0.2);
}

.chatbot-input {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 0.5rem;
}

.chatbot-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-primary);
  padding: 0.6rem 1rem;
  font-size: var(--fs-small);
  outline: none;
  transition: border-color var(--transition-fast);
}
.chatbot-input input:focus {
  border-color: var(--color-cyan);
}
.chatbot-input input::placeholder {
  color: var(--color-text-muted);
}

.chatbot-input button {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-dark));
  border: none;
  border-radius: var(--radius-full);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.chatbot-input button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-sm);
}

@media (max-width: 480px) {
  .chatbot-panel {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 5rem;
    max-height: 70vh;
  }
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}
