:root {
  --color-principal: #559432;
  --color-principal-2: #1d4ed8;
  --color-acento: #f6c208;
  --color-fondo: #f3f4f6;
  --color-texto: #111827;
  --color-texto-2: #f3f4f6;
  --color-secundario: #107ba8;
  --color-secundario-2: #18add5;
  --color-secundario-3: #e3edda;
  --color-secundario-4: #7cb751;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url("https://speedfiber.com.ec/wp-content/uploads/2021/01/fondo-general-1.png");
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  color: var(--color-texto);
  align-items: center;
  justify-content: center;
  height: 100vh;
}

header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

header .container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 0 20px 20px rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.8);
}

header .container .logo {
  display: flex;
  align-items: center;
}

header .container .logo #logo_speed {
  width: 250px;
  max-width: 100%;
  height: auto;
  margin-right: 300px;
  padding: 10px;
  border-radius: 10px;
  border-color: transparent;
}

.hamburger {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .container > nav > ul {
  display: flex;
  align-items: center;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

header .container > nav > ul > li {
  margin-left: 20px;
}

header .container > nav > ul > li > a,
header .container > nav > ul > form > button {
  text-decoration: none;
  font-size: 20px;
  padding: 8px 16px;
  display: inline-block;
  transition: color 0.3s ease;
  color: var(--color-principal);
  font-weight: bold;
  background-color: transparent;
  border: none;
}

header .container > nav > ul > li > a:hover,
header .container > nav > ul > form > button:hover {
  color: var(--color-texto-2);
  background-color: var(--color-principal);
  border-radius: 15px;
  border-color: var(--color-principal);
}

/* Inicio-Home */
#home {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-image: url("../images/home.png");
  padding: 40px;
  background-repeat: no-repeat;
  flex-direction: column;
  position: relative;
}

#home .hero-text {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 20px 20px rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.6);
  font-family: "Anton", sans-serif;
  border-color: transparent;
}

#home .hero-text > h1 {
  font-size: 100px;
  line-height: 40px;
  font-weight: 400;
  color: var(--color-principal);
  margin-bottom: 16px;
  letter-spacing: 12px
}

#home .home-image {
  width: 900px;
  height: 900px;
  margin-top: 150px;
  border-radius: 10px;
  display: block;
}

/* Servicios */
#services {
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: transparent;
}

#services .container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#services .container > h3 {
  font-size: 50px;
  line-height: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-principal);
}

#services .container .flex {
  display: flex;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 32px;
  justify-content: space-around;
}

#services .container .flex .card {
  width: 350px;
  height: 250px;
  perspective: 1000px;
}

#services .container .flex .card .card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.999s;
}

#services .container .flex .card:hover .card-inner {
  transform: rotateY(180deg);
}

#services .container .flex .card .card-inner .card-front,
.card-back {
  position:absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

#services .container .flex .card .card-inner .card-front {
  background-image: linear-gradient(
    to right, 
    hsla(228, 100%, 50%, 0.788),
    hsla(95, 92%, 40%, 0.6)
  );
  color: var(--color-texto-2);
  font-weight: bold;
  display: flex;
  align-items: center;
  border: 4px solid linear-gradient(
    to right, 
    hsla(228, 100%, 50%, 0.788),
    hsla(95, 92%, 40%, 0.6)
  );
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  justify-content: center;
  font-size: 24px;
  transform: rotateY(0deg);
}

#services .turbo {
  width: 100%; 
  height: auto;
}

#services .ultra {
  width: 120%; 
  height: auto; 
}

#services .infinity {
  width: 130%; 
  height: auto; 
}

#services .plan-text {
  position: absolute; 
  bottom: 10px; 
  left: 55%; 
  transform: translateX(-50%); 
  color: white; 
  font-size: 50px; 
  font-weight: 1000; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 1; 
}

#services .container .flex .card .card-inner .card-back {
  background-color: var(--color-fondo);
  display:flex;
  align-items: center;
  border: 4px solid var(--color-secundario-4);
  border-radius: 10px;
  justify-content: center;
  transform: rotateY(180deg);
  flex-direction: column;
}

#services .turbo-plan {
  width: 80%; 
  height: auto;
  margin-top: -110px;
  margin-bottom: -100px;
}

#services .ultra-plan {
  width: 80%; 
  height: auto; 
  margin-top: -110px;
  margin-bottom: -100px;
}

#services .infinity-plan {
  width: 80%; 
  height: auto; 
  margin-top: -110px;
  margin-bottom: -100px;
}

/* seperador*/
.connect-world {
  position: relative;
  background-color: var(--color-secundario-3);
  color: var(--color-principal-2);
  padding: 15px;
  text-align: center;
  font-size: 24px;
  font-family: "Poppins", sans-serif;
}

.connect-world .triangle {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #000000bd;
}

/* Speed test */
.speed-test-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background-image: url("../images/speed.png");
  background-position: center;
  background-size: cover;
}

.section-title {
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--color-texto-2);
}

.speed-image {
  width: 400px;
  height: 200px;
  margin-bottom: 30px;
}

.speed-test-section .btn-primary {
  margin-top: 20px;
}

/* Beneficios*/
.benefits {
  background-color: #004269;
  padding: 10px 0;
}

.benefits h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--color-texto-2);
}

.benefits .flex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0px;
}

.benefits .benefit-item {
  background-color: transparent;
  padding: 0px;
  margin: 10px;
  width: 23%;
  text-align: center;
}

.benefits .benefit-item h4 {
  font-size: 1.5rem;
  color: var(--color-texto-2);
  margin-bottom: 0px;
}

.benefits .benefit-item p {
  font-size: 1rem;
  color: var(--color-texto-2);
}

.benefits .benefit-item ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.benefits .benefit-item ul li {
  margin: 10px 0;
  font-size: 0.95rem;
  color: var(--color-texto-2);
  list-style-type: disc;
  list-style-position: inside;
}

.benefits .icon {
  margin-bottom: 0px;
  font-size: 3rem;
}

