:root {
  --background-color: #fefefe;
  --text-color: #212529;
  --secondary-color: #8bd3fe;
  --tertiary-color: #e5e5e5;
  --card-background-color: #fff;
  --card-border-color: #ddd;
  --card-shadow-color: rgba(0, 0, 0, 0.1);
  --card-hover-shadow-color: rgba(0, 0, 0, 0.15);
  --card-title-color: #0056b3;
  --price-color: #1f7d44;
  --description-color: #555;
  --btn-background-color: #8bd3fe;
  --btn-text-color: #212529;
  --btn-hover-background-color: #6bc2f7;
  --footer-copyright-color: #ccc;
  --footer-border-color: #555;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #212529;
    --text-color: #e5e5e5;
    --secondary-color: #6bc2f7;
    --tertiary-color: #e5e5e5;
    --card-background-color: #343a40;
    --card-border-color: #495057;
    --card-shadow-color: rgba(255, 255, 255, 0.1);
    --card-hover-shadow-color: rgba(255, 255, 255, 0.15);
    --card-title-color: #8bd3fe;
    --price-color: #2fd56c;
    --description-color: #ccc;
    --btn-background-color: #6bc2f7;
    --btn-text-color: #212529;
    --btn-hover-background-color: #8bd3fe;
    --footer-copyright-color: #6c757d;
    --footer-border-color: #495057;
  }
}
header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  /* background-image: url(); */
}

#header-background-video {
  object-fit: cover;
  position: absolute;
  left: 0;
  z-index: -1;
  height: 150px;
  width: 100%;
  padding: 0px 10px 0px 10px;
  border-radius: 10px;
}

.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-height: 150px;
}

.header-brand img {
  width: 50%;
  margin-right: 1rem;
  border-radius: 5%;
  border: 1px solid #8bd3fe;
  box-shadow: 0 0 10px #8bd3fe;
  object-fit: cover;
  object-position: center;
  height: auto;
}
.brand-text-code {
  color: var(--secondary-color);
  font-size: clamp(3rem, 5vw, 10rem);
}
.brand-text-crafter {
  color: var(--tertiary-color);
  font-size: clamp(3rem, 6vw, 10rem);
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;
}

