:root {
  /* CMYK Palette - Slightly softened for elegance */
  --cmyk-cyan: #00AEE0;
  --cmyk-magenta: #E2007C;
  --cmyk-yellow: #FBD000;
  --cmyk-black: #1A1A1A;

  /* Primary & Accents - Deeper and more premium */
  --primary-color: #1a254c;
  --primary-light: #365b9e;
  --bg-dark: #121936;
  --bg-light: #F4F7FB;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(1, 4, 131, 0.1);
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

/* ====================================
   Navbar & Glassmorphism
==================================== */
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  background: transparent;
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

#header .logo img {
  max-height: 45px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

#header.header-scrolled .logo img {
  max-height: 40px;
}

.navbar a,
.navbar a:focus {
  font-family: 'Outfit', sans-serif;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 10px 15px;
  margin: 0 4px;
  transition: all 0.3s ease;
}

/* Base state for the animated underline */
.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(to right, var(--cmyk-cyan), var(--cmyk-magenta));
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Remove original template's white underline (::before) */
.navbar>ul>li>a::before,
.navbar a::before,
.navbar a:hover::before,
.navbar .active::before {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}

#header.header-scrolled .navbar a,
#header.header-scrolled .navbar a:focus {
  color: var(--primary-color);
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus {
  color: #ffffff !important;
}

/* Hover state for the animated underline */
.navbar a:hover::after,
.navbar .active::after,
.navbar .active:focus::after {
  width: 80%;
}

#header.header-scrolled .navbar a:hover,
#header.header-scrolled .navbar .active,
#header.header-scrolled .navbar .active:focus {
  color: var(--cmyk-cyan) !important;
}



/* ====================================
   Hero Section Modernization
==================================== */
#hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
  /* Default mouse positions */
  --mouse-x: 50%;
  --mouse-y: 50%;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* The original colors and approximate sizes, but their exact center dynamically shifts with the mouse */
  background:
    radial-gradient(circle at calc(100% + (var(--mouse-x) - 50%) * -0.5) calc(0% + (var(--mouse-y) - 50%) * -0.5), rgba(0, 181, 226, 0.2) 0%, transparent 40%),
    radial-gradient(circle at calc(0% + (var(--mouse-x) - 50%) * -0.5) calc(100% + (var(--mouse-y) - 50%) * -0.5), rgba(236, 0, 140, 0.2) 0%, transparent 40%);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

#hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

#hero h1 span {
  background: linear-gradient(to right, var(--cmyk-cyan), var(--cmyk-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin-bottom: 40px;
}

.btn-get-started {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  transition: 0.5s;
  background: linear-gradient(to right, var(--cmyk-cyan), var(--primary-light));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 181, 226, 0.4);
  text-decoration: none;
}

.btn-get-started:hover {
  background: linear-gradient(to right, var(--primary-light), var(--cmyk-cyan));
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 181, 226, 0.6);
  color: #fff;
}

.hero-img {
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ====================================
   Section Titles & Spacing
==================================== */
section {
  scroll-margin-top: 90px;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title p {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title p::after {
  content: "";
  position: absolute;
  display: block;
  width: 80%;
  height: 4px;
  background: linear-gradient(to right, var(--cmyk-cyan), var(--cmyk-magenta));
  bottom: -10px;
  left: 10%;
  border-radius: 2px;
}

/* ====================================
   UI Components (Cards & Buttons)
==================================== */
.premium-card {
  background: #fff;
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.premium-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(1, 4, 131, 0.12);
}

.cmyk-card {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
}

.cmyk-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0.9;
}

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

.cmyk-card.cyan::before {
  background: linear-gradient(135deg, #00B5E2, #008eb3);
}

.cmyk-card.magenta::before {
  background: linear-gradient(135deg, #EC008C, #b8006d);
}

.cmyk-card.yellow::before {
  background: linear-gradient(135deg, #FFD700, #cca100);
}

.cmyk-card.black::before {
  background: linear-gradient(135deg, #222222, #000000);
}

.cmyk-card .card-body {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cmyk-card h5 {
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

.cmyk-btn {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 10px 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cmyk-btn:hover {
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ====================================
   Product Cards
==================================== */
.product-card {
  background: var(--bg-dark);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border-color: rgba(0, 174, 224, 0.3);
}

.product-card-img-container {
  position: relative;
  height: 240px;
  background: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-card-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--cmyk-cyan);
  filter: blur(60px);
  opacity: 0.1;
  z-index: 0;
  top: 20%;
  left: 20%;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.product-card:hover .product-card-glow {
  opacity: 0.3;
  transform: scale(1.3);
}

.product-card-img {
  position: relative;
  z-index: 1;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.15) brightness(1.08);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-card-img {
  transform: scale(1.08) translateY(-5px);
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  flex-grow: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.product-card-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cmyk-magenta);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.product-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.product-card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  color: var(--cmyk-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  transition: color 0.3s ease;
}

.product-card-footer i {
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.product-card:hover .product-card-footer {
  color: #fff;
}

.product-card:hover .product-card-footer i {
  transform: translateX(5px);
  color: #fff;
}

/* ====================================
   Forms
==================================== */
.form-control {
  border: 1px solid #e1e5ee;
  border-radius: 12px;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background-color: #fcfcfc;
}

.form-control:focus {
  border-color: var(--cmyk-cyan);
  box-shadow: 0 0 0 4px rgba(0, 181, 226, 0.1);
  background-color: #fff;
  outline: none;
}

textarea.form-control {
  min-height: 150px;
}

/* ====================================
   Contact Cards
==================================== */
.contact-info-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.contact-info-card:hover {
  transform: translateX(10px);
  box-shadow: 10px 15px 30px rgba(1, 4, 131, 0.08);
}

.contact-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.contact-info-card:hover .contact-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon-box.cyan {
  background: rgba(0, 174, 224, 0.1);
  color: var(--cmyk-cyan);
}

.contact-icon-box.magenta {
  background: rgba(226, 0, 124, 0.1);
  color: var(--cmyk-magenta);
}

.contact-icon-box.yellow {
  background: rgba(251, 208, 0, 0.1);
  color: #cca100;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* ====================================
   Footer
==================================== */
#footer {
  background: var(--bg-dark);
  color: #fff;
  font-size: 14px;
  text-align: left;
  padding: 60px 0 30px 0;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--cmyk-cyan), var(--cmyk-magenta), var(--cmyk-yellow));
}

#footer h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  padding-bottom: 15px;
  margin-bottom: 20px;
  position: relative;
}

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

#footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

#footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  text-decoration: none;
}

#footer .footer-links ul a:hover {
  color: var(--cmyk-cyan);
  padding-left: 5px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 8px;
  width: calc(100% - 120px);
  background: transparent;
  color: #fff;
}

#footer .footer-newsletter form input[type="email"]:focus {
  outline: none;
}

#footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  border: 0;
  background: linear-gradient(to right, var(--cmyk-cyan), var(--primary-light));
  font-family: 'Outfit', sans-serif;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
  padding: 0 25px;
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: var(--cmyk-magenta);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

/* ====================================
   Floating WhatsApp Button
==================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  right: 15px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  /* Asegura que esté por encima de otros elementos */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #FFF;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 70px;
    right: 10px;
    font-size: 25px;
  }
}


.about-img {
  object-fit: cover;
  width: 100%;
  height: 450px;
  /* Altura ideal para móviles */
  border-radius: 15px;
  /* Opcional: le da un toque moderno */
}

@media (min-width: 992px) {
  .about-img {
    height: 600px;
    /* Vuelve a tu altura original en PC */
  }
}