/* ==========================================
   SKYGLOSS COLOMBIA — MAIN STYLESHEET
   ========================================== */

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

/* ---- VARIABLES ---- */
:root {
  --blue: #00AEEF;
  --blue-dark: #0088bb;
  --blue-glow: rgba(0, 174, 239, 0.2);
  --blue-glow-strong: rgba(0, 174, 239, 0.4);
  --bg: #ffffff;
  --bg-secondary: #f4f9fd;
  --card-bg: #ffffff;
  --card-bg2: #ecf4fa;
  --border: rgba(0, 174, 239, 0.15);
  --border-hover: rgba(0, 174, 239, 0.45);
  --text: #0a1628;
  --text-muted: #4a6080;
  --text-subtle: #8ba0b8;
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --blue-dark-solid: #003366;
  --blue-dark-soft: rgba(0, 51, 102, 0.3);
}

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

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

::selection {
  background: var(--blue);
  color: #fff;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

/* ==========================================
   NAVIGATION
   ========================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: var(--transition);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 159, 227, 0.12);
  box-shadow: 0 4px 24px rgba(0, 100, 180, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  filter: brightness(1) invert(0);
  /* White/Original at top */
  transition: var(--transition);
}

#navbar.scrolled .nav-logo img {
  filter: brightness(0) contrast(1.5);
  /* Black on scroll */
}

.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  /* White at top */
  transition: var(--transition);
}

#navbar.scrolled .nav-logo-text {
  color: var(--text);
  /* Dark on scroll */
}

.nav-logo-text span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  /* White at top */
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

#navbar.scrolled .nav-links a {
  color: var(--text);
  /* Dark on scroll */
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 0 20px var(--blue-glow);
}

.nav-cta:hover {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 0 30px var(--blue-glow-strong);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  /* White at top */
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .hamburger span {
  background: var(--text);
  /* Dark on scroll */
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 159, 227, 0.12);
  padding: 24px 5%;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: #4a6080;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 159, 227, 0.1);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--blue);
}

.mobile-menu .nav-cta {
  border: none;
  text-align: center;
  margin-top: 8px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050505;
  /* Black background for the overlay to fade into */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/Product%20Photos/A52I5744.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  /* Slightly less opaque for better dark contrast */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.8) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-10vh) scale(1.5);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 60px 5% 20px;
  /* Further reduced vertical padding */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  /* Light glass effect for dark bg */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
  animation: fade-up 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #fff;
  /* White title for high contrast */
  animation: fade-up 0.8s 0.1s ease both;
}

.hero-title em {
  font-style: italic;
  color: var(--blue);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  /* Faded white for subtitle */
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 32px;
  animation: fade-up 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.3s ease both;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 0 30px var(--blue-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--blue-glow-strong);
  background: #00b8ff;
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1.5px solid rgba(0, 159, 227, 0.15);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0, 100, 180, 0.05);
}

.btn-secondary:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--blue);
}

/* Specific Hero Dark Version */
#hero .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

#hero .btn-secondary:hover {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 24px;
  padding: 0;
  /* Removed background and padding */
  animation: fade-up 0.8s 0.4s ease both;
  flex-wrap: wrap;
  width: fit-content;
}

.hero-stat {
  position: relative;
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  animation: fade-up 1s 0.8s ease both;
}

.scroll-bar {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
}

/* Hero Signature - Factory Forever */
.hero-signature {
  position: absolute;
  top: 45%;
  right: 5%;
  width: 280px;
  max-width: 40%;
  height: auto;
  transform: rotate(-8deg);
  opacity: 0.9;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 0 10px rgba(0, 159, 227, 0.4));
}

/* Hero Bottom Waves */
.hero-waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-waves svg {
  display: block;
  width: 100%;
  height: 150px;
}

@media (max-width: 768px) {
  .hero-signature {
    top: 35%;
    right: 2%;
    width: 160px;
  }

  .hero-waves svg {
    height: 80px;
  }
}

/* ==========================================
   SECTION SHARED
   ========================================== */
section {
  padding: 100px 5%;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-dark), #00d2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

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

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

.text-center .section-label {
  justify-content: center;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
#services {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 159, 227, 0.12);
}

#services::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 159, 227, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 2px 16px rgba(0, 100, 180, 0.07);
  --x: 50%;
  --y: 50%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--x) var(--y), rgba(0, 174, 239, 0.15) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 5;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 159, 227, 0.18);
}

