/* =========================================
   🔧 CONFIGURACIÓN INICIAL DE CSS
   Incluye: variables, reset y tipografía base
   ========================================= */

:root {
  /* 🎨 Colores principales */
  --color-primary: #01396c;
  --color-secondary: #ffdb01;
  --color-success: #ec004a;
  --color-warning: #ffc107;
  --color-info: #17a2b8;
  --color-light: #f8f9fa;
  --color-gray: #f2f2f2;
  --color-dark: #212529;

  /* ✍️ Tipografía */
  --font-family-base: "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;
  --font-weight-normal: 400;
  --font-weight-bold: 600;

  /* 📱 Breakpoints (basados en Bootstrap) */
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1400px;

  /* 🧭 Espaciado y bordes */
  --radius-base: 50px;
  --spacing-unit: 1rem;

  /* 📦 Anchos de contenedor similares a Bootstrap */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-xxl: 1320px;
}

/* =========================================
   🧹 RESET MODERNO
   ========================================= */

/* 1. Remueve márgenes y paddings por defecto */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. Elimina decoraciones y estilos por defecto */
a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 3. Hereda tipografía y color */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* 4. Establece altura mínima del body */
html,
body {
  height: 100%;
  font-size: 14px;
}

/* 5. Mejora del scroll */
html {
  scroll-behavior: smooth;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 20px;
  color: var(--color-primary);
}

/* =========================================
   💅 ESTILOS BASE
   ========================================= */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-dark);
  background-color: var(--color-light);
  -webkit-font-smoothing: antialiased;
}

/* Enlaces con hover */
a:hover {
  color: var(--color-secondary);
}

