:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #2196f3;
  --accent-dark: #1565c0;
  --accent-bright: #64b5f6;
  --accent-gradient: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
  --success: #10b981;
  --success-soft: #ecfdf5;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;
  --info: #3b82f6;
  --info-soft: #eff6ff;
  --light: #f8fafc;
  --muted: #64748b;
  --border: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Plus Jakarta Sans',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--primary);
  line-height: 1.7;
  background: #ffffff;
}

/* Header */
.manual-header {
  background: white;
  border-bottom: 2px solid var(--border);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.header-logo {
  height: 48px;
  width: auto;
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo-text .doo {
  color: var(--accent);
}

.logo-text .rly {
  color: var(--primary);
}

.back-home {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--light);
  color: var(--primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-home:hover {
  background: var(--accent);
  color: white;
  transform: translateX(-4px);
}

/* Hero del Manual */
.manual-hero {
  background: var(--accent-gradient);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.manual-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.manual-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Welcome Section */
.welcome-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.welcome-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 3rem;
  border: 2px solid var(--border);
  text-align: center;
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.25);
}

.welcome-icon i {
  font-size: 2.5rem;
  color: white;
}

.welcome-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary);
}

.welcome-box p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

/* Modules Section */
.modules-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.module-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 20px 20px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.module-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(33, 150, 243, 0.15);
  transform: translateY(-4px);
}

.module-card:hover::before {
  transform: scaleX(1);
}

.module-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.module-card:hover .module-icon {
  transform: scale(1.1) rotate(5deg);
}

.module-content {
  flex: 1;
}

.module-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.module-content p {
  font-size: 0.95rem;
  color: var(--muted);
}

.module-arrow {
  width: 36px;
  height: 36px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s ease;
}

.module-card:hover .module-arrow {
  background: var(--accent);
  color: white;
  transform: translateX(4px);
}