/* Glass/gloss shine overlay */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 10;
  pointer-events: none;
}

.service-card:hover::after {
  left: 150%;
}

.service-card-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-card-visual .grad {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-large {
  font-size: 4rem;
  filter: drop-shadow(0 0 20px var(--blue));
  transition: var(--transition);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-card:hover .service-icon-large {
  transform: scale(1.1);
  filter: drop-shadow(0 0 40px var(--blue));
}

/* Individual card backgrounds */
.card-fusion .grad {
  background: linear-gradient(135deg, #030d15 0%, #011c2e 40%, #004d7a 100%);
}

.card-resin .grad {
  background: linear-gradient(135deg, #030d10 0%, #011818 40%, #003353 100%);
}

.card-shine .grad {
  background: linear-gradient(135deg, #060614 0%, #0a0a2a 40%, #1a1a5e 100%);
}

.card-ppf .grad {
  background: linear-gradient(135deg, #030913 0%, #05101f 40%, #00264d 100%);
}

.card-mate .grad {
  background: linear-gradient(135deg, #050505 0%, #1a1a1a 40%, #333333 100%);
}

.card-seal .grad {
  background: linear-gradient(135deg, #001a1a 0%, #00334d 40%, #0099cc 100%);
}

.service-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-card-body {
  padding: 28px;
}

.service-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.service-card-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.88rem;
  color: #4a6080;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4a6080;
}

.service-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}

.service-card-link:hover {
  gap: 14px;
}

/* ==========================================
   WHY SECTION
   ========================================== */
#why {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid rgba(0, 159, 227, 0.12);
}

#why::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 159, 227, 0.12);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 100, 180, 0.06);
}

.why-feature:hover {
  border-color: var(--blue);
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(0, 159, 227, 0.15);
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 159, 227, 0.1);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-feature:hover .why-feature-icon {
  background: var(--blue);
  box-shadow: 0 0 20px var(--blue-glow);
}

.why-feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-feature-desc {
  font-size: 0.85rem;
  color: #4a6080;
  line-height: 1.6;
}

.why-visual {
  position: relative;
}

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 159, 227, 0.12);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 100, 180, 0.06);
}

.metric-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(0, 159, 227, 0.18);
}

.metric-card:first-child {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0077b6, #009fe3);
  border-color: var(--blue);
}

.metric-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-card:first-child .metric-number {
  font-size: 3.5rem;
  color: #fff;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a6080;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================
   INTERACTIVE MAP
   ========================================== */
#map-section {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 159, 227, 0.12);
}

.map-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.city-filter {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.city-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.city-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 159, 227, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: left;
  transition: var(--transition);
  color: #4a6080;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 1px 8px rgba(0, 100, 180, 0.05);
}

.city-btn:hover,
.city-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 159, 227, 0.05);
  box-shadow: 0 4px 16px rgba(0, 159, 227, 0.12);
}

.city-btn .city-dot {
  width: 8px;
  height: 8px;
  background: var(--text-subtle);
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition);
}

.city-btn.active .city-dot {
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

/* Sede Tags (Shared) */
.sede-tag {
  background: rgba(0, 159, 227, 0.1);
  border: 1px solid rgba(0, 159, 227, 0.15);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 159, 227, 0.15);
  height: 480px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 100, 180, 0.1);
}

#leaflet-map {
  width: 100%;
  height: 100%;
  background: var(--card-bg);
}

/* Leaflet light overrides */
.premium-popup {
  display: none !important;
}

/* Sede Info Card (Floating Overlay) */
.map-wrapper {
  position: relative;
  overflow: visible !important;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 159, 227, 0.15);
  height: 520px;
  /* Restored and slightly increased for better impact */
  box-shadow: 0 4px 24px rgba(0, 100, 180, 0.1);
}

#leaflet-map {
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  border-radius: inherit;
}

