/* =========================================================
   RHEMA CENTINELAS DEL REINO
   DISEÑO PRINCIPAL
   VINOTINTO + DORADO + BEIGE
   ========================================================= */

:root {
  --vino: #721936;
  --vino-oscuro: #430b1d;
  --vino-profundo: #25050f;
  --vino-claro: #92284b;

  --dorado: #d4af37;
  --dorado-claro: #f5dc82;
  --dorado-oscuro: #967317;

  --beige: #ead5aa;
  --beige-claro: #fff4d9;

  --blanco: #ffffff;
  --texto: #fff8e8;
  --sombra: rgba(0, 0, 0, .5);
}


/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--texto);

  background:
    radial-gradient(
      circle at 50% 5%,
      rgba(212,175,55,.18),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      var(--vino-profundo),
      var(--vino-oscuro) 45%,
      var(--vino) 100%
    );

  overflow-x: hidden;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.rhema-header {
  position: relative;

  min-height: 230px;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px 40px;

  background:
    linear-gradient(
      180deg,
      var(--vino) 0%,
      var(--vino-oscuro) 100%
    );

  border-bottom: 6px solid var(--dorado);

  box-shadow:
    0 10px 30px var(--sombra),
    inset 0 -2px 0 var(--dorado-claro);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-container {
  position: absolute;
  left: 35px;
  top: 25px;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.rhema-logo {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}
.bandera-container {
  position: absolute;
  right: 35px;
  top: 25px;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bandera-rhema {
  display: block;
  width: 210px;
  height: 210px;
  object-fit: contain;
}

.logo-placeholder {
  color: var(--vino-oscuro);

  font-size: 30px;
  font-weight: 900;

  letter-spacing: 4px;
}


/* =========================================================
   NOMBRE DE RHEMA
   ========================================================= */

.header-title {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding-left: 230px;
  padding-right: 230px;

  text-align: center;
}

.header-title h1 {
  margin: 0;

  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;

  white-space: nowrap;

  font-size: clamp(32px, 4.5vw, 65px);
  font-weight: 900;
  letter-spacing: 2px;

  color: var(--dorado-claro);

  text-shadow:
    3px 4px 0 var(--vino-profundo),
    0 0 18px rgba(212,175,55,.3);
}

.header-title h1 span {
  color: var(--blanco);
  font-size: .72em;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.rhema-main {
  width: min(1600px, 94%);

  margin: 40px auto 120px;

  display: grid;

  grid-template-columns:
    250px
    minmax(0, 1fr)
    250px;

  gap: 30px;

  align-items: start;
}


/* =========================================================
   VISIÓN / MISIÓN
   ========================================================= */

.side-panel {
  position: relative;

  min-height: 360px;

  padding: 35px 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  color: var(--vino-oscuro);

  background:
    linear-gradient(
      145deg,
      var(--beige-claro),
      var(--beige)
    );

  border: 5px solid var(--dorado);

  border-radius: 55px 20px 55px 20px;

  box-shadow:
    0 10px 0 var(--vino-profundo),
    0 18px 30px var(--sombra);
}

.side-panel::before {
  content: "";

  position: absolute;

  inset: 10px;

  border: 2px solid var(--dorado-oscuro);

  border-radius: 45px 14px 45px 14px;

  pointer-events: none;
}

.side-icon {
  width: 100px;
  height: 100px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      var(--vino-claro),
      var(--vino-oscuro)
    );

  border: 5px solid var(--dorado);

  font-size: 45px;

  box-shadow:
    0 6px 0 var(--vino-profundo),
    0 10px 20px var(--sombra);
}

.side-panel h2 {
  margin: 25px 0 12px;

  color: var(--vino);

  font-size: 28px;
  letter-spacing: 4px;
}

.side-panel p {
  margin: 0;

  color: #4a3022;

  font-size: 17px;
  line-height: 1.6;
}


/* =========================================================
   CENTRO
   ========================================================= */

.welcome-section {
  min-width: 0;
}


/* =========================================================
   BIENVENIDA
   ========================================================= */

.welcome-card {
  position: relative;

  padding: 35px 30px;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      var(--vino-claro),
      var(--vino) 50%,
      var(--vino-oscuro)
    );

  border: 5px solid var(--dorado);

  border-radius: 65px;

  box-shadow:
    0 12px 0 var(--vino-profundo),
    0 20px 35px var(--sombra);

  overflow: hidden;
}

.welcome-card::before {
  content: "";

  position: absolute;

  inset: 10px;

  border: 2px solid var(--dorado);

  border-radius: 55px;

  pointer-events: none;
}

.welcome-badge {
  position: relative;
  z-index: 2;

  width: 95px;
  height: 95px;

  margin: 0 auto 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      var(--dorado-claro),
      var(--dorado)
    );

  border: 5px solid var(--beige-claro);

  font-size: 48px;

  box-shadow:
    0 6px 0 var(--dorado-oscuro),
    0 10px 20px var(--sombra);
}

.welcome-card h2 {
  position: relative;
  z-index: 2;

  margin: 10px 0;

  color: var(--dorado-claro);

  font-size: clamp(32px, 4vw, 52px);

  letter-spacing: 6px;
}

.welcome-name {
  position: relative;
  z-index: 2;

  margin: 10px 0;

  color: var(--blanco);

  font-size: 24px;
  font-weight: bold;
}

.welcome-rank {
  position: relative;
  z-index: 2;

  margin: 8px 0;

  color: var(--beige);

  font-size: 18px;
}

.welcome-rank strong {
  color: var(--dorado-claro);
}


/* =========================================================
   BOTONES GRANDES — INSIGNIAS
   ========================================================= */

.app-blocks {
  margin-top: 35px;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 25px;
}

.app-button {
  position: relative;

  min-height: 155px;

  padding: 25px 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  cursor: pointer;

  color: var(--texto);

  background:
    linear-gradient(
      145deg,
      var(--vino-claro),
      var(--vino) 50%,
      var(--vino-oscuro)
    );

  border: 5px solid var(--dorado);

  border-radius: 100px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 43px;

  box-shadow:
    0 9px 0 var(--vino-profundo),
    0 15px 28px var(--sombra),
    inset 0 2px 0 var(--dorado-claro);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.app-button::before {
  content: "";

  position: absolute;

  inset: 9px;

  border: 2px solid rgba(245,220,130,.8);

  border-radius: 90px;

  pointer-events: none;
}

.app-button span {
  position: relative;
  z-index: 2;

  color: var(--texto);

  font-size: 21px;
  font-weight: bold;

  letter-spacing: 1px;

  text-align: center;

  text-shadow:
    2px 2px 0 var(--vino-profundo);
}

.app-button:hover {
  transform: translateY(-6px) scale(1.02);

  background:
    linear-gradient(
      145deg,
      #a43158,
      var(--vino),
      #4a0d20
    );

  box-shadow:
    0 15px 0 var(--vino-profundo),
    0 22px 35px rgba(0,0,0,.6),
    0 0 22px rgba(212,175,55,.3);
}

.app-button:active {
  transform: translateY(4px);

  box-shadow:
    0 4px 0 var(--vino-profundo),
    0 8px 15px var(--sombra);
}


/* =========================================================
   PIE DE PÁGINA
   ========================================================= */

.rhema-footer {
  position: relative;

  min-height: 120px;

  padding: 20px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background:
    linear-gradient(
      180deg,
      var(--vino-oscuro),
      var(--vino-profundo)
    );

  border-top: 5px solid var(--dorado);

  box-shadow:
    0 -8px 25px var(--sombra);
}

.footer-left {
  color: var(--dorado-claro);

  font-size: 18px;
  font-weight: bold;

  letter-spacing: 1px;
}


/* =========================================================
   FECHA Y HORA
   ========================================================= */

.footer-clock {
  min-width: 270px;

  padding: 15px 30px;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      var(--beige-claro),
      var(--beige)
    );

  color: var(--vino-oscuro);

  border: 5px solid var(--dorado);

  border-radius: 80px;

  box-shadow:
    0 7px 0 var(--vino-profundo),
    0 12px 22px var(--sombra);
}

.footer-clock div:first-child {
  font-size: 16px;
  font-weight: bold;
}

.footer-clock div:last-child {
  margin-top: 4px;

  font-size: 23px;
  font-weight: 900;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.rhema-seccion {
  display: none;
}

.rhema-seccion.activa {
  display: block;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1150px) {

  .logo-container {
    width: 145px;
    height: 145px;

    left: 25px;
  }

  .header-title {
    padding-left: 180px;
    padding-right: 180px;
  }

  .header-title h1 {
    font-size: clamp(28px, 4vw, 48px);
  }

  .rhema-main {
    grid-template-columns:
      190px
      minmax(0, 1fr)
      190px;

    gap: 18px;
  }

  .app-blocks {
    gap: 18px;
  }

  .app-button {
    min-height: 135px;
    padding: 20px;
  }

  .app-button span {
    font-size: 17px;
  }
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 850px) {

  .rhema-header {
    min-height: 230px;

    padding: 20px;

    flex-direction: column;
  }

  .logo-container {
    position: relative;

    left: auto;
    top: auto;

    width: 120px;
    height: 120px;

    margin-bottom: 15px;
  }

  .header-title {
    padding: 0;
  }

  .header-title h1 {
    flex-direction: column;

    gap: 3px;

    white-space: normal;

    font-size: 32px;
  }

  .header-title h1 span {
    font-size: .65em;
  }

  .rhema-main {
    width: 92%;

    margin-top: 25px;

    grid-template-columns: 1fr;
  }

  .welcome-section {
    order: 1;
  }

  .vision-panel {
    order: 2;
  }

  .mission-panel {
    order: 3;
  }

  .app-blocks {
    grid-template-columns: 1fr;
  }

  .app-button {
    min-height: 125px;
  }

  .rhema-footer {
    min-height: 120px;

    flex-direction: row;

    gap: 20px;
}
}


/* =========================================================
   CELULAR PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

  .rhema-header {
    min-height: 210px;
  }

  .logo-container {
    width: 105px;
    height: 105px;
  }

  .logo-placeholder {
    font-size: 22px;
  }

  .header-title h1 {
    font-size: 25px;
  }

  .welcome-card {
    padding: 28px 18px;
  }

  .welcome-card h2 {
    font-size: 30px;
    letter-spacing: 3px;
  }

  .app-button {
    min-height: 115px;

    padding: 18px 25px;

    font-size: 34px;
  }

  .app-button span {
    font-size: 16px;
  }

  .footer-clock {
    min-width: 230px;
  }
}
/* =========================================================
   ESCUDO RHEMA — EMISORA
   SOLO DISEÑO DE LA EMISORA
   ========================================================= */

.escudo-emisora {
  width: min(440px, 92vw);
  display: flex;
  justify-content: center;
  align-items: center;
}

.escudo-borde {
  width: 100%;
  min-height: 570px;
  padding: 12px;
  background: #d4af37;
  clip-path: polygon(
    50% 0%,
    88% 13%,
    94% 48%,
    87% 69%,
    72% 85%,
    50% 100%,
    28% 85%,
    13% 69%,
    6% 48%,
    12% 13%
  );
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.escudo-interior {
  width: 100%;
  min-height: 546px;
  box-sizing: border-box;
  padding: 70px 45px 55px;
  background:
    radial-gradient(circle at 50% 25%, rgba(212, 175, 55, 0.18), transparent 35%),
    linear-gradient(145deg, #8b1733, #5d0c22 60%, #3d0717);
  clip-path: polygon(
    50% 0%,
    88% 13%,
    94% 48%,
    87% 69%,
    72% 85%,
    50% 100%,
    28% 85%,
    13% 69%,
    6% 48%,
    12% 13%
  );
  color: #f3e6cf;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.escudo-corona {
  font-size: 48px;
  margin-bottom: 5px;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.45));
}

.escudo-interior h2 {
  margin: 0;
  color: #d4af37;
  font-size: 34px;
  letter-spacing: 5px;
  font-weight: 900;
}

.escudo-interior h3 {
  margin: 3px 0 12px;
  color: #f3e6cf;
  font-size: 19px;
  letter-spacing: 4px;
  font-weight: 700;
}

.escudo-linea {
  width: 75%;
  height: 2px;
  background: #d4af37;
  margin: 5px 0 22px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.nombre-radio {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.estado-radio {
  margin: 0 0 18px;
  color: #f3e6cf;
  font-size: 15px;
  font-weight: 700;
}

.emisora-controles {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.emisora-controles button {
  border: 2px solid #d4af37;
  border-radius: 999px;
  padding: 11px 20px;
  background: #f3e6cf;
  color: #5d0c22;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.emisora-controles button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.4);
}

#radioRhema {
  width: 100%;
  max-width: 330px;
  margin: 4px auto 18px;
}

.lema-emisora {
  margin-top: 5px;
  color: #d4af37;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* Ajuste para celulares */
@media (max-width: 520px) {

  .escudo-emisora {
    width: min(360px, 94vw);
  }

  .escudo-borde {
    min-height: 500px;
  }

  .escudo-interior {
    min-height: 476px;
    padding: 60px 30px 45px;
  }

  .escudo-interior h2 {
    font-size: 28px;
  }

  .escudo-interior h3 {
    font-size: 16px;
  }

  .nombre-radio {
    font-size: 15px;
  }
}
/* =========================================================
   BIBLIA RHEMA — HOJA DE BIBLIA
   ========================================================= */

.biblia-marco {
  width: min(1250px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  background: #5d0c22;
  border: 5px solid #d4af37;
  border-radius: 22px;
  box-shadow:
    0 20px 60px rgba(0,0,0,.65),
    inset 0 0 0 2px #f3e6cf;
  color: #3f2417;
  display: flex;
  flex-direction: column;
}


/* ENCABEZADO */

.biblia-cabecera {
  min-height: 90px;
  background:
    linear-gradient(
      135deg,
      #5d0c22,
      #8b1733,
      #5d0c22
    );
  color: #f3e6cf;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-bottom: 3px solid #d4af37;
  text-align: center;
}

.biblia-corona {
  font-size: 42px;
  color: #d4af37;
}

.biblia-cabecera h2 {
  margin: 0;
  color: #d4af37;
  font-size: 30px;
  letter-spacing: 5px;
}

.biblia-cabecera p {
  margin: 5px 0 0;
  color: #f3e6cf;
  font-size: 15px;
  letter-spacing: 2px;
}


/* CUERPO */

.biblia-cuerpo {
  display: grid;
  grid-template-columns: 245px minmax(400px, 1fr) 190px;
  min-height: 560px;
  background: #ead8b8;
}


/* LIBROS */

.biblia-libros {
  background:
    linear-gradient(
      180deg,
      #6b1028,
      #4d091c
    );
  padding: 18px 12px;
  overflow-y: auto;
  border-right: 3px solid #d4af37;
}

.biblia-libros h3,
.biblia-capitulos h3 {
  margin: 0 0 14px;
  color: #d4af37;
  text-align: center;
  font-size: 15px;
  letter-spacing: 2px;
}

.biblia-testamentos {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}

.biblia-testamentos button {
  border: 1px solid #d4af37;
  border-radius: 20px;
  padding: 8px 5px;
  background: #f3e6cf;
  color: #5d0c22;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.biblia-testamentos button.activo {
  background: #d4af37;
  color: #4d091c;
}


.biblia-libro-boton {
  display: block;
  width: 100%;
  margin: 4px 0;
  padding: 8px 10px;
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 8px;
  background: rgba(243,230,207,.08);
  color: #f3e6cf;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  transition: .2s;
}

.biblia-libro-boton:hover,
.biblia-libro-boton.seleccionado {
  background: #d4af37;
  color: #4d091c;
}


/* HOJA CENTRAL */

.biblia-pagina {
  margin: 22px;
  min-width: 0;
  overflow-y: auto;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(255,255,255,.75),
      transparent 45%
    ),
    #f7edd7;

  border: 2px solid #b99142;
  box-shadow:
    0 8px 20px rgba(70,35,10,.25),
    inset 0 0 35px rgba(125,80,30,.12);

  display: flex;
  flex-direction: column;
  position: relative;
}


/* DECORACIÓN DE LA HOJA */

.biblia-pagina::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(139,23,51,.25);
  pointer-events: none;
}


.biblia-pagina-superior {
  padding: 18px 25px 12px;
  text-align: center;
  border-bottom: 1px solid #b99142;
  color: #5d0c22;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: bold;
}


.biblia-texto {
  flex: 1;
  padding: 25px 40px;
  overflow-y: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
}


.biblia-versiculo {
  margin: 0 0 13px;
  color: #3f2417;
}


.numero-versiculo {
  color: #8b1733;
  font-size: 12px;
  font-weight: 900;
  vertical-align: super;
  margin-right: 4px;
}


.biblia-bienvenida {
  height: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.biblia-icono-grande {
  font-size: 80px;
  margin-bottom: 15px;
}

.biblia-bienvenida h2 {
  color: #5d0c22;
  font-family: Georgia, serif;
  font-size: 30px;
}

.biblia-bienvenida p {
  color: #6b4a32;
}


/* PARTE INFERIOR DE LA HOJA */

.biblia-pagina-inferior {
  display: flex;
  justify-content: space-between;
  padding: 10px 22px;
  border-top: 1px solid #b99142;
  color: #7b5637;
  font-family: Georgia, serif;
  font-size: 12px;
}


/* COLUMNA CAPÍTULOS */

.biblia-capitulos {
  background:
    linear-gradient(
      180deg,
      #f3e6cf,
      #dfc99e
    );
  padding: 18px 12px;
  overflow-y: auto;
  border-left: 3px solid #d4af37;
}

.biblia-capitulo-boton {
  width: 42px;
  height: 38px;
  margin: 4px;
  border: 1px solid #a77d2c;
  border-radius: 8px;
  background: #fff7e8;
  color: #5d0c22;
  font-weight: 900;
  cursor: pointer;
  transition: .2s;
}

.biblia-capitulo-boton:hover,
.biblia-capitulo-boton.seleccionado {
  background: #5d0c22;
  color: #d4af37;
  border-color: #d4af37;
}


.biblia-ayuda {
  text-align: center;
  color: #765438;
  font-size: 13px;
}


/* NAVEGACIÓN */

.biblia-navegacion-rhema {
  min-height: 65px;
  background: #4d091c;
  border-top: 3px solid #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 8px 15px;
}

.biblia-navegacion-rhema button {
  border: 2px solid #d4af37;
  border-radius: 999px;
  padding: 10px 20px;
  background: #f3e6cf;
  color: #5d0c22;
  font-weight: 900;
  cursor: pointer;
}

.biblia-navegacion-rhema button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.biblia-navegacion-rhema button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

#bibliaActualRhema {
  min-width: 150px;
  text-align: center;
  color: #d4af37;
  font-weight: 900;
  font-family: Georgia, serif;
}


/* CARGANDO */

.biblia-cargando {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5d0c22;
  text-align: center;
}

.biblia-cargando div {
  font-size: 60px;
}


/* ERROR */

.biblia-error {
  text-align: center;
  padding: 80px 20px;
  color: #5d0c22;
}

.biblia-error div {
  font-size: 50px;
}

.biblia-error h3 {
  font-family: Georgia, serif;
}


/* CELULARES */

@media (max-width: 900px) {

  .biblia-cuerpo {
    grid-template-columns: 180px minmax(300px, 1fr);
  }

  .biblia-capitulos {
    display: none;
  }

}

@media (max-width: 650px) {

  .biblia-marco {
    width: 98vw;
    max-height: 95vh;
  }

  .biblia-cuerpo {
    display: block;
    overflow-y: auto;
  }

  .biblia-libros {
    max-height: 220px;
    border-right: none;
    border-bottom: 3px solid #d4af37;
  }

  .biblia-pagina {
    margin: 12px;
    min-height: 500px;
  }

  .biblia-texto {
    padding: 22px;
    font-size: 16px;
  }

  .biblia-navegacion-rhema {
    gap: 8px;
  }

  .biblia-navegacion-rhema button {
    padding: 8px 12px;
    font-size: 11px;
  }

}
/* =========================================================
   RHEMA — HOJA TIPO BIBLIA / PERGAMINO
   ADMINISTRACIÓN
   ========================================================= */

.administracion-pergamino {
  width: min(950px, 94vw);
  max-height: 92vh;
  overflow: auto;
  box-sizing: border-box;
  padding: 18px;
}

.administracion-hoja {
  position: relative;
  width: 100%;
  min-height: 520px;
  box-sizing: border-box;

  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.45), transparent 25%),
    radial-gradient(circle at 80% 85%, rgba(120,70,20,.16), transparent 30%),
    linear-gradient(135deg, #f7e8c5, #ead09a 45%, #f4dfb3);

  border: 8px solid #b68b32;
  border-radius: 8px 18px 10px 20px;

  padding: 32px 42px;

  color: #5d0c22;

  box-shadow:
    0 20px 60px rgba(0,0,0,.75),
    inset 0 0 35px rgba(105,65,20,.18);

  overflow: hidden;
}

/* Decoraciones */

.administracion-decoracion-superior,
.administracion-decoracion-inferior {
  text-align: center;
  color: #9b7022;
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: bold;
}

.administracion-decoracion-superior {
  margin-bottom: 18px;
}

.administracion-decoracion-inferior {
  margin-top: 25px;
}

/* Encabezado */

.administracion-cabecera {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.administracion-icono {
  font-size: 42px;
}

.administracion-cabecera h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: 2px;
  color: #6b1029;
}

.administracion-cabecera p {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: bold;
  color: #79582b;
}

/* Línea dorada */

.administracion-linea-dorada {
  width: 85%;
  height: 2px;
  margin: 22px auto;
  background: #b68b32;
}

/* Contenido */

.administracion-contenido {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 760px;
  margin: 0 auto;
}

/* Botones */

.administracion-opcion {
  width: 100%;
  min-height: 82px;

  display: flex;
  align-items: center;
  gap: 18px;

  padding: 18px 22px;

  box-sizing: border-box;

  background: rgba(255,250,235,.72);

  border: 3px solid #b68b32;
  border-radius: 18px;

  color: #5d0c22;

  cursor: pointer;

  text-align: left;

  box-shadow: 0 5px 14px rgba(70,40,10,.18);

  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.administracion-opcion:hover {
  transform: translateY(-2px);
  background: #fff8e8;
  box-shadow: 0 8px 18px rgba(70,40,10,.28);
}

.administracion-opcion:first-letter {
  font-size: 30px;
}

.administracion-opcion span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.administracion-opcion strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: .5px;
}

.administracion-opcion small {
  font-size: 13px;
  color: #765d38;
}

/* Pie */

.administracion-pie {
  text-align: center;
  margin-top: 20px;
}

.administracion-pie p {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: #765d38;
}

/* Botón cerrar */

.cerrar-administracion-rhema {
  padding: 11px 24px;

  border: 2px solid #8b1733;
  border-radius: 22px;

  background: #6b1029;
  color: #fff;

  cursor: pointer;

  font-weight: bold;

  transition:
    transform .2s ease,
    background .2s ease;
}

.cerrar-administracion-rhema:hover {
  transform: translateY(-2px);
  background: #8b1733;
}

/* Adaptación para celular */

@media (max-width: 600px) {

  .administracion-pergamino {
    width: 96vw;
    padding: 5px;
  }

  .administracion-hoja {
    padding: 25px 18px;
  }

  .administracion-cabecera {
    flex-direction: column;
    gap: 8px;
  }

  .administracion-cabecera h1 {
    font-size: 24px;
  }

  .administracion-opcion {
    padding: 15px;
  }

}