/* Module Detail Sections */
.module-detail {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-container {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.detail-header {
  background: var(--accent-gradient);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.back-button {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-4px);
}

.detail-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.detail-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.detail-header p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.detail-content {
  padding: 3rem 2rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-section h2 i {
  color: var(--accent);
}

.content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

/* Steps List */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.step-item:hover {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  transform: translateX(8px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.step-content p {
  font-size: 1rem;
  color: var(--muted);
}

/* Tips List */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  font-size: 1rem;
}

.tip-item i {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.tip-success {
  background: var(--success-soft);
  color: var(--success);
}

.tip-success i {
  color: var(--success);
}

.tip-warning {
  background: var(--warning-soft);
  color: #92400e;
}

.tip-warning i {
  color: var(--warning);
}

.tip-info {
  background: var(--info-soft);
  color: #1e40af;
}

.tip-info i {
  color: var(--info);
}

/* Help Section */
.help-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.help-box {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
  color: white;
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
}

.help-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.help-icon i {
  font-size: 2.5rem;
  color: white;
}

.help-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.help-box p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.help-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.help-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.help-button:hover {
  background: white;
  color: var(--accent);
  transform: translateY(-4px);
}

/* Footer */
.manual-footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
}

.manual-footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Module Individual Pages */
.module-hero {
  padding: 5rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.module-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-icon-circle {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-icon-circle i {
  font-size: 3.5rem;
  color: white;
}

.module-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.module-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
}

.module-content {
  padding: 4rem 2rem;
  background: #f8fafc;
}

.content-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Intro Card */
.intro-card {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 2rem;
  border: 2px solid rgba(33, 150, 243, 0.2);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.intro-icon {
  width: 64px;
  height: 64px;
  background: rgba(33, 150, 243, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.intro-icon i {
  font-size: 2rem;
  color: #2196f3;
}

.intro-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.intro-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Steps Header */
.steps-header {
  text-align: center;
  margin-bottom: 3rem;
}

.steps-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.steps-header p {
  font-size: 1.1rem;
  color: var(--muted);
}

/* Step Container */
.step-container {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 100px;
  background: linear-gradient(
    180deg,
    rgba(33, 150, 243, 0.5) 0%,
    rgba(33, 150, 243, 0.1) 100%
  );
  margin: 0.5rem 0;
}

.step-content-card {
  flex: 1;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.step-content-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.step-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Details List */
.details-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}

.detail-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  filter: none !important;
}

.detail-icon i {
  font-size: 0.9rem;
  text-align: left;
  color: #2196f3;
}

.detail-text h4 {
  margin: 2px 0 6px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
}

.detail-text p {
  margin: 0;
  color: #64748b;
  font-size: 22px;
  line-height: 1.35;
}

.step-content-card,
.step-content-card * {
  text-align: left;
}

/* Step Image */
.step-image {
  margin: 2rem 0;
  text-align: center;
}

.step-image img {
  max-width: 350px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Highlight Box */
.highlight-box {
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  border: 2px solid;
}

.highlight-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.highlight-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.highlight-header i {
  font-size: 1.5rem;
  color: #3b82f6;
}

.highlight-header span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e40af;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--primary);
  line-height: 1.6;
}

.highlight-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
}

/* Tips Box */
.tips-box {
  padding: 1.25rem;
  background: #ecfdf5;
  border-radius: 12px;
  border: 2px solid #10b981;
  margin-top: 1.5rem;
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tips-header i {
  font-size: 1.25rem;
  color: #059669;
}

.tips-header span {
  font-size: 1rem;
  font-weight: 700;
  color: #065f46;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-list li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--primary);
  line-height: 1.5;
  font-size: 0.95rem;
}

.tips-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: bold;
}

/* Important Notes */
.important-notes {
  background: #fffbeb;
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid #fbbf24;
  margin: 3rem 0;
}

.notes-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.notes-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notes-icon i {
  font-size: 1.5rem;
  color: #f59e0b;
}

.notes-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notes-list li {
  padding: 0.75rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--primary);
  line-height: 1.6;
  font-size: 1rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.notes-list li:last-child {
  border-bottom: none;
}

.notes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 6px;
  height: 6px;
  background: #f59e0b;
  border-radius: 50%;
}

/* FAQ Section */
.faq-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin: 3rem 0;
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.faq-icon {
  width: 48px;
  height: 48px;
  background: rgba(33, 150, 243, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon i {
  font-size: 1.5rem;
  color: #2196f3;
}

.faq-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.faq-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Back Button */
.back-to-menu {
  text-align: center;
  margin: 3rem 0;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(33, 150, 243, 0.3);
  transition: all 0.3s ease;
}

.btn-back:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
}

/* Animations */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .manual-hero {
    padding: 3rem 1.5rem;
  }

  .welcome-section,
  .modules-section,
  .module-detail,
  .help-section {
    padding: 3rem 1.5rem;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    flex-direction: row;
  }

  .back-button {
    position: static;
    margin-bottom: 1.5rem;
  }

  .detail-header {
    padding: 2rem 1.5rem;
  }

  .step-item {
    flex-direction: column;
    gap: 1rem;
  }

  .help-buttons {
    flex-direction: column;
  }

  .help-button {
    width: 100%;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Module Pages Mobile */
  .module-hero {
    padding: 3rem 1.5rem;
  }

  .module-content {
    padding: 3rem 1.5rem;
  }

  .intro-card {
    flex-direction: column;
    padding: 1.5rem;
  }

  .step-container {
    flex-direction: column;
    gap: 1rem;
  }

  .step-timeline {
    flex-direction: row;
    width: 100%;
    gap: 0.5rem;
  }

  .step-line {
    width: 100%;
    height: 2px;
    min-height: 0;
    margin: 0;
  }

  .step-content-card {
    padding: 1.5rem;
  }

  .step-image img {
    max-width: 100%;
  }

  .notes-header,
  .faq-header {
    flex-direction: column;
    text-align: center;
  }

  .btn-back {
    width: 100%;
    justify-content: center;
  }
}

/* ============================
   MIS ACCESOS (PURPLE VARIANTS)
   ============================ */

.hero--mis-accesos {
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}

/* Step number + line purple */
.step-number--purple {
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%) !important;
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3) !important;
}

.step-line--purple {
  background: linear-gradient(
    180deg,
    rgba(156, 39, 176, 0.5) 0%,
    rgba(156, 39, 176, 0.1) 100%
  ) !important;
}

/* Intro icon purple */
.intro-icon--purple {
  background: rgba(156, 39, 176, 0.15) !important;
}
.intro-icon--purple i {
  color: #9c27b0 !important;
}

/* Details list purple icons */
.detail-icon--purple {
  background: rgba(156, 39, 176, 0.1) !important;
}
.detail-icon--purple i {
  color: #9c27b0 !important;
}

/* Highlight purple */
.highlight-purple {
  background: rgba(156, 39, 176, 0.1);
  border-color: rgba(156, 39, 176, 0.3);
}
.highlight-purple .highlight-header i {
  color: #9c27b0;
}
.highlight-purple .highlight-header span {
  color: #6a1b9a;
}
.highlight-purple .highlight-list li::before {
  background: #9c27b0;
}

/* ============================
   STATES SECTION (VIGENTE/VENCIDO)
   ============================ */

.states-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin: 3rem 0;
}

.states-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.states-icon {
  width: 48px;
  height: 48px;
  background: rgba(156, 39, 176, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.states-icon i {
  color: #9c27b0;
  font-size: 1.3rem;
}

.states-section h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.state-card {
  border-radius: 16px;
  padding: 1.25rem;
  border: 2px solid var(--border);
  background: #fff;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.state-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.state-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.state-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.state-card--success {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}
.state-card--success .state-badge {
  background: rgba(16, 185, 129, 0.15);
}
.state-card--success .state-badge i,
.state-card--success h3 {
  color: #059669;
}

.state-card--danger {
  border-color: rgba(244, 67, 54, 0.3);
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.07) 0%, #ffffff 100%);
}
.state-card--danger .state-badge {
  background: rgba(244, 67, 54, 0.12);
}
.state-card--danger .state-badge i,
.state-card--danger h3 {
  color: #d32f2f;
}

/* Responsive */
@media (max-width: 768px) {
  .states-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   VISITANTES - BASE LAYOUT
============================ */

.manual-body {
  margin: 0;
  background: #f6f7f9;
  color: #0f172a;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Ubuntu,
    'Helvetica Neue',
    Arial;
}

.manual-main {
  padding: 40px 0;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.manual-hero {
  width: 100%;
  color: #fff;
  padding: 44px 0 54px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.hero-inner {
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  margin: 18px 0 8px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  margin: 0;
  opacity: 0.95;
  font-size: 18px;
  font-weight: 500;
}

.hero-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.hero-icon .material-symbols-rounded {
  font-size: 46px;
  color: #16a34a;
}

.hero-green {
  background: linear-gradient(135deg, #16a34a 0%, rgba(22, 163, 74, 0.82) 100%);
}

/* HEAD */
.page-head h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
}
.page-head p {
  margin: 8px 0 0;
  color: rgba(15, 23, 42, 0.65);
  font-size: 18px;
}

/* INTRO */
.intro-card {
  padding: 28px;
  border-radius: 20px;
  border: 2px solid rgba(22, 163, 74, 0.2);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), #fff);
  box-shadow: 0 18px 45px rgba(22, 163, 74, 0.1);
}
.intro-head {
  display: flex;
  gap: 16px;
  align-items: center;
}
.intro-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-badge.green {
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
}
.intro-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}
.intro-card p {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.92);
}

/* STEPS */
.steps {
  margin-top: 28px;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.step-left {
  width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.step-number.green {
  background: linear-gradient(135deg, #16a34a, rgba(22, 163, 74, 0.7));
}

.step-line {
  width: 2px;
  height: 100px;
  margin-top: 10px;
  background: linear-gradient(
    to bottom,
    rgba(22, 163, 74, 0.55),
    rgba(22, 163, 74, 0.12)
  );
  border-radius: 999px;
}

.step-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  padding: 24px;
}
.step-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}
.step-card p {
  margin: 12px 0 0;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.92);
}

.step-media {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.step-media img {
  max-width: 350px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* FIX: DETAILS LIST (evita lo raro) */
.details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
  text-align: left;
}
.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}
.detail-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  filter: none !important;
}
.detail-icon.green {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}
.detail-text {
  text-align: left;
}
.detail-text h4 {
  margin: 2px 0 6px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}
.detail-text p {
  margin: 0;
  color: rgba(15, 23, 42, 0.6);
  font-size: 20px;
  line-height: 1.35;
}

/* HIGHLIGHT */
.highlight {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  border: 2px solid rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.08);
}
.highlight-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 900;
}
.highlight ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.9);
}
.highlight li {
  margin: 6px 0;
  line-height: 1.5;
}