.sede-info-card {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 300px;
  max-height: calc(100% - 32px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 24px;
  z-index: 1000;
  box-shadow: 0 25px 60px rgba(0, 100, 180, 0.25);
  display: none;
  border: 1px solid rgba(0, 159, 227, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(20px);
}

.sede-info-card.visible {
  display: block;
  transform: translateX(0);
  animation: float-slide-in 0.5s ease forwards;
}

@keyframes float-slide-in {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sede-info-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.sede-info-close:hover {
  color: var(--blue);
}

.sede-info-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--text);
}

.sede-info-city {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sede-info-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.sede-info-schedule {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 768px) {
  .sede-info-card {
    top: auto;
    bottom: 20px;
    right: 20px;
    left: 20px;
    width: auto;
    padding: 24px;
    transform: translateY(20px);
  }

  .sede-info-card.visible {
    transform: translateY(0);
    animation: float-slide-up 0.5s ease forwards;
  }
}

@keyframes float-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   WARRANTY SECTION
   ========================================== */
#warranty {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid rgba(0, 159, 227, 0.12);
}

#warranty::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.warranty-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.warranty-form-box {
  background: var(--card-bg);
  border: 1px solid rgba(0, 159, 227, 0.15);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 100, 180, 0.08);
}

.warranty-form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.warranty-input-group {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.warranty-input {
  flex: 1;
  background: #f4f8fc;
  border: 1px solid rgba(0, 159, 227, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #0a1628;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition);
  outline: none;
}

.warranty-input::placeholder {
  color: #8ba0b8;
}

.warranty-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 20px var(--blue-glow);
}

.warranty-btn {
  background: var(--blue);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.warranty-btn:hover {
  background: #00b8ff;
  box-shadow: 0 0 20px var(--blue-glow);
  transform: translateY(-2px);
}

.warranty-hint {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 12px;
  text-align: left;
}

.warranty-result {
  background: var(--card-bg);
  border: 1px solid rgba(0, 159, 227, 0.15);
  border-radius: var(--radius);
  padding: 32px;
  animation: fade-up 0.5s ease;
  display: none;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0, 100, 180, 0.08);
}

.warranty-result.visible {
  display: block;
}

.warranty-result.valid {
  border-color: #22c55e;
}

.warranty-result.invalid {
  border-color: #ef4444;
}

.warranty-result.expired {
  border-color: #f59e0b;
}

.warranty-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge-valid {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-invalid {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-expired {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.warranty-result-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.warranty-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.warranty-detail-item {
  background: #f4f8fc;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid rgba(0, 159, 227, 0.08);
}

.warranty-detail-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.warranty-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.warranty-progress {
  margin-top: 20px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.progress-bar {
  height: 6px;
  background: #dce9f5;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #22c55e);
  transition: width 1s ease;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
#testimonials {
  background: var(--blue);
}

#testimonials .section-title em {
  background: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

#testimonials .section-label {
  color: #ffffff;
}

#testimonials .section-label::before {
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 100, 180, 0.06);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(0, 159, 227, 0.12);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0, 159, 227, 0.08);
  line-height: 1;
  font-family: serif;
}

.testimonial-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 159, 227, 0.15);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star {
  color: var(--blue);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #4a6080;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.author-city {
  font-size: 0.75rem;
  color: #8ba0b8;
}

.author-service {
  font-size: 0.7rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
#cta {
  text-align: center;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 159, 227, 0.12);
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23009fe3' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#cta .section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  color: var(--text);
}

#cta .section-subtitle {
  margin-bottom: 40px;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.cta-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
  background: #20c05a;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--bg);
  border-top: 1px solid rgba(0, 159, 227, 0.12);
  padding: 60px 5% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 24px;
}

/* Connect certification wave to footer when adjacent (ex: subpages) */
#certification + footer {
  background: var(--blue);
  border-top: none;
}

#certification + footer .footer-brand-desc,
#certification + footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.8) !important;
}

#certification + footer .footer-col-title,
#certification + footer .footer-links li a {
  color: #ffffff !important;
}

#certification + footer .footer-links li a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-contact-item span:first-child {
  color: var(--blue);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 159, 227, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid rgba(0, 159, 227, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  color: var(--text-muted);
}

.social-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 15px var(--blue-glow);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

.reveal-delay-7 {
  transition-delay: 0.7s;
}

