:root {
  --primary: #22355a;   /* Azul profundo */
  --accent: #93aa34;    /* Verde vibrante */
  --light-bg: #f4f4f4;
  --text-dark: #333;
  --text-light: #fff;
}

/* Reset básico */
body, h1, h2, h3, p {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--primary);
}

.tit-small {
  font-size: 24px;
  color: var(--azul-imeil);
  font-weight: 400;
}

.tit-medium {
  font-size: 36px;
  color: var(--azul-imeil);
  font-weight: 500;
}

.tit-big {
  font-size: 90px;
  color: var(--verde-imeil);
  font-weight: bold;
  line-height: 1.1;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero .overlay {
  background: rgba(34,53,90,0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.login-form {
  background:#93aa34;
  padding: 20px;
  border-radius: 8px;
}
.login-form input {
  display: block;
  width: 250px;
  margin: 10px auto;
  padding: 10px;
  border: none;
  border-radius: 4px;
}
.login-form button {
  background: #22355a;
  color: var(--text-light);
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.login-form button:hover {
  background: #7a8f2a;
}

/* Planes */
.planes {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}
.tabla-planes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
    flex-wrap: wrap;
}
.plan {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 1 1 250px;
  max-width: 300px;
}
.plan h3 {
  margin-bottom: 10px;
  color: var(--primary);
}
.plan p {
  margin: 8px 0;
}
.plan p.price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--accent);
}
.plan button {
  margin-top: 15px;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
}
.plan button:hover {
  background: #809332;
}

/* FAQ */
/* FAQ Section */
.faq {
  padding: 60px 20px;
  background: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--primary);
}

.faq-item {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 15px;
  text-align: left; /* clave para que no se vea desalineado */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h4 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.faq-item p {
  color: var(--text-dark);
  line-height: 1.4;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--text-light);
  text-align: center;
  padding: 20px;
}
footer a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 10px;
}
footer a:hover {
  text-decoration: underline;
}

/* Responsivo: en pantallas pequeñas, apilar */
@media (max-width: 768px) {
  .tabla-planes {
    flex-direction: column;
    align-items: center;
  }
  .plan {
    width: 90%; /* ocupa casi todo el ancho */
    max-width: none;
  }
    .cta-story {
    font-size: 2em;     /* ajusta en tablet */
  }
    .tit-big { font-size: 48px; }
  .tit-medium { font-size: 28px; }
}

/* Móvil: ≤468px */
@media (max-width: 468px) {
  .plan {
    width: 100%;       /* ocupa todo el ancho */
    padding: 20px;     /* menos padding para pantallas pequeñas */
    font-size: 0.95rem; /* texto más compacto */
  }
  .plan h3 {
    font-size: 1.2rem;
  }
  .plan p.price {
    font-size: 1.1rem;
  }
  .plan button {
    width: 100%;       /* botón ancho completo */
    padding: 12px;
  }
    .cta-story {
    font-size: 1.2em;     /* ajusta en móvil */
  }
    .tit-big { font-size: 32px; }
  .tit-medium { font-size: 22px; }
}

.cta-story {
  margin-top: 40px;
  text-align: center;
  font-size: 1.2em;       /* tamaño impactante */
  font-weight: bold;
  line-height: 1.3;
  color: var(--accent);  /* verde vibrante iMeil */
}
