/**
 * Calculadora de presupuesto y gasto real del primer año del bebé
 * Estilos visuales corporativos - Fijate Tools
 */

:root {
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Tema claro */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-header: #f1f5f9;
  --bg-card-elevated: #f8fafc;
  --bg-input: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #0284c7;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --primary-color: #0284c7;
  --primary-light: #e0f2fe;
  --primary-hover: #0369a1;

  --accent-color: #10b981;
  --accent-light: #d1fae5;

  --highlight-color: #f59e0b;
  --highlight-light: #fef3c7;

  --danger-color: #ef4444;
  --danger-light: #fee2e2;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

[data-theme="dark"] {
  --bg-page: #0b0f17;
  --bg-card: #151d2a;
  --bg-card-header: #1c2638;
  --bg-card-elevated: #1a2333;
  --bg-input: #0f172a;
  --border-color: #263449;
  --border-focus: #38bdf8;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --primary-color: #38bdf8;
  --primary-light: rgba(56, 189, 248, 0.15);
  --primary-hover: #7dd3fc;

  --accent-color: #34d399;
  --accent-light: rgba(52, 211, 153, 0.15);

  --highlight-color: #fbbf24;
  --highlight-light: rgba(251, 191, 36, 0.15);

  --danger-color: #f87171;
  --danger-light: rgba(248, 113, 113, 0.15);

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6,
.brand-title,
.section-title,
.hero-title,
.faq-section-title {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0;
}

.mono, code, .price-val, .kpi-num {
  font-family: var(--font-mono);
}

/* Layout canónico */
.main-wrapper.tool-layout {
  max-width: 1200px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
  flex: 1 0 auto;
  width: 100%;
}

.tool-with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

/* Tarjeta principal contenedora */
.card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

/* Header de la herramienta */
.tool-hero {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
}

.tool-hero-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.tool-hero-lead {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Selector de perfiles de consumo */
.presets-section {
  background: var(--bg-card-header);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.presets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.presets-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-custom {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--highlight-light);
  color: var(--highlight-color);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.preset-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

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

.btn-preset {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--text-main);
  min-height: 48px;
}

.btn-preset:hover {
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.btn-preset.is-active {
  border-color: var(--primary-color);
  background: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.btn-preset-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-preset-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Tablero de KPIs principales */
.kpi-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .kpi-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .kpi-dashboard {
    grid-template-columns: 1fr;
  }
}

.kpi-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-color);
}

.kpi-card.is-primary::before {
  background: var(--primary-color);
}

.kpi-card.is-accent::before {
  background: var(--accent-color);
}

.kpi-card.is-highlight::before {
  background: var(--highlight-color);
}

.kpi-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kpi-num {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
}

.kpi-sub {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* Sección de visualización gráfica (2 columnas) */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.chart-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.chart-header {
  margin-bottom: 1rem;
}

.chart-title {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.chart-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Donut chart */
.donut-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.donut-graphic-box {
  position: relative;
  width: 190px;
  height: 190px;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-slice {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: center;
}

.donut-center-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  width: 90px;
}

.donut-center-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  display: block;
}

.donut-center-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.15rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.donut-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  width: 100%;
  font-size: 0.82rem;
}

@media (max-width: 440px) {
  .donut-legend {
    grid-template-columns: 1fr;
  }
}

.donut-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.legend-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.legend-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.legend-amount {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Gráfico de flujo de caja mes a mes */
.cashflow-chart-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
}

.cashflow-bars-container {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 180px;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.cashflow-bar-item {
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.bar-track {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background: rgba(148, 163, 184, 0.1);
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.bar-fill {
  width: 100%;
  background: var(--primary-color);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.cashflow-bar-item.is-month-0 .bar-fill {
  background: var(--highlight-color);
}

.bar-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 0.35rem;
  white-space: nowrap;
}

.bar-value-tooltip {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.cashflow-bar-item:hover .bar-value-tooltip {
  opacity: 1;
}

.cashflow-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Acordeón de categorías detalladas */
.categories-section {
  margin-bottom: 2rem;
}

.categories-section-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.category-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.category-accordion-item {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.category-accordion-item.is-open {
  border-color: var(--primary-color);
}

.category-accordion-header {
  width: 100%;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-main);
  text-align: left;
  min-height: 48px;
}

.category-accordion-header:hover {
  background: rgba(148, 163, 184, 0.05);
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accordion-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
}

.accordion-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.accordion-arrow {
  transition: transform 0.25s ease;
  color: var(--text-dim);
}

.category-accordion-item.is-open .accordion-arrow {
  transform: rotate(180deg);
}

.category-accordion-content {
  display: none;
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
}

.category-accordion-item.is-open .category-accordion-content {
  display: block;
}

/* Formularios dentro del acordeón */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label-val {
  font-family: var(--font-mono);
  color: var(--primary-color);
  font-weight: 700;
}

.form-help {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

.form-input, .form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

/* Sliders táctiles */
.form-range {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-color);
  outline: none;
  cursor: pointer;
  margin: 0.5rem 0;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* Switches y checkboxes modernos */
.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.checkbox-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.checkbox-card-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Caja de acciones y exportación */
.actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card-header);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.actions-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.actions-btns-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-action-primary, .btn-action-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-action-primary {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
}

.btn-action-primary:hover {
  background: var(--primary-hover);
}

.btn-action-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-action-secondary:hover {
  border-color: var(--text-muted);
}

/* Comparativa y palancas de ahorro */
.savings-section {
  margin-bottom: 2rem;
}

.savings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

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

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

.saving-item-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.saving-item-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color);
}

.saving-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.saving-item-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-color);
}

.saving-item-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Consejos prácticos de ahorro para padres */
.tips-section {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.tips-title {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.tip-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.tip-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-content h4 {
  font-size: 0.92rem;
  margin: 0 0 0.25rem;
}

.tip-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* Modales accesibles nativos */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.is-active {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.1rem;
  margin: 0;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.export-textarea {
  width: 100%;
  height: 220px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card-elevated);
  color: var(--text-main);
  resize: vertical;
}

.modal-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background: var(--bg-card-header);
}

/* Toast de feedback */
.toast-feedback {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text-main);
  color: var(--bg-card);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.toast-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Acordeón FAQ SEO */
.faq-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.faq-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

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

.faq-item {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.faq-question {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-main);
}

.faq-answer {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Optimización para impresión */
@media print {
  .app-header,
  .fijate-footer,
  .tools-ad-banner-section,
  .tool-ad-sidebar,
  .btn-theme-toggle,
  .actions-bar,
  .btn-preset,
  .modal-overlay,
  .related-tools-section,
  .affiliate-showcase-section {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .main-wrapper.tool-layout {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .card-main {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .category-accordion-content {
    display: block !important;
  }
}
