/* ==========================================================================
   HOJA DE ESTILOS: PÁGINAS INFORMATIVAS Y LEGALES (MORLENCERIA)
   Optimizado para GeneratePress y GenerateBlocks · Cero dependencias externas
   ========================================================================== */

:root {
  --color-accent: #c48b71;
  --color-accent-light: #f5ebe6;
  --color-accent-dark: #a86f56;
  --color-text-main: #191617;
  --color-text-muted: #6e6765;
  --color-text-light: #9e9389;
  --color-border: #ede6df;
  --color-surface-soft: #faf8f5;
  --color-gold: #c8a265;
  --color-gold-light: #f6efe2;
  --color-success: #1faa59;
  --color-success-bg: #e8f7ee;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-full: 9999px;
  --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.03);
  --transition-fast: 0.2s ease;
}

/* ==========================================================================
   ESTILOS BASE DE CONTENEDORES Y HERO
   ========================================================================== */
.morl-legal-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--color-text-muted);
  line-height: 1.7;
  background: transparent;
}

.morl-hero {
  background: transparent;
  border-bottom: none;
  padding: 10px 0 24px 0;
  text-align: center;
}

.morl-hero-inside {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.morl-breadcrumbs {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.morl-breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.morl-breadcrumbs a:hover {
  color: var(--color-accent);
}

.morl-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-text-main);
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.morl-hero-desc {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.morl-main-content {
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px 0 48px 0;
}

/* ==========================================================================
   PESTAÑAS DE NAVEGACIÓN LEGAL (CENTRADA)
   ========================================================================== */
.legal-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 14px;
}

.legal-tab-btn {
  font-size: 0.84rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface-soft);
  color: var(--color-text-muted);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.legal-tab-btn:hover {
  color: var(--color-text-main);
  background: #e9e2da;
}

.legal-tab-btn.active {
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   BADGES BOUTIQUE / ETIQUETAS
   ========================================================================== */
.boutique-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-surface-soft);
  color: var(--color-text-main);
}

.boutique-badge-gold {
  background-color: var(--color-gold-light);
  color: #8c6a2d;
}

.boutique-badge-discreto {
  background-color: var(--color-surface-soft);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.boutique-badge-success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

/* ==========================================================================
   CUADROS RESUMEN / GUÍAS RÁPIDAS (FEATURE BOXES)
   ========================================================================== */
.feature-summary-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-subtle);
}

.feature-summary-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text-main);
  text-align: center;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .guide-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.guide-col-positive {
  background: #f4faf6;
  border: 1px solid #c7ebd7;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.guide-col-negative {
  background: #fdf5f5;
  border: 1px solid #f9d4d4;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.guide-col-highlight {
  background: #fffcf8;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.guide-badge {
  display: inline-block;
  font-size: 0.80rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.guide-badge-yes {
  background: #dcfce7;
  color: #166534;
}

.guide-badge-no {
  background: #fee2e2;
  color: #991b1b;
}

.guide-badge-info {
  background: #ffedd5;
  color: #9a3412;
}

/* ==========================================================================
   PÁRRAFOS Y TIPOGRAFÍA EDITORIAL
   ========================================================================== */
.legal-text-justified {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-size: 0.96rem;
  margin-bottom: 14px;
}

.legal-text-justified strong {
  color: var(--color-text-main);
}

.legal-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0 0 12px 0;
}

.legal-section-divider {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  margin-top: 32px;
}

/* ==========================================================================
   LISTAS Y TARJETAS ESTILIZADAS
   ========================================================================== */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list-item {
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.90rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: justify;
  text-justify: inter-word;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-subtle);
}

.legal-list-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.legal-list-item strong {
  color: var(--color-text-main);
}

/* Avisos destacados */
.legal-notice-box {
  background: var(--color-surface-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 20px 0;
}

.legal-notice-box.warning {
  border-left-color: #d97706;
  background: #fef8ee;
}

/* ==========================================================================
   TARJETAS DE DESTINOS (CUENCA VS NACIONAL)
   ========================================================================== */
.dest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 18px 0 22px 0;
}

