:root {
  --surface-color: #fff;
  --curve: 40;
}

/* Variables globales */
:root {
  --default-font: "Roboto", sans-serif;
  --heading-font: "Nunito", sans-serif;
  --nav-font: "Inter", sans-serif;
  --background-color: #f7faff;
  --default-color: #212529;
  --heading-color: #2d465e;
  --accent-color: #0d83fd;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --primary: #5F5DFE;  
  --primary-darker: #4F4DFE;  
  --bg: #EFF3F4;  
  --white: #FFF;  
  --profile-bg: #FFFFFD;  
  --socials-bg: #F9FAFC;  
  --highlight-bg: #F9FAFC;  
  --text-bg: #878789;  
  --text: #797C83;  
  --border-color: #F4F4F4;  
  --social-color: #6B6C6E;  
  --active: #777485;  
  --tab-bg: #EBE9FF;  
  --tabs-border:#F2F6F5;  
  --tab-width: 7rem;  
  --tabs-gap: 0rem;  
  --tab-radius: 0.4rem;  
  --scrollbar-thumb: #e4e3f3;  
  --scrollbar-bg: #F2F6F5;  
} 


/* Fonts */
: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: "Inter",  sans-serif;
}


:root { 

  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ff4a17; /* 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: #ffffff; /* 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: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}


:root {
  --nav-color: #e5eaee;  /* The default color of the main navmenu links */
  --nav-hover-color: #ff4a17; /* 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: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ff4a17; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}




/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}


/* Estilo general */
body {
  background: url('/static/images/fondo.png') no-repeat center center fixed;
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  font-family: var(--default-font);
  margin: 0;
  padding: 0;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  body {
    background-attachment: scroll; /* El fondo se desplazará con el contenido en pantallas pequeñas */
    background-position: center center; /* Asegura que la imagen se mantenga centrada */
    background-size: contain; /* Ajusta el tamaño de la imagen para que se vea bien sin perder detalles */
  }
}






/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.3s ease; /* Suaviza la animación */
}

.header {
  background-color: rgba(0, 74, 173);
  padding: 15px 0;
  position: fixed;
  top: 10px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 100%; 
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 5px; 
  max-width: 100%;
}

.header .header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%; 
}

.header .logo img {
  max-width: 30%; 
  height: auto; 
  display: block; 
  margin: 0; 
}

.header .logo img:hover {
  transform: scale(1.3);
  opacity: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: none; 
}

.navmenu .dropdown i {
  display: none;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Estilo del Menú de Navegación */
.navmenu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: auto 40px auto 40px;
}

.navmenu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navmenu li {
  position: relative;
}

.navmenu a {
  font-size: 16px;
  font-family: var(--nav-font);
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

.navmenu a:hover,
.navmenu .active {
  background-color: white;
  color: #004aad;
}

/* Dropdown Submenu */
.navmenu .dropdown > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  z-index: 10;
}

.navmenu .dropdown:hover > ul {
  display: block;
}

.navmenu .dropdown ul li {
  padding: 5px;
}

.navmenu .dropdown ul a {
  font-size: 14px;
  padding: 10px 20px;
  color: var(--default-color);
  white-space: nowrap;
}

.navmenu .dropdown ul a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Dropdown de Nivel Profundo */
.navmenu .dropdown .dropdown ul {
  left: 100%;
  top: 0;
  display: none;
}

.navmenu .dropdown .dropdown:hover > ul {
  display: block;
}

/* Responsive para móviles (menos de 768px) */
@media (max-width: 767px) {
  .header {
    width: 100%; /* Ajustar el ancho */
    padding: 8px 0;
  }

  .header .logo img {
    max-width: 50px; /* Reducir aún más el logo */
    display: none; /* Ocultar la imagen en dispositivos pequeños */
  }

  .navmenu {
    flex-direction: column; /* Poner el menú en columna */
    gap: 10px;
  }

  .navmenu a {
    font-size: 12px; /* Reducir texto */
    padding: 6px 10px;
  }
}

/* Responsive para tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .header {
    width: 100%;
  }

  .header .logo img {
    max-width: 60px;
  }

  .navmenu a {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* Responsive para PC portátiles (más de 1024px) */
@media (min-width: 1025px) {
  .header {
    width: 100%;
  }

  .header .logo img {
    max-width: 100px;
  }

  .navmenu a {
    font-size: 16px;
  }
}





/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 45vh;
  position: relative;
  padding: 250px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
  text-align: center; /* Centra el texto dentro del contenedor */
}


.hero h2 {
  margin: 0;
  font-size: 150px;
  font-weight: 700;
  text-transform: none;
}

