/* ============================================
   CODEQ - Estilos Modernos v2.0
   ============================================ */

/* ===== VARIABLES CSS ===== */
:root {
  --nav-offset: 96px;
  /* Colores principales */
  --primary: #0f766e;
  --primary-light: #14b8a6;
  --primary-dark: #0d5d56;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  
  /* Colores de fondo */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  
  /* Colores de texto */
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #64748b;
  --text-white: #f8fafc;
  
  /* Colores de bordes */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-xl: 0 20px 40px -10px rgb(0 0 0 / 0.3);
  
  /* Radios */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transiciones */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;
  
  /* Espaciado */
  --section-padding: 80px 0;
  --container-padding: 0 24px;
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-medium);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  color: var(--text-light);
  font-size: 1.1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== BOTONES MODERNOS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-accent {
  background: var(--accent);
  color: var(--text-dark);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: white;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===== NAVBAR MODERNO ===== */
.navbar-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar-modern.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

.navbar-modern .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.navbar-modern.scrolled .navbar-brand {
  color: var(--primary);
}

.navbar-brand svg {
  width: 40px;
  height: 40px;
}

.navbar-modern > .container > .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-modern > .container > .navbar-nav a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.navbar-modern.scrolled > .container > .navbar-nav a {
  color: var(--text-medium);
}

.navbar-modern > .container > .navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar-modern > .container > .navbar-nav a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-cta {
  background: var(--accent);
  color: var(--text-dark);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

.navbar-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Mobile menu button */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: var(--transition);
}

.navbar-modern.scrolled .navbar-toggler span {
  background: var(--text-dark);
}

.offcanvas {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(18px);
}

.offcanvas-title,
.offcanvas .nav-link {
  color: white;
}

.offcanvas .nav-link {
  display: block;
  padding: 0.75rem 0;
}

.offcanvas .navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
}

@media (max-width: 992px) {
  .navbar-toggler {
    display: block;
  }
  
  .navbar-modern > .container > .navbar-nav {
    display: none;
  }
  
  .navbar-actions {
    display: flex;
    gap: 12px;
  }

  .navbar-actions > a {
    display: none;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}

.hero-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 60px;
  animation: fadeInUp 0.6s ease 0.8s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== SECTION GENERAL ===== */
.section {
  padding: var(--section-padding);
}

.section-light {
  background: var(--bg-light);
}

.section-white {
  background: var(--bg-white);
}

.section-dark {
  background: var(--secondary);
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ===== PAGE LAYOUT ===== */
.page-shell {
  padding-top: calc(var(--nav-offset) + 32px);
  padding-bottom: 80px;
}

.page-shell--compact {
  padding-top: calc(var(--nav-offset) + 20px);
  padding-bottom: 56px;
}

.page-shell--center {
  min-height: calc(100vh - var(--nav-offset));
  display: flex;
  align-items: center;
}

.has-mobile-panel-nav .page-shell {
  padding-bottom: 112px;
}

.page-copy {
  max-width: 760px;
  margin: 0 auto;
}

.page-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
}

.page-card--soft {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.page-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.page-actions .btn {
  min-width: 180px;
}

/* ===== PRIVATE PANEL ===== */
.panel-shell {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 28%),
    radial-gradient(circle at right top, rgba(245, 158, 11, 0.12), transparent 26%),
    linear-gradient(180deg, #f4f8f8 0%, #ffffff 100%);
}

.panel-shell--premium {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 32%),
    radial-gradient(circle at right center, rgba(15, 118, 110, 0.1), transparent 24%),
    linear-gradient(180deg, #f6fbfb 0%, #ffffff 100%);
}

.management-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 12px;
  margin-bottom: 18px;
  scrollbar-width: none;
}

.management-strip::-webkit-scrollbar {
  display: none;
}

.management-strip__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border-light);
  color: var(--text-medium);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.management-strip__item:hover,
