/* ── Variables: identidad Santa Fe Provincia ── */
:root {
  --gradient: linear-gradient(90deg, #F2A33B 0%, #E85D3A 28%, #D5306E 60%, #6B3FA0 100%);
  --naranja: #E85D3A;
  --magenta: #D5306E;
  --violeta: #6B3FA0;
  --dorado: #F2A33B;
  --ink: #2E3147;
  --ink-soft: #5C5F75;
  --ink-muted: #9A9DB0;
  --bg: #FFFFFF;
  --bg-soft: #F7F7FA;
  --borde: #E7E8F0;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

/* ── Header con logo institucional ── */
.top-header {
  padding: 18px 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.top-header img {
  max-width: 180px;
  height: auto;
}

/* Línea degradada característica */
.gradient-line {
  height: 5px;
  background: var(--gradient);
}

/* ── Hero ── */
.hero {
  background: var(--gradient);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  color: white;
}
.hero-inner {
  max-width: 600px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero p {
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 1.8rem;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Sección de herramientas ── */
.tools-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 4rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
  text-align: center;
}

/* ── Tool Card ── */
.tool-card {
  background: var(--bg);
  border: 1.5px solid var(--borde);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.tool-card:hover {
  box-shadow: 0 6px 28px rgba(46,49,71,0.1);
  transform: translateY(-2px);
  border-color: var(--magenta);
}

.tool-card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 16px;
}

/* Ícono de la herramienta: borde degradado, fondo claro */
.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: var(--bg-soft);
  position: relative;
}
.tool-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 2px solid transparent;
  background: var(--gradient) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
}

.tool-info { flex: 1; min-width: 0; }

.tool-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 3px;
  display: inline-block;
}

.tool-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.2;
}

.tool-desc {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Flecha */
.tool-arrow {
  color: var(--borde);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.tool-card:hover .tool-arrow {
  color: var(--magenta);
  transform: translateX(3px);
}

/* Badge "Nuevo" / "Gratis" */
.tool-footer {
  padding: 0 18px 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pill {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}
.pill.gratis  { background: #EAF6EE; color: #2C8050; }
.pill.nuevo   { background: #FBEAF1; color: var(--magenta); }
.pill.popular { background: #FFF3E2; color: #C77B1C; }

/* ── Card "Próximamente" ── */
.tool-card.coming-soon {
  opacity: 0.55;
  pointer-events: none;
  border-style: dashed;
}
.tool-card.coming-soon .tool-tag {
  -webkit-text-fill-color: var(--ink-muted);
  background: none;
  color: var(--ink-muted);
}
.pill.pronto { background: var(--bg-soft); color: var(--ink-muted); }

/* ── Separador ── */
.tools-divider {
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 24px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tools-divider::before,
.tools-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--borde);
}

/* ── Info box ── */
.info-box {
  background: var(--bg-soft);
  border: 1px solid var(--borde);
  border-left: 3px solid var(--magenta);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
}
.info-box .info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.info-box p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.6; }
.info-box strong { color: var(--magenta); }

/* ── Colaboración ── */
.footer-collab {
  text-align: center;
  padding: 28px 16px 0;
  border-top: 1px solid var(--borde);
  margin-top: 8px;
}
.footer-collab-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.footer-collab img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: inline-block;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 18px 16px 32px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
footer a {
  color: var(--ink-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  transition: color 0.2s;
  vertical-align: middle;
}
footer a:hover { color: var(--magenta); }
