@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #ff8400;
  --primary-color-dark: #ff8400;
  --text-dark: #0b0829;
  --text-light: #8fa0d8;
  --extra-light: #f9dfc6;
  --white: #fffaf6;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);

}

.section__header {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 2.5rem;
}

.section__description {
  color: var(--text-dark);
  line-height: 1.75rem;

}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
  max-width: 100vw;
  background-color: var(--white);
  font-family: "Poppins", sans-serif;
}

body {
  overflow-x: hidden;
}

#main-wrapper {
  background-color: var(--white);
  min-height: 100vh;
}

/* Scroll Animation Styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.animate-fade-in {
  opacity: 1;
  transform: translateY(0) !important;
}

.animate-on-scroll.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
}

.animate-on-scroll.animate-slide-left.animate-fade-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
}

.animate-on-scroll.animate-slide-right.animate-fade-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll.animate-scale {
  opacity: 0;
  transform: scale(0.9);
}

.animate-on-scroll.animate-scale.animate-fade-in {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations for cards */
.animate-on-scroll.animate-delay-1 {
  transition-delay: 0.15s;
}

.animate-on-scroll.animate-delay-2 {
  transition-delay: 0.25s;
}

.animate-on-scroll.animate-delay-3 {
  transition-delay: 0.35s;
}

.animate-on-scroll.animate-delay-4 {
  transition-delay: 0.45s;
}

.animate-on-scroll.animate-delay-5 {
  transition-delay: 0.55s;
}

.animate-on-scroll.animate-delay-6 {
  transition-delay: 0.65s;
}

.animate-on-scroll.animate-delay-7 {
  transition-delay: 0.75s;
}

.animate-on-scroll.animate-delay-8 {
  transition-delay: 0.85s;
}

.animate-on-scroll.animate-delay-8 {
  transition-delay: 0.8s;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--white);
  max-width: 100vw;
  /* o el color que prefieras */

}

.header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("../assets/header.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo a {
  display: flex;
  /* Para alinear correctamente la imagen */
  align-items: center;
}

.logo-image {
  height: 40px;
  /* Ajusta según tus necesidades */
  width: auto;
  /* Mantiene las proporciones */
  transition: all 0.3s ease;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  padding: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
  z-index: 1000;
}

.nav__links a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__links a:hover {
  color: var(--primary-color);
}

.nav__btns {
  display: none;
}

.header__container {
  padding-block: 8.8rem;
}

.header__container p {
  margin-bottom: 1rem;
  color: var(--white);
}

.header__container h1 {
  margin-bottom: 2rem;
  max-width: 600px;
  font-size: 4rem;
  font-weight: 600;
  line-height: 5rem;
  color: var(--white);
}

.header__flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.header__card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__card span {
  padding: 2px 10px;
  font-size: 2rem;
  color: var(--primary-color);
}

.header__card h5 {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
}

.header__card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.header__arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-color);
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.header__arrow:hover {
  color: var(--primary-color-dark);
  transform: translateX(-50%) scale(1.2);
}

.section__container .about__container {
  background-color: var(--extra-light);
  padding: 4rem 0;
  max-width: none;
  margin: 0;
}

.about__header {
  margin-bottom: 4rem;
  display: grid;
  gap: 2rem;
}

.about__header .section__subheader {
  text-align: left !important;
}

.about__header .section__header {
  text-align: left !important;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: visible;
  overflow-y: hidden;
}

.about__card {
  padding: 3rem 1rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s, background 0.3s, color 0.3s, border 0.3s;
  aspect-ratio: 1 / 1.5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about__card:hover {
  transform: scale(1.03) translateY(-5px);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s, background 0.3s, color 0.3s, border 0.3s;
}

.about__card:not(:hover) {
  transform: scale(1) translateY(0);
}

.about__card:nth-child(1) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/about-1.jpg");
}

.about__card:nth-child(2) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/about-2.jpg");
}

.about__card:nth-child(3) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/sistema-4.jpg");
}

.about__card:nth-child(4) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/10-paneles.jpg");
}

.about__card:nth-child(5) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/20-paneles.jpg");
}