.highlight-green {
  border-color: rgba(22, 163, 74, 0.28);
  background: rgba(22, 163, 74, 0.08);
}
.highlight-blue {
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(37, 99, 235, 0.08);
}

/* TIPS */
.tips {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.25);
  background: rgba(34, 197, 94, 0.12);
}
.tips-title {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.tips ul {
  margin: 0;
  padding-left: 18px;
}
.tips li {
  margin: 6px 0;
}

/* CARDS */
.card {
  margin-top: 40px;
  padding: 28px;
  border-radius: 20px;
  border: 2px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.card-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.card-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}
.card-lead {
  margin: 0 0 18px;
  color: rgba(15, 23, 42, 0.9);
  line-height: 1.7;
}

.card-blue {
  border-color: rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), #fff);
}
.card-orange {
  border-color: rgba(249, 115, 22, 0.22);
  background: rgba(249, 115, 22, 0.1);
}
.card-white {
  background: #fff;
}

/* badges */
.card-badge.blue {
  background: rgba(37, 99, 235, 0.16);
  color: #2563eb;
}
.card-badge.orange {
  background: rgba(249, 115, 22, 0.18);
  color: #f97316;
}
.card-badge.green-soft {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

/* ACCESS TYPES */
.access-types {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.access-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.access-item h4 {
  margin: 0;
  font-weight: 900;
}
.access-item p {
  margin: 6px 0 0;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.85);
}

.access-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.access-icon.blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}
.access-icon.orange {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
}
.access-icon.purple {
  background: rgba(147, 51, 234, 0.12);
  color: #9333ea;
}
.access-icon.gray {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
}

/* BULLETS / FAQ */
.bullets {
  margin: 0;
  padding-left: 18px;
}
.bullets li {
  margin: 10px 0;
  line-height: 1.6;
}

.faq-item {
  margin-top: 18px;
}
.faq-item h4 {
  margin: 0;
  font-weight: 900;
}
.faq-item p {
  margin: 8px 0 0;
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.6;
}

/* BACK BUTTON */
.back-wrap {
  margin: 40px 0 20px;
  display: flex;
  justify-content: center;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  background: #005357; /* tu primaryColor */
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.btn-back:hover {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .step {
    gap: 16px;
  }
  .detail-text h4 {
    font-size: 22px;
  }
  .detail-text p {
    font-size: 16px;
  }
}

/* =========================
   FIX ONLY: VISITANTES PAGE
========================= */
.page-visitantes .details-list,
.page-visitantes .detail-item,
.page-visitantes .detail-text {
  text-align: left !important;
}

/* Layout robusto: icono + texto */
.page-visitantes .details-list {
  display: grid !important;
  grid-template-columns: 64px 1fr !important;
  gap: 22px 22px !important;
  margin-top: 18px !important;
}

/* Cada fila: forzamos que NO se centre */
.page-visitantes .detail-item {
  display: contents !important; /* permite que grid mande */
}

/* Icono SIN glow raro */
.page-visitantes .detail-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* Tip: por si tu CSS global mete sombras a svg/img */
.page-visitantes .detail-icon img,
.page-visitantes .detail-icon svg,
.page-visitantes .detail-icon .material-symbols-rounded {
  filter: none !important;
  text-shadow: none !important;
}

/* Títulos: bajarlos a tamaño normal (tu CSS global los está inflando) */
.page-visitantes .detail-text h4 {
  margin: 2px 0 6px !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  ensured: none;
}

/* Descripción: tamaño y color “manual” */
.page-visitantes .detail-text p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  color: rgba(15, 23, 42, 0.65) !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .page-visitantes .details-list {
    grid-template-columns: 52px 1fr !important;
    gap: 16px 14px !important;
  }
  .page-visitantes .detail-icon {
    width: 48px !important;
    height: 48px !important;
  }
}