.benefits .benefit-item .icon i {
  width: 50px;
  transition: 0.3s ease-in-out;
  color: var(--color-acento);
}

.benefits .benefit-item i:hover {
  color: var(--color-principal);
}

/* Contactanos */
#contact {
  padding-top: 10px;
  padding-bottom: 64px;
  background-color: transparent;
}

#contact > h3 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  color: var(--color-principal);
}

#contact .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding-right: 20px;
}

#contact .message-container {
  flex: 1;
  margin-right: 20px;
  padding-left: 50px;
  color: var(--color-texto);
}

#contact .form-container {
  flex: 1;
  padding-right: 50px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-right: 20px;
}

.form-group:last-child {
  margin-right: 0;
}

#contact label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

#contact input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#contact button.btn-primary {
  margin-left: 270px;
}

/* Info */
.info-section {
  padding: 20px 0;
  background-color: #004269;
  text-align: center;
}

.info-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-section .speedfiber,
.info-section .contact {
  margin-bottom: 30px;
}

.info-section .speedfiber h3,
.info-section .contact h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: var(--color-texto-2);
}

.info-section .speedfiber p,
.info-section .contact p {
  font-size: 1em;
  line-height: 1.5;
  color: var(--color-texto-2);
}

.info-section .contact a {
  color: var(--color-texto-2);
  text-decoration: none;
}

.info-section .contact a p i {
  color: var(--color-secundario-4);
  font-size: 20px;
}

.info-section .social-media {
  margin-top: 20px;
}

.info-section .social-media h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  margin-right: -50px;
  color: var(--color-texto-2);
}

.info-section .wrapper {
  display: inline-flex;
  list-style: none;
  height: 120px;
  width: 100%;
  padding-top: 40px;
  margin-top: -10px;
  font-family: "Poppins", sans-serif;
  justify-content: center;
}

.info-section .wrapper .icon {
  position: relative;
  background: var(--color-texto-2);
  border-radius: 50%;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.info-section .wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: var(--color-fondo);
  color: var(--color-texto-2);
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.info-section .wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: var(--color-fondo);
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.info-section .wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.info-section .wrapper .icon:hover span,
.info-section .wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.info-section .wrapper .facebook:hover,
.info-section .wrapper .facebook:hover .tooltip,
.info-section .wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: var(--color-texto-2);
}

.info-section .wrapper .twitter:hover,
.info-section .wrapper .twitter:hover .tooltip,
.info-section .wrapper .twitter:hover .tooltip::before {
  background: #1da1f2;
  color: var(--color-texto-2);
}

.info-section .wrapper .instagram:hover,
.info-section .wrapper .instagram:hover .tooltip,
.info-section .wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: var(--color-texto-2);
}

.info-section .wrapper .tiktok:hover,
.info-section .wrapper .tiktok:hover .tooltip,
.info-section .wrapper .tiktok:hover .tooltip::before {
  background: #000000;
  color: var(--color-texto-2);
}

/* botones */
button.btn-primary {
  background-color: var(--color-principal-2);
  color: var(--color-texto-2);
  font-weight: 750;
  padding: 10px 18px 10px 18px;
  text-decoration: none;
  border-color: var(--color-principal-2);
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

button.btn-primary:hover {
  background-color: var(--color-fondo);
  color: var(--color-principal-2);
  box-shadow: 0 0 0 5px #3b83f65f;
}

.elementor-spacer-inner {
  padding: 2px;
}

/* Boton chat Bot */
#chatButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--color-principal);
  color: var(--color-texto-2);
  padding: 8px 16px 8px 16px;
  border-radius: 9999px;
  border-color: transparent;
  cursor: pointer;
}

#chatButton i{
  font-size: 20px;
}

#chatButton:hover {
  background-color: var(--color-secundario-2);
  border-color: transparent;
}

#chatButton:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.chat-window {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 300px;
  background-color: var(--color-secundario-3);
  border: 1px solid var(--color-secundario-3);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: none;
  z-index: 1001;
  padding: 16px;
}

.cha-twindow > h3 {
  text-align: center;
  font-size: 20px;
  line-height: 28px;
  font-weight: bold;
  margin-bottom: 16px;
}

.chat-window > ul > li {
  margin-top: 8px;
  margin-bottom: 8px;
  list-style: none;
}

.chat-window > ul > li > a > button {
  color: var(--color-secundario);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.chat-window > ul > li > a > button:hover {
  text-decoration: underline;
}

/* popup cliente*/
.contractpopup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  background-color: rgba(0, 0, 0, 0.4);
  max-width: 40%;
}

.contractpopup .popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.contractpopup .close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.contractpopup input {
  width: 25%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  margin-bottom: 20px;
}

.contractpopup .submit-btn {
  padding: 12px 30px; 
  font-size: 18px;
  background-color: var(--color-principal);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  max-width: 40%;
}

.contractpopup .submit-btn:hover {
  background-color: var(--color-principal-2);
}

/* pie de pagina */
footer {
  background-color: #004269;
  color: var(--color-texto-2);
  padding-top: 24px;
  padding-bottom: 24px;
}

footer .container {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
}

footer .container > p {
  margin-bottom: 8px;
}

/* template de planes*/
.plans .container .flex {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 30px;
  padding-top: 40px;
}

.plans .card {
  --white: hsl(0, 0%, 100%);
  --black: hsl(240, 15%, 9%);
  --paragraph: hsl(0, 0%, 83%);
  --line: hsla(240, 2%, 67%, 0.708);
  --primary: hsl(266, 92%, 58%);

  position: relative;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  padding: 1rem;
  width: 19rem;
  background-color: var(--color-secundario-2);
  background-image: radial-gradient(
      at 88% 40%,
      var(--color-secundario-2) 0px,
      transparent 85%
    ),
    radial-gradient(at 49% 30%, var(--color-principal-2) 0px, transparent 85%),
    radial-gradient(at 14% 26%, var(--color-principal-2) 0px, transparent 85%),
    radial-gradient(at 0% 64%, var(--color-principal-2) 0px, transparent 85%),
    radial-gradient(at 41% 94%, var(--color-secundario-2) 0px, transparent 85%),
    radial-gradient(at 100% 99%, var(--color-principal-2) 0px, transparent 85%);

  border-radius: 1rem;
  box-shadow: 0px -16px 24px 0px var(--color-principal) inset;
}

