/* ===============================
   WRAPPER TEXTOS
================================ */
.textos-wrapper {
  background: #00AED6;
  padding: 3rem 0;
}

.textos-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===============================
   HERO
================================ */
.textos-hero {
  background: #ffffff;
  border-radius: 32px;
  padding: 4rem 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.textos-hero p {
  max-width: 720px;
  margin: auto;
  color: #64748b;
}

/* ===============================
   ANALYZER
================================ */
.textos-analyzer {
  background: #ffffff;
  border-radius: 32px;
  padding: 3rem 2.5rem;
  margin-bottom: 3rem;
}

.textos-analyzer h2 {
  text-align: center;
  color: #00AED6;
  margin-bottom: 2rem;
}

.analyzer-box {
  max-width: 720px;
  margin: auto;
}

.analyzer-box label {
  display: block;
  margin-bottom: 0.5rem;
  color: #334155;
}

.analyzer-box textarea {
  width: 100%;
  min-height: 140px;
  padding: 1rem;
  border-radius: 16px;
  border: 2px solid #cbd5e1;
  margin-bottom: 1.5rem;
}

/* BOTONES */
.analysis-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.analysis-types button {
  padding: 0.75rem;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
}

.analysis-types .active {
  background: #00AED6;
  color: white;
  border-color: #00AED6;
}

.analyze-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 999px;
  background: #00AED6;
  color: white;
  border: none;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.analysis-result {
  background: #e0f2fe;
  border-radius: 16px;
  padding: 1.5rem;
}

/* ===============================
   EJEMPLOS
================================ */
.textos-ejemplos h2 {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

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

.ejemplo-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
}

.ejemplo-texto {
  font-style: italic;
  color: #64748b;
  margin-bottom: 1rem;
}

details {
  margin-bottom: 0.75rem;
}

summary {
  cursor: pointer;
  background: #f1f5f9;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  color: #00AED6;
}

/* ===============================
   TIPS
================================ */
.textos-tips {
  background: white;
  border-radius: 32px;
  padding: 3rem 2.5rem;
  margin-top: 3rem;
}

.textos-tips h2 {
  text-align: center;
  color: #00AED6;
  margin-bottom: 2rem;
}

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

.tip-card {
  text-align: center;
}

.tip-card span {
  font-size: 3rem;
}