/* ======================================================
   PAGE: ADEUDOS Y PAGOS (encapsulado para no romper global)
====================================================== */
.page-adeudos {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

/* Layout base (si tu manual-styles ya lo tiene, no pasa nada) */
.page-adeudos .manual-main {
  padding-bottom: 48px;
}
.page-adeudos .manual-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* HERO */
.page-adeudos .manual-hero {
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.page-adeudos .hero-orange {
  background: linear-gradient(135deg, #f59e0b, rgba(245, 158, 11, 0.8));
}
.page-adeudos .hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
}
.page-adeudos .hero-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}
.page-adeudos .hero-emoji {
  font-size: 44px;
}
.page-adeudos .hero-title {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #fff;
}
.page-adeudos .hero-subtitle {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* Intro */
.page-adeudos .intro-card {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), #fff);
  border: 2px solid rgba(245, 158, 11, 0.22);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 35px rgba(245, 158, 11, 0.1);
}
.page-adeudos .intro-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.page-adeudos .intro-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.14);
  font-size: 22px;
}
.page-adeudos .intro-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}
.page-adeudos .intro-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.88);
}

/* Section head */
.page-adeudos .section-head {
  margin-top: 34px;
}
.page-adeudos .section-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.95);
}
.page-adeudos .section-head p {
  margin: 8px 0 0;
  font-size: 18px;
  color: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}

/* Step layout */
.page-adeudos .step {
  display: flex;
  gap: 22px;
  margin-top: 28px;
}
.page-adeudos .step-left {
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-adeudos .step-number {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, #f59e0b, rgba(245, 158, 11, 0.72));
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.3);
}
.page-adeudos .step-line {
  width: 2px;
  height: 100%;
  margin-top: 10px;
  background: linear-gradient(
    to bottom,
    rgba(245, 158, 11, 0.45),
    rgba(245, 158, 11, 0.1)
  );
  border-radius: 99px;
}
.page-adeudos .step-last .step-line {
  display: none;
}

.page-adeudos .step-card {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  text-align: left !important; /* evitar herencias raras */
}
.page-adeudos .step-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}
.page-adeudos .step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.88);
}

/* Images */
.page-adeudos .step-image {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.page-adeudos .step-image img {
  max-width: 360px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* Details list (evitar “se ve raro”) */
.page-adeudos .details-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px 18px;
  align-items: start;
}
.page-adeudos .detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  filter: none !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}
.page-adeudos .detail-icon.orange {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}
.page-adeudos .detail-text h4 {
  margin: 2px 0 6px;
  font-size: 20px;
  font-weight: 900;
}
.page-adeudos .detail-text p {
  margin: 0;
  font-size: 16px;
  color: rgba(15, 23, 42, 0.62);
}

/* Highlight boxes */
.page-adeudos .highlight {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  border: 2px solid transparent;
}
.page-adeudos .highlight-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.page-adeudos .highlight-ic {
  font-size: 18px;
}
.page-adeudos .highlight-title {
  font-weight: 900;
  font-size: 16px;
}

.page-adeudos .highlight ul {
  margin: 0;
  padding-left: 18px;
}
.page-adeudos .highlight li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.page-adeudos .highlight-orange {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.28);
}
.page-adeudos .highlight-blue {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.28);
}
.page-adeudos .highlight-green {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.28);
}

/* Tips */
.page-adeudos .tips {
  margin-top: 16px;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}
.page-adeudos .tips-title {
  font-weight: 900;
  margin-bottom: 10px;
}
.page-adeudos .tips ul {
  margin: 0;
  padding-left: 18px;
}
.page-adeudos .tips li {
  margin-bottom: 8px;
}

/* Panels */
.page-adeudos .panel {
  margin-top: 34px;
  border-radius: 20px;
  padding: 24px;
  border: 2px solid rgba(148, 163, 184, 0.35);
  background: #fff;
}
.page-adeudos .panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.page-adeudos .panel-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
}
.page-adeudos .panel h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.page-adeudos .panel p {
  margin: 0 0 14px;
  color: rgba(15, 23, 42, 0.82);
}

.page-adeudos .panel-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), #fff);
  border-color: rgba(59, 130, 246, 0.22);
}
.page-adeudos .panel-warn {
  background: rgba(251, 146, 60, 0.1);
  border-color: rgba(251, 146, 60, 0.3);
}
.page-adeudos .panel-white {
  background: #fff;
}