.about__card p {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.about__card h4 {
  max-width: 250px;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  line-height: 2rem;
}

.faq {
  background-color: var(--white);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.faq .section__description {
  color: var(--text-dark);
}

.faq__container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.faq__content {
  position: sticky;
  top: 2rem;
  z-index: 5;
}

.faq__header-content .section__subheader,
.faq__header-content .section__header {
  text-align: left !important;
}

.faq__header-content .section__header {
  margin-bottom: 1rem;
}

.faq__questions {
  width: 100%;
}

.faq__grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.faq__card {
  padding: 1.5rem;
  background: rgba(153, 153, 153, 0.251);
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 132, 0, 0.15);
  border-left-color: var(--primary-color-dark);
}

.faq__card.active {
  background: rgba(153, 153, 153, 0.251);
  border-left-color: var(--primary-color-dark);
  box-shadow: 0 8px 25px rgba(255, 132, 0, 0.2);
}

.faq__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq__header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.faq__header span {
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq__header:hover span {
  color: var(--primary-color-dark);
  transform: scale(1.1);
}

.faq__card.active .faq__header span {
  transform: rotate(180deg);
  color: var(--primary-color-dark);
}

.faq__description {
  color: var(--text-dark);
  line-height: 1.6;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 132, 0, 0.2);
  display: none;
}

.faq__card.active .faq__description {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.faq__list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article {
  background-color: #f9dfc6;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.article__container :is(.section__subheader, .section__header) {
  text-align: center;
}

.article__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
}

.article__card img {
  margin-bottom: 1rem;
  border-radius: 5px;
}

.article__card div {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.article__card p {
  font-weight: 500;
  color: var(--text-dark);
}

.article__card a {
  font-weight: 500;
  color: var(--primary-color);
}

.article__card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.client__container :is(.section__subheader, .section__header) {
  text-align: center;
}

/* ========================= */
/*     NUEVOS TESTIMONIOS    */
/* ========================= */

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial__card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.testimonial__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial__info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
}

.testimonial__date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

.testimonial__rating {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial__rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonial__text {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive para testimonios */
@media (max-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .testimonial__card {
    padding: 1.25rem;
  }
}

/* ========================= */
/*      MAPA DE COBERTURA    */
/* ========================= */

.coverage-map {
  background: var(--white);
  padding: 1rem 0 0 0;
}

.coverage-map__container {
  text-align: center;
}

.coverage-map .section__subheader,
.coverage-map .section__header {
  text-align: center;
}

.coverage-map .section__header {
  margin-bottom: 3rem;
}

.map__container {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
}

.coverage__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Responsive para mapa de cobertura */
@media (max-width: 768px) {
  .coverage-map {
    padding: 1rem 0;
  }
  
  .map__container {
    margin: 0 1rem;
  }
  
  .coverage-map .section__header {
    margin-bottom: 2rem;
    font-size: 2rem;
  }
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

.banner {
  background-color: var(--white);
}

.banner__container {
  display: grid;
  gap: 2rem;
}

.banner__content .section__header {
  margin-bottom: 1rem;
}

.banner__form form {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner__form input {
  width: 100%;
  padding: 0.75rem;
  outline: none;
  border: 1px solid var(--text-light);
  background-color: var(--white);
}

/* ========================= */
/*       FOOTER              */
/* ========================= */

.footer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("../assets/header.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.footer__col p {
  max-width: 350px;
  margin-bottom: 2rem;
  color: var(--white);
}

.footer__links {
  display: grid;
  gap: 0.75rem;
}

.footer__links a {
  color: var(--white);
  padding-left: 1.5em;
  position: relative;
}

.footer__links a:hover {
  color: var(--primary-color);
}

/* Estilos para información de contacto */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact__item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  min-width: 20px;
}

.contact__item a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact__item a:hover {
  color: var(--primary-color);
}

.contact__item span {
  color: var(--white);
  transition: color 0.3s ease;
}

.contact__item:hover span {
  color: var(--primary-color);
}

/* Estilos mejorados para botones sociales */
.footer__socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social__btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social__btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.social__btn i {
  font-size: 1.2rem;
}

.social__btn span {
  font-weight: 500;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--white);
  text-align: center;
}

@media (min-width: 540px) {
  .about__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .article__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
}

@media (min-width: 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    width: auto;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
  }

  .logo-image {
    height: 50px;
    /* Tamaño más grande para desktop */
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none;
  }

  .nav__links a {
    color: var(--white);
  }

  .nav__btns {
    display: flex;
    flex: 1;
  }

  .nav__btns .btn {
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 0;
  }

  .nav__btns .btn:hover {
    background-color: var(--primary-color-dark);
  }

  .header__container {
    padding-block: 8.8rem 12.8rem;
  }

  .about__header {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    width: 95vw;
    margin-left: calc(-47vw + 50%);
    padding: 0;
    overflow-x: hidden;
  }

  .about__card {
    padding: 4rem 1rem;
  }

  .faq__container {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }

  .article__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .article__grid {
    gap: 2rem;
  }
}







.form {
  background-color: var(--white);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.form__container {
  background-color: transparent;
  padding: 4rem 1rem;
  border-radius: 8px;
  margin-bottom: 0rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.form__content {
  position: sticky;
  top: 2rem;
  z-index: 5;
}

#solicitar-asesoria .section__subheader {
  text-align: center;
}

#solicitar-asesoria .section__header {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--text-dark);
}

.form__description {
  color: var(--text-dark);
  line-height: 1.6;
  margin-top: 1rem;
  font-size: 1.1rem;
  text-align: center;
}

.asesoria__form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
  background-color: var(--white);

}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--primary-color);
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6H0z' fill='%236B7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 6px;
}