.management-strip__item.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.panel-hero,
.panel-premium-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.panel-hero-copy,
.panel-progress-card,
.panel-form-card,
.panel-price-card,
.panel-feature-card,
.panel-card,
.panel-stat-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.panel-hero-copy {
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(145deg, #0f172a 0%, #123b3a 55%, #14b8a6 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.panel-hero-copy::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -80px;
  bottom: -90px;
  background: rgba(255, 255, 255, 0.08);
}

.panel-hero-copy > * {
  position: relative;
  z-index: 1;
}

.panel-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.panel-subtitle {
  font-size: 1.08rem;
  max-width: 760px;
}

.panel-hero-copy .panel-title,
.panel-hero-copy .panel-subtitle {
  color: white;
}

.panel-hero-copy .panel-subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.panel-progress-card,
.panel-form-card,
.panel-price-card,
.panel-feature-card,
.panel-card,
.panel-stat-card {
  background: var(--bg-white);
}

.panel-progress-card {
  padding: 28px;
}

.panel-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-progress-head span {
  color: var(--text-medium);
  font-weight: 600;
}

.panel-progress-head strong {
  color: var(--primary);
  font-size: 1.4rem;
}

.panel-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: var(--radius-full);
  background: #dbe7e8;
  overflow: hidden;
  margin-bottom: 20px;
}

.panel-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.panel-checklist,
.panel-mini-list,
.panel-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-checklist {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.panel-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.panel-checklist li i {
  color: var(--text-light);
  margin-top: 3px;
}

.panel-checklist li.is-done i {
  color: var(--primary);
}

.panel-checklist strong,
.panel-mini-list strong {
  color: var(--text-dark);
}

.panel-checklist span {
  display: block;
  color: var(--text-light);
  font-size: 0.95rem;
}

.panel-stats-grid,
.panel-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.panel-stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.panel-grid {
  grid-template-columns: repeat(2, 1fr);
}

.panel-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.panel-stat-card,
.panel-card,
.panel-price-card,
.panel-feature-card {
  padding: 26px;
}

.panel-stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--text-dark);
  margin: 10px 0 12px;
}

.panel-stat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.panel-stat-card--accent {
  background: linear-gradient(145deg, #fff8e8 0%, #ffffff 100%);
}

.panel-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.panel-card-head h2 {
  margin: 12px 0 0;
  font-size: 1.55rem;
}

.panel-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(20, 184, 166, 0.24));
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.panel-card--premium {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.panel-card-text {
  min-height: 72px;
}

.panel-mini-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.panel-mini-list li {
  color: var(--text-medium);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.panel-actions--inline .btn {
  min-width: 0;
}

.panel-mobile-overview {
  display: none;
}

.panel-mobile-progress {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(20, 184, 166, 0.2));
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.panel-mobile-progress div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-mobile-progress span {
  color: var(--text-medium);
  font-weight: 700;
}

.panel-mobile-progress strong {
  color: var(--primary);
  font-size: 1.15rem;
}

.panel-mobile-progress p {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.98rem;
  font-weight: 600;
}

.panel-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.panel-quick-link {
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 16px;
  border-radius: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  color: var(--text-dark);
  font-weight: 700;
}

.panel-quick-link i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary);
  font-size: 1.1rem;
}

.panel-quick-link span {
  font-size: 0.92rem;
  line-height: 1.25;
}