.main-title {
  width: 100%;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-color);
}
.presupuesto-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.social-container {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
  /* animation: fadeinFromTop 2s ease-in 0.5s; */
}
@keyframes fadeinFromTop {
  0% {
    opacity: 0;
    transform: translateY(-60px) scale(0.5);
  }
  50% {
    opacity: 0.5;
    transform: translateY(40px) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.main-title .bi-whatsapp {
  color: #2fd56c; /* Keep this hardcoded */
}
.main-title .bi-instagram {
  color: rgb(230, 25, 135); /* Keep this hardcoded */
}
.main-title a {
  text-decoration: none;
  color: var(--text-color);
}
.main-title .whapp-mssg {
  color: var(--text-color);
  font-size: clamp(1rem, 3vw, 2rem);
}
.main-title .whapp-click {
  animation: click 1s ease-in-out 0s infinite;
}
@keyframes click {
  from {
    transform: translate(42px, 0px);
    filter: drop-shadow(0px 0px 0px silver);
  }
  to {
    transform: translate(42px, -10px);
    filter: drop-shadow(0px -10px 1px silver);
  }
}
.main-title .whapp-click .bi {
  color: var(--text-color);
}
.main-title .subtitle {
  display: flex;
  justify-content: space-evenly;
  gap: 0.5rem;
}
.main-title .subtitle div {
  font-size: clamp(1rem, 3vw, 2rem);
}
.main-title .subtitle div i {
  margin-inline: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.modal-container {
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 5px;
}

.modal-container .wapp-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: enterFromBelow 500ms ease-in forwards;
  transform: translateY(-100px);
}
@keyframes enterFromBelow {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  30% {
    transform: translateY(50px);
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-container .wapp-container p {
  font-size: clamp(2.5rem, 2vw, 2rem);
  text-align: center;
}
.modal-container .wapp-container small {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

h2 {
  text-align: center;
}

.aboutMe-container {
  text-align: center;
}
.aboutMe-container .bi {
  color: #2fd56c;
  font-size: 2rem;
}
.aboutMe-container a {
  text-decoration: none;
  color: var(--text-color);
}
.aboutMe-container .whapp-mssg {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  font-size: clamp(1.5rem, 1vw, 2rem);
}

hr {
  width: 100%;
}

footer {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 3rem;
  padding: 1rem;
  /* height: 250px; */
}

footer .footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: end;
}
footer .footer-brand img {
  margin-right: 1rem;
  margin-left: 1rem;
  border-radius: 5%;
  border: 1px solid #8bd3fe;
  box-shadow: 0 0 10px #8bd3fe;
  object-fit: cover;
  object-position: center;
  height: auto;
}
footer .footer-brand .brand-text-code {
  color: var(--secondary-color);
  font-size: clamp(3rem, 6vw, 10rem);
}
footer .footer-brand .brand-text-crafter {
  color: var(--tertiary-color);
  font-size: clamp(3rem, 6vw, 10rem);
}

#footer-background-video {
  object-fit: cover;
  position: absolute;
  left: 0;
  z-index: -1;
  height: 150px;
  width: 100%;
  padding: 0px 10px 10px 10px;
}

html {
  scroll-behavior: smooth;
}

* {
  font-display: optional;
  font-family: "Teko", sans-serif !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px;
  height: 100svh;
  background-image: repeating-linear-gradient(
      135deg,
      rgba(0, 173, 255, 0.06) 0px,
      rgba(0, 173, 255, 0.06) 2px,
      transparent 2px,
      transparent 20px
    ),
    linear-gradient(to right, rgb(0, 26, 56) 0%, rgba(0, 54, 100, 1) 50%, rgba(0, 79, 144, 1) 100%);
  color: var(--text-color);
}
::selection {
  background: #00aaff44;
}

section {
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
  margin: 4rem auto;
}

@media (max-width: 1480px) {
  .theme-toggle button {
    width: 10% !important;
  }
}

@media (max-width: 1072px) {
  .modal-container {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .header-brand {
    justify-content: center;
  }
  nav {
    width: 100%;
    display: flex;
    justify-content: start;
  }
  .theme-toggle button {
    width: 15% !important;
  }
  #footer-background-video {
    height: 100px !important;
  }

  footer {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  footer .footer-brand {
    justify-content: center !important;
  }
  footer .footer-brand img {
    width: 30%;
  }
}

@media (max-width: 560px) {
  #footer-background-video {
    height: 100px !important;
  }
  .header-brand img {
    width: 30%;
    height: auto;
  }
  .theme-toggle button {
    width: 30% !important;
  }
  footer .footer-brand {
    justify-content: center !important;
  }
  footer .footer-brand img {
    width: 30%;
  }
  footer {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
}

/* --- Estilos Planes y Precios --- */
.planes-precios {
  /* width: 100%; */
  padding: 2rem 1rem;
  text-align: center;
}

.planes-precios h2 {
  margin-bottom: 2rem;
  color: var(--text-color); /* Color oscuro para el título */
}

.cards-container {
  display: flex;
  justify-content: space-evenly;
  align-items: stretch; /* Asegura que las cards tengan la misma altura */
  flex-wrap: wrap; /* Permite que las cards pasen a la siguiente línea en pantallas pequeñas */
  gap: 2rem; /* Espacio entre las cards */
}

.card {
  background-color: var(--card-background-color); /* Fondo blanco para las cards */
  border: 1px solid var(--card-border-color); /* Borde sutil */
  border-radius: 8px; /* Bordes redondeados */
  padding: 1.5rem;
  box-shadow: 0 4px 8px var(--card-shadow-color); /* Sombra suave */
  flex: 1; /* Permite que las cards crezcan */
  display: flex;
  flex-direction: column; /* Alinea el contenido verticalmente */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición suave */
}

.card:hover {
  transform: translateY(-5px); /* Efecto hover: levanta la card */
  box-shadow: 0 8px 16px var(--card-hover-shadow-color); /* Sombra más pronunciada en hover */
}

.card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  color: var(--card-title-color); /* Darker blue for better contrast */
  margin-bottom: 0.5rem;
}

.card .precio {
  font-size: clamp(1.8rem, 3vw, 2rem);
  font-weight: bold;
  color: var(--price-color); /* Darker green for better contrast */
  margin-bottom: 0.5rem; /* Reduced margin below main price */
}

.card .price-note {
  font-size: clamp(0.9rem, 1.3vw, 1rem); /* Smaller font size */
  color: var(--description-color); /* Match description color or choose another gray */
  margin-top: -0.2rem; /* Pull it slightly closer to the price above */
  margin-bottom: 0.8rem; /* Space before the main description */
  font-weight: normal; /* Ensure it's not bold */
}

.card p {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--description-color); /* Color gris oscuro para el texto */
  margin-bottom: 1rem;
  flex-grow: 1; /* Empuja el botón hacia abajo */
}

.card .description {
  font-style: italic; /* Make description italic */
  margin-bottom: 1.5rem; /* Increase space before feature list */
  font-weight: 500;
}

.card ul {
  list-style: none; /* Quita los puntos de la lista */
  padding: 0;
  margin-bottom: 1.5rem;
  text-align: left; /* Alinea el texto de la lista a la izquierda */
}

.card ul li {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.card ul li i {
  margin-right: 0.5rem; /* Espacio entre el icono y el texto */
  font-size: 1.1rem; /* Tamaño del icono */
}

.card ul li .bi-check-circle-fill {
  color: #1f7d44; /* Darker green for better contrast */
}

.card ul li .bi-x-circle-fill {
  color: #dc3545; /* Icono de X en rojo */
}

.btn-contratar {
  display: inline-block;
  background-color: var(--btn-background-color); /* Color de fondo del botón */
  color: var(--btn-text-color); /* Dark gray text for better contrast */
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Empuja el botón al final de la card */
}

/* Theme Toggle Styles */
.theme-toggle {
  display: flex;
  justify-content: end;
  gap: 0.5rem;
  width: 100%;
}

.theme-toggle button {
  background-color: var(--btn-background-color);
  color: var(--btn-text-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 7%;
  font-size: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  justify-content: center;
}

.theme-toggle button i {
  width: 24px;
  height: 24px;
}

.theme-toggle button:hover {
  background-color: var(--btn-hover-background-color);
}

html.light {
  --background-color: linear-gradient(
    to right,
    rgb(0, 26, 56) 0%,
    rgba(0, 54, 100, 1) 50%,
    rgba(0, 79, 144, 1) 100%
  );
  --text-color: #e5e5e5;
  --secondary-color: #6bc2f7;
  --tertiary-color: #e5e5e5;
  --card-background-color: #343a40;
  --card-border-color: #495057;
  --card-shadow-color: rgba(255, 255, 255, 0.1);
  --card-hover-shadow-color: rgba(255, 255, 255, 0.15);
  --card-title-color: #8bd3fe;
  --price-color: #2fd56c;
  --description-color: #ccc;
  --btn-background-color: #6bc2f7;
  --btn-text-color: #212529;
  --btn-hover-background-color: #8bd3fe;
  --footer-copyright-color: #6c757d;
  --footer-border-color: #495057;
}

.btn-contratar:hover {
  background-color: var(--btn-hover-background-color); /* Color de fondo del botón en hover */
}

/* Media Query para ajustar en pantallas más pequeñas */
@media (max-width: 767px) {
  .cards-container {
    flex-direction: column; /* Apila las cards verticalmente */
    align-items: center; /* Centra las cards */
  }
  .card {
    width: 90%; /* Permite que las cards ocupen más ancho */
  }
}

/*# sourceMappingURL=styles.css.map */

/* --- Footer Copyright --- */
footer .copyright {
  text-align: center;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--footer-copyright-color); /* Lighter gray for copyright */
  border-top: 1px solid var(--footer-border-color); /* Separator line */
}
/* --- End Footer Copyright --- */