@media (min-width: 680px) {
  .dest-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dest-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.dest-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.dest-card-local {
  border-color: rgba(196, 139, 113, 0.45);
  background: #fffcf9;
}

.dest-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dest-card-local .dest-card-title {
  color: var(--color-accent);
}

.dest-card-national .dest-card-title {
  color: var(--color-text-main);
}

.dest-card-text {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.data-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.data-pill {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--color-surface-soft);
  color: var(--color-text-main);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   TABLAS MINIMALISTAS
   ========================================================================== */
.refund-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px 0;
  font-size: 0.88rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.refund-summary-table th {
  background: var(--color-surface-soft);
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--color-text-main);
  border-bottom: 1px solid var(--color-border);
}

.refund-summary-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: middle;
  line-height: 1.6;
}

.refund-summary-table tr:last-child td {
  border-bottom: none;
}

.refund-summary-table tr:hover td {
  background: #faf8f5;
}

/* Escala de Reembolsos */
.refund-tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0 22px 0;
}

@media (min-width: 768px) {
  .refund-tiers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.tier-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tier-badge-full {
  background: #dcfce7;
  color: #166534;
}

.tier-badge-partial {
  background: #fef3c7;
  color: #92400e;
}

.tier-badge-zero {
  background: #fee2e2;
  color: #991b1b;
}

.tier-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
}

.tier-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* ==========================================================================
   SOBRE NOSOTROS: CIFRAS, RECUADRO LOGO Y COBERTURA
   ========================================================================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.stat-box:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 840px) {
  .story-grid {
    grid-template-columns: 320px 1fr;
    gap: 30px;
  }
}

.story-logo-card {
  background: #000000;
  border: 1px solid #2d2630;
  border-radius: var(--radius-md);
  padding: 38px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle), 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.story-logo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.story-logo-img {
  max-width: 270px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.story-callout {
  background: #fffcf9;
  border-left: 4px solid var(--color-accent);
  border: 1px solid var(--color-border);
  border-left-width: 4px;
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.90rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-top: 14px;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .coverage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.coverage-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.coverage-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.coverage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.coverage-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-cuenca {
  background: #fdf2ea;
  color: var(--color-accent);
}

.tag-principales {
  background: #fef3c7;
  color: #92400e;
}

.tag-nacional {
  background: #f1f5f9;
  color: #475569;
}

.coverage-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.coverage-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

.coverage-badge-footer {
  background: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
  margin-bottom: 28px;
}

@media (min-width: 580px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 880px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.trust-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.trust-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  line-height: 1;
}

.trust-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.trust-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* ==========================================================================
   CAJA DE CONTACTO CENTRADA INSTITUCIONAL
   ========================================================================== */
.contact-box-centered {
  background: var(--color-surface-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-border);
  margin-top: 36px;
  text-align: center;
}

.contact-box-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-main);
}

.contact-box-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.contact-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-contact-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: var(--color-text-main);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.btn-contact-primary:hover {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: var(--color-success);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-contact-whatsapp:hover {
  background: #178e49;
  color: #ffffff;
}

.contact-footer-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   COOKIES: TARJETAS REDES SOCIALES Y NAVEGADORES
   ========================================================================== */
.social-cookie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .social-cookie-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-cookie-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-subtle);
}

.social-cookie-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.social-cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-cookie-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.social-cookie-info strong {
  color: var(--color-text-main);
  font-size: 0.92rem;
  display: block;
  margin-bottom: 2px;
}

.social-cookie-info span {
  font-size: 0.78rem;
  color: var(--color-text-light);
  display: block;
  line-height: 1.4;
}

.social-cookie-btn {
  text-align: center;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-cookie-btn:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.browser-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 24px;
}

.browser-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .browser-list {
    grid-template-columns: 1fr 1fr;
  }
}

.browser-item {
  padding: 12px 14px;
  background: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.88rem;
  line-height: 1.5;
}

.browser-item strong {
  color: var(--color-text-main);
  display: block;
  margin-bottom: 3px;
}