.panel-quick-link--primary {
  background: linear-gradient(145deg, #0f172a 0%, #123b3a 55%, #14b8a6 100%);
  border-color: transparent;
  color: white;
}

.panel-quick-link--primary i {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.panel-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.panel-metric-pill {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.panel-metric-pill span {
  display: block;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.panel-metric-pill strong {
  display: block;
  margin-top: 6px;
  color: var(--text-dark);
  font-size: 1rem;
}

.panel-section-head {
  max-width: 760px;
  margin: 0 auto 28px;
}

.panel-form-card {
  padding: clamp(24px, 4vw, 36px);
  max-width: 980px;
  margin: 0 auto;
}

.panel-form-card--narrow {
  max-width: 640px;
}

.panel-price-card {
  background: linear-gradient(145deg, #0f172a 0%, #123b3a 55%, #14b8a6 100%);
  color: white;
}

.panel-price-card h2,
.panel-price-card p,
.panel-price-card .panel-stat-label {
  color: white;
}

.panel-price-card p {
  color: rgba(255, 255, 255, 0.82);
}

.panel-feature-card h3 {
  margin-bottom: 16px;
}

.panel-feature-list {
  display: grid;
  gap: 14px;
}

.panel-feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-medium);
}

.panel-feature-list i {
  color: var(--primary);
  margin-top: 3px;
}

@media (max-width: 1100px) {
  .panel-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .panel-hero,
  .panel-premium-summary,
  .panel-grid,
  .panel-grid--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .has-mobile-panel-nav .page-shell {
    padding-bottom: 128px;
  }

  .panel-stats-grid {
    grid-template-columns: 1fr;
  }

  .panel-title {
    font-size: 2.3rem;
  }

  .panel-subtitle {
    font-size: 0.98rem;
  }

  .panel-hero-copy {
    padding: 22px;
  }

  .panel-hero-copy::after {
    width: 150px;
    height: 150px;
    right: -48px;
    bottom: -60px;
  }

  .panel-card-text {
    min-height: 0;
  }

  .panel-actions {
    gap: 10px;
  }

  .panel-actions .btn {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

  .panel-actions--inline .btn,
  .catalog-actions-inline .btn,
  .catalog-group-head > .btn,
  .catalog-card-head .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .btn,
  .btn-sm,
  .btn-lg {
    min-height: 46px;
  }

  .panel-mobile-overview {
    display: grid;
    gap: 14px;
    margin-top: 18px;
  }

  .panel-stats-grid--dashboard {
    display: none;
  }

  .panel-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .management-strip {
    position: sticky;
    top: 78px;
    z-index: 35;
    margin-inline: -6px;
    padding: 8px 6px 14px;
    background: linear-gradient(180deg, rgba(244, 248, 248, 0.96) 0%, rgba(244, 248, 248, 0.78) 70%, rgba(244, 248, 248, 0) 100%);
    backdrop-filter: blur(10px);
  }

  .management-strip__item {
    padding: 10px 14px;
    font-size: 0.92rem;
  }
}

/* ===== CATALOG MANAGEMENT ===== */
.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  margin-bottom: 28px;
}

.catalog-hero-main,
.catalog-hero-side,
.catalog-card,
.catalog-group-card,
.catalog-confirm-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.catalog-hero-main {
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(145deg, #0f172a 0%, #123b3a 55%, #14b8a6 100%);
  color: white;
}

.catalog-hero-main h1,
.catalog-hero-main p {
  color: white;
}

.catalog-hero-main p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

.catalog-hero-side {
  padding: 28px;
}

.catalog-hero-side h2 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.catalog-step-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.catalog-step {
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #f3f7f7;
  color: var(--text-medium);
  font-weight: 600;
}

.catalog-step.is-done {
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary);
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.catalog-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-medium);
  font-weight: 700;
}

.catalog-tab:hover,
.catalog-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.mobile-panel-nav {
  display: none;
}

.catalog-card,
.catalog-group-card,
.catalog-confirm-card {
  padding: clamp(24px, 4vw, 32px);
}

.catalog-card-head,
.catalog-group-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.catalog-card-head h2,
.catalog-group-head h2,
.catalog-group-head h3 {
  margin-bottom: 4px;
}

.catalog-stack {
  display: grid;
  gap: 22px;
}

.catalog-table-wrap {
  overflow-x: auto;
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
}

.catalog-table thead th {
  padding: 14px 16px;
  background: #f1f7f7;
  color: var(--text-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalog-table tbody td {
  padding: 16px;
  border-top: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text-medium);
}

.catalog-row-copy {
  margin-top: 6px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.catalog-status {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.catalog-status.is-active {
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary);
}

.catalog-status.is-inactive {
  background: rgba(148, 163, 184, 0.14);
  color: var(--text-light);
}

.catalog-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-btn-danger {
  background: #dc2626;
  color: white;
}

.catalog-btn-danger:hover {
  background: #b91c1c;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.catalog-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 32px 16px;
}

.catalog-empty--inline {
  justify-items: start;
  text-align: left;
  padding: 16px 0 0;
}

.catalog-empty i {
  font-size: 2.2rem;
  color: var(--primary);
}

.catalog-form {
  display: grid;
  gap: 24px;
}

.catalog-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.catalog-field {
  display: grid;
  gap: 8px;
}

.catalog-field label {
  color: var(--text-dark);
  font-weight: 700;
}

.catalog-field--full {
  grid-column: 1 / -1;
}

.catalog-field--checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-field--checkbox label {
  margin: 0;
}

.catalog-form input[type="text"],
.catalog-form input[type="number"],
.catalog-form input[type="file"],
.catalog-form textarea,
.catalog-form select,
.catalog-table input[type="text"],
.catalog-table input[type="number"] {
  width: 100%;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: white;
  color: var(--text-dark);
}

.catalog-form input:focus,
.catalog-form textarea:focus,
.catalog-form select:focus,
.catalog-table input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16);
}

.catalog-help {
  margin: 0;
  color: var(--text-light);
  font-size: 0.92rem;
}

.catalog-field-error,
.catalog-form-errors {
  color: #b91c1c;
  font-size: 0.92rem;
}

.catalog-form-errors ul,
.catalog-field-error ul {
  margin: 0;
  padding-left: 18px;
}

.catalog-note,
.catalog-warning-box {
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  background: #fff8e8;
  color: #8a5a00;
  border: 1px solid #fde68a;
}

.catalog-confirm-card {
  max-width: 720px;
  margin: 0 auto;
}

.catalog-switch-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .catalog-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .catalog-card-head,
  .catalog-group-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-card,
  .catalog-group-card,
  .catalog-confirm-card {
    padding: 20px 16px;
  }

  .catalog-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .catalog-toolbar::-webkit-scrollbar {
    display: none;
  }

  .catalog-tab {
    flex: 0 0 auto;
    min-width: 132px;
  }

  .catalog-table thead {
    display: none;
  }

  .catalog-table,
  .catalog-table tbody,
  .catalog-table tr,
  .catalog-table td {
    display: block;
    width: 100%;
  }

  .catalog-table-wrap {
    overflow: visible;
  }

  .catalog-table tbody {
    display: grid;
    gap: 14px;
  }

  .catalog-table tbody tr {
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: #f8fbfb;
    box-shadow: var(--shadow-sm);
  }

  .catalog-table tbody td {
    border-top: none;
    padding: 0;
  }

  .catalog-table tbody td + td {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
  }

  .catalog-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--text-light);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .catalog-table tbody td[data-label="Acciones"]::before {
    margin-bottom: 10px;
  }

  .catalog-actions-inline {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .catalog-switch-cell {
    justify-content: flex-start;
  }

  .catalog-form-grid {
    grid-template-columns: 1fr;
  }

  .catalog-field--full {
    grid-column: auto;
  }
}

/* ===== DESIGN STUDIO ===== */
.design-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.design-config-card,
.design-preview-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 32px);
}