.hero p {
  color: #000000;
  margin: 10px 0 0 0;
  font-size: 40px;
}


/* Estilos para los íconos de comillas en el Hero */
#hero .quote-icon-left,
#hero .quote-icon-right {
  color: #004aad;
  font-size: 36px;
  line-height: 0;
}

#hero .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

#hero .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}


@media screen and (max-width: 1023px) and (min-width: 768px) {
.hero h2 {
  font-size: 50px;
  }

.hero p {
  font-size: 24px;
  }
}

/* Ajuste para Móviles (1 columna) */
@media screen and (max-width: 767px) {
.hero h2 {
  font-size: 50px;
  }

.hero p {
  font-size: 24px;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
.hero h2 {
  font-size: 50px;
  }

.hero p {
  font-size: 24px;
  }
}

/* Ajuste para Móviles (1 columna) */
@media screen and (max-width: 767px) {
.hero h2 {
  font-size: 50px;
  }

.hero p {
  font-size: 24px;
  }
}


/*--------------------------------------------------------------
# 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: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}


/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 5vw;
  padding: 0;
  list-style-type: none;
}

.card {
  position: relative;
  display: block;
  height: 100%;  
  border-radius: calc(var(--curve) * 1px);
  overflow: hidden;
  text-decoration: none;
}

.card__image {      
  width: 100%;
  height: auto;
}

.card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;      
  border-radius: calc(var(--curve) * 1px);    
  background-color: #004aad;      
  transform: translateY(100%);
  transition: .2s ease-in-out;
}

.card:hover .card__overlay {
  transform: translateY(0);
}

.card__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 2em;
  border-radius: calc(var(--curve) * 1px) 0 0 0;    
  background-color: #004aad;
  transform: translateY(-100%);
  transition: .2s ease-in-out;
}

.card__arc {
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 100%;
  right: 0;      
  z-index: 1;
}

.card__arc path {
  fill: #004aad;
  d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
}       

.card:hover .card__header {
  transform: translateY(0);
}

.card__thumb {
  flex-shrink: 0;
  width: 50px;
  height: 50px;      
  border-radius: 50%;      
}

.card__title {
  font-size: 1em;
  margin: 0 0 .3em;
  color: #fff;
}

.card__tagline {
  display: block;
  margin: 1em 0;
  font-family: "MockFlowFont";  
  font-size: .8em; 
  color: #D7BDCA;  
}

.card__status {
  font-size: .8em;
  color: #D7BDCA;
}

.card__description {
  padding: 0 2em 2em;
  margin: 0;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 12px; /* Puedes ajustar el tamaño según lo necesites */
  text-align: justify; /* Justifica el texto */
}
    
    

/*--------------------------------------------------------------
# Promesas de servicio
--------------------------------------------------------------*/

.section.promesa {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222831;
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
}

.heading-oscuro.promesa {
  font-size: 2rem;
  font-weight: 700;
  color: #222831;
}

.features-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1 1 220px;
  max-width: 250px;
  text-align: center;
}

.image-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.image-wrapper img {
  max-width: 150px;
  height: auto;
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
}

/* Tamaños personalizados */
.image-practico img {
  max-width: 130px;
}

.image-ahorras img {
  max-width: 110px;
}

.image-confiable img {
  max-width: 130px;
}

.image-soporte img {
  max-width: 130px;
}


.feature-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 15px 0 15px 0;
  color: #222831;
}

.feature-item p {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.4;
  margin: 0;
}


/* Responsive para tablets y pantallas medianas */
@media (max-width: 992px) {
  .features-row {
    justify-content: center; /* Centrar los ítems en pantalla mediana */
    gap: 20px;
  }

  .feature-item {
    flex: 1 1 45%;  /* Dos ítems por fila aproximadamente */
    max-width: 45%;
    margin-bottom: 30px;
  }

  .image-wrapper {
    width: 90px;
    height: 90px;
  }

  .image-wrapper img {
    max-width: 120px;
  }
}