.plans .card .card__border {
  overflow: hidden;
  pointer-events: none;

  position: absolute;
  z-index: -10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background-image: linear-gradient(
    0deg,
    var(--color-secundario-2) -50%,
    var(--color-principal-2) 100%
  );

  border-radius: 1rem;
}

.plans .card .card__border::before {
  content: "";
  pointer-events: none;

  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%), rotate(0deg);
  transform-origin: left;

  width: 200%;
  height: 10rem;
  background-image: linear-gradient(
    0deg,
    hsla(0, 0%, 100%, 0) 0%,
    hsl(277, 95%, 60%) 40%,
    hsl(277, 95%, 60%) 60%,
    hsla(0, 0%, 40%, 0) 100%
  );

  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.plans .card .card_title__container .card_title {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: bold;
}

.plans .card .card_title__container .card_paragraph {
  margin-top: 0.25rem;
  width: 70%;

  font-size: 1rem;
  color: var(--color-secundario-3);
}

.plans .card .card_title__container .card_paragraph strong{
font-size:20px;
}

.plans .wifi-5{
  width: 70%;
  height: auto;
  margin-left: 110px;
  margin-top: -80px;
}

.plans .wifi-6{
  width: 45%;
  height: auto;
  margin-left: 150px;
  margin-top: -80px;
}

.plans .card .line {
  width: 100%;
  height: 0.1rem;
  background-color: var(--line);

  border: none;
}

.plans .card .card__list {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
}

.plans .card .card__list .card__list_item {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}

.plans .card .card__list .card__list_item .check {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 1rem;
  height: 1rem;
  background-color: var(--color-secundario-4);

  border-radius: 50%;
}

.plans .card .card__list .card__list_item .check .check_svg {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--color-secundario-4);
  fill: var(--black);
}

.plans .card .card__list .card__list_item .list_text {
  font-size: 1rem;
  color: var(--white);
}

.plans .card .button {
  cursor: pointer;
  padding: 0.5rem;
  width: 100%;
  background-image: linear-gradient(0deg, #0b6c00 0%, #0b6c00 100%);

  font-size: 1rem;
  color: var(--white);

  border: 0;
  border-radius: 9999px;
  box-shadow: inset 0 -2px 25px -4px var(--white);
}

.plans .card .button:hover {
  background-image: linear-gradient(
    0deg,
    var(--color-principal) 0%,
    var(--color-principal) 100%
  );
}

.plans .price {
  position: relative;
  background: var(--color-acento);
  width: 100%;
  padding: 0.5rem;
  margin-top: 20px;
  margin-left: 29px;
  text-align: center;
  border-radius: 5px 0 0 5px;
  font-size: 2rem;
  color: #000;
  font-weight: 500;
}

.plans .price:before {
  margin-right: 5px;
  font-size: 1.5rem;
  font-weight: 300;
}

.plans .price:after {
  margin-left: 5px;
  font-size: 1rem;
  font-weight: 300;
}

.plans .price div {
  position: absolute;
  bottom: -23px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 13px solid #c58102;
  border-bottom: 10px solid transparent;
  border-right: 13px solid transparent;
}

/* Nuestros planes Incluyen*/

.plans-included {
  text-align: center;
  padding: 40px;
  background-color: transparent;
}

.plans-included h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--color-principal);
}

.plans-included .features-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.plans-included .feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
}

.plans-included .feature i {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--color-acento);
  transition: border 0.3s ease-in-out;
}

.plans-included .feature i:hover {
  transform: scale(1.2);
}

.plans-included .feature p {
  font-size: 25px;
  color: #004269;
  font-weight: 600;
  font-weight: bold;
}

/* Terminos y condiciones*/
.terms-conditions {
  text-align: center;
  align-items: center;
  background-color: var(--color-fondo);
}

.terms-conditions h1 {
  font-size: 40px;
  color: var(--color-principal);
  margin-bottom: 10px;
}

.terms-conditions h3 {
  font-size: 18px;
  color: var(--color-texto);
  margin-bottom: 20px;
}

.terms-conditions .buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  justify-content: space-around;
}

.terms-conditions .btn-terms,
.terms-conditions .btn-policy {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  background-color: var(--color-principal);
  color: white;
}

/* PLANTILLA NOSTROS*/
/* conocenos */
.know-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: transparent;
}

.know-section .container {
  display: flex;
  width: 100%;
}

.know-section .column {
  width: 48%;
}

.know-section .content {
  padding-right: 20px;
}

.know-section .content h1 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--color-principal);
}

.know-section .content p {
  font-size: 18px;
  color: var(--color-texto);
  line-height: 1.6;
  margin-bottom: 40px;
}

.know-section .image-wrapper {
  text-align: center;
}

.know-section .image-wrapper img {
  width: 60%;
  height: 60%;
  border-radius: 8px;
}

.know-section .image-wrapper img:hover {
  transform: scale(1.05);
}

.know-section .btn-primary {
  margin-top: 10px;
  margin-left: 180px;
}

/* mision y vision */
.mision-vision-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  background-color: transparent;
}

.mision-column {
  flex-basis: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
}

.imagen-column {
  flex-basis: 32%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease;
}

.imagen-column:hover {
  animation: rotar 4s linear infinite;
}

@keyframes rotar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.vision-column {
  flex-basis: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
}

.icon-box .icon i {
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--color-acento);
}

.icon-box .icon i:hover {
  transform: scale(1.05);
}

.icon-box h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-principal);
}

.icon-box p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-texto);
  margin-bottom: 15px;
}

.imagen-column img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
}

/* Elegirnos */
.choose {
  display: flex;
  flex-direction: row;
  padding: 20px;
  background-color: #004269;
}