.design-config-head {
  margin-bottom: 18px;
}

.design-config-head h2,
.design-preview-head h2 {
  margin: 12px 0 8px;
}

.design-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.design-choice-card,
.design-theme-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 18px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.design-choice-card:hover,
.design-theme-card:hover,
.design-choice-card.is-selected,
.design-theme-card.is-selected {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: var(--shadow-md);
}

.design-choice-card.is-selected,
.design-theme-card.is-selected {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.08) 0%, #ffffff 100%);
}

.design-choice-card h3,
.design-theme-card strong {
  color: var(--text-dark);
}

.design-choice-card p,
.design-theme-card span {
  color: var(--text-light);
}

.design-choice-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.design-layout-preview {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  border-radius: 18px;
  padding: 14px;
  background: #eef5f6;
  min-height: 120px;
}

.design-layout-preview span {
  display: block;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.8), rgba(20, 184, 166, 0.4));
}

.design-layout-preview--showcase span:nth-child(1) {
  min-height: 42px;
}

.design-layout-preview--showcase span:nth-child(2),
.design-layout-preview--showcase span:nth-child(3) {
  min-height: 22px;
}

.design-layout-preview--editorial {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-layout-preview--editorial span:nth-child(1),
.design-layout-preview--editorial span:nth-child(2) {
  grid-column: span 2;
  min-height: 18px;
}

.design-layout-preview--editorial span:nth-child(3),
.design-layout-preview--editorial span:nth-child(4) {
  min-height: 44px;
}

.design-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.design-theme-card {
  display: grid;
  gap: 8px;
}

.design-theme-card strong {
  font-size: 1rem;
}

.design-theme-swatches {
  display: flex;
  gap: 8px;
}

.design-theme-swatches i {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.design-hidden-fields {
  display: none;
}

.design-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.design-preview-meta {
  display: grid;
  gap: 8px;
  text-align: right;
}

.design-preview-meta span {
  display: inline-flex;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.design-phone-frame {
  margin: 0 auto;
  max-width: 360px;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, #111827 0%, #2b3548 100%);
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.55);
}

.design-phone-screen {
  min-height: 640px;
  border-radius: 28px;
  overflow: hidden;
  padding: 16px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 30%),
    linear-gradient(180deg, #f4fbfa 0%, #ffffff 100%);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
}

.design-preview-hero,
.design-preview-nav,
.design-preview-section,
.design-preview-sidebar {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.design-preview-hero {
  padding: 18px;
  background: linear-gradient(145deg, #0f172a 0%, #123b3a 58%, #14b8a6 100%);
}

.design-preview-kicker,
.design-preview-hero h3,
.design-preview-hero p {
  color: white;
}

.design-preview-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-preview-hero h3 {
  margin: 14px 0 8px;
}

.design-preview-hero p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.design-preview-chips {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.design-preview-chips span {
  display: block;
  width: 64px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.design-preview-nav {
  display: flex;
  gap: 8px;
  padding: 10px;
}

.design-preview-nav span {
  display: block;
  flex: 1;
  height: 32px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
}

.design-preview-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.design-preview-sidebar {
  display: none;
  min-height: 120px;
}

.design-preview-content {
  display: grid;
  gap: 14px;
}

.design-preview-section {
  padding: 14px;
}

.design-preview-section strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.design-preview-items {
  display: grid;
  gap: 10px;
}

.design-preview-items article {
  min-height: 78px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.96)),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.design-phone-screen[data-layout="box"] .design-preview-body {
  grid-template-columns: 88px 1fr;
}

.design-phone-screen[data-layout="box"] .design-preview-sidebar {
  display: block;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.02));
}

.design-phone-screen[data-layout="box"] .design-preview-sidebar::before,
.design-phone-screen[data-layout="box"] .design-preview-sidebar::after {
  content: "";
  display: block;
  height: 18px;
  margin: 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.18);
}

.design-phone-screen[data-layout="acordion"] .design-preview-items article {
  min-height: 62px;
}

.design-phone-screen[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.14), transparent 28%),
    linear-gradient(180deg, #0d1117 0%, #121821 100%);
}

.design-phone-screen[data-theme="dark"] .design-preview-nav,
.design-phone-screen[data-theme="dark"] .design-preview-section,
.design-phone-screen[data-theme="dark"] .design-preview-sidebar {
  background: rgba(18, 24, 33, 0.88);
  border-color: rgba(255, 255, 255, 0.06);
}

.design-phone-screen[data-theme="dark"] .design-preview-section strong {
  color: #f8fafc;
}

.design-phone-screen[data-theme="dark"] .design-preview-items article {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(18, 24, 33, 0.96));
  border-color: rgba(255, 255, 255, 0.06);
}