/* Responsive para móviles */
@media (max-width: 576px) {
  .features-row {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .feature-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .image-wrapper {
    width: 80px;
    height: 80px;
  }

  .image-wrapper img {
    max-width: 100px;
  }

  .feature-item h3 {
    font-size: 1.1rem;
  }

  .feature-item p {
    font-size: 0.85rem;
  }
}

/*--------------------------------------------------------------
# Clients Section (Carrusel)
--------------------------------------------------------------*/

.clients {
  padding: 15px 0;
  width: 90%;
  margin: auto;
}

.swiper {
  width: 100%;
  padding: 10px 0;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

#clients h3 {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.5rem;
}

/* Logo de cliente */
.client-logo {
  width: 80px;  /* Tamaño original */
  height: 38px; /* Tamaño original */
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 50%;  /* Tamaño del logo */
  max-height: 50%; /* Tamaño del logo */
  opacity: 0.8;
  transition: 0.3s;
}

.client-logo img:hover {
  filter: none;
  opacity: 1;
}

/* Estilo de botones de navegación */
.swiper-button-next,
.swiper-button-prev {
  color: #000;
}

/* Media Queries para hacer la sección responsive */
@media (max-width: 1200px) {
  .clients {
    width: 85%;
  }

  .client-logo {
    width: 160px;  /* Doble tamaño del logo */
    height: 76px;  /* Doble tamaño del logo */
  }

  #clients h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .clients {
    width: 90%;
  }

  .client-logo {
    width: 200px;  /* Doble tamaño del logo */
    height: 100px;  /* Doble tamaño del logo */
  }

  #clients h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .clients {
    width: 95%;
  }

  .client-logo {
    width: 240px;  /* Doble tamaño del logo */
    height: 120px;  /* Doble tamaño del logo */
  }

  #clients h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .clients {
    width: 100%;
  }

  .client-logo {
    width: 280px;  /* Doble tamaño del logo */
    height: 140px;  /* Doble tamaño del logo */
  }

  #clients h3 {
    font-size: 1rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    font-size: 12px;
  }
}



/*--------------------------------------------------------------
# Grupo de Whatsapp
--------------------------------------------------------------*/
.whatsapp-contact-section {
  background-color: #004aad;
  padding: 20px 0;
  margin: 40px 0;
  color: #fff;
  position: relative;
}

.whatsapp-contact-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* separa en 3 zonas */
  align-items: center; /* centra vertical */
  position: relative;
}

.whatsapp-contact-section .whatsapp-icon {
  width: 160px;
  height: 160px;
  position: absolute; /* para sacarlo del flujo */
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.whatsapp-contact-section .text-content {
  flex: 1;
  text-align: center;
}

.whatsapp-contact-section .text-content h3 {
  margin: 0 0 5px 0;
  font-weight: 700;
  font-size: 1.8rem;
}

.whatsapp-contact-section .text-content p {
  margin: 0;
  font-size: 1.1rem;
}

.whatsapp-contact-section .btn-whatsapp {
  background-color: #fff;
  color: #000;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* evitar que el texto del botón se rompa */
}

.whatsapp-contact-section .btn-whatsapp:hover {
  background-color: #1ebe57;
}

.whatsapp-contact-section .icon-btn-whatsapp {
  width: 24px;
  height: 24px;
}

/* Estilos base para desktop ya definidos */

/* Tablets (pantallas entre 768px y 1024px) */
@media (max-width: 1024px) {
  .whatsapp-contact-section .container {
    flex-wrap: wrap; /* permite que los elementos se acomoden en varias filas */
    justify-content: center; /* centra los elementos */
    padding-left: 0; /* quitar padding que da espacio al ícono absoluto */
  }

  .whatsapp-contact-section .whatsapp-icon {
    position: relative; /* ya no absoluto para que no se desborde */
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    left: auto;
    top: auto;
    transform: none;
  }

  .whatsapp-contact-section .text-content {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 15px;
  }

  .whatsapp-contact-section .btn-whatsapp {
    flex-basis: 100%;
    justify-content: center;
    white-space: normal;
  }
}

/* Móviles (pantallas hasta 767px) */
@media (max-width: 767px) {
  .whatsapp-contact-section {
    padding: 15px 10px;
    margin: 20px 0;
  }

  .whatsapp-contact-section .container {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
  }

  .whatsapp-contact-section .whatsapp-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }

  .whatsapp-contact-section .text-content {
    flex-basis: auto;
    text-align: center;
    margin-bottom: 10px;
  }

  .whatsapp-contact-section .btn-whatsapp {
    width: 90%;
    justify-content: center;
    padding: 12px;
  }
}


/* Estilos para el footer */
.footer-container {
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    color: #000;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.footer-wave-svg {
    background-color: transparent;
    display: block;
    height: 200px;
    position: relative;
    top: -1px;
    width: 100%;
}
.footer-wave-path {
    fill: rgba(0, 74, 173);
}

.footer-info {
    text-align: center;
    color: #000;
    position: relative; /* Necesario para que el fondo de olas quede detrás */
    width: 100%;
    top: -80px;
}


.footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    top: -150px;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background-color: #555;
    color: #1da1f2;
    transform: scale(1.1) translateY(-6px);
}


#install-button {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #fff;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#install-button:hover {
    transform: scale(1.1);
}

#install-button:active {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    #install-button {
        width: 45px;
        height: 45px;
        font-size: 10px;
    }
}