.choose .title {
  text-align: center;
  align-items: center;
  margin-top: 50px;
  margin-right: 100px;
  margin-left: 20px;
  font-size: 60px;
  color: var(--color-texto-2);
}

.choose .container {
  display: flex;
  flex-direction: column;
}

.choose h3 {
  margin-left: 10px;
  font-size: 25px;
  color: var(--color-acento);
}

.choose p {
  color: var(--color-texto-2);
  padding-left: 20px;
}

.choose i {
  color: var(--color-texto-2);
  font-size: 1em;
  margin-right: 10px;
}

.choose i:hover {
  transform: scale(1.05);
}

/* Template contactos */
/* mensaje */
.message {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  align-items: center;
}

.message .m1 {
  font-size: 35px;
  color: var(--color-texto);
  font-weight: bold;
}

.message .m2 {
  color: var(--color-principal);
  font-weight: bold;
  font-size: 40px;
  margin-top: -20px;
}

.message .m3 {
  color: var(--color-texto);
}

/* telefono y correo */
.numbers {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 10px 150px 15px 150px;
}

.numbers > div {
  align-items: center;
  text-align: center;
  padding: 30px;
}

.numbers > div > i {
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--color-principal);
}

.numbers > div > i:hover {
  transform: scale(1.05);
}

.numbers > div > h1 {
  font-weight: bold;
}

.numbers > div > h2 {
  font-size: 20px;
  color: var(--color-principal);
}

.numbers > div > h3 {
  font-size: 18px;
  color: var(--color-principal);
}

/* visitanos */
.visit {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  background-color: #004269;
  padding-left: 200px;
}

.visit > div > i {
  font-size: 40px;
  margin-top: 30px;
  color: var(--color-texto-2);
}

.visit > div > i:hover {
  transform: scale(1.05);
}

.visit > div > h3 {
  color: var(--color-texto-2);
  font-size: 40px;
}

.visit > div > p {
  color: var(--color-texto-2);
  font-size: 30px;
  margin-left: 350px;
}

/* ubicacion  */
.location .city {
  text-align: center;
}

.location .city h1 {
  color: var(--color-principal-2);
  font-size: 40px;
}

.location .city i {
  color: var(--color-principal);
  font-size: 40px;
}

.location .city i:hover {
  transform: scale(1.05);
}

.location .info{
  margin-left: 580px;
}

.location .info i {
  color: var(--color-principal);
  padding: 10px;
}

.location .info > div .hour {
  color: var(--color-texto);
  margin-left: 35px;
  margin-top: -45px;
}

.location iframe {
  border-radius: 10px;
  max-width: 100%;
  margin-left: 180px;
}

/* TEMPLATE DE LOGIN  */
.corpus {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--color-principal-2);
  position: relative;
  overflow: hidden;
}

.corpus::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #3498db 10%, transparent 20%),
    radial-gradient(circle, transparent 10%, #3498db 20%);
  background-size: 30px 30px;
  animation: moveBackground 8s linear infinite;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20%, 20%);
  }
}

.corpus h1 {
  font-weight: bold;
  margin: 0;
}

.corpus p {
  font-size: 14px;
  font-weight: 100;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 20px 0 30px;
}

.corpus span {
  margin-top: 60px;
  font-size: 12px;
}

.corpus a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  margin: 15px 0;
}

.corpus .back-button {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid var(--color-principal);
  background-color: var(--color-principal);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
}

.corpus .back-button:active {
  transform: scale(0.95);
}

.corpus button {
  border-radius: 20px;
  border: 1px solid var(--color-principal);
  background-color: var(--color-principal);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
  cursor: pointer;
}

button:active {
  transform: scale(0.95);
}

.corpus .password-container {
  position: relative;
  display: inline-block;
}

.corpus button.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.corpus #password {
  width: 100%;
  margin-right: 200px;
}

.corpus .tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  width: 250px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
  text-align: start;
}

.corpus .tooltip p {
  font-size: 12px;
  margin: 5px 0;
}

.corpus .invalid {
  color: red;
}

.corpus .valid {
  color: green;
}

.corpus .password-container:focus-within .tooltip {
  display: block;
}

.corpus #logo_speed {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 160px;
  box-shadow: 0 0 20px 20px rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  border-color: transparent;
  padding: 20px;
}

#logo_speed:hover {
  cursor: pointer;
}

.corpus button:focus {
  outline: none;
}

.corpus button.ghost {
  background-color: transparent;
  border-color: #ffffff;
}

.corpus form {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}

.corpus input {
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}

.corpus .container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
  margin-top: 40px;
}

.corpus .form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.corpus .sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.corpus .container.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.corpus .sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.corpus .container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: show 0.6s;
}

@keyframes show {
  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }

  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}

.corpus .overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.corpus .container.right-panel-active .overlay-container {
  transform: translateX(-100%);
}

.corpus .overlay {
  background: var(--color-principal);
  background: -webkit-linear-gradient(
    to right,
    var(--color-principal),
    var(--color-secundario-4)
  );
  background: linear-gradient(
    to right,
    var(--color-principal-2),
    var(--color-secundario-4)
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #ffffff;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.corpus .container.right-panel-active .overlay {
  transform: translateX(50%);
}

.corpus .overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.corpus .overlay-left {
  transform: translateX(-20%);
}

.corpus .container.right-panel-active .overlay-left {
  transform: translateX(0);
}

.corpus .overlay-right {
  right: 0;
  transform: translateX(0);
}

.corpus .container.right-panel-active .overlay-right {
  transform: translateX(20%);
}

.corpus .social-container {
  margin: 20px 0;
}

.corpus .social-container a {
  border: 1px solid #dddddd;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 40px;
  width: 40px;
}

.corpus .change {
  display: none;
}

.corpus .change-login {
  display: none;
}

/* 404 */
.found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 50px 100px 0px 100px;
}

.found .btn-primary {
  padding-top: -200px;
  margin-bottom: 50px;
}

.found .main_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30em;
  height: 30em;
}

.found .main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 5em;
}

