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

body {
  background-image: url("../img/bg-grafo-cubos.png");
    background-color: #2f3a40; /* tu gris base */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 40%;
  background-attachment: fixed;
}

/* =========================
   HEADER
========================= */
.mtz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 32px;
}

.mtz-logo {
  height: 40px;
}

.mtz-header-center {
  text-align: center;
}

.mtz-header-title,
.mtz-center h1 {
  font-weight: 300;
  letter-spacing: 0.35em;
}


.mtz-header-slogan {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.mtz-header-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* FONDO GRAFO + CUBOS */
.mtz-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("img/bg-grafo-cubos.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 55%;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}



/* =========================
   CONTENIDO
========================= */
main {
  position: relative;
  z-index: 2;
}

/* =========================
   SECCIÓN INTRO
========================= */
.mtz-intro {
  max-width: 1200px;
  margin: auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 60px;
}

.mtz-col {
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
}

.mtz-col h3 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.mtz-center {
  text-align: center;
  align-self: start;
}

.mtz-center h1 {
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  margin-bottom: 16px;
}

.mtz-slogan {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mtz-subline {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* =========================
   FOOTER
========================= */
.mtz-footer {
  text-align: center;
  padding: 40px 20px;
}

/* FRASE PRINCIPAL DEL FOOTER */
.mtz-footer > p:first-child {
  font-size: 0.95rem;       /* más grande */
  letter-spacing: 0.22em;   /* más aire */
  opacity: 0.75;
  margin-bottom: 12px;
}

/* TEXTO LEGAL */
.mtz-legal {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  opacity: 0.5;
}


/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .mtz-header {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
  }

  .mtz-header-center {
    grid-column: 1 / -1;
  }

  .mtz-intro {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 40px;
  }

  .mtz-bg {
    background-size: 85%;
    background-position: center 40%;
  }

}

/* ===== FORZAR TEXTO BLANCO MTZ ===== */

/* Header */
.mtz-header,
.mtz-header * {
  color: #ffffff;
}

/* Columnas de contenido */
.mtz-col,
.mtz-col h3,
.mtz-col p,
.mtz-col li {
  font-weight: 400;
  line-height: 1.75;
}


/* Footer */
.mtz-footer,
.mtz-footer * {
  color: #ffffff;
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== FIX DEFINITIVO COLOR COLUMNAS ===== */
.mtz-col,
.mtz-col p,
.mtz-col li,
.mtz-col h3 {
  color: #ffffff !important;
}
/* ===== MAQUILLAJE DESKTOP – APROVECHAR ANCHO ===== */
@media (min-width: 992px) {

  .mtz-intro {
    max-width: 1400px;   /* antes 1200 */
    padding-left: 60px;
    padding-right: 60px;
  }

}
@media (min-width: 992px) {

  /* Columna izquierda más a la izquierda */
  .mtz-left {
    padding-right: 40px;
    justify-self: start;
  }

  /* Columna derecha más a la derecha */
  .mtz-right {
    padding-left: 40px;
    justify-self: end;
  }

}
@media (min-width: 992px) {

  .mtz-intro {
    margin-top: -20px; /* sube el bloque completo */
  }

}
/* ===== FOOTER AJUSTE ===== */
.mtz-footer {
  margin-top: 60px;
}
.mtz-footer p {
  line-height: 1.8;
  letter-spacing: 0.1em;
}
/* ===== AJUSTE FINO – COLUMNA IZQUIERDA ===== */
@media (min-width: 992px) {

  .mtz-left {
    margin-left: -40px;   /* empuja hacia la izquierda */
  }

}
/* ESPACIADO VERTICAL COLUMNAS LATERALES */
.mtz-col p {
  margin-bottom: 1.6rem;   /* espacio entre párrafos */
}

.mtz-col h3 {
  margin-top: 2.2rem;      /* separación antes de cada bloque */
}
/* ===== AJUSTE FINAL FOOTER – DESKTOP ===== */
@media (min-width: 992px) {
  .mtz-footer {
    margin-top: -40px;   /* 🔑 sube el footer */
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
/* ===== LOGO ESQUINA INFERIOR DERECHA ===== */
.mtz-corner-logo {
  position: fixed;
  bottom: 24px;
  right: 24px;
  opacity: 0.18;              /* sutil, elegante */
  pointer-events: none;      /* no interfiere */
  z-index: 1;
}

.mtz-corner-logo img {
  width: 110px;              /* tamaño base */
  height: auto;
}
/* Logo debajo de columna derecha – SOLO DESKTOP */
.mtz-right-logo {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.mtz-right-logo img {
  width: 120px;   /* ajustable */
  opacity: 0.9;
}

/* No mostrar en móvil */
@media (max-width: 768px) {
  .mtz-right-logo {
    display: none;
  }
}
@media (max-width: 768px) {
  .mtz-right-logo {
    display: none;
  }
}

/* ===== CONTACTO ===== */

.mtz-contact {
  max-width: 520px;
  margin: 60px auto 40px;
  text-align: center;
}

.mtz-contact h2 {
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
}

.mtz-contact-intro {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 32px;
}

.mtz-contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mtz-form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mtz-form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  opacity: 0.8;
}

.mtz-contact-form input,
.mtz-contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding: 10px 6px;
  color: #fff;
  font-family: inherit;
}

.mtz-contact-form input:focus,
.mtz-contact-form textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}

.mtz-contact-form button {
  margin-top: 10px;
  background: #fff;
  color: #000;
  border: none;
  padding: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  cursor: pointer;
}

.mtz-contact-form button:hover {
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 768px) {
  .mtz-contact {
    padding: 0 20px;
    margin-top: 40px;
  }
}
/* ===== CONTACTO SIN FONDO ===== */
.page-contact .mtz-bg {
  display: none;
}
/* ===== CONTACTO SIN FONDO – FORZADO ===== */
.page-contact .mtz-bg {
  display: none !important;
}
/* ===== CONTACTO SIN FONDO (SOLUCIÓN REAL) ===== */
.page-contact {
  background-image: none !important;
  background-color: #2f3a40; /* mantiene el gris */
}
/* ===== CONTACTO – TEXTO BLANCO ===== */
.page-contact {
  color: #ffffff;
}

.page-contact h2,
.page-contact p,
.page-contact label {
  color: #ffffff;
}

/* ===== FOOTER CONTACTO – MISMO ESTILO INDEX ===== */
.page-contact .mtz-footer {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
  padding: 24px 20px;
}
.page-contact .mtz-footer p {
  margin: 0;
  line-height: 1.6;
}
/* ===== CONTACTO – RESPONSIVE MÓVIL ===== */
@media (max-width: 768px) {

  .mtz-contact {
    max-width: 100%;
    padding: 40px 20px;
    text-align: center;
  }

  .mtz-contact h2 {
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #ffffff;
  }

  .mtz-contact-intro {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.9;
    max-width: 100%;
    margin-bottom: 30px;
  }

  /* Formulario */
  .mtz-contact-form {
    width: 100%;
    max-width: 100%;
  }

  .mtz-form-group {
    margin-bottom: 18px;
    text-align: left;
  }

  .mtz-form-group label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: block;
    color: #ffffff;
    opacity: 0.85;
  }

  .mtz-contact-form input,
  .mtz-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.25);
    color: #ffffff;
  }

  .mtz-contact-form input:focus,
  .mtz-contact-form textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
  }

  .mtz-contact-form button {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    background: #ffffff;
    color: #000000;
    border: none;
    cursor: pointer;
  }
}