.form__group textarea {
  resize: vertical;
}

.asesoria__form .btn {
  justify-self: start;
  padding: 0.75rem 2rem;
  width: 100%;
  font-size: 1.3rem;
  font-family: Poppins, sans-serif;
  font-weight: 600;
}

.asesoria__form .btn:hover {
  background-color: var(--primary-color-dark);
}

/* Contact Cards Styles */
.contact__cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact__card {
  background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.contact__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.15);
}

.contact__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 10px;
  margin-bottom: 1rem;
}

.contact__card-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.contact__card-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact__card-content p {
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* WhatsApp Card Specific Styles */
.whatsapp__card .contact__card-icon {
  background: linear-gradient(135deg, #25D366, #20BA5A);
}

.whatsapp__card:hover {
  box-shadow: 0 8px 15px -3px rgba(37, 211, 102, 0.2);
  cursor: pointer;
}

/* Contact Details Styles */
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.contact__item i {
  font-size: 1.1rem;
  color: var(--primary-color);
  width: 20px;
}

.contact__item span {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Hours Details Styles */
.hours__details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #e2e8f0;
}

.hours__item:last-child {
  border-bottom: none;
}

.hours__item .day {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.hours__item .time {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Responsive */
@media (min-width: 768px) {
  .form__container {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }

  .form__content .section__subheader,
  .form__content .section__header {
    text-align: left !important;
  }

  .form__description {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .contact__cards {
    margin-top: 1.5rem;
    gap: 1rem;
  }
  
  .contact__card {
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  .form__container {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  /* Cambiar orden en mobile: primero contenido, luego formulario */
  .form__content {
    order: 1;
    position: static; /* Quitar sticky en mobile para evitar superposiciones */
    width: 100%;
  }
  
  .form__fields {
    order: 2;
    width: 100%;
  }

  .asesoria__form {
    gap: 1rem;
    width: 100%;
  }

  .faq__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq__content {
    position: static;
    text-align: center;
  }

  .faq__header-content .section__subheader,
  .faq__header-content .section__header {
    text-align: center !important;
  }

  .faq__card {
    padding: 1.2rem;
  }

  .faq__header h4 {
    font-size: 1.1rem;
  }

  .faq__list li {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

@media (max-width: 540px) {
  .asesoria__form {
    display: flex;
    flex-direction: column;
  }

  .asesoria__form .btn {
    width: 100%;
    text-align: center;
  }

  .faq__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq__content {
    position: static;
    text-align: center;
  }

  .faq__header-content .section__subheader,
  .faq__header-content .section__header {
    text-align: center !important;
  }

  .faq__card {
    padding: 1rem;
    margin-bottom: 0.5rem;
  }

  .faq__header {
    gap: 0.5rem;
  }

  .faq__header h4 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .faq__header span {
    font-size: 1.5rem;
  }

  .faq__list li {
    padding-left: 1.2rem;
    font-size: 0.9rem;
  }

  .faq__grid {
    gap: 1rem;
  }
}












.services__container {
  background-color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section__container .section__subheader {
  text-align: center;
}

.section__container .section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.services__layout {
  position: relative;
}

.service__card {
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s, background 0.3s, color 0.3s, border 0.3s;
}

.service__card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s, background 0.3s, color 0.3s, border 0.3s;
}

.service__card:nth-child(1) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/sistema-3.jpg");
}

.service__card:nth-child(2) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/sistema-5.jpg");
}

.service__card:nth-child(3) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/sistema-6.jpg");
}

.service__card:nth-child(4) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/service-2.jpeg");
}

.service__info {
  position: relative;
  z-index: 2;
}

.service__info h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
  max-width: 250px;
}

.service__info p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  line-height: 1.6;
}

.services__cards {
  position: sticky;
  top: 2rem;
  z-index: 5;
}

.services__header-content .section__subheader,
.services__header-content .section__header {
  text-align: left !important;
}

.services__header-content .section__header {
  margin-bottom: 1rem;
}

.services__text p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  text-align: left;
}

.services__highlights {
  display: grid;
  gap: 1.5rem;
}

.highlight {
  padding: 1.5rem;
  background: var(--white);
  border-left: 4px solid var(--primary-color);
}

.highlight h4 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.highlight p {
  color: var(--text-dark);
  font-size: 1rem;
  margin: 0;
}

/* Mobile: Remove sticky positioning */
@media (max-width: 539px) {
  .services__cards {
    position: static;
    order: 2;
  }

  .services__content {
    order: 1;
  }
}

/* Responsive: Keep single column layout on all screens */
@media (min-width: 540px) {
  .services__cards {
    grid-template-columns: 1fr;
    gap: 0;
    position: static;
  }
}

@media (min-width: 768px) {
  .services__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .services__content {
    position: sticky;
    top: 2rem;
    z-index: 5;
  }

  .service__card {
    padding: 5rem 2rem;
  }
}

@media (max-width: 768px) {
  .services__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services__content {
    position: static;
    text-align: center;
    order: 1;
  }

  .services__cards {
    order: 2;
  }

  .services__header-content .section__subheader,
  .services__header-content .section__header {
    text-align: center !important;
  }
}



/* Estilos para la sección de garantías */
.guarantees__container {
  background-color: var(--white);
  padding: 0rem 1rem 0rem 1rem;
}

.guarantees__grid {
  display: grid;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  /* 1 columna por defecto */
}

.guarantee__card {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guarantee__card:nth-child(1) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/equipo-2.jpg");
}

.guarantee__card:nth-child(2) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/about-2.jpg");
}


.guarantee__number {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1rem;
  transition: transform 0.4s ease, color 0.3s ease;
}

.guarantee__card:hover .guarantee__number {
  transform: scale(1.1);
  color: var(--primary-color);
}

.guarantee__content h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.guarantee__content p {
  color: var(--white);
  font-size: 1rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Efecto de borde decorativo */
.guarantee__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--white));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
}