.found .antenna {
  width: 5em;
  height: 5em;
  border-radius: 50%;
  border: 2px solid black;
  background-color: #f27405;
  margin-bottom: -6em;
  margin-left: 0em;
  z-index: -1;
}
.found .antenna_shadow {
  position: absolute;
  background-color: transparent;
  width: 50px;
  height: 56px;
  margin-left: 1.68em;
  border-radius: 45%;
  transform: rotate(140deg);
  border: 4px solid transparent;
  box-shadow: inset 0px 16px #a85103, inset 0px 16px 1px 1px #a85103;
  -moz-box-shadow: inset 0px 16px #a85103, inset 0px 16px 1px 1px #a85103;
}
.found .antenna::after {
  content: "";
  position: absolute;
  margin-top: -9.4em;
  margin-left: 0.4em;
  transform: rotate(-25deg);
  width: 1em;
  height: 0.5em;
  border-radius: 50%;
  background-color: #f69e50;
}
.found .antenna::before {
  content: "";
  position: absolute;
  margin-top: 0.2em;
  margin-left: 1.25em;
  transform: rotate(-20deg);
  width: 1.5em;
  height: 0.8em;
  border-radius: 50%;
  background-color: #f69e50;
}
.found .a1 {
  position: relative;
  top: -102%;
  left: -130%;
  width: 12em;
  height: 5.5em;
  border-radius: 50px;
  background-image: linear-gradient(
    #171717,
    #171717,
    #353535,
    #353535,
    #171717
  );
  transform: rotate(-29deg);
  clip-path: polygon(50% 0%, 49% 100%, 52% 100%);
}
.found .a1d {
  position: relative;
  top: -211%;
  left: -35%;
  transform: rotate(45deg);
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  border: 2px solid black;
  background-color: #979797;
  z-index: 99;
}
.found .a2 {
  position: relative;
  top: -210%;
  left: -10%;
  width: 12em;
  height: 4em;
  border-radius: 50px;
  background-color: #171717;
  background-image: linear-gradient(
    #171717,
    #171717,
    #353535,
    #353535,
    #171717
  );
  margin-right: 5em;
  clip-path: polygon(
    47% 0,
    47% 0,
    34% 34%,
    54% 25%,
    32% 100%,
    29% 96%,
    49% 32%,
    30% 38%
  );
  transform: rotate(-8deg);
}
.found .a2d {
  position: relative;
  top: -294%;
  left: 94%;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  border: 2px solid black;
  background-color: #979797;
  z-index: 99;
}