/* ===== SERVICIOS ===== */

.mtz-services {
  max-width: 760px;          /* más elegante que 900 */
  margin: 40px 0 80px 6%;    /* izquierda real */
  padding: 0;
  color: #ffffff;
  position: relative;
  z-index: 2;                /* 🔑 encima del fondo */
}

.mtz-section-title {
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.mtz-section-intro {
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: justify;       /* 🔑 justificado */
  margin-bottom: 48px;
  opacity: 0.9;
}

.mtz-service {
  margin-bottom: 42px;
}

.mtz-service h3 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: left;          /* títulos NO justificados */
}

.mtz-service p {
  font-size: 0.9rem;
  line-height: 1.85;          /* más aire */
  text-align: justify;
  text-justify: inter-word;  /* cortes naturales */
  hyphens: auto;             /* evita ríos de texto */
  margin-bottom: 1.4rem;     /* separa bloques */
  opacity: 0.9;
}



/* Mobile */
@media (max-width: 768px) {

  .mtz-services {
    padding: 0 20px;
    margin-top: 40px;
  }

  .mtz-section-title {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
  }
}
/* ===== FIX REAL SERVICIOS – POSICIÓN ===== */
.page-services .mtz-services {
  margin-top: 20px !important;
}
/* ===== FIX REAL SERVICIOS – TEXTO ===== */
.page-services .mtz-service p,
.page-services .mtz-section-intro {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.85;
}
/* ==============================
   SERVICIOS – AJUSTE DEFINITIVO
============================== */

