/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================
   VARIABLES
========================= */
:root {
  --color-principal: #7c3aed;
  --color-texto: #222;
  --color-gris: #999;
  --color-fondo: #ffffff;
  --radio: 14px;
  --fuente: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   BASE
========================= */
body {
  font-family: var(--fuente);
  background: #f2f2f2;
  color: var(--color-texto);
  line-height: 1.4;
}

/* =========================
   HEADER
========================= */
.header {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header p {
  font-size: 15px;
  color: #666;
}

/* =========================
   LOGO
========================= */
.logo {
  max-width: 280px;
  width: 100%;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}

/* =========================
   SECCIONES
========================= */
.bloque {
  padding: 20px 16px;
  background: #fff;
}

.bloque h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

/* =========================
   SEPARADORES
========================= */
hr {
  border: none;
  height: 1px;
  background: #e0e0e0;
  margin: 25px 0;
}

/* =========================
   TEXTO
========================= */
p {
  margin-bottom: 12px;
  font-size: 15px;
}

/* =========================
   LINKS / BOTONES
========================= */
.item {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 12px;
  margin-bottom: 10px;
  background: #d6cee0;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  border-radius: var(--radio);
  transition: background .25s ease;
}

.item:hover {
  background: #b66bc5;
}

.destacado {
  background: #c5b2d6;
  font-weight: bold;
}

.destacado:hover {
  background: #333;
  color: #fff;
}

/* =========================
   GALERÍA
========================= */
.galeria {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* =========================
   IMÁGENES
========================= */
.galeria img,
.media img {
  width: 100%;
  max-width: 680px;
  height: auto;
  border-radius: var(--radio);
  object-fit: cover;
}

/* =========================
   VIDEOS LOCALES (AUTO RATIO)
========================= */
.galeria video,
.media video {
  width: 100%;
  max-width: 680px;
  height: auto;

  object-fit: contain;
  background: #000;
  border-radius: var(--radio);

  max-height: 80vh;
}

/* =========================
   VIDEO VERTICAL (9:16)
========================= */
.video-vertical {
  width: 100%;
  max-width: 680px;
  margin: 16px auto;

  display: flex;
  justify-content: center;

  background: #fff;
  border-radius: 24px;
  padding: 8px;
}

.video-vertical video {
  width: auto;
  height: 80vh;
  max-height: 720px;

  object-fit: contain;
  border-radius: 22px;
}

/* =========================
   IFRAMES (YT / FB / ETC)
========================= */
.video,
.media iframe {
  width: 100%;
  max-width: 680px;
  margin: 16px auto;

  display: flex;
  justify-content: center;

  background: #000;
  border-radius: var(--radio);
  overflow: hidden;
}

.video iframe,
.media iframe {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border: none;
}

/* =========================
   CHECKBOX / SERVICIOS
========================= */
.form-servicios {
  margin-top: 20px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 8px 6px;
  font-size: 15px;
  line-height: 1.3;

  border-radius: 8px;
  cursor: pointer;
}

.check-item:hover {
  background: #f2f2f2;
}

.check-box {
  width: 20px;
  height: 20px;
  border: 2px solid #aaa;
  border-radius: 4px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-text {
  flex: 1;
  word-break: break-word;
}

/* Desktop: 2 columnas */
@media (min-width: 768px) {
  .form-servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }
}

/* =========================
   ACCIONES
========================= */
.acciones {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.acciones a {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: #646464;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  border-radius: var(--radio);
}

.acciones a:hover {
  background: #e2e2e2;
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 15px 10px;
  background-color: #f5f5f5;
  font-size: .9rem;
  color: #333;
  border-top: 1px solid #ddd;
}

.footer a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* =========================
   CONTENEDOR FORMULARIO
========================= */
.contenedor {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* =========================
   CAMPOS DE TEXTO
========================= */
.form-datos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.form-field span {
  font-weight: 600;
  color: #444;
}

.form-field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;

  border-radius: var(--radio);
  border: 1px solid #ccc;

  background: #fff;
  outline: none;
}

.form-field input:focus {
  border-color: var(--color-principal);
  box-shadow: 0 0 0 2px rgba(124,58,237,.15);
}

/* =========================
   SERVICIOS (CHECKLIST)
========================= */
.form-servicios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  background: #f3f0f8;
  border-radius: var(--radio);

  cursor: pointer;
}

.check-item input {
  display: none;
}

.check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #999;
  background: #fff;
  flex-shrink: 0;
}

.check-item input:checked + .check-box {
  background: var(--color-principal);
  border-color: var(--color-principal);
}

.check-text {
  font-size: 15px;
}

/* =========================
   BOTÓN SUBMIT
========================= */
.btn-principal {
  width: 100%;
  margin-top: 20px;

  padding: 16px;
  font-size: 17px;
  font-weight: bold;

  border: none;
  border-radius: var(--radio);

  background: var(--color-principal);
  color: #fff;

  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.btn-principal:hover {
  opacity: .9;
}

.btn-principal:active {
  transform: scale(.98);
}

/* =========================
   BOTONES INFERIORES
========================= */
.botones {
  display: flex;
  gap: 10px;
  padding: 16px;
}
