/* =============================================
   VARIABLES — Identidad visual FEPAMIC
   ============================================= */
:root {
  --color-burdeos: #7F1340;
  --color-amarillo: #FFD600;
  --color-negro: #1D1D1B;
  --color-blanco: #FFFFFF;
  --color-gris-claro: #F5F5F5;
  --color-gris-texto: #555555;

  --fuente-principal: 'Arial Nova', Arial, sans-serif;

  --max-ancho: 860px;
  --radio: 6px;
  --sombra: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* =============================================
   RESET BÁSICO
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fuente-principal);
  color: var(--color-negro);
  background: var(--color-blanco);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-burdeos);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--max-ancho);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   CABECERA
   ============================================= */
.header {
  background: var(--color-blanco);
  border-bottom: 3px solid var(--color-burdeos);
  padding: 1rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  height: 56px;
  width: auto;
}

.logo--evento {
  height: 48px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--color-burdeos);
  color: var(--color-blanco);
  padding: 4rem 0;
  text-align: center;
}

.hero__label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.1;
  color: var(--color-amarillo);
}

.hero__fecha {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0.92;
}

/* =============================================
   BOTONES
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radio);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-amarillo);
  color: var(--color-negro);
}

/* =============================================
   SECCIÓN INFO
   ============================================= */
.info {
  padding: 4rem 0;
  background: var(--color-blanco);
}

.info--alt {
  background: var(--color-gris-claro);
}

.info__block {
  margin-bottom: 2.5rem;
}

.info__block h2 {
  font-size: 1.35rem;
  color: var(--color-burdeos);
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--color-amarillo);
  padding-left: 0.75rem;
}

.info__block p,
.info__block ol {
  color: var(--color-gris-texto);
}

.info__block ol {
  padding-left: 1.25rem;
}

.info__block ol li {
  margin-bottom: 0.4rem;
}

/* =============================================
   SECCIÓN FORMULARIO
   ============================================= */
.form-section {
  background: var(--color-gris-claro);
  padding: 4rem 0;
}

.form-section__title {
  font-size: 1.75rem;
  color: var(--color-burdeos);
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-section__subtitle {
  text-align: center;
  color: var(--color-gris-texto);
  margin-bottom: 2rem;
}

/* Placeholder visual hasta que se inserte el embed de Formbricks */
.formbricks-placeholder {
  background: var(--color-blanco);
  border: 2px dashed #ccc;
  border-radius: var(--radio);
  padding: 3rem;
  text-align: center;
  color: #999;
  font-style: italic;
  box-shadow: var(--sombra);
}

/* Cuando se añada el iframe real, quitar .formbricks-placeholder y usar esto: */
.form-section iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

/* =============================================
   AVISO LEGAL
   ============================================= */
.aviso-legal {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--color-blanco);
  border-left: 4px solid var(--color-burdeos);
  border-radius: var(--radio);
  font-size: 0.875rem;
  color: var(--color-gris-texto);
}

.aviso-legal h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-negro);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aviso-legal p {
  margin-bottom: 0.75rem;
}

.aviso-legal p:last-child {
  margin-bottom: 0;
}

/* =============================================
   PIE DE PÁGINA
   ============================================= */
.footer {
  background: var(--color-negro);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: var(--color-amarillo);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 600px) {
  .hero {
    padding: 2.5rem 0;
  }

  .info,
  .form-section {
    padding: 2.5rem 0;
  }
}