.reveal-delay-8 {
  transition-delay: 0.8s;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .map-container {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    height: 360px;
  }

  .city-selector {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 72px 5%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .warranty-input-group {
    flex-direction: column;
  }

  .warranty-result-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .warranty-form-box {
    padding: 32px 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.spinner.active {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================
   VISUAL ENHANCEMENTS
   ========================================== */

/* ── Smooth reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── Hero title gradient text ── */
.hero-title em {
  background: linear-gradient(135deg, #00AEEF 0%, #00d4ff 50%, #00AEEF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ── Service card: shimmer top line ── */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover::after {
  opacity: 1;
}

/* ── Service card icons + subtle inner glow on hover ── */
.service-card:hover .grad {
  filter: brightness(1.15);
}

/* ── Section divider — decorative wave line ── */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 159, 227, 0.3), var(--blue), rgba(0, 159, 227, 0.3), transparent);
  margin: 0;
}

/* ── Metric cards glow on hover ── */
.metric-card {
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 159, 227, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-card .metric-number {
  background: linear-gradient(135deg, var(--blue), #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-card:first-child .metric-number {
  background: linear-gradient(135deg, #fff, #e0f7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Why Feature Icons ── */
.why-feature-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 100, 180, 0.04);
}

.why-feature:hover .why-feature-icon {
  background: var(--blue);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px var(--blue-glow);
  border-color: var(--blue);
}

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 250px;
  }
}

.why-feature {
  position: relative;
}

.why-feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.why-feature:hover::before {
  opacity: 1;
}

/* ── Testimonial card: animated star glow ── */
.testimonial-card:hover .star {
  animation: starPop 0.4s ease forwards;
}

@keyframes starPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
    color: #00d4ff;
  }

  100% {
    transform: scale(1);
  }
}

.testimonial-card:hover .star:nth-child(1) {
  animation-delay: 0s;
}

.testimonial-card:hover .star:nth-child(2) {
  animation-delay: 0.05s;
}

.testimonial-card:hover .star:nth-child(3) {
  animation-delay: 0.1s;
}

.testimonial-card:hover .star:nth-child(4) {
  animation-delay: 0.15s;
}

.testimonial-card:hover .star:nth-child(5) {
  animation-delay: 0.2s;
}

/* ── CTA: dramatic orbs ── */
#cta {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #e8f4fd 100%);
}

#cta::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.07) 0%, transparent 70%);
  bottom: -200px;
  right: -200px;
  pointer-events: none;
}

/* ── CTA WhatsApp button pulse ring ── */
.cta-whatsapp {
  position: relative;
}

.cta-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.04);
    opacity: 0;
  }
}

/* ── Back to Top Button ── */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

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

.back-to-top:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 159, 227, 0.3);
}

/* ── Map section: visible sidebar scrollbar ── */
.city-selector::-webkit-scrollbar {
  width: 4px;
}

.city-selector::-webkit-scrollbar-track {
  background: transparent;
}

.city-selector::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 2px;
}

/* ── Floating decorative grid on #services ── */
#services::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Section title underline accent ── */
.section-title {
  position: relative;
}

/* ── Nav CTA shimmer ── */
.nav-cta {
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-cta:hover::after {
  left: 150%;
}

/* ── Hero stats: number glow ── */
.hero-stat-number {
  text-shadow: 0 0 30px rgba(0, 174, 239, 0.3);
}

/* ── Scroll progress indicator ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #00d4ff);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0, 174, 239, 0.6);
}

/* ── Floating Glow Blobs ── */
.glow-blob {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  animation: blob-float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
  background: var(--blue);
  top: -100px;
  right: -100px;
}

.blob-2 {
  background: #00d2ff;
  bottom: 10%;
  left: -200px;
  animation-delay: -5s;
  animation-duration: 25s;
}

.blob-3 {
  background: var(--blue-dark);
  top: 40%;
  right: -200px;
  width: 400px;
  height: 400px;
  animation-delay: -10s;
  animation-duration: 30s;
}

@keyframes blob-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(100px, 50px) scale(1.1);
  }

  66% {
    transform: translate(-50px, 100px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

#certification {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* ── Certification Section ── */
.certification-section {
  position: relative;
  padding: 140px 24px;
  background: url('../images/Product%20Photos/A52I6747.jpg') center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100% !important;
  margin: 0;
  border-radius: 0;
}

.certification-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23009fe3' fill-opacity='0.15' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,122.7C960,149,1056,203,1152,213.3C1248,224,1344,192,1392,176L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3Cpath fill='%23009fe3' fill-opacity='0.3' d='M0,160L48,149.3C96,139,192,117,288,122.7C384,128,480,160,576,170.7C672,181,768,171,864,149.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 50%, rgba(10, 20, 38, 0.4), rgba(10, 20, 38, 0.85));
  background-size: 100% 45px, 100% 100%;
  background-position: top center, center center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}


#gallery {
  background: rgba(0, 159, 227, 0.08) !important;
}