.design-phone-screen[data-theme="spicyneutrals"] .design-preview-hero {
  background: linear-gradient(145deg, #5d2f1d 0%, #8d4a2d 55%, #d6a24a 100%);
}

.design-phone-screen[data-theme="freshgreen"] .design-preview-hero {
  background: linear-gradient(145deg, #20331f 0%, #4d761e 55%, #9dc860 100%);
}

.design-phone-screen[data-theme="freshcream"] .design-preview-hero {
  background: linear-gradient(145deg, #4b2616 0%, #b64614 58%, #f5b860 100%);
}

.design-phone-screen[data-theme="elegantmodern"] .design-preview-hero {
  background: linear-gradient(145deg, #241f35 0%, #3d3894 58%, #8a7ef0 100%);
}

.design-phone-screen[data-theme="white"] .design-preview-hero {
  background: linear-gradient(145deg, #4a1111 0%, #8d1919 58%, #f0b24e 100%);
}

.design-phone-screen[data-theme="blue"] .design-preview-hero {
  background: linear-gradient(145deg, #12203f 0%, #18306f 58%, #78a6ff 100%);
}

.design-preview-notes {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.design-preview-notes p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
}

@media (max-width: 1100px) {
  .design-studio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .design-choice-grid,
  .design-theme-grid {
    grid-template-columns: 1fr;
  }

  .design-preview-head {
    flex-direction: column;
  }

  .design-preview-meta {
    text-align: left;
  }
}

/* ===== PROFILE EDITOR ===== */
.profile-setup-grid,
.profile-editor-grid {
  display: grid;
  gap: 24px;
}

.profile-setup-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: stretch;
}

.profile-editor-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: start;
}

.profile-editor-main {
  display: grid;
  gap: 22px;
}

.profile-section-card,
.profile-preview-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
}

.profile-section-head {
  margin-bottom: 18px;
}

.profile-section-head h2,
.profile-preview-head h2 {
  margin: 12px 0 8px;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-field {
  display: grid;
  gap: 8px;
}

.profile-field label {
  color: var(--text-dark);
  font-weight: 700;
}

.profile-field input,
.profile-field select,
.profile-field textarea {
  width: 100%;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: white;
  color: var(--text-dark);
}

.profile-field input:focus,
.profile-field select:focus,
.profile-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16);
}

.profile-field--full {
  grid-column: 1 / -1;
}

.profile-preview-card {
  overflow: hidden;
  position: sticky;
  top: 110px;
}

.profile-preview-head,
.profile-preview-body {
  padding: 24px;
}

.profile-preview-head {
  padding-bottom: 14px;
}

.profile-preview-hero {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.profile-preview-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-preview-logo-wrap {
  position: absolute;
  left: 24px;
  bottom: -26px;
}

.profile-preview-logo {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 24px;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
  background: white;
}

.profile-preview-body {
  padding-top: 42px;
}

.profile-preview-body h3 {
  margin-bottom: 14px;
}

.profile-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.profile-pill-list span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.profile-editor-actions {
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .profile-setup-grid,
  .profile-editor-grid {
    grid-template-columns: 1fr;
  }

  .profile-preview-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }

  .profile-field--full {
    grid-column: auto;
  }
}

/* ===== AUTH ===== */
.auth-shell {
  padding-top: calc(var(--nav-offset) + 28px);
  padding-bottom: 80px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 28%),
    radial-gradient(circle at right center, rgba(245, 158, 11, 0.12), transparent 30%),
    linear-gradient(180deg, #f4f8f8 0%, #ffffff 100%);
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.auth-panel,
.auth-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.auth-panel {
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(145deg, #0f172a 0%, #123b3a 55%, #14b8a6 100%);
  color: white;
  position: relative;
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.auth-panel > * {
  position: relative;
  z-index: 1;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-panel h1,
.auth-panel h2,
.auth-panel h3,
.auth-panel p,
.auth-panel strong {
  color: white;
}

.auth-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.auth-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.auth-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.auth-points i {
  color: #fde68a;
  margin-top: 3px;
}

.auth-card {
  background: var(--bg-white);
}

.auth-card-body {
  padding: clamp(24px, 4vw, 40px);
}

.auth-title {
  margin-bottom: 10px;
}

.auth-subtitle {
  margin-bottom: 24px;
}

.auth-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  text-align: center;
}

.auth-links a {
  color: var(--primary);
  font-weight: 600;
}

.auth-links a:hover {
  color: var(--primary-light);
}

.auth-feedback {
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.auth-feedback + .auth-feedback {
  margin-top: 10px;
}

.auth-actions {
  margin-top: 20px;
}

.auth-actions .btn {
  width: 100%;
}

@media (max-width: 992px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PROCESS SECTION ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.process-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.process-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: white;
}

.process-card h4 {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.process-card p {
  color: var(--text-light);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PACKS SECTION ===== */
.packs-section {
  background: var(--bg-light);
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pack-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pack-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pack-card.featured::before {
  content: 'Más Popular';
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--accent);
  color: var(--text-dark);
  padding: 6px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
}

.pack-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pack-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.pack-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pack-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}

.pack-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pack-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.pack-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-medium);
}

.pack-features li i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

.pack-card .btn {
  width: 100%;
}

@media (max-width: 992px) {
  .packs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 48px auto 0;
  }
  
  .pack-card.featured {
    transform: none;
  }
  
  .pack-card.featured:hover {
    transform: translateY(-8px);
  }
}

/* ===== SHOWCASE SECTION ===== */
.showcase-section {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 35%),
    linear-gradient(180deg, #f3f7f9 0%, #ffffff 100%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}

.showcase-card,
.showcase-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.showcase-card {
  padding: 36px;
}

.showcase-panel {
  padding: 28px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

.showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.showcase-list,
.showcase-metrics,
.proof-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-list {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.showcase-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.showcase-list i,
.proof-list i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 2px;
}

.showcase-list strong,
.proof-list strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.showcase-list span,
.proof-list span {
  color: var(--text-light);
}

.showcase-panel h3 {
  color: white;
  margin-bottom: 8px;
}

.showcase-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.showcase-metrics {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.showcase-metrics li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.showcase-metrics span:last-child {
  color: white;
  font-weight: 700;
}

.proof-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.proof-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.proof-list strong {
  color: white;
}

.proof-list span {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== BENEFICIOS SECTION ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: white;
}

.benefit-card h4 {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PLANES SECTION ===== */
.plans-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.plans-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.plans-toggle span {
  font-weight: 500;
  color: var(--text-light);
}

.plans-toggle span.active {
  color: var(--text-dark);
  font-weight: 700;
}

.toggle-switch {
  width: 56px;
  height: 28px;
  background: var(--primary);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.plans-toggle.annual .toggle-switch::after {
  left: 32px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid var(--border-light);
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  border-color: var(--primary);
}

.plan-header {
  padding: 32px;
  text-align: center;
  background: var(--bg-light);
}

.plan-card.featured .plan-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.plan-card.featured .plan-header h3,
.plan-card.featured .plan-header .plan-price {
  color: white;
}

.plan-card.featured .plan-header p {
  color: rgba(255, 255, 255, 0.8);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.plan-body {
  padding: 32px;
}

.plan-features {
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

.plan-features li.disabled {
  color: var(--text-light);
}

.plan-features li.disabled i {
  color: var(--text-light);
}

.plan-card .btn {
  width: 100%;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ===== FOOTER MODERNO ===== */
.footer {
  background: var(--secondary);
  color: white;
  padding: 80px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-brand svg {
  width: 40px;
  height: 40px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILIDADES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-white { color: white !important; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.d-none { display: none; }
.d-md-flex { display: flex; }

@media (max-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-flex { display: flex !important; }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
}

/* ===== ANIMACIONES DE ENTRADA ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE IMAGES ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow {
  box-shadow: var(--shadow);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* ===== SHAPES ===== */
.rounded-circle {
  border-radius: 50%;
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-primary {
  background: var(--primary);
  color: white;
}

.badge-accent {
  background: var(--accent);
  color: var(--text-dark);
}

/* ===== STORE CARDS ===== */
.card-publicacion {
  width: 100%;
  max-width: 300px;
  height: 350px;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.card-publicacion:hover,
.mini-card-publicacion:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-publicacion-img {
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.mini-card-publicacion {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  overflow: hidden;
  scroll-snap-align: start;
}

.mini-card-img {
  height: 100px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.mini-card-publicacion p {
  font-size: 0.8rem;
}

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== BANNERS AND AFFILIATES ===== */
.banner-envios {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: white;
  padding: 0.5rem 0;
}

.banner-envios p {
  font-size: 1rem;
}

.afiliados-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.afiliados-section .card {
  border: none;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.afiliados-section .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.afiliados-section i {
  display: inline-block;
}

/* ===== FLOATING BUTTON ===== */
.btn-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.btn-float:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: white;
  padding: 20px;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-buttons button {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--primary);
  color: white;
  border: none;
}

.cookie-accept:hover {
  background: var(--primary-light);
}

.cookie-decline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .banner-envios p {
    font-size: 0.8rem;
  }

  .mobile-panel-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 1400;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px -18px rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(18px);
  }

  .mobile-panel-nav__item {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 10px 6px 8px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
  }

  .mobile-panel-nav__item i {
    font-size: 1.08rem;
  }

  .mobile-panel-nav__item.is-active {
    background: rgba(20, 184, 166, 0.2);
    color: white;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .btn-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