/* Botones básicos */
button {
  cursor: pointer;
  border-radius: var(--radius-base);
  background-color: var(--color-success);
  color: #fff;
  padding: 12px 24px;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.button {
  display: flex;
  gap: 10px;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Sistema de filas (row) */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.row > * {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  flex: 1 0 0%;
}

/* =========================================
    BARRA DE NAVEGACION
   ========================================= */

.nav__top {
  background-color: #dc3545;
  width: 100%;
}

.nav__top-content {
  display: flex;
  justify-content: space-between;
  padding: 2px 10px;
}

.nav__logo figure img {
  min-width: 120px;
}

.nav__top-content span {
  color: #fff;
  font-size: 12px;
  font-style: italic;
}

.nav__bar {
  background-color: var(--color-primary);
  padding: 20px 10px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 50px;
}

.nav__menu {
  display: none;
  color: #fff;
  gap: 30px;
}

.nav__info {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 30px;
  color: #fff;
}

.nav__info h6 {
  font-size: 16px;
  font-weight: 400;
}

.nav__info span {
  color: var(--color-secondary);
  font-size: 13px;
}

.nav__buttom {
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 50px;
}

.nav__buttom h5 {
  color: var(--color-success);
  font-weight: bold;
  font-size: 20px;
}
.logos__container {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.img__header-logos img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.header__main {
  background-image: url("/assets/img/bn.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 50px 10px;
}

.header__info {
  margin-bottom: 50px;
}

.header__img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.header__main-tag {
  background-color: var(--color-secondary);
  color: var(--color-success);
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 20px;
  font-style: oblique;
}

.header__info h1 {
  font-size: 40px;
  line-height: 45px;
  margin-bottom: 20px;
  color: #fff;
  font-style: oblique;
}

.header__info h2 {
  color: var(--color-secondary);
  font-size: 23px;
  font-style: oblique;
  line-height: 35px;
}

.header__info span {
  color: var(--color-success);
}

.header__info p {
  color: var(--color-light);
  margin-bottom: 20px;
}

/* =========================================
   SECTION: ABOUT US
   ========================================= */

.aboutUs__title span,
.promocion__title span,
.soporte__info span,
.about__info span,
.ourClient__title span {
  display: inline-block;
  background-color: var(--color-secondary);
  padding: 5px 20px;
  border-radius: 20px;
  color: var(--color-success);
  margin-bottom: 5px;
}

.about__info {
  padding: 50px 10px 0px 10px;
}

.about__info h2 {
  font-size: 25px;
  font-style: italic;
  color: var(--color-primary);
}

.about__info p {
  margin: 20px 0;
  font-size: 18px;
  color: var(--color-dark);
}

.about__line {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
}
.about__line p {
  font-style: italic;
  font-weight: 800;
  color: var(--color-primary);
  padding: 0px 20px;
}

.about__line ::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 70px;
  background-color: var(--color-success);
  margin-left: -20px;
}

/* =========================================
   📦 SECTION PRODUCT
   ========================================= */

.product {
  background-color: var(--color-gray);
  padding: 50px 10px;
}

.product__info {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
}

.slider {
  width: 90%;
  max-width: 900px;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 10px;
}

.slide {
  flex: 0 0 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.track {
  display: flex;
  transition: transform 1s ease;
}

.product__info-text {
  position: absolute;
  width: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  flex-direction: column;
  justify-content: space-around;
}

.product__info-text h2 {
  color: var(--color-light);
  font-style: italic;
  font-weight: bold;
  font-size: 40px;
  line-height: 40px;
}

.product__info-text p {
  color: var(--color-light);
  font-size: 14px;
}

.product__info-text h3 {
  color: var(--color-secondary);
  font-style: italic;
}

.product__list h4 {
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--color-primary);
}

.slider {
  display: flex;
  gap: 20px;
  flex: 0 0 auto;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

/* =========================================
   📦 SECTION SERVICE
   ========================================= */

.service {
  padding: 10px 10px 50px 10px;
  background-color: var(--color-gray);
}

.service__title {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
  flex: 0 0 auto;
  margin: 0px auto 50px auto;
}

.service__body {
  position: relative;
}

.service__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.service__body-info {
  position: absolute;
  top: 20px;
  left: 30px;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  gap: 5px;
}

.service__body-info h3 {
  color: var(--color-light);
  font-size: 25px;
  font-weight: bold;
  font-style: italic;
  line-height: 30px;
}

.service__body-info span {
  color: var(--color-secondary);
}

/* =========================================
   📦 SECTION POST 1
   ========================================= */

.post__1-bg {
  background-image: url("/assets/img/bg-post.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  padding: 50px 20px;
  width: 100%;
  margin: 0px auto;
  display: flex;
  flex-direction: column;
}

.post__1-title,
.post__1-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  height: 200px;
  width: 100%;
}

.post__1-info p {
  font-size: 20px;
}

.post__1-title h2,
.post__1-title p,
.post__1-info p {
  color: var(--color-light);
}

.post__1-title h2 {
  font-size: 35px;
  line-height: 35px;
}

.post__1-title span {
  color: var(--color-secondary);
}

/* =========================================
   📦 SOPORTE
   ========================================= */

.soporte {
  padding: 50px 10px;
}

.soporte__info,
.soporte__img {
  flex: 0 0 auto;
  width: 100%;
}

.soporte__info {
  padding: 50px 0px;
  display: flex;
  align-items: center;
}

.soporte__info h2 {
  font-size: 25px;
  font-style: italic;
}

.soporte__info p {
  padding-top: 20px;
}

/* =========================================
   📦 PROMOCION
   ========================================= */

.promocion {
  background-color: var(--color-primary);
  padding: 50px 10px;
}

.promocion__title,
.promocion__body {
  flex: 0 0 auto;
  width: 100%;
}

.promocion__body {
  display: flex;
  justify-content: start;
  align-items: end;
  margin-bottom: 30px;
}

.promocion__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promocion__body p {
  color: var(--color-light);
  font-size: 20px;
}

.promocion__title h2 {
  font-size: 27px;
  color: var(--color-light);
  font-style: italic;
}

.promocion .span {
  color: var(--color-light);
  margin-top: 10px;
  font-style: italic;
}

/* =========================================
   📦 ABOUT US
   ========================================= */

.aboutUs {
  padding: 50px 10px;
  background-color: var(--color-gray);
}

.aboutUs__title {
  flex: 0 0 auto;
  width: 100%;
  padding: 20px 10px;
}

.aboutUs__title {
  display: flex;
  align-items: center;
}

.aboutUs__title h2 {
  font-size: 27px;
  font-style: italic;
  color: var(--color-primary);
  line-height: 35px;
  margin-bottom: 50px;
}

.aboutUs__title p {
  margin-top: 20px;
  font-style: 16px;
}

/* =========================================
   📦 OUR BENEFITS
   ========================================= */

.ourBenefits {
  background-color: var(--color-gray);
  padding: 50px 10px;
}

.ourBenefits__list,
.ourBenefits__title {
  flex: 0 0 auto;
  width: 100%;
}

.ourBenefits__title {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.ourBenefits__content {
  display: flex;
  flex-direction: column-reverse;
  padding: 0px;
  gap: 40px;
}

.ourBenefits__title span {
  color: var(--color-success);
}

.ourBenefits__title h2 {
  font-style: italic;
  font-size: 40px;
  line-height: 40px;
}

.ourBenefits__list-item {
  display: flex;
  align-items: center;
  margin: 10px 0px;
}

.ourBenefits__list-item figure {
  z-index: 50;
}

.ourBenefits__list-item p {
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 10px 40px 10px 60px;
  font-size: 14px;
  border-radius: 50px;
  margin-left: -40px;
  z-index: 30;
  display: block;
  width: 100%;
}

.ourBenefits__cta {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* =========================================
   📦 OUR CLIENTES
   ========================================= */

.ourCliente {
  padding: 50px 10px;
}

.ourClient__title {
  text-align: center;
  margin: 0px auto 50px auto;
}

.ourClient__title h2 {
  font-size: 27px;
  font-style: italic;
  color: var(--color-primary);
}

.ourClient__title p {
  font-size: 20px;
}

.ourClient__body {
  flex-direction: column;
}

.ourClient__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 50px 10px;
  gap: 50px;
}

footer {
  background-image: url("./img/bg-footer.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  color: var(--color-light);
  padding: 100px 10px 30px 10px;
}

.footer__header {
  width: 90%;
  margin: 0px auto;
}

.footer__header figure img {
  width: 150px;
  margin: 0px auto 20px auto;
}

.footer__body {
  padding: 30px 0px;
}

.footer__body-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.footer__body-phone img {
  width: 40px;
}

.footer__body-info {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer__body-info span {
  font-size: 14px;
  color: var(--color-secondary);
  font-style: italic;
  text-align: left;
}

.footer__body-info h5 {
  font-size: 25px;
  font-weight: bold;
}

.footer__body-list h4 {
  font-weight: normal;
  margin: 5px 10px;
}

.footer__body-list span {
  color: var(--color-secondary);
  font-style: italic;
  margin-right: 20px;
}

.footer__foot ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.footer__foot figure img {
  margin: 10px auto;
  height: 30px;
}

.whatsapp {
  position: fixed;
  bottom: 150px;
  right: 5px;
  z-index: 1000;
  padding: 20px;
}

.bg-whatsapp::after {
  content: "";
  background-color: #17a2b8;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 0px;
  right: 0px;
  z-index: -50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.whatsapp figure img {
  z-index: 100;
  width: 60px;
  height: 60px;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  70% {
    transform: scale(1);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

/* =========================================
   📦 MOBIEL
   ========================================= */

/*NAV*/
.nav__top-location {
  display: none;
}

.nav__info-email {
  display: none;
}

.nav__info-phone {
  display: block;
}

/*SECTION*/

.header__info,
.header__img {
  flex: 0 0 auto;
  width: 100%;
}

.about {
  padding: 50px 10px;
}

.about__img,
.about__info {
  flex: 0 0 auto;
  width: 100%;
}

/* =========================================
   📦 RESPONSIVE
   ========================================= */
@media (min-width: 576px) {
  .container {
    max-width: var(--container-sm);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
  .nav__top-location {
    display: block;
  }
  .slider {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: var(--container-lg);
  }
  h2 {
    font-size: 48px;
  }
  .soporte,
  .promocion,
  .aboutUs,
  .about,
  .service,
  .ourCliente {
    padding: 130px 0px;
  }
  .product {
    padding: 130px 0px 0px 0px;
  }
  .ourBenefits {
    padding: 10px 0px 130px 0px;
  }
  .header__info {
    width: 45%;
    padding-right: 100px;
  }
  .header__img {
    width: 55%;
  }
  .about__img,
  .about__info {
    width: 50%;
  }
  .about__info {
    padding: 10px 50px;
  }
  .product__info {
    width: 30%;
  }
  .product__list {
    width: 70%;
  }
  .service__content {
    flex-direction: row;
  }
  .post__1-bg {
    flex-direction: row;
    gap: 40px;
    padding: 50px;
  }

  .soporte__img,
  .soporte__info {
    width: 50%;
  }
  .soporte__info {
    padding: 50px;
  }

  .promocion__title,
  .promocion__body {
    width: 50%;
  }
  .promocion__list {
    margin-top: 50px;
    flex-direction: row;
  }
  .promocion__body {
    margin-bottom: 0px;
    justify-content: end;
  }

  .aboutUs__title {
    width: 40%;
    padding-right: 100px;
  }
  .aboutUs__img {
    width: 55px;
  }
  .ourBenefits__content {
    flex-direction: row;
    gap: 50;
  }
  .ourBenefits__list,
  .ourBenefits__title {
    width: 50%;
  }
  .ourBenefits__title {
    padding: 0px 50px 0px 100px;
  }
  .ourBenefits__title p {
    margin-bottom: 20px;
  }
  .slide {
    flex: 0 0 calc(100% / 3);
  }
  .nav__menu {
    display: flex;
  }
  .logos__container {
    width: 100%;
    overflow: visible;
    position: relative;
  }
  .whatsapp {
    right: 20px;
  }
  h2 {
    font-size: 35px;
  }
  .img__header {
    max-width: unset;
    left: -50px;
    right: -50px;
    position: relative;
  }

  .ourBenefits__list-item p {
    font-size: 20px;
  }
  .ourBenefits__cta {
    gap: 5px;
  }
  .soporte__info h2,
  .promocion__title h2,
  .about__info h2,
  .aboutUs__title h2,
  .ourClient__title h2 {
    font-size: 40px;
    line-height: 55px;
  }
  .ourClient__list {
    grid-template-columns: repeat(5, 1fr);
  }
  .nav__buttom{
    padding: 10px 20px;
    gap: 10px;
  }
  .header__main-tag{
    font-size: 35px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--container-xl);
  }
  .nav__info-email {
    display: block;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: var(--container-xxl);
  }
}