.guarantee__card:hover::after {
  transform: scaleX(1);
}

/* Responsive: 2 columnas en tablets y desktop */
@media (min-width: 768px) {
  .guarantees__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .guarantee__number {
    font-size: 5.5rem;
  }

  .guarantee__content h4 {
    font-size: 1.75rem;
  }
}




.fees__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  background-color: var(--white);
  padding: 0rem 0.5rem 5rem 0.5rem;
}

.fees__content {
  position: sticky;
  top: 2rem;
  z-index: 5;
}

.fees__header-content .section__subheader,
.fees__header-content .section__header {
  text-align: left !important;
}

.fees__header-content .section__header {
  margin-bottom: 1.5rem;
}

.fees__header-content .section__description {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  text-align: left;
}

.fees__header-content .fees__categories {
  margin-top: 2rem;
}

/* Media queries para responsive */
@media (max-width: 768px) {
  .fees__container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fees__content {
    position: static;
    text-align: center;
  }

  .fees__header-content .section__subheader,
  .fees__header-content .section__header,
  .fees__header-content .section__description {
    text-align: center !important;
  }

  .fees__header-content .fees__categories {
    text-align: center;
  }
}

.fees__layout {
  width: 100%;
  height: 100%;
}

.fees__categories {
  display: grid;
  gap: 1.5rem;
}