.found .notfound_text {
  background-color: black;
  padding-left: 0.3em;
  padding-right: 0.3em;
  font-size: 0.75em;
  color: white;
  letter-spacing: 0;
  border-radius: 5px;
  z-index: 10;
}
.found .tv {
  width: 17em;
  height: 9em;
  margin-top: 3em;
  border-radius: 15px;
  background-color: #d36604;
  display: flex;
  justify-content: center;
  border: 2px solid #1d0e01;
  box-shadow: inset 0.2em 0.2em #e69635;
}
.found .tv::after {
  content: "";
  position: absolute;
  width: 17em;
  height: 9em;
  border-radius: 15px;
  background: repeating-radial-gradient(#d36604 0 0.0001%, #00000070 0 0.0002%)
      50% 0/2500px 2500px,
    repeating-conic-gradient(#d36604 0 0.0001%, #00000070 0 0.0002%) 60% 60%/2500px
      2500px;
  background-blend-mode: difference;
  opacity: 0.09;
}
.found .curve_svg {
  position: absolute;
  margin-top: 0.25em;
  margin-left: -0.25em;
  height: 12px;
  width: 12px;
}
.found .display_div {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  border-radius: 15px;
  box-shadow: 3.5px 3.5px 0px #e69635;
}
.found .screen_out {
  width: auto;
  height: auto;

  border-radius: 10px;
}
.found .screen_out1 {
  width: 11em;
  height: 7.75em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.found .screen {
  width: 13em;
  height: 7.85em;
  font-family: Montserrat;
  border: 2px solid #1d0e01;
  background: repeating-radial-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 50% 0/2500px
      2500px,
    repeating-conic-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 60% 60%/2500px
      2500px;
  background-blend-mode: difference;
  animation: b 0.2s infinite alternate;
  border-radius: 10px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #252525;
  letter-spacing: 0.15em;
  text-align: center;
}
@keyframes b {
  100% {
    background-position: 50% 0, 60% 50%;
  }
}

.found .lines {
  display: flex;
  column-gap: 0.1em;
  align-self: flex-end;
}
.found .line1,
.found .line3 {
  width: 2px;
  height: 0.5em;
  background-color: black;
  border-radius: 25px 25px 0px 0px;
  margin-top: 0.5em;
}
.found .line2 {
  flex-grow: 1;
  width: 2px;
  height: 1em;
  background-color: black;
  border-radius: 25px 25px 0px 0px;
}

.found .buttons_div {
  width: 4.25em;
  align-self: center;
  height: 8em;
  background-color: #e69635;
  border: 2px solid #1d0e01;
  padding: 0.6em;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 0.75em;
  box-shadow: 3px 3px 0px #e69635;
}
.found .b1 {
  width: 1.65em;
  height: 1.65em;
  border-radius: 50%;
  background-color: #7f5934;
  border: 2px solid black;
  box-shadow: inset 2px 2px 1px #b49577, -2px 0px #513721,
    -2px 0px 0px 1px black;
}
.found .b1::before {
  content: "";
  position: absolute;
  margin-top: 1em;
  margin-left: 0.5em;
  transform: rotate(47deg);
  border-radius: 5px;
  width: 0.1em;
  height: 0.4em;
  background-color: #000000;
}
.found .b1::after {
  content: "";
  position: absolute;
  margin-top: 0.9em;
  margin-left: 0.8em;
  transform: rotate(47deg);
  border-radius: 5px;
  width: 0.1em;
  height: 0.55em;
  background-color: #000000;
}
.found .b1 div {
  content: "";
  position: absolute;
  margin-top: -0.1em;
  margin-left: 0.65em;
  transform: rotate(45deg);
  width: 0.15em;
  height: 1.5em;
  background-color: #000000;
}
.found .b2 {
  width: 1.65em;
  height: 1.65em;
  border-radius: 50%;
  background-color: #7f5934;
  border: 2px solid black;
  box-shadow: inset 2px 2px 1px #b49577, -2px 0px #513721,
    -2px 0px 0px 1px black;
}
.found .b2::before {
  content: "";
  position: absolute;
  margin-top: 1.05em;
  margin-left: 0.8em;
  transform: rotate(-45deg);
  border-radius: 5px;
  width: 0.15em;
  height: 0.4em;
  background-color: #000000;
}
.found .b2::after {
  content: "";
  position: absolute;
  margin-top: -0.1em;
  margin-left: 0.65em;
  transform: rotate(-45deg);
  width: 0.15em;
  height: 1.5em;
  background-color: #000000;
}
.found .speakers {
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
}
.found .speakers .g1 {
  display: flex;
  column-gap: 0.25em;
}
.found .speakers .g1 .g11,
.found .g12,
.found .g13 {
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  background-color: #7f5934;
  border: 2px solid black;
  box-shadow: inset 1.25px 1.25px 1px #b49577;
}
.found .speakers .g {
  width: auto;
  height: 2px;
  background-color: #171717;
}

.found .bottom {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8.7em;
}
.found .base1 {
  height: 1em;
  width: 2em;
  border: 2px solid #171717;
  background-color: #4d4d4d;
  margin-top: -0.15em;
  z-index: -1;
}
.found .base2 {
  height: 1em;
  width: 2em;
  border: 2px solid #171717;
  background-color: #4d4d4d;
  margin-top: -0.15em;
  z-index: -1;
}
.found .base3 {
  position: absolute;
  height: 0.15em;
  width: 17.5em;
  background-color: #171717;
  margin-top: 0.8em;
}

.found .text_404 {
  position: absolute;
  display: flex;
  flex-direction: row;
  column-gap: 6em;
  z-index: -5;
  margin-bottom: 15em;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  font-family: Montserrat;
  font-weight: bold;
}
.found .text_4041 {
  transform: scaleY(24.5) scaleX(9);
}
.found .text_4042 {
  transform: scaleY(24.5) scaleX(9);
}
.found .text_4043 {
  transform: scaleY(24.5) scaleX(9);
}

/* LISTA DE CLIENTES*/
/* buttons */
.buttons {
  display: flex;
  flex-direction: row;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
}

.buttons a,
.buttons button {
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid var(--color-principal);
  background-color: var(--color-principal);
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
  margin: 0 10px;
}

.buttons a:active,
.buttons button:active {
  transform: scale(0.95);
}

/* Lista */
.list {
  margin: 20px;
  background-color: var(--color-secundario-3);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.list h1 {
  text-align: center;
  color: #333;
}

.list table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 10px;
}

.list th,
.list td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
  background-color: #fff;
}

.list th {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

.list tr:hover {
  background-color: #f1f1f1;
}

.list a {
  text-decoration: none;
  color: inherit;
}

.list input,
.list select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}

.list input:focus,
.list select:focus {
  border-color: #007bff;
  outline: none;
}

.list .error {
  color: red;
  font-size: 12px;
}

/* Buscador*/
.list .grid {
  height: 800px;
  width: 800px;
  background-size: 1rem 1rem;
  background-position: center center;
  position: absolute;
  z-index: -1;
  filter: blur(1px);
}

.list > h1 {
  color: var(--color-principal);
  font-size: 35px;
  font-weight: bold;
}

.list .input {
  background-color: #ffffff;
  width: 350px;
  height: 50px;
  border-radius: 10px;
  color: rgb(0, 0, 0);
  padding-inline: 59px;
  font-size: 16px;
  border-color: var(--color-principal-2);
}
.list #poda {
  display: flex;
  align-items: center;
  justify-content: center;
}
.list .input::placeholder {
  color: #c0b9c0;
}

.list .input:focus {
  outline: none;
}

.list #main:focus-within > #input-mask {
  display: none;
}

.list #input-mask {
  pointer-events: none;
  width: 100px;
  height: 20px;
  position: absolute;
  background: linear-gradient(90deg, transparent, rgb(255, 255, 255));
  top: 18px;
  left: 70px;
}
.list #pink-mask {
  pointer-events: none;
  width: 30px;
  height: 20px;
  position: absolute;
  background: var(--color-principal);
  top: 10px;
  left: 5px;
  filter: blur(20px);
  opacity: 0.8;
  animation: leftright 4s ease-in infinite;
  transition: all 2s;
}
.list #main:hover > #pink-mask {
  animation: rotate 4s linear infinite;
  opacity: 0;
}

.list #filter-icon {
  position: absolute;
  top: 5px;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  max-height: 40px;
  max-width: 38px;
  height: 100%;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    var(--color-principal-2),
    var(--color-secundario-2),
    var(--color-principal-2)
  );
  border: 1px solid transparent;
}

.list #main {
  position: relative;
}
.list #search-icon {
  position: absolute;
  left: 15px;
  top: 10px;
}

/* popup  */
.popup {
  display: none;
  position: fixed;
  z-index: 100; 
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%; 
  max-width: 90%; 
  max-height: 90%; 
  background-color: var(--color-secundario-3); 
  backdrop-filter: blur(8px); 
  border-radius: 10px;
  overflow-y: auto; 
}

.popup-content {
  background-color: var(--color-fondo-secundario); 
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--color-principal-2);
  box-shadow: 0 4px 8px var(--color-secundario-3); 
  max-height: 85vh; 
  overflow-y: auto; 
}

