/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background-color: #f8f8f8;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}
.card-usuario .card-imagen img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}
.card.card-usuario img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%; /* O center 30% si prefieres más hacia abajo */
  display: block;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

/* HERO (PORTADA PRINCIPAL) */
.hero {
  position: relative;
  height: 100vh;
  background: url('/assets/img/hero-teatro.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons a {
  display: inline-block;
  padding: 1rem 2rem;
  margin: 0 0.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary {
  background: #530045;
  color: white;
}

.btn-primary:hover {
  background: #cf711f;
}

.btn-secondary {
  background: white;
  color: #111;
}

.btn-secondary:hover {
  background: #f1f1f1;
}

/* CONTENEDOR GENERAL */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* BUSCADOR GLOBAL */
.buscador-home form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.buscador-home input, 
.buscador-home select, 
.buscador-home button {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.buscador-home button {
  background: #111;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.buscador-home button:hover {
  background: #333;
}

/* GRIDS GENERALES */
.grid-cards, .grid-castings, .grid-companias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* CARDS DE PERFILES */
.card, .casting-card, .compania-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.card:hover, .casting-card:hover, .compania-card:hover {
  transform: translateY(-5px);
}

.card:not(.card-usuario) img,
.compania-card img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.card-info, .compania-card {
  padding: 1.2rem;
}

.card-info h3, .compania-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #530045;
}

.card-info a {
  margin-top: 0.8rem;
  display: inline-block;
  color: #333;
  font-weight: 600;
  transition: 0.3s;
}

.card-info a:hover {
  color: #530045;
}

/* CASTINGS */
/* CASTINGS ACTIVOS — ACTO CENTRAL PRO */

.grid-castings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.casting-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid #eee;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.casting-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.casting-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #530045;
  margin-bottom: 1rem;
  min-height: 3.5rem;
}

.casting-card p {
  margin-bottom: 0.5rem;
  color: #444;
  font-size: 1rem;
}

.casting-card p.fecha {
  color: #999;
  font-size: 0.95rem;
}

.casting-card a {
  background: #530045;
  color: #fff;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  margin-top: auto;
}

.casting-card a:hover {
  background: #3a0032;
}

/* CTA FINAL */
.cta-final {
  background: #111;
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-final a {
  display: inline-block;
  margin-top: 2rem;
  background: #530045;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  color: white;
  transition: 0.3s;
}

.cta-final a:hover {
  background: #530045;
}

/* RESPONSIVE HERO */
@media(max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}


/* HERO PERSONALIZADO PARA COMO FUNCIONA */
.como-funciona-hero {
  background: url('/assets/img/como-funciona.jpg') no-repeat center center / cover;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.como-funciona-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
}

/* GRID DE PASOS */
/* Mejoramos grid de pasos porque ahora hay más */
.grid-pasos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.paso-card {
  background: #fff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.paso-card:hover {
  transform: translateY(-5px);
}
/* VENTAJAS */
.ventajas {
  margin: 3rem 0;
  padding-left: 1rem;
  list-style: none;
}

.ventajas li {
  margin: 1rem 0;
  font-size: 1.2rem;
  position: relative;
  padding-left: 2rem;
}

.ventajas li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #530045;
  font-weight: bold;
  font-size: 1.5rem;
}


/* HERO PERSONALIZADO QUIENES SOMOS */
.quienes-somos-hero {
  background: url('/assets/img/quienes-somos.jpg') no-repeat center center / cover;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.quienes-somos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
}

/* --- HERO DE PLANES --- */
/* HERO PROFESIONAL DE PLANES */
.planes-hero-pro {
  background: linear-gradient(135deg, #4424fb 0%, #a00398 40%, #5e0059 80%);
  color: white;
  text-align: center;
  padding: calc(80px + 5rem) 2rem 6rem 2rem;
}.planes-hero-pro .hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}



.planes-hero-pro h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.planes-hero-pro p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.planes-hero-pro .cta-hero {
  background: #111;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.planes-hero-pro .cta-hero:hover {
  background: #000;
}

/* CONTENEDOR DE LAS CARDS */
.plan-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s ease;
}

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

.plan-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-card .descripcion {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.plan-card ul {
  margin-bottom: 1.5rem;
}

.plan-card ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.plan-card ul li::before {
  content: "✔";
  color: #22c55e;
  margin-right: 0.6rem;
  font-weight: bold;
  font-size: 1.3rem;
}

/* PRECIO */
.precio {
  font-size: 2.5rem;
  font-weight: 800;
  color: #eab308;
  margin-bottom: 0.5rem;
}

.precio-anual {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1.5rem;
}

/* BOTONES CTA */
.btn-cta {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s ease;
  text-align: center;
}

.btn-gratis {
  background: #111;
  color: #fff;
}

.btn-gratis:hover {
  background: #000;
}

.btn-premium {
  background: #530045;
  color: #fff;
}

.btn-premium:hover {
  background: #530045;
}

/* BANNER PLAN ACTIVO */
.plan-activo {
  background: #dcfce7;
  border: 1px solid #4ade80;
  color: #166534;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 600;
}

/* RESPONSIVE EXTRA */
@media (max-width: 768px) {
  .planes-hero-pro {
    padding: calc(70px + 4rem) 1.5rem 5rem 1.5rem;
  }

  .planes-hero-pro h1 {
    font-size: 2.2rem;
  }

  .planes-hero-pro p {
    font-size: 1.1rem;
  }
}
