:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --background-color1: #000000;
  --background-color2: #20286d;
  --background-color3: #20286d;
  --default-color: #000000;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000000;
  --heading-color1: #000000;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #20286d;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #000000;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #000000;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #000000;
  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #20286d;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #060606;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #000000;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #20286d;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #20286d;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}


/*--------------------------------------------------------------
# Estilo botón flotante de WhatsApp
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 70px;
  right: 10px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 100;
  overflow: hidden;
  transition: transform 0.3s ease; /* transición suave */
}

.whatsapp-float:hover {
  transform: scale(1.15); /* agranda un poco el botón */
}

.whatsapp-float i {
  color: #fff; /* Ícono en blanco */
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgb(255, 255, 255);
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  height: auto;
  width: 100px; 
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

header.header {
  border-bottom: 3px solid #20286d;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgb(255, 255, 255);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgb(255, 255, 255);
}
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
    margin-left: 5px;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 8px 20px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 50px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 15px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
    margin-left: 0;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    background-color: transparent;
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 105%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}
.navmenu a {
  position: relative; /* Necesario para posicionar el ::after */
}

.navmenu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px; /* grosor de la línea */
  background-color: var(--accent-color); /* color de la línea */
  transition: width 0.3s ease;
}

.navmenu a:hover::after {
  width: 100%;
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
 .footer {
  color: var(--default-color);
  background-color: var(--background-color1);
  font-size: 14px;
  text-align: center;
  padding: 15px 0 5px 0;
  position: relative;
}


.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  display: flex;
  justify-content: center; /* Centra los iconos dentro del contenedor */
  align-items: center;     /* Centra verticalmente los iconos */
  gap: 15px;               /* Espaciado entre iconos */
  width: 100%;
}

.footer .social-links a {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-color1);
  color: var(--contrast-color);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer .social-links img {
  width: 100%;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.footer .social-links img:hover {
  transform: scale(1.3);
}


.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid #fff; 
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}
/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
/* Escritorio */
.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 auto;
  text-align: center;
}

.footer-logo {
  max-width: 140px;
  height: auto;
}

.footer-logo1 {
  max-width: 140px;
  height: auto;
}

/* Móvil */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-center {
    order: 2;
  }

  .footer-left {
    order: 1;
  }

  .footer-right {
    order: 3;
  }
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 10px;
  bottom: 60px;
  z-index: 99999;
  background: linear-gradient(45deg, #20286d, #2940b4); 
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.315);
  /* misma sombra */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 30px;
  color: var(--background-color);
  line-height: 0;
  bottom: 10px;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 10px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 500px;
  height: 2px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}
/*--------------------------------------------------------------*/
/* Contenedor general del producto */
.product-container {
  max-width: 900px; /* más compacto */
  margin: 30px auto;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #20286d;
  border-radius: 10px;
}

/* Imagen del producto */
.product-container img {
  max-width: 90%;   /* más pequeño que full */
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Título y detalles */
.product-container h1 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.product-container p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Cantidad */
.quantity-container {
  display: flex;
  align-items: center;
  justify-content: center; /* centrado */
  gap: 10px;
  margin: 20px 0;
}

.quantity-container button {
  width: 35px;
  height: 35px;
  font-size: 18px;
  border: none;
  background: #FFD700;
  border-radius: 5px;
  cursor: pointer;
}

.quantity-container input {
  width: 60px;
  text-align: center;
  padding: 5px;
  border: 1px solid #20286d;
  border-radius: 5px;
}

/* Botón de cotizar/agregar al carrito */
.add-to-cart {
  display: block;
  margin: 25px auto 10px auto; /* centrado horizontal */
  background: linear-gradient(45deg, #20286d, #2940b4);
  color: #000;
  font-weight: bold;
  padding: 12px 40px;
  border-radius: 8px;
  border: none;
  text-align: center;
  box-shadow: 0 0 10px #20286d;
  transition: opacity 0.3s ease;

}

.add-to-cart:hover {
  background: linear-gradient(45deg, #20286d, #2940b4);
}


#cart-icon {
  position: relative;
  display: inline-block;
  font-size: 30px; /* tamaño del icono 🛒 */
}

#cart-count {
  position: absolute;
  top: -8px;    /* sube el circulito */
  right: -12px; /* muévelo a la derecha */
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  line-height: 1;
}
@media (max-width: 768px) {
  .product-container {
    padding: 10px;
    text-align: center;
  }
  .product-container img {
    max-width: 100%;
  }
}
.footer-logo {
  max-width: 120px;
  height: auto;
}
@media (max-width: 480px) {
  .footer-logo {
    max-width: 80px;
  }
}
@media (max-width: 768px) {
  .product-container {
    width: auto;
    max-width: 95%;       /* no ocupar todo el ancho */
    margin: 15px auto;    /* centra con espacio a los lados */
    padding: 15px;        /* espacio interno */
  }
}

@media (max-width: 480px) {
  .product-container {
    max-width: 90%;       /* aún más reducido en celulares chicos */
    margin: 15px auto;    /* centrado con márgenes laterales */
    padding: 12px;
  }
}
@media (max-width: 480px) {
  .product-container {
    margin: 15px 20px;  /* 15px arriba/abajo, 20px a los lados */
  }
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* hace que el contenido empuje el footer */
}

/* ==== MAIN ==== */
.main-section {
  padding: 50px;
  text-align: center;
  background: #f9f9f9;
  font-family: Arial, sans-serif;
}

.main-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
}

.main-section .empresa {
  color: #000000;
}

.descripcion {
  max-width: 700px;
  margin: 20px auto;
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.btn-container {
  display: flex;
  justify-content: center; /* centra los botones horizontalmente */
  gap: 20px; /* espacio entre los botones */
  flex-wrap: wrap; /* para que en pantallas pequeñas se acomoden en vertical */
}

.btn-descarga {
  padding: 15px 30px;
  font-size: 18px;
  background: linear-gradient(45deg, #20286d, #2940b4); 
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px #20286d;
  transition: opacity 0.3s ease;
  text-align: center;
}

.btn-descarga:hover {
  background: linear-gradient(45deg, #20286d, #2940b4); 
  transform: scale(1.05);
}

/* ==== INFORMACIÓN ==== */
.info-empresa {
  margin-top: 50px;
}

.info-empresa h2 {
  font-size: 1.8rem;
  margin-top: 20px;
  color: #333;
}

.info-empresa p {
  font-size: 16px;
  max-width: 700px;
  margin: 10px auto;
  color: #555;
  line-height: 1.5;
}