.popup-content h2 {
  color: var(--color-principal);
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.popup-content form button {
  background-color: var(--color-principal);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.popup-content form button:hover {
  background-color: var(--color-secundario);
}

.close {
  color: var(--color-principal);
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: var(--color-secundario);
}


.signature-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
#signature-pad {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border: 1px solid black;
  width: 400px; 
  height: 200px; 
  cursor: crosshair; 
}
.signature-container button {
  margin-top: 10px;
}

/* carrucel */
.popup-carousel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.carousel-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.close-btn {
  position: absolute;
  top: -6px;
  right: 0px;
  padding: 5px;
  font-size: 24px;
  cursor: pointer;
  color: white;
  background-color: red;
  z-index: 10;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  object-fit:cover;
}

.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 24px;
  font-weight: bold;
  color: #ff0000;
  cursor: pointer;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev {
  left: 5px;
}

.next {
  right: 5px;
}

/* MOVILES */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    padding: 0 0px;
    overflow-x: hidden;
  }

  header .container {
    flex-direction: row;
    padding: 10px 0 0 0;
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.8);
  }

  header .container .logo #logo_speed {
    width: 150px;
    margin-right: 0;
    margin-bottom: 15px;
  }

  header .container > nav > ul {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    background-color: var(--color-principal);
    z-index: 9;
  }

  .nav-links.active {
    display: flex;
  }

  header .container > nav > ul > li {
    margin: 5px 0;
  }

  header .container > nav > ul > li > a,
  header .container > nav > ul > form > button {
    font-size: medium;
    padding: 8px 12px;
    color: white;
    background-color: transparent;
    border: none;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 20px;
    color: var(--color-principal);
    position: relative;
    z-index: 10;
  }

  .fa-bars {
    font-size: 25px;
    transition: transform 0.3s ease;
  }

  .hamburger.active .fa-bars {
    transform: rotate(90deg);
    color: var(--color-fondo);
  }

  #home {
    height: auto;
    padding: 20px;
  }

  #home .hero-text {
    padding: 10px;
    margin-top: 100px;
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.4);
  }

  #home .hero-text > h1 {
    font-size: 24px;
  }

  #home .home-image {
    width: 110%;
    height: 300px;
    margin-top: 100px;
  }

  #home .rocket {
    top: 150px;
    left: 260px;
    width: 120px;
  }

  #services {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  #services .container > h3 {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 32px;
  }

  #services .container .flex {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  #services .container .flex .card {
    width: 90%;
    height: auto;
  }

  #services .container .flex .card .card-inner {
    height: 300px;
  }

  #services .container .flex .card .card-inner .card-front,
  .card-back {
    font-size: 20px;
    border-width: 5px;
    padding: 10px;
  }

  #services .turbo,
  #services .ultra,
  #services .infinity {
    width: 70%; 
  }

  #services .container .flex .card .card-inner .card-back > span {
    font-size: 20px;
    line-height: 24px;
    padding-top: 5px;
  }

  .connect-world {
    font-size: 18px;
    padding: 10px;
  }

  .connect-world .triangle {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #000000bd;
  }

  .speed-test-section {
    padding: 20px 10px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 40px;
  }

  .speed-image {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
  }

  .benefits .flex {
    flex-direction: column;
    align-items: center;
  }

  .benefits .benefit-item {
    width: 100%;
    margin: 10px 0;
  }

  .benefits h3 {
    font-size: 1.5rem;
  }

  .benefits .benefit-item h4 {
    font-size: 1.25rem;
  }

  .benefits .benefit-item p {
    font-size: 0.9rem;
  }

  .benefits .benefit-item ul li {
    font-size: 0.85rem;
  }

  .benefits .icon {
    font-size: 2rem;
  }

  #contact .container {
    flex-direction: column;
    align-items: center;
  }

  #contact .message-container {
    margin-right: 0;
    padding-left: 0;
    text-align: center;
  }

  #contact .form-container {
    padding-right: 0;
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    padding-left: 10px;
  }

  .form-group {
    margin-right: 0;
    width: 100%;
  }

  #contact button.btn-primary {
    margin-left: 10px;
    width: 100%;
  }

  .info-section .container {
    flex-direction: column;
    align-items: center;
  }

  .speedfiber,
  .contact {
    margin-bottom: 20px;
  }

  .social-media {
    margin-top: 10px;
  }

  .wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 25px;
  }

  .wrapper .icon {
    width: 40px;
    height: 40px;
  }

  .wrapper .tooltip {
    font-size: 12px;
  }

  button.btn-primary {
    padding: 12px 16px;
    font-size: 16px;
    width: 100%;
  }

  footer {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  footer .container > p {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .plans .container .flex {
    flex-direction: column;
    align-items: center;
  }

  .plans .card {
    width: 80%;
    padding: 19px;
    margin-top: 20px;
  }

  .plans-included .features-container {
    flex-direction: column;
    align-items: center;
  }

  .plans-included .feature {
    width: 100%;
    margin-bottom: 20px;
  }

  .plans-included .feature i {
    font-size: 2.5rem;
  }

  .plans-included .feature p {
    font-size: 20px;
  }

  .plans-section {
    flex-direction: column;
    align-items: center;
  }

  .plans-section .plan-wrapper {
    width: 100%;
    margin-bottom: 20px;
  }

  .plans-section .plan-header .plan-title {
    font-size: 20px;
  }

  .plans-section .plan-subtitle {
    font-size: 14px;
  }

  .plans-section .plan-price {
    font-size: 18px;
  }

  .plans-section .plan-feature {
    font-size: 14px;
  }

  .plans-section .btn-primary {
    width: 80%;
  }

  .terms-conditions h1 {
    font-size: 28px;
  }

  .terms-conditions h3 {
    font-size: 14px;
  }

  .terms-conditions .btn-terms,
  .terms-conditions .btn-policy {
    font-size: 14px;
    padding: 8px 16px;
    max-width: 80%;
  }

  .terms-conditions .buttons {
    flex-direction: column;
    gap: 15px;
  }

  .know-section {
    flex-direction: column;
    padding: 10px;
  }

  .know-section .container {
    flex-direction: column;
  }

  .know-section .column {
    width: 100%;
    margin-bottom: 20px;
  }

  .know-section .content {
    padding-right: 0;
    text-align: center;
  }

  .know-section .content h1 {
    font-size: 24px;
  }

  .know-section .content p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .know-section .image-wrapper img {
    width: 80%;
  }

  .know-section .btn-primary {
    margin: 10px auto;
    display: block;
  }

  .mision-vision-section {
    flex-direction: column;
    align-items: center;
  }

  .mision-column,
  .imagen-column,
  .vision-column {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
  }

  .choose {
    flex-direction: column;
    padding: 10px;
  }

  .choose .title {
    margin-top: 20px;
    margin-right: 0;
    margin-left: 0;
    font-size: 40px;
    text-align: center;
  }

  .choose .container {
    flex-direction: column;
    align-items: center;
  }

  .choose h3 {
    font-size: 22px;
    text-align: center;
    margin: 10px 0;
  }

  .choose p {
    font-size: 16px;
    padding-left: 0;
    text-align: center;
    margin: 0 10px;
  }

  .choose i {
    font-size: 1.2em;
    margin-right: 5px;
  }

  .choose i:hover {
    transform: scale(1.1);
  }

  .message {
    padding: 10px;
    text-align: center;
  }

  .message .m1 {
    font-size: 28px;
  }

  .message .m2 {
    font-size: 30px;
    margin-top: -10px;
  }

  .message .m3 {
    font-size: 18px;
    padding: 0 10px;
  }

  .numbers {
    flex-direction: column;
    margin: 10px 20px;
  }

  .numbers > div {
    padding: 20px;
    text-align: center;
  }

  .numbers > div > i {
    font-size: 30px;
    margin-bottom: 5px;
  }

  .numbers > div > h1 {
    font-size: 24px;
  }

  .numbers > div > h2 {
    font-size: 18px;
  }

  .numbers > div > h3 {
    font-size: 16px;
  }

  .btn-primary {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .visit {
    flex-direction: column;
    padding-left: 20px;
  }

  .visit > div {
    margin-bottom: 20px;
  }

  .visit > div > i {
    font-size: 30px;
    margin-top: 10px;
  }

  .visit > div > h3 {
    font-size: 30px;
    margin-top: 10px;
  }

  .visit > div > p {
    font-size: 18px;
    margin-left: 0;
    text-align: center;
  }

  .location .city h1 {
    font-size: 28px;
  }

  .location .city i {
    font-size: 28px;
  }

  .location .city h2 {
    font-size: 24px;
  }

  .location .info i {
    font-size: 20px;
    padding: 5px;
  }

  .location .info > div .hour {
    margin-left: 0;
    margin-top: 0;
    text-align: center;
  }

  .location iframe {
    width: 100%;
    height: 300px;
    margin-left: 0;
  }

  .corpus .container {
    width: 90%;
    min-height: auto;
    margin-top: 20px;
  }

  .corpus .form-container {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
  }

  .corpus .overlay-container {
    display: none;
  }

  .corpus .sign-in-container,
  .corpus .sign-up-container {
    width: 100%;
    left: 0;
    opacity: 1;
    z-index: 1;
    transform: none;
  }

  .corpus .sign-in-container {
    display: block;
    padding-top: 80px;
  }

  .corpus .sign-up-container {
    display: none;
    padding-top: 80px;
  }

  .corpus form {
    padding: 20px;
    width: 100%;
  }

  .corpus input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
  }

  .corpus button {
    padding: 10px 35px;
    font-size: 12px;
    width: 100%;
  }

  .corpus #logo_speed {
    position: absolute;
    top: 100px;
    right: 100px;
    width: 180px;
    box-shadow: none;
    border-color: transparent;
    background-color: transparent;
    z-index: 9999;
  }

  .corpus .back-button {
    top: 10px;
    left: 10px;
    right: 2000px;
    font-size: 12px;
    padding: 10px;
    width: 100px;
  }

  .corpus p,
  .corpus span {
    font-size: 12px;
  }

  .corpus .change {
    display: flex;
  }

  .corpus .change-login {
    display: flex;
  }
 
  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .buttons a,
  .buttons button {
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
    padding: 12px 0;
    text-align: center;
  }

  .list {
    margin: 10px;
    padding: 15px;
  }

  .list table {
    width: 100%;
    font-size: 12px;
    margin-top: 10px;
  }

  .list th,
  .list td {
    padding: 8px;
    font-size: 12px;
  }

  .list input,
  .list select {
    font-size: 14px;
    padding: 8px;
  }

  /* Ajuste del buscador */
  .list #poda {
    width: 100%;
    padding: 10px;
    justify-content: center;
  }

  
  .list #poda .input {
    width: 100%;
    max-width: 100%;
    height: 45px;
    padding-inline: 45px; 
    font-size: 14px;
  }

  .list #main {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .list #filter-icon {
    right: 10px;
    top: 5px;
    max-width: 35px;
    max-height: 35px;
  }

  .list #search-icon {
    left: 10px;
    top: 12px;
    max-width: 24px;
    max-height: 24px;
  }

  .list #input-mask {
    display: none;
  }

  .list #pink-mask {
    width: 20px;
    height: 15px;
    top: 10px;
    left: 5px;
    filter: blur(15px);
  }

  .list > h1 {
    font-size: 28px;
  }

    .popup {
      width: 90%;
    }
  
    .popup-content {
      padding: 20px;
      width: 100%;
      max-height: 80vh;
    }
  
    .popup-content h2 {
      font-size: 20px;
    }
  
    .popup-content form button {
      padding: 12px;
      font-size: 18px;
    }
}

/* Estilos para el popup de los contratos*/
.contractpopup {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  max-width: 400px;
  margin: 20px auto;
}

.popup-content {
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #333;
}

.contratos-list {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
}

.contratos-list li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  color: #555;
  background-color: #fff;
}

.contratos-list li:nth-child(even) {
  background-color: #f2f2f2;
}

.contratos-list li:last-child {
  border-bottom: none;
}

/* Destacar el texto de estado activo/inactivo */
.contratos-list .estado-activo {
  color: #28a745;
  font-weight: bold;
}

.contratos-list .estado-inactivo {
  color: #dc3545;
  font-weight: bold;
}