.category {
  padding: 1.5rem;
  background: var(--white);
  border-left: 4px solid var(--primary-color);
}

.category h4 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.category p {
  color: var(--text-dark);
  font-size: 1rem;
  margin: 0;
}

.fees__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  height: 100%;
}

.fees__section {
  background: var(--white);
  padding: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.fees__section-title {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.fees__card {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s, background 0.3s, color 0.3s, border 0.3s;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  padding: 3rem 2.5rem;
  width: 100%;
}

.fees__card:hover {
  transform: scale(1.03) translateY(-5px);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s, background 0.3s, color 0.3s, border 0.3s;
}

.fees__card:not(:hover) {
  transform: scale(1) translateY(0);
}

.fees__card:nth-child(odd) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/sistema-6.jpg");
}

.fees__card:nth-child(even) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/about-2.jpg");
}

.fees__card:last-child {
  margin-bottom: 0;
}

.fees__info {
  padding: 0;
  position: relative;
  z-index: 2;
}

.fees__info h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.fees__info h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-style: italic;
}

.fees__info p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  line-height: 1.5;
}

/* Responsive: 2 columns layout on larger screens */
@media (min-width: 768px) {
  .fees__content {
    position: sticky;
    top: 2rem;
    z-index: 5;
  }

  .fees__cards {
    gap: 0;
  }

  .fees__text {
    text-align: left;
  }

  .fees__section-title {
    text-align: left;
  }
}

.fees__section-title {
  text-align: left;
}

@media (min-width: 1024px) {
  .fees__cards {
    gap: 1rem;
  }
}




.benefits {
  padding: 1rem 1rem;
  background-color: var(--white);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}


.benefits .section__subheader {
  text-align: center;
}

.benefits .section__header {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 3rem;
  color: var(--text-dark);
}


.benefits__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.benefits__card {
  background: rgba(153, 153, 153, 0.251);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  height: 100%;
}

.benefits__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefits__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.benefits__card:hover .benefits__icon {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 132, 0, 0.4);
}

.benefits__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.benefits__card:hover .benefits__title {
  color: var(--primary-color);
}

.benefits__description {
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Animación para los iconos */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.benefits__icon {
  animation: pulse 3s infinite;
}

/* Media queries */
@media (min-width: 540px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section__header {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .benefits__grid {
    gap: 2.5rem;
  }
}






.plans {
  background-color: var(--white);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 2rem 1rem 0rem 1rem;
}

.plans .section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem;
}

.plans .section__subheader {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section__header {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-color-dark));
  border-radius: 2px;
}

