
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1c1c1c;
  color: #f2f2f2;
  line-height: 1.6;
}

section {
  padding: 5rem 2rem;
}

header.hero {
  position: relative;
  min-height: 80vh;
  padding: 8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f2f2f2;

  /* Imagen realista como fondo optimizada */
  background: url('assets/headerWallpaper.webp') center / cover no-repeat fixed;
}


/* Overlay oscuro encima del fondo */
header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* Más claro */
  z-index: 1;
  pointer-events: none; /* ← Esto es CLAVE para que los clics pasen */
}


/* Contenido encima del overlay con efecto blur */
.hero-content {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  padding: 2.5rem 3rem;
  border-radius: 12px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #f0c000;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #f2f2f2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.logo {
  height: 260px;
  width: auto;
  margin-bottom: 2rem;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

header.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

header.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.cta {
  background-color: #f0c000;
  color: #1c1c1c;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.cta:hover {
  background-color: #ffe580;
  color: #000;
}

button,
.cta,
.plan,
.card,
input,
select,
textarea {
  transition: all 0.3s ease;
}

.card:hover,
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefits h2, .formulario h2 {
  text-align: center;
  color: #f0c000;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}



.card {
  flex: 1 1 300px;
  max-width: 360px;
  min-height: 190px;
  background-color: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  border-left: 5px solid #f0c000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}


.pricing h2 {
  text-align: center;
  color: #f0c000;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.plan {
  background: #2a2a2a;
  border-left: 6px solid #f0c000;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.plan h3 {
  margin-top: 0;
  color: #f2f2f2;
  font-size: 1.3rem;
}

.plan p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #f0c000;
}

.plan ul {
  padding-left: 1.2rem;
  margin-top: 1.2rem;
}

.plan ul li {
  margin-bottom: 0.6rem;
}

.destacado {
  border-left: 6px solid #f0c000;
  border-top: 4px solid #f0c000;
  background: #3a3a3a;
  box-shadow: 0 0 0 3px #f0c00066, 0 6px 12px rgba(0,0,0,0.15);
  transform: scale(1.02);
  position: relative;
  z-index: 1;
}

.destacado::before {
  content: "⭐ Más popular";
  position: absolute;
  top: -12px;
  left: -12px;
  background: #f0c000;
  color: #1c1c1c;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.showcase {
  background-color: #2a2a2a;
  padding: 5rem 2rem;
  text-align: center;
}

.showcase h2 {
  color: #f0c000;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.image-frame {
  display: inline-block;
  border: 8px solid #f0c000;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  max-width: 90%;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

form {
  max-width: 540px;
  margin: 0 auto 5rem;
  background-color: #2a2a2a;
  padding: 3rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

form label {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  background-color: #1e1e1e;
  color: #f2f2f2;
  border: 1px solid #555;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

form button {
  background-color: #f0c000;
  color: #1c1c1c;
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

form button:hover {
  background-color: #ffe580;
  color: #000;
}

#status {
  text-align: center;
  margin-top: 1rem;
  color: green;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  text-decoration: none;
}

.whatsapp-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.2);
}

footer.footer {
  background: linear-gradient(to right, #111, #222);
  color: #ddd;
  padding: 3rem 1rem;
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
  border-top: 4px solid #f0c000;
}

.footer-content p {
  margin: 0.5rem 0;
}

.footer-content strong {
  color: #f0c000;
}

@media (max-width: 768px) {
  header.hero {
    background-attachment: scroll;
    flex-direction: column;
    padding: 6rem 1.5rem 8rem 1.5rem; /* top right bottom left */

  }

  .nav-logo {
    display: none;
  }
    

  .logo {
    height: 120px;
  }

  header.hero h1 {
    font-size: 2rem;
  }

  header.hero p {
    font-size: 1rem;
  }

  .cta {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

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

  .plan-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .image-frame {
    max-width: 100%;
    border-width: 4px;
  }

  form {
    padding: 2rem 1rem;
    margin: 0 1rem 4rem;
  }

  form label {
    font-size: 0.95rem;
  }

  footer.footer {
    font-size: 0.9rem;
    padding: 2rem 1rem;
  }

  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }
}

/* === Fade-in animation === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1c1c1c;
  border-bottom: 2px solid #f0c000;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: bold;
  color: #f0c000;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #f2f2f2;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f0c000;
}

/* Compensar el espacio del nav para que no tape el header */
body {
  padding-top: 70px;
}

html {
  scroll-behavior: smooth;
}

/* === REVIEWS === */
.reviews {
  background-color: #2a2a2a;
  padding: 5rem 2rem;
  text-align: center;
}

.reviews h2 {
  color: #f0c000;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.review-card {
  background-color: #1e1e1e;
  border: 1px solid #444;
  padding: 2rem;
  border-radius: 10px;
  color: #f2f2f2;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-card h3 {
  margin-top: 0;
  color: #f0c000;
  font-size: 1.2rem;
}

.review-card .persona {
  font-style: italic;
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.review-card .stars {
  color: #f0c000;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.review-card .texto {
  font-size: 1rem;
}

.servicios {
  background-color: #1e1e1e;
  padding: 5rem 2rem;
  text-align: left;
  color: #f2f2f2;
  max-width: 900px;
  margin: 0 auto;
}

.servicios h2 {
  text-align: center;
  color: #f0c000;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.servicios-contenido p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.servicios-contenido ul {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.servicios-contenido li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.card h3 {
  color: #f0c000;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}


.card p {
  color: #f2f2f2;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0;
}
.nav-logo {
  text-decoration: none;
  color: #f0c000;
}