/* ===========================
   VARIABLES Y BASE
=========================== */
:root {
  --dtf-bg-light: #f9f9f9;
  --dtf-bg-white: #ffffff;
  --dtf-bg-dark: #111111;
  --dtf-text-main: #333333;
  --dtf-text-light: #ffffff;
  --dtf-accent: #0af;
  --dtf-gray-muted: #666666;
}

.dtf-container { overflow-x: hidden; font-family: sans-serif; }
.dtf-section { padding: 5rem 1rem; display: flex; justify-content: center; }
.dtf-content { max-width: 1100px; width: 100%; }

/* ===========================
   CLASES PARA JAVASCRIPT (ANIMACIÓN)
=========================== */
/* Estado inicial que aplica el JS al cargar */
.fade-prepare {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Estado cuando el JS detecta que el elemento es visible */
.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===========================
   LAYOUT & TIPOGRAFÍA
=========================== */
.dtf-flex-row { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.dtf-flex-row.reverse { flex-direction: row-reverse; }

.dtf-title { font-size: 2.8rem; line-height: 1.1; color: var(--dtf-text-main); margin-bottom: 1rem; }
.dtf-title-light { font-size: 2.5rem; color: var(--dtf-text-light); margin-bottom: 1.5rem; }
.dtf-highlight { color: var(--dtf-accent); }
.dtf-subtitle { font-size: 1.3rem; color: var(--dtf-accent); font-weight: bold; margin-bottom: 1rem; }
.dtf-description { font-size: 1.1rem; line-height: 1.6; color: var(--dtf-gray-muted); }
.dtf-description-light { font-size: 1.1rem; line-height: 1.6; color: #ccc; }

/* ===========================
   COMPONENTES
=========================== */
.dtf-image-placeholder {
  flex: 1; min-width: 300px; height: 350px;
  background: #e0e0e0; border: 2px dashed #bbb;
  display: flex; align-items: center; justify-content: center; border-radius: 15px;
  color: #888; text-align: center; padding: 20px;
}

/* Fondos */
.dtf-hero-light { background-color: var(--dtf-bg-light); }
.dtf-dark-contrast { background-color: var(--dtf-bg-dark); color: white; }
.dtf-bg-pricing { background-color: #f0f0f0; }

/* Cards */
.dtf-benefits-grid, .dtf-steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}

.dtf-card, .dtf-step {
  background: var(--dtf-bg-white); padding: 2rem; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); text-align: center;
}

.dtf-dark-contrast .dtf-step { background: #222; border: 1px solid #333; }

.dtf-number {
  width: 40px; height: 40px; background: var(--dtf-accent); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-weight: bold;
}

/* Pricing */
.dtf-pricing-wrapper { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; margin-top: 2rem; }
.dtf-price-card {
  background: white; padding: 2rem; border-radius: 15px; flex: 1; min-width: 280px;
  max-width: 340px; border: 1px solid #ddd; position: relative;
}
.dtf-popular { border: 2px solid var(--dtf-accent); transform: scale(1.05); }
.dtf-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--dtf-accent); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem;
}
.dtf-price-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; }
.dtf-accent-text { color: var(--dtf-accent); font-weight: bold; }
.dtf-bg-white{
    background-color: var(--dtf-bg-white);
}

.dtf-icon{
  font-size: 4rem;
}
/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .dtf-title { font-size: 2rem; }
  .dtf-popular { transform: scale(1); }
  .dtf-section { padding: 3rem 1rem; }
}