.certification-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%2300aeef' fill-opacity='0.4' d='M0,224L48,224C96,224,192,224,288,208C384,192,480,160,576,149.3C672,139,768,149,864,170.7C960,192,1056,224,1152,245.3C1248,267,1344,277,1392,282.7L1440,288L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3Cpath fill='%2300aeef' fill-opacity='0.6' d='M0,192L48,208C96,224,192,256,288,250.7C384,245,480,203,576,181.3C672,160,768,160,864,181.3C960,203,1056,245,1152,256C1248,267,1344,245,1392,234.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3Cpath fill='%2300aeef' fill-opacity='1' d='M0,288L48,272C96,256,192,224,288,213.3C384,203,480,213,576,213.3C672,213,768,203,864,197.3C960,192,1056,192,1152,208C1248,224,1344,256,1392,272L1440,288L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 3;
  pointer-events: none;
}

.cert-card {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.cert-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 174, 239, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.cert-card h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
}

.cert-card h2 em {
  font-style: italic;
  color: var(--blue);
}

.cert-card p {
  color: #fff;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.9;
}

.btn-cert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  /* WhatsApp Green */
  color: #fff;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-cert:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
  background: #20BA56;
}

@media (max-width: 640px) {
  .certification-section {
    padding: 60px 16px;
  }

  .cert-card {
    padding: 32px 24px;
  }

  .cert-card h2 {
    font-size: 1.8rem;
  }
}

/* ==========================================
   NEON & TALLER EFFECTS
   ========================================== */

/* Neon Glow for Principal Sedes (Prioritizing Medellín and Bogotá) */
.city-btn.principal.neon-glow {
  position: relative;
  border: 1.5px solid var(--blue) !important;
  box-shadow: 0 0 15px var(--blue-glow);
  animation: neon-pulse 2.5s infinite;
  z-index: 2;
}

@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 15px var(--blue-glow); transform: scale(1); }
  50% { box-shadow: 0 0 30px var(--blue-glow-strong); transform: scale(1.02); }
}

.city-btn.principal.neon-glow .city-dot {
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

/* Workshop/Taller Style: Dark Blue (Steady, no effects) */
.city-btn.taller {
  border: 1.2px solid rgba(0, 51, 102, 0.2) !important;
  opacity: 0.9;
  transition: var(--transition);
}

.city-btn.taller .city-dot {
  background: var(--blue-dark-solid);
  box-shadow: 0 0 4px var(--blue-dark-soft);
}

.city-btn.taller.active {
  background: rgba(0, 51, 102, 0.05);
  border-color: var(--blue-dark-solid) !important;
  opacity: 1;
}

/* Map Marker Colors handled in JS */
.marker-principal {
  background: var(--blue);
  box-shadow: 0 0 25px rgba(0, 159, 227, 0.9);
  animation: marker-pulse-blue 2s infinite;
  z-index: 100;
}

.marker-taller {
  background: var(--blue-dark-solid) !important;
  box-shadow: 0 0 8px rgba(0, 51, 102, 0.4) !important;
  border: 2.5px solid rgba(255,255,255,1) !important; /* Thick white border like classic Leaflet */
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  opacity: 1;
}

@keyframes marker-pulse-blue {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 159, 227, 0.7); }
  50% { box-shadow: 0 0 30px rgba(0, 159, 227, 1); }
}

/* City Indicators (Level 1) */
.marker-city-wrapper {
  width: 140px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.marker-city-dot {
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 15px var(--blue);
  animation: city-dot-pulse 2s infinite;
  transition: var(--transition);
}

.marker-city-label {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 100, 180, 0.15);
  border: 1px solid rgba(0, 159, 227, 0.2);
  transition: var(--transition);
  white-space: nowrap;
}

.marker-city-wrapper:hover .marker-city-dot {
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--blue-glow-strong);
}

.marker-city-wrapper:hover .marker-city-label {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--blue-glow-strong);
}

@keyframes city-dot-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 159, 227, 0.7); }
  50% { transform: scale(1.3); box-shadow: 0 0 25px rgba(0, 159, 227, 1); }
}

/* ==========================================
   CITY NAVIGATION TABS
   ========================================== */
.city-nav {
  display: flex;
  gap: 8px;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: 14px;
  margin: 0 0 20px 0;
  border: 1px solid rgba(0, 159, 227, 0.1);
}

.city-nav-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.city-nav-btn.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 159, 227, 0.1);
}

.city-nav-btn:hover:not(.active) {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.5);
}