/* Mini list */
.page-adeudos .mini-list {
  margin-top: 14px;
}
.page-adeudos .mini-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}
.page-adeudos .mini-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.page-adeudos .mini-ic.blue {
  background: rgba(59, 130, 246, 0.12);
}
.page-adeudos .mini-ic.indigo {
  background: rgba(99, 102, 241, 0.12);
}
.page-adeudos .mini-ic.green {
  background: rgba(34, 197, 94, 0.12);
}
.page-adeudos .mini-title {
  font-weight: 900;
}
.page-adeudos .mini-desc {
  color: rgba(15, 23, 42, 0.65);
}

/* Bullets */
.page-adeudos .bullets {
  margin: 0;
  padding-left: 18px;
}
.page-adeudos .bullets li {
  margin-bottom: 10px;
  line-height: 1.55;
}

/* FAQ */
.page-adeudos .faq-item {
  padding: 14px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}
.page-adeudos .faq-item:first-child {
  border-top: none;
  padding-top: 0;
}
.page-adeudos .faq-q {
  font-weight: 900;
  margin-bottom: 8px;
}
.page-adeudos .faq-a {
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.55;
}

/* Back button */
.page-adeudos .back-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.page-adeudos .back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: #005357; /* tu primaryColor */
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}
.page-adeudos .back-btn:hover {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .page-adeudos .hero-title {
    font-size: 34px;
  }
  .page-adeudos .step {
    gap: 14px;
  }
  .page-adeudos .step-left {
    width: 46px;
  }
  .page-adeudos .step-number {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .page-adeudos .details-list {
    grid-template-columns: 52px 1fr;
    gap: 14px 12px;
  }
  .page-adeudos .detail-icon {
    width: 48px;
    height: 48px;
  }
}

/* ======================================================
   PAGE: DOORLY CHAT (encapsulado)
====================================================== */
.page-chat {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

.page-chat .manual-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-chat .manual-hero {
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.page-chat .hero-teal {
  background: linear-gradient(135deg, #14b8a6, rgba(20, 184, 166, 0.82));
}
.page-chat .hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
}
.page-chat .hero-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}
.page-chat .hero-emoji {
  font-size: 44px;
}
.page-chat .hero-title {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #fff;
}
.page-chat .hero-subtitle {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* Intro */
.page-chat .intro-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), #fff);
  border: 2px solid rgba(20, 184, 166, 0.22);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 35px rgba(20, 184, 166, 0.1);
}
.page-chat .intro-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.page-chat .intro-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.14);
  font-size: 22px;
}
.page-chat .intro-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}
.page-chat .intro-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.88);
}

/* Section head */
.page-chat .section-head {
  margin-top: 34px;
}
.page-chat .section-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.95);
}
.page-chat .section-head p {
  margin: 8px 0 0;
  font-size: 18px;
  color: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}

/* Steps */
.page-chat .step {
  display: flex;
  gap: 22px;
  margin-top: 28px;
}
.page-chat .step-left {
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-chat .step-number {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, #14b8a6, rgba(20, 184, 166, 0.72));
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.28);
}
.page-chat .step-line {
  width: 2px;
  height: 100%;
  margin-top: 10px;
  background: linear-gradient(
    to bottom,
    rgba(20, 184, 166, 0.45),
    rgba(20, 184, 166, 0.1)
  );
  border-radius: 99px;
}
.page-chat .step-last .step-line {
  display: none;
}

.page-chat .step-card {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  text-align: left !important;
}
.page-chat .step-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}
.page-chat .step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.88);
}

/* Step image */
.page-chat .step-image {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.page-chat .step-image img {
  max-width: 360px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* Details list */
.page-chat .details-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px 18px;
  align-items: start;
}
.page-chat .detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}
.page-chat .detail-icon.teal {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
}

.page-chat .detail-text h4 {
  margin: 2px 0 6px;
  font-size: 18px;
  font-weight: 900;
}
.page-chat .detail-text p {
  margin: 0;
  font-size: 15px;
  color: rgba(15, 23, 42, 0.62);
}

/* Highlights */
.page-chat .highlight {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  border: 2px solid transparent;
}
.page-chat .highlight-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.page-chat .highlight-title {
  font-weight: 900;
  font-size: 16px;
}

.page-chat .highlight ul {
  margin: 0;
  padding-left: 18px;
}
.page-chat .highlight li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.page-chat .highlight-teal {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.28);
}
.page-chat .highlight-purple {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.28);
}

/* Tips */
.page-chat .tips {
  margin-top: 16px;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}
.page-chat .tips-title {
  font-weight: 900;
  margin-bottom: 10px;
}
.page-chat .tips ul {
  margin: 0;
  padding-left: 18px;
}
.page-chat .tips li {
  margin-bottom: 8px;
}

/* Panels */
.page-chat .panel {
  margin-top: 34px;
  border-radius: 20px;
  padding: 24px;
  border: 2px solid rgba(148, 163, 184, 0.35);
  background: #fff;
}
.page-chat .panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.page-chat .panel-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.12);
}

.page-chat .panel h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.page-chat .panel p {
  margin: 0 0 14px;
  color: rgba(15, 23, 42, 0.82);
}

.page-chat .panel-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), #fff);
  border-color: rgba(59, 130, 246, 0.22);
}
.page-chat .panel-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), #fff);
  border-color: rgba(34, 197, 94, 0.22);
}
.page-chat .panel-warn {
  background: rgba(251, 146, 60, 0.1);
  border-color: rgba(251, 146, 60, 0.3);
}
.page-chat .panel-white {
  background: #fff;
}