/* Subir la columna izquierda */
.mtz-services {
  margin-top: -40px !important;   /* 🔑 SUBE VISUALMENTE */
  margin-left: 4%;
  max-width: 760px;
  padding: 0;
  position: relative;
  z-index: 5;
  background: transparent !important;
}

/* Justificación elegante (no corrido) */
.mtz-service p,
.mtz-section-intro {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.85;
  margin-bottom: 1.4rem;
  letter-spacing: 0.015em;   /* rompe el efecto “bloque duro” */
    word-spacing: 0.04em;     /* equilibra ríos */
}

/* Mantener títulos limpios */
.mtz-service h3 {
  text-align: left;
  margin-bottom: 12px;
}

/* ===== SERVICIOS – COLUMNA EDITORIAL REAL ===== */
.mtz-services {
  max-width: 420px;     /* 🔑 antes era demasiado ancho */
}
.mtz-service p {
  display: block;
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.9;
}

/* ===== SERVICIOS – LAYOUT DOS COLUMNAS ===== */
.services-layout {
  display: grid;
  grid-template-columns: auto 260px; /* texto + columna derecha */
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== COLUMNA DERECHA – LOGOS ===== */
.services-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px; /* alinea con el texto */
}

.service-logo {
  display: block;
}

.service-logo img {
  width: 100%;
  max-width: 220px;     /* 🔑 MISMO TAMAÑO */
  height: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-logo img:hover {
  opacity: 1;
  transform: scale(1.03);
}
@media (max-width: 768px) {

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-right {
    align-items: center;
    margin-top: 20px;
  }

}
/* ===== AJUSTE FINO – MOVER SOLO COLUMNA IZQUIERDA ===== */
.services-layout .mtz-services {
  justify-self: start;   /* 🔑 alinea dentro del grid */
  margin-left: -100px;    /* 🔑 empuja SOLO esta columna */
}
/* ===== FIX ENLACES SERVICIOS – TEXTO BLANCO ===== */
.services-right a {
  color: #ffffff;
  text-decoration: none;
}

.services-right a:visited,
.services-right a:hover,
.services-right a:active {
  color: #ffffff;
  text-decoration: none;
}
/* ===== FONDO GENERAL – TODAS LAS PÁGINAS ===== */
.page-services,
.page-contact,
.page-memorial {
  background-color: #2f3a40;
}
/* ===== SERVICIOS – MÓVIL ===== */
@media (max-width: 768px) {

  .services-layout {
    display: block;          /* una sola columna */
  }

  .services-layout .mtz-services {
    margin: 0 auto;
    max-width: 92%;
  }

}
@media (max-width: 768px) {

  .mtz-section-title {
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
  }

  .mtz-service h3 {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }

  .mtz-service p,
  .mtz-section-intro {
    font-size: 0.95rem;
    line-height: 1.75;
    text-align: justify;
  }

}

@media (max-width: 768px) {

  .services-right {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .service-logo img {
    max-width: 200px;   /* mismo tamaño */
    width: 100%;
  }

  .service-name {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

}

@media (max-width: 768px) {

  .mtz-services,
  .services-right {
    padding-left: 0;
    padding-right: 0;
  }

}

/* =========================
   QR – PÁGINA GENERADOR
========================= */

.page-qr {
  background-color: #2f3a40;
  color: #ffffff;
}

.qr-container {
  max-width: 520px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.qr-title {
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
}

.qr-intro {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 32px;
}

.qr-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  opacity: 0.8;
}

.qr-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  margin-bottom: 24px;
}

.qr-input:focus {
  outline: none;
  border-color: #ffffff;
}

.qr-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.qr-btn {
  padding: 12px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
}

.qr-btn.primary {
  background: #ffffff;
  color: #000000;
}

.qr-btn.secondary {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.qr-preview {
  margin: 20px auto;
}

.qr-status {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 16px;
}

/* =========================
   QR – SIN IMAGEN DE FONDO
========================= */

.page-qr {
  background-image: none !important;
  background-color: #2f3a40; /* se mantiene el gris */
}

/* =========================
   ADMIN QR – PROTEGIDO
========================= */

.page-qr-admin {
  background-color: #2f3a40;
  color: #ffffff;
}

.page-qr-admin .qr-container {
  max-width: 520px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-qr-admin .qr-title {
  font-size: 1.4rem;
  letter-spacing: 0.25em;
}

.page-qr-admin .qr-intro {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 28px;
}

/* =========================
   ADMIN QR – SIN IMAGEN DE GRAFOS
========================= */

.page-qr-admin {
  background-image: none !important;
}

.page-qr-admin .mtz-bg {
  display: none !important;
}

/* =========================
   ADMIN QR – TAMAÑO VISUAL QR
========================= */

.page-qr-admin .qr-preview canvas,
.page-qr-admin .qr-preview img {
  max-width: 260px;   /* tamaño visual */
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* =========================
   QR PÚBLICO – MARCA DE AGUA
========================= */

.page-qr .qr-wrapper {
  position: relative;
  display: inline-block;
}

.page-qr .qr-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: rgba(0,0,0,0.65);
  pointer-events: none; /* no interfiere */
  text-transform: uppercase;
}

/* =========================
   FORMULARIO MEMORIAL
========================= */

.page-form-memorial {
  background-color: #2f3a40;
  color: #ffffff;
}

/* Contenedor */
.form-memorial-container {
  max-width: 680px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

/* Títulos */
.form-memorial-title {
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
}

.form-memorial-intro {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 40px;
}

/* Formulario */
.form-memorial {
  text-align: left;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  opacity: 0.85;
}

/* Inputs */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  border-radius: 4px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
}

/* Botón */
.form-submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  background: #ffffff;
  color: #000000;
  border: none;
  cursor: pointer;
}

/* Nota */
.form-note {
  margin-top: 32px;
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {

  .form-memorial-container {
    margin-top: 40px;
  }

  .form-memorial-title {
    font-size: 1.4rem;
    letter-spacing: 0.18em;
  }

}

/* =========================
   FORMULARIO MEMORIAL – SIN GRAFO
========================= */

.page-form-memorial {
  background-image: none !important;
}

.page-form-memorial .mtz-bg {
  display: none !important;
}

/* =========================
   ADMIN MEMORIAL
========================= */

.page-admin-memorial {
  background-color: #2f3a40;
  background-image: none;
  color: #ffffff;
}

.admin-memorial-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.admin-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 20px;
  margin-bottom: 20px;
}

.admin-card h3 {
  margin-bottom: 10px;
  letter-spacing: 0.12em;
}

.admin-date {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 10px;
}

/* =========================
   ADMIN MEMORIAL – AJUSTES VISUALES
========================= */

.page-admin-memorial {
  background-color: #2f3a40;
  background-image: none !important;
  color: #ffffff;
}

/* Eliminar grafo si existe */
.page-admin-memorial .mtz-bg {
  display: none !important;
}

/* Contenedor */
.admin-memorial-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Tarjeta de solicitud */
.admin-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 22px 24px;
  margin-bottom: 28px;             /* 🔑 separación clara */
  border-radius: 6px;
}

/* Texto dentro de la tarjeta */
.admin-card,
.admin-card p,
.admin-card h3 {
  color: #ffffff;
}

/* Título del memorial */
.admin-card h3 {
  font-size: 1rem;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Datos */
.admin-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Fecha */
.admin-date {
  margin-top: 14px;
  font-size: 0.75rem;
  opacity: 0.65;
  letter-spacing: 0.08em;
}
/* =========================
   ADMIN MEMORIAL – WHATSAPP
========================= */

.admin-whatsapp {
  display: inline-block;
  margin: 14px 0 6px;
  padding: 10px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  background: #25d366;
  color: #000000;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
}

.admin-whatsapp:hover {
  opacity: 0.85;
}

/* =========================
   ADMIN MEMORIAL – ACCIONES
========================= */

.admin-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
}

.admin-btn {
  padding: 8px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.admin-btn.approve {
  background: #ffffff;
  color: #000000;
}

.admin-btn.reject {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
}

.admin-btn:hover {
  opacity: 0.85;
}

/* =========================
   ADMIN MEMORIAL – BADGES
========================= */

.admin-badge {
  display: inline-block;
  margin: 6px 0 12px;
  padding: 6px 14px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  border-radius: 20px;
  font-weight: 500;
}

.badge-pending {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

.badge-approved {
  background: #ffffff;
  color: #000000;
}

.badge-rejected {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
}

/* =========================
   ADMIN MEMORIAL – LINK MEMORIAL
========================= */

.admin-memorial-link {
  display: inline-block;
  margin: 8px 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-decoration: underline;
}

.admin-memorial-link:hover {
  opacity: 0.75;
}

/* =========================
   DASHBOARD ADMIN
========================= */

.page-admin-dashboard {
  background-color: #2f3a40;
  background-image: none;
  color: #ffffff;
}

.page-admin-dashboard .mtz-bg {
  display: none !important;
}

.admin-dashboard-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.admin-dashboard-title {
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  margin-bottom: 40px;
}

/* Grid */
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* Cards */
.admin-dashboard-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 28px 22px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.admin-dashboard-card h3 {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.admin-dashboard-card p {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.6;
}

.admin-dashboard-card:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

/* =========================
   DASHBOARD ADMIN – AJUSTES FINALES
========================= */

.page-admin-dashboard {
  background-color: #2f3a40;
  background-image: none !important;
  color: #ffffff;
}

/* Eliminar cualquier fondo gráfico */
.page-admin-dashboard .mtz-bg {
  display: none !important;
}

/* Contenedor */
.admin-dashboard-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

/* Título */
.admin-dashboard-title {
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  margin-bottom: 50px;
}

/* Grid centrado */
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  justify-items: center;
}

/* Card */
.admin-dashboard-card

/* =========================
   DASHBOARD ADMIN – MOBILE
========================= */

@media (max-width: 768px) {

  .admin-dashboard-container {
    margin-top: 40px;
  }

  .admin-dashboard-title {
    font-size: 1.3rem;
    letter-spacing: 0.18em;
    margin-bottom: 30px;
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;   /* 🔑 una sola columna */
    gap: 22px;
  }

  .admin-dashboard-card {
    max-width: 100%;
    padding: 26px 20px;
  }

  .admin-dashboard-card h3 {
    font-size: 0.85rem;
  }

  .admin-dashboard-card p {
    font-size: 0.8rem;
  }
}

/* =========================
   ADMIN MEMORIAL – MOBILE
========================= */

@media (max-width: 768px) {

  .admin-memorial-container {
    margin-top: 40px;
  }

  .admin-card {
    padding: 20px 18px;
  }

  .admin-card h3 {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }

  .admin-card p {
    font-size: 0.85rem;
  }

  .admin-actions {
    flex-direction: column;     /* 🔑 botones uno debajo del otro */
    gap: 10px;
  }

  .admin-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.75rem;
  }

  .admin-whatsapp {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
  }

  .admin-badge {
    font-size: 0.6rem;
  }
}

/* =========================
   ADMIN QR – MOBILE
========================= */

@media (max-width: 768px) {

  .page-qr-admin .qr-container {
    margin-top: 40px;
  }

  .page-qr-admin .qr-input {
    font-size: 0.9rem;
    padding: 14px;
  }

  .page-qr-admin .qr-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.85rem;
  }

  .page-qr-admin .qr-preview canvas,
  .page-qr-admin .qr-preview img {
    max-width: 220px;
  }
}

/* =========================
   FORMULARIO MEMORIAL – MOBILE
========================= */

@media (max-width: 768px) {

  .form-memorial-container {
    margin-top: 40px;
  }
.admin-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #1e1e1e;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.admin-btn:hover {
  background: #333;
}

  .form-memorial-title {
    font-size: 1.3rem;
    letter-spacing: 0.18em;
  }

  .form-group label {
    font-size: 0.7rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 14px;
  }

  .form-submit {
    padding: 16px;
    font-size: 0.85rem;
  }
}