.plans__description {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.plans__card {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.plans__card:nth-child(1) { /*   2 paneles     */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/panales-2.jpg");
}

.plans__card:nth-child(2) { /*   4 paneles     */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/panales-4.jpg");
}

.plans__card:nth-child(3) {  /*   6 paneles     */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/panales-6.jpg");
}

.plans__card:nth-child(4) {  /*   8 paneles     */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/panales-8.jpg");
}

.plans__card:nth-child(5) {  /*   10 paneles     */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/panales-10.jpg");
}

.plans__card:nth-child(6) {  /*   12 paneles     */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/panales-12.jpg");
}

.plans__card:nth-child(7) {  /*   14 paneles     */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/20-paneles.jpg");
}

.plans__card:nth-child(8) {  /*   18 paneles     */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/panales-20.jpg");
}


.plans__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.plans__badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.plans__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.plans__card:hover .plans__icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 5px 15px rgba(255, 132, 0, 0.4);
}

.plans__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

.plans__card:hover .plans__title {
  color: var(--primary-color);
}

.plans__subtitle {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.plans__details {
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.plans__detail {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 1.05rem;
}

.plans__detail:last-child {
  border-bottom: none;
}

.plans__label {
  color: var(--white);
  font-weight: 500;
}

.plans__value {
  color: var(--white);
  font-weight: 700;
}

.plans__price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 1rem 0;
  position: relative;
  z-index: 2;
}

.plans__button {
  background: linear-gradient(to right, var(--primary-color), var(--primary-color-dark));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 132, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.plans__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 132, 0, 0.4);
  color: white;
  text-decoration: none;
}

.plans__button i {
  transition: transform 0.3s ease;
}

.plans__button:hover i {
  transform: translateX(5px);
}

/* Media queries */
@media (min-width: 540px) {
  .plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .plans__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section__header {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .plans__grid {
    gap: 2.5rem;
  }

  .plans__card {
    padding: 3rem 1.5rem;
  }
}

/* ========================= */
/*    CASOS DE ÉXITO        */
/* ========================= */

.success-cases {
  background: var(--white);
  padding: 4rem 0;
  overflow: hidden;
}

.success-cases__container {
  text-align: center;
}

.success-cases__description {
  max-width: 600px;
  margin: 0 auto 4rem;
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.7;
}

.success-cases__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

/* Carrusel infinito */
.carousel__row {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.carousel__track {
  display: flex;
  gap: 2rem;
  width: max-content;
}

/* Animación hacia la derecha */
.carousel__row--right .carousel__track {
  animation: scrollRight 60s linear infinite;
}

/* Animación hacia la izquierda */
.carousel__row--left .carousel__track {
  animation: scrollLeft 60s linear infinite;
}

.carousel__image {
  width: 400px;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.carousel__image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Animaciones */
@keyframes scrollRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive para casos de éxito */
@media (max-width: 768px) {
  .success-cases {
    padding: 3rem 0;
  }
  
  .success-cases__content {
    gap: 1.5rem;
  }
  
  .carousel__row {
    padding: 0.5rem 0;
  }
  
  .carousel__track {
    gap: 1rem;
  }
  
  .carousel__image {
    width: 280px;
    height: 200px;
  }
  
  /* Velocidad más rápida en móvil para mantener fluidez */
  .carousel__row--right .carousel__track {
    animation: scrollRight 40s linear infinite;
  }
  
  .carousel__row--left .carousel__track {
    animation: scrollLeft 40s linear infinite;
  }
}

@media (max-width: 480px) {
  .carousel__image {
    width: 220px;
    height: 160px;
  }
  
  .carousel__track {
    gap: 0.75rem;
  }
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 40px;
  /* Adjusted alignment to the right */
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Increased spacing */
}

.floating-btn {
  width: 70px;
  /* Increased size */
  height: 70px;
  /* Increased size */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.floating-btn i {
  font-size: 38px;
  /* Adjusted icon size */
  color: white;
}

/* Updated Floating Action Buttons Colors */
.whatsapp-btn {
  background: linear-gradient(135deg, #25D366);
  /* WhatsApp green gradient */
}

.whatsapp-btn:hover {
  background: linear-gradient(#075E54);
}

.chat-btn {
  background: var(--primary-color);
  /* Chat button using --text-dark */
}

.chat-btn:hover {
  background: rgba(11, 8, 41, 0.8);
  /* Slightly lighter hover effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 35px;
    right: 30px;
    /* Adjusted alignment for smaller screens */
  }

  .floating-btn {
    width: 60px;
    /* Adjusted size for smaller screens */
    height: 60px;
  }

  .floating-btn i {
    font-size: 24px;
    /* Adjusted icon size for smaller screens */
  }
}

@media (max-width: 480px) {
  .floating-buttons {
    bottom: 10px;
    right: 15px;
    /* Adjusted alignment for mobile screens */
  }

  .floating-btn {
    width: 55px;
    /* Adjusted size for mobile screens */
    height: 55px;
  }

  .floating-btn i {
    font-size: 22px;
    /* Adjusted icon size for mobile screens */
  }
}

/* Float animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Chatbot Styles */
.chatbot-container {
  position: fixed;
  bottom: 120px;
  right: 40px;
  width: 380px;
  height: 500px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease-out;
}

.chatbot-container.active {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chatbot-container.closing {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

/* Chatbot Header */
.chatbot-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.chatbot-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chatbot-title h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.chatbot-status {
  font-size: 0.8rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.chatbot-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Messages Area */
.chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: linear-gradient(135deg, #f8fafc 0%, var(--extra-light) 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.message {
  display: flex;
  gap: 0.75rem;
  animation: fadeInMessage 0.3s ease-out;
}

@keyframes fadeInMessage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.bot-message .message-avatar {
  background: var(--primary-color);
  color: var(--white);
}

.user-message .message-avatar {
  background: var(--text-dark);
  color: var(--white);
  order: 2;
}

.user-message {
  flex-direction: row-reverse;
}

.message-content {
  flex: 1;
  max-width: 75%;
}

.message-content p {
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 18px;
  margin: 0;
  line-height: 1.4;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 132, 0, 0.1);
}

.user-message .message-content p {
  background: var(--primary-color);
  color: var(--white);
}

.message-time {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  display: block;
  padding: 0 1rem;
}

.user-message .message-time {
  text-align: right;
}

/* Quick Actions */
.chatbot-quick-actions {
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid var(--extra-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-action-btn {
  background: var(--extra-light);
  border: 1px solid var(--primary-color);
  color: var(--text-dark);
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.quick-action-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 132, 0, 0.3);
}

.quick-action-btn i {
  font-size: 14px;
  opacity: 0.8;
}

/* Input Area */
.chatbot-input {
  background: var(--white);
  border-top: 1px solid var(--extra-light);
  padding: 1rem;
}

.input-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#chatbot-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--extra-light);
  border-radius: 25px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: var(--white);
}

#chatbot-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 132, 0, 0.1);
}

.send-btn {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.send-btn:hover {
  background: var(--primary-color-dark);
  transform: scale(1.05);
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.input-footer {
  margin-top: 0.5rem;
  text-align: center;
}

.powered-by {
  font-size: 0.7rem;
  color: var(--text-light);
  opacity: 0.7;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0;
}

.typing-indicator .message-avatar {
  background: var(--primary-color);
  color: var(--white);
}

.typing-dots {
  background: var(--white);
  padding: 1rem;
  border-radius: 18px;
  display: flex;
  gap: 4px;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typingAnimation 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingAnimation {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .chatbot-container {
    bottom: 80px;
    right: 15px;
    left: 15px;
    width: auto;
    height: 450px;
  }

  .chatbot-header {
    padding: 0.8rem;
  }

  .chatbot-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .chatbot-title h4 {
    font-size: 1rem;
  }

  .message-content {
    max-width: 85%;
  }

  .quick-action-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .chatbot-container {
    height: 400px;
    bottom: 70px;
  }

  .message-content {
    max-width: 90%;
  }

  .message-content p {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }

  #chatbot-input {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }
}

/* Discount Popup Styles */
.discount-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.5s ease-in-out;
}

.discount-popup.hide {
  animation: fadeOut 0.5s ease-in-out;
}

.discount-popup.show {
  display: flex;
}

.discount-popup-content {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/about-2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  padding: 3rem 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--primary-color);
}

.discount-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  transition: color 0.3s ease;
}

.discount-popup-close:hover {
  color: var(--primary-color);
}

.discount-popup-body h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.discount-percentage {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-color);
  margin: 1.5rem 0;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.discount-popup-body p {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.discount-popup-btn {
  background: var(--primary-color);
  color: var(--text-dark);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 132, 0, 0.3);
}

.discount-popup-btn:hover {
  background: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 132, 0, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .discount-popup-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
    border-radius: 0;
  }

  .discount-popup-body h2 {
    font-size: 2rem;
  }

  .discount-percentage {
    font-size: 3rem;
  }

  .discount-popup-body p {
    font-size: 1rem;
  }
}

/* ========================= */
/*   FOOTER RESPONSIVE       */
/* ========================= */

/* Dispositivos móviles - 1 columna */
@media (max-width: 480px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1rem 2rem;
  }
  
  .footer__col p {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .social__btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Tablets pequeñas - 2 columnas */
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem 1.5rem 2rem;
  }
}

/* ========================= */
/*   PAGE HEADER STYLES      */
/* ========================= */

.page-header {
  background: var(--white);
  padding: 8rem 0 3rem 0;
  margin-top: 68px; /* Altura del navbar fijo */
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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='%23ff8400' fill-opacity='0.05'%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");
  opacity: 0.5;
  z-index: 0;
}

.page-header .section__container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem;
}

.page-header .section__subheader {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.page-header .section__header {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 3.5rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-header .section__description {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
}

/* Responsive para page-header */
@media (max-width: 768px) {
  .page-header {
    padding: 6rem 0 2rem 0;
  }

  .page-header .section__header {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .page-header .section__subheader {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .page-header .section__description {
    font-size: 1rem;
    line-height: 1.7rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 5rem 0 1.5rem 0;
  }

  .page-header .section__header {
    font-size: 1.75rem;
    line-height: 2.2rem;
  }
}