/* Chat type cards */
.page-chat .chat-type-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.page-chat .chat-type {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  padding: 16px;
}
.page-chat .chat-type-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.page-chat .chat-type-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.page-chat .chat-type-ic.blue {
  background: rgba(59, 130, 246, 0.12);
}
.page-chat .chat-type-ic.gray {
  background: rgba(100, 116, 139, 0.12);
}
.page-chat .chat-type-ic.orange {
  background: rgba(251, 146, 60, 0.14);
}

.page-chat .chat-type-title .t1 {
  font-size: 18px;
  font-weight: 900;
}
.page-chat .tag {
  display: inline-flex;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
}
.page-chat .tag.blue {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
}
.page-chat .tag.gray {
  background: rgba(100, 116, 139, 0.14);
  color: #334155;
}
.page-chat .tag.orange {
  background: rgba(251, 146, 60, 0.14);
  color: #c2410c;
}

.page-chat .chat-type-body {
  margin-top: 12px;
}
.page-chat .chat-type-body .label {
  font-weight: 900;
  font-size: 13px;
  margin-top: 10px;
}
.page-chat .chat-type-body .value {
  color: rgba(15, 23, 42, 0.66);
  font-size: 13px;
  line-height: 1.45;
}

/* Bullets */
.page-chat .bullets {
  margin: 0;
  padding-left: 18px;
}
.page-chat .bullets li {
  margin-bottom: 10px;
  line-height: 1.55;
}

/* FAQ */
.page-chat .faq-item {
  padding: 14px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}
.page-chat .faq-item:first-child {
  border-top: none;
  padding-top: 0;
}
.page-chat .faq-q {
  font-weight: 900;
  margin-bottom: 8px;
}
.page-chat .faq-a {
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.55;
}

/* Back button */
.page-chat .back-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.page-chat .back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: #005357;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}
.page-chat .back-btn:hover {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .page-chat .hero-title {
    font-size: 34px;
  }
  .page-chat .step {
    gap: 14px;
  }
  .page-chat .step-left {
    width: 46px;
  }
  .page-chat .step-number {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .page-chat .details-list {
    grid-template-columns: 52px 1fr;
    gap: 14px 12px;
  }
  .page-chat .detail-icon {
    width: 48px;
    height: 48px;
  }
}

/* ======================================================
   PAGE: CÓDIGOS DE INTERFÓN (encapsulado)
====================================================== */
.page-interphone {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

.page-interphone .manual-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-interphone .manual-hero {
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.page-interphone .hero-indigo {
  background: linear-gradient(135deg, #4f46e5, rgba(79, 70, 229, 0.82));
}
.page-interphone .hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
}
.page-interphone .hero-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}
.page-interphone .hero-emoji {
  font-size: 44px;
}
.page-interphone .hero-title {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #fff;
}
.page-interphone .hero-subtitle {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* Intro */
.page-interphone .intro-card {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), #fff);
  border: 2px solid rgba(79, 70, 229, 0.18);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.1);
}
.page-interphone .intro-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.page-interphone .intro-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.12);
  font-size: 22px;
}
.page-interphone .intro-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}
.page-interphone .intro-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.88);
}

/* Section head */
.page-interphone .section-head {
  margin-top: 34px;
}
.page-interphone .section-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.95);
}
.page-interphone .section-head p {
  margin: 8px 0 0;
  font-size: 18px;
  color: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}

/* Steps */
.page-interphone .step {
  display: flex;
  gap: 22px;
  margin-top: 28px;
}
.page-interphone .step-left {
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-interphone .step-number {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, #4f46e5, rgba(79, 70, 229, 0.72));
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.28);
}
.page-interphone .step-line {
  width: 2px;
  height: 100%;
  margin-top: 10px;
  background: linear-gradient(
    to bottom,
    rgba(79, 70, 229, 0.45),
    rgba(79, 70, 229, 0.1)
  );
  border-radius: 99px;
}
.page-interphone .step-last .step-line {
  display: none;
}

.page-interphone .step-card {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  text-align: left !important;
}
.page-interphone .step-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}
.page-interphone .step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.88);
}

/* Step image */
.page-interphone .step-image {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.page-interphone .step-image img {
  max-width: 360px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* Details list */
.page-interphone .details-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px 18px;
  align-items: start;
}
.page-interphone .detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}
.page-interphone .detail-icon.indigo {
  background: rgba(79, 70, 229, 0.12);
  color: #3730a3;
}

.page-interphone .detail-text h4 {
  margin: 2px 0 6px;
  font-size: 18px;
  font-weight: 900;
}
.page-interphone .detail-text p {
  margin: 0;
  font-size: 15px;
  color: rgba(15, 23, 42, 0.62);
}

/* Highlights */
.page-interphone .highlight {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  border: 2px solid transparent;
}
.page-interphone .highlight-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.page-interphone .highlight-title {
  font-weight: 900;
  font-size: 16px;
}
.page-interphone .highlight ul {
  margin: 0;
  padding-left: 18px;
}
.page-interphone .highlight li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.page-interphone .highlight-blue {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.26);
}
.page-interphone .highlight-green {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.26);
}

