/* =========================================
   Estilos para el Portal de Tours
   ========================================= */

/* Reutilizamos la fuente de marca del tour */
@font-face {
  font-family: "Pulso";
  src: url("public/soc/assets/fonts/Pulso-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Tokens de marca consistentes con el tour */
:root {
  --violeta-telecom: #3C009F;
  --violeta-700: #281E5A;
  --violeta-900: #140232;
  --violeta-acento: #B989F9;
  --blanco-digital: #F5F5F5;
  --hero-from: var(--violeta-900);
  --hero-to: var(--violeta-700);
  --violeta-hover: #2F007E;
  --focus-ring: rgba(185,137,249,.55);
}

/* Base y layout general */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--blanco-digital);
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to)) fixed;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.portal-container {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.portal-header {
  margin-bottom: 3rem;
}

.portal-header .logo {
  height: 32px;
  margin-bottom: 1rem;
}

.portal-header h1 {
  font-family: 'Pulso', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.portal-header p {
  font-size: 1.1rem;
  color: var(--violeta-acento);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Grilla de tarjetas */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tour-card {
  background: rgba(20, 2, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tour-card:not(.is-disabled):hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  border-color: rgba(185,137,249,0.5);
}

.card-content h2 {
  font-family: 'Pulso', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: #cbd5e1;
  line-height: 1.6;
  min-height: 50px; /* Asegura alineación vertical */
  margin-bottom: 1.5rem;
}

/* Estilo del botón (reutilizado del tour) */
.tour-card a.primary {
  display: block;
  background-color: var(--violeta-telecom);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.tour-card a.primary:hover {
  background-color: var(--violeta-hover);
}

.tour-card a.primary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* Estilos para tarjetas deshabilitadas */
.tour-card.is-disabled {
  opacity: 0.5;
  filter: grayscale(50%);
  pointer-events: none; /* No se puede hacer clic */
}

.tour-card span.soon {
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  text-align: center;
  cursor: not-allowed;
}
/* MEJORA: Estilos para hacer el footer más discreto */
.portal-footer {
  margin-top: 4rem;     /* Aumenta el espacio superior para bajarlo */
  font-size: 0.85rem;   /* Reduce el tamaño del texto */
  opacity: 0.6;         /* Lo hace más transparente y sutil */
}