/* Tips */
.page-interphone .tips {
  margin-top: 16px;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}
.page-interphone .tips-title {
  font-weight: 900;
  margin-bottom: 10px;
}
.page-interphone .tips ul {
  margin: 0;
  padding-left: 18px;
}
.page-interphone .tips li {
  margin-bottom: 8px;
}

/* Panels */
.page-interphone .panel {
  margin-top: 34px;
  border-radius: 20px;
  padding: 24px;
  border: 2px solid rgba(148, 163, 184, 0.35);
  background: #fff;
}
.page-interphone .panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.page-interphone .panel-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.12);
}
.page-interphone .panel h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

/* Panel themes */
.page-interphone .panel-purple {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), #fff);
  border-color: rgba(147, 51, 234, 0.2);
}
.page-interphone .panel-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), #fff);
  border-color: rgba(239, 68, 68, 0.22);
}
.page-interphone .panel-warn {
  background: rgba(251, 146, 60, 0.1);
  border-color: rgba(251, 146, 60, 0.3);
}
.page-interphone .panel-white {
  background: #fff;
}

/* System cards */
.page-interphone .system-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-interphone .system-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.page-interphone .system-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.page-interphone .system-ic.blue {
  background: rgba(59, 130, 246, 0.12);
}
.page-interphone .system-ic.green {
  background: rgba(34, 197, 94, 0.12);
}
.page-interphone .system-title {
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 6px;
}
.page-interphone .system-title.blue {
  color: #1d4ed8;
}
.page-interphone .system-title.green {
  color: #166534;
}
.page-interphone .system-desc {
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.55;
}

/* Bullets */
.page-interphone .bullets {
  margin: 0;
  padding-left: 18px;
}
.page-interphone .bullets li {
  margin-bottom: 10px;
  line-height: 1.55;
}

/* FAQ */
.page-interphone .faq-item {
  padding: 14px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}
.page-interphone .faq-item:first-child {
  border-top: none;
  padding-top: 0;
}
.page-interphone .faq-q {
  font-weight: 900;
  margin-bottom: 8px;
}
.page-interphone .faq-a {
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.55;
}

/* Back button */
.page-interphone .back-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.page-interphone .back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: #005357;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}
.page-interphone .back-btn:hover {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .page-interphone .hero-title {
    font-size: 34px;
  }
  .page-interphone .step {
    gap: 14px;
  }
  .page-interphone .step-left {
    width: 46px;
  }
  .page-interphone .step-number {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .page-interphone .details-list {
    grid-template-columns: 52px 1fr;
    gap: 14px 12px;
  }
  .page-interphone .detail-icon {
    width: 48px;
    height: 48px;
  }
}

/* ======================================================
   MANUAL PAGES BASE (reutilizable para todas las screens)
   Usa variables por página: --hero, --hero2, --accent...
====================================================== */

.manual-page {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

/* Layout */
.mp-main {
  padding: 0;
}
.mp-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== HERO ===== */
.mp-hero {
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, var(--hero), var(--hero2));
}
.mp-hero__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
}
.mp-hero__icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
  font-size: 42px;
}
.mp-hero__title {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #fff;
}
.mp-hero__subtitle {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* ===== INTRO ===== */
.mp-intro {
  background: linear-gradient(135deg, var(--introA), #fff);
  border: 2px solid var(--introBorder);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 35px var(--introShadow);
}
.mp-intro__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.mp-intro__badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--badgeBg);
  font-size: 22px;
}
.mp-intro__title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}
.mp-intro__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.88);
}

/* ===== SECTION HEAD ===== */
.mp-section-head {
  margin-top: 34px;
}
.mp-section-head__title {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.95);
}
.mp-section-head__desc {
  margin: 8px 0 0;
  font-size: 18px;
  color: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}

/* ===== STEPS ===== */
.mp-step {
  display: flex;
  gap: 22px;
  margin-top: 28px;
}
.mp-step__rail {
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mp-step__num {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, var(--accent), rgba(0, 0, 0, 0.18));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}
.mp-step__line {
  width: 2px;
  height: 100%;
  margin-top: 10px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.04)
  );
  border-radius: 99px;
}
.mp-step--last .mp-step__line {
  display: none;
}

.mp-step__card {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  text-align: left !important;
}
.mp-step__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}
.mp-step__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.88);
}

/* Image */
.mp-image {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.mp-image img {
  max-width: 360px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* Details rows */
.mp-details {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mp-details__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mp-details__ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  color: var(--accent);
  font-weight: 900;
}
.mp-details__txt h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}
.mp-details__txt p {
  margin: 0;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.55;
}

/* Lists */
.mp-list {
  margin: 0;
  padding-left: 18px;
}
.mp-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.mp-list--bullets {
  padding-left: 18px;
}

/* Highlight boxes */
.mp-highlight {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: rgba(0, 0, 0, 0.04);
}
.mp-highlight__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mp-highlight__title {
  font-weight: 900;
  font-size: 16px;
}
.mp-highlight--purple {
  background: rgba(147, 51, 234, 0.1);
  border-color: rgba(147, 51, 234, 0.26);
}
.mp-highlight--red {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.26);
}
.mp-highlight--orange {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.3);
}
.mp-highlight--green {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.26);
}
.mp-highlight--blue {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.26);
}

/* Tips */
.mp-tips {
  margin-top: 16px;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}
.mp-tips__title {
  font-weight: 900;
  margin-bottom: 10px;
}

/* Panels */
.mp-panel {
  margin-top: 34px;
  border-radius: 20px;
  padding: 24px;
  border: 2px solid rgba(148, 163, 184, 0.35);
  background: #fff;
}
.mp-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.mp-panel__badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
}
.mp-panel__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.mp-panel__desc {
  margin: 0 0 12px;
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.55;
}

/* Panel variants */
.mp-panel--blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), #fff);
  border-color: rgba(59, 130, 246, 0.2);
}
.mp-panel--warn {
  background: rgba(251, 146, 60, 0.1);
  border-color: rgba(251, 146, 60, 0.3);
}
.mp-panel--white {
  background: #fff;
}

/* Compare grid */
.mp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.mp-compare__card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.mp-compare__title {
  font-weight: 900;
  margin-bottom: 10px;
  font-size: 16px;
}
.mp-compare__card--danger {
  border-color: rgba(239, 68, 68, 0.3);
}
.mp-compare__card--info {
  border-color: rgba(59, 130, 246, 0.3);
}

/* FAQ */
.mp-faq__item {
  padding: 14px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}
.mp-faq__item:first-child {
  border-top: none;
  padding-top: 0;
}
.mp-faq__q {
  font-weight: 900;
  margin-bottom: 8px;
}
.mp-faq__a {
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.55;
}

/* Back */
.mp-back {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.mp-back__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: #005357;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}
.mp-back__btn:hover {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .mp-hero__title {
    font-size: 34px;
  }
  .mp-step {
    gap: 14px;
  }
  .mp-step__rail {
    width: 46px;
  }
  .mp-step__num {
    width: 44px;
    height: 44px;

    font-size: 20px;
  }
  .mp-compare {
    grid-template-columns: 1fr;
  }
}

/* =========================
   THEME: Identificación Personal
========================= */
.page-personal-qr {
  --hero: #ef4444; /* rojo */
  --hero2: rgba(239, 68, 68, 0.82);

  --accent: #ef4444;

  --introA: rgba(239, 68, 68, 0.1);
  --introBorder: rgba(239, 68, 68, 0.18);
  --introShadow: rgba(239, 68, 68, 0.1);
  --badgeBg: rgba(239, 68, 68, 0.12);
}

/* =========================
   THEME: Paquetería
========================= */
.page-paqueteria {
  --hero: #f59e0b; /* amber */
  --hero2: rgba(245, 158, 11, 0.82);

  --accent: #f59e0b;

  --introA: rgba(245, 158, 11, 0.12);
  --introBorder: rgba(245, 158, 11, 0.2);
  --introShadow: rgba(245, 158, 11, 0.1);
  --badgeBg: rgba(245, 158, 11, 0.14);
}

/* =========================
   THEME: Familia
========================= */
.page-familia {
  --hero: #ec4899; /* pink */
  --hero2: rgba(236, 72, 153, 0.82);

  --accent: #ec4899;

  --introA: rgba(236, 72, 153, 0.12);
  --introBorder: rgba(236, 72, 153, 0.2);
  --introShadow: rgba(236, 72, 153, 0.1);
  --badgeBg: rgba(236, 72, 153, 0.14);
}

/* =========================
   THEME: Sugerencias
========================= */
.page-sugerencias {
  --hero: #4c1d95; /* deepPurple */
  --hero2: rgba(76, 29, 149, 0.82);

  --accent: #4c1d95;

  --introA: rgba(76, 29, 149, 0.12);
  --introBorder: rgba(76, 29, 149, 0.2);
  --introShadow: rgba(76, 29, 149, 0.1);
  --badgeBg: rgba(76, 29, 149, 0.14);
}

.mp-cat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-cat__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 12px;
}

.mp-cat__left {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mp-cat__ic {
  font-size: 22px;
}

.mp-cat__title {
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 4px;
}

.mp-cat__desc {
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.5;
  font-size: 14px;
}

/* =========================
   THEME: Notificaciones
========================= */
.page-notificaciones {
  --hero: #06b6d4; /* cyan */
  --hero2: rgba(6, 182, 212, 0.82);

  --accent: #06b6d4;

  --introA: rgba(6, 182, 212, 0.12);
  --introBorder: rgba(6, 182, 212, 0.2);
  --introShadow: rgba(6, 182, 212, 0.1);
  --badgeBg: rgba(6, 182, 212, 0.14);
}

.mp-examples {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-example {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 12px;
}

.mp-example__ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.mp-example__title {
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 4px;
}

.mp-example__desc {
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.5;
  font-size: 13px;
}

/* =========================
   THEME: Mi Perfil
========================= */
.page-perfil {
  --hero: #607d8b; /* blueGrey */
  --hero2: rgba(96, 125, 139, 0.82);

  --accent: #607d8b;

  --introA: rgba(96, 125, 139, 0.12);
  --introBorder: rgba(96, 125, 139, 0.2);
  --introShadow: rgba(96, 125, 139, 0.1);
  --badgeBg: rgba(96, 125, 139, 0.14);
}

.mp-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-feature {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 12px;
}

.mp-feature__ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.mp-feature__title {
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 4px;
}

.mp-feature__desc {
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.5;
  font-size: 13px;
}
