/* ============================================================
   articulo-empresa-unipersonal-uruguay.css
   Estilos para el artículo: Cómo crear una empresa unipersonal en Uruguay
   NO modifica bootstrap.min.css ni otros CSS del sitio
   ============================================================ */

/* ---- Variables ---- */

:root {
  --innova-blue: #021859;
  --innova-accent: #2467fd;
  --innova-green: #198754;
  --innova-yellow: #ffc107;
  --innova-danger: #dc3545;
  --innova-warn: #fd7e14;
  --innova-gray: #f4f4f4;
  --innova-text: #212529;
  --innova-muted: #6c757d;
  --innova-radius: 12px;
  --innova-max: 820px;
}

/* ---- Navbar animado ---- */

.navbar-animado {
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.navbar-animado.scrolled {
  background: #021859 !important;
  box-shadow: 0 4px 24px rgba(2,24,89,0.18) !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* ---- HERO ---- */

.article-hero {
  background: linear-gradient(135deg, #021859 0%, #0a3580 60%, #1a5276 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

.article-hero .badge-cat {
  display: inline-block;
  background: var(--innova-yellow);
  color: #212529;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 50px;
  padding: 5px 16px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.article-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

.article-hero h1 em {
  color: var(--innova-yellow);
  font-style: normal;
}

.article-hero .article-intro {
  font-size: 1.07rem;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 auto 1.4rem;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
}

.article-meta span {
  background: rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 4px 12px;
}

/* ---- Hero imagen ---- */

.article-img-hero {
  width: 100%;
  max-width: var(--innova-max);
  border-radius: var(--innova-radius);
  display: block;
  margin: 0 auto;
}

.article-img {
  width: 100%;
  border-radius: var(--innova-radius);
  margin: 1.5rem 0 0.4rem;
  display: block;
}

.article-img-caption {
  font-size: 0.82rem;
  color: var(--innova-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ---- Wrapper principal ---- */

.article-wrapper {
  max-width: var(--innova-max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  font-family: 'Jost', 'Lato', sans-serif;
  font-size: 1.05rem;
  color: var(--innova-text);
  line-height: 1.75;
}

.article-wrapper h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.4rem 0 0.8rem;
  color: var(--innova-blue);
  border-left: 4px solid var(--innova-accent);
  padding-left: 12px;
}

.article-wrapper h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--innova-blue);
}

.article-wrapper p {
  margin-bottom: 1rem;
}

.article-wrapper a {
  color: var(--innova-accent);
}

/* ---- Stats row ---- */

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 2rem 0;
}

.stat-card {
  flex: 1 1 180px;
  background: var(--innova-blue);
  color: #fff;
  border-radius: var(--innova-radius);
  padding: 1.2rem 1rem;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--innova-yellow);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ---- Steps list ---- */

.steps-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--innova-radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.steps-list li:hover {
  box-shadow: 0 4px 18px rgba(2,24,89,0.1);
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--innova-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-top: 0;
}

.step-content p {
  margin-bottom: 0;
  font-size: 0.97rem;
}

/* ---- Tip boxes ---- */

.tip-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: var(--innova-radius);
  padding: 1.1rem 1.2rem;
  margin: 1.2rem 0;
}

.tip-box.info {
  background: #e8f4fd;
  border-left: 4px solid #2467fd;
}

.tip-box.warning {
  background: #fff8e1;
  border-left: 4px solid var(--innova-warn);
}

.tip-box.danger {
  background: #fdecea;
  border-left: 4px solid var(--innova-danger);
}

.tip-box.success {
  background: #eafaf1;
  border-left: 4px solid var(--innova-green);
}

.tip-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.tip-body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.97rem;
}

.tip-body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ---- Checklist ---- */

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.97rem;
  border-bottom: 1px solid #f0f0f0;
}

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

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.check-icon.ok {
  background: var(--innova-green);
  color: #fff;
}

.check-icon.no {
  background: var(--innova-danger);
  color: #fff;
}

/* ---- Tabla comparativa ---- */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.93rem;
  border-radius: var(--innova-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.compare-table thead tr {
  background: var(--innova-blue);
  color: #fff;
}

.compare-table th, .compare-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.compare-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.compare-table tbody tr:hover {
  background: #e8f0fe;
}

/* ---- Tabla de costos ---- */

.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.93rem;
  border-radius: var(--innova-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.cost-table thead tr {
  background: #0a3580;
  color: #fff;
}

.cost-table th, .cost-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.cost-table td:last-child {
  font-weight: 700;
  color: var(--innova-green);
}

.cost-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.cost-table tfoot tr {
  background: #eafaf1;
  font-weight: 700;
}

/* ---- FAQ accordion ---- */

.faq-section {
  margin: 1.5rem 0 2rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--innova-radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--innova-blue);
  padding: 1rem 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f0f4ff;
}

.faq-question .faq-arrow {
  transition: transform 0.3s;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-question.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0.9rem 1.2rem 1rem;
  font-size: 0.95rem;
  color: var(--innova-text);
  background: #f8f9ff;
  line-height: 1.65;
  border-top: 1px solid #e2e8f0;
}

.faq-answer.open {
  display: block;
}

/* ---- Keep reading ---- */

.keep-reading {
  background: var(--innova-gray);
  border-radius: var(--innova-radius);
  padding: 1.4rem 1.5rem;
  margin-top: 2.5rem;
}

.keep-reading h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--innova-blue);
  margin-bottom: 0.3rem;
}

.keep-reading .subtitle {
  font-size: 0.9rem;
  color: var(--innova-muted);
  margin-bottom: 1rem;
}

.keep-reading ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.keep-reading ul li {
  margin-bottom: 8px;
}

.keep-reading ul li a {
  color: var(--innova-accent);
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.keep-reading ul li a:hover {
  text-decoration: underline;
}

.arrow {
  color: var(--innova-accent);
  font-weight: 700;
}

/* ---- CTA InnovaWEB ---- */

.cta-innova {
  background: linear-gradient(135deg, #021859 0%, #1a5276 100%);
  color: #fff;
  border-radius: var(--innova-radius);
  padding: 2rem 1.8rem;
  text-align: center;
  margin: 2.5rem 0;
}

.cta-innova h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--innova-yellow);
  margin-bottom: 0.7rem;
}

.cta-innova p {
  color: rgba(255,255,255,0.88);
  font-size: 0.97rem;
  margin-bottom: 1.2rem;
}

.btn-wsp {
  display: inline-block;
  background: #25d366;
  color: #fff !important;
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  margin: 4px;
  transition: background 0.2s, transform 0.15s;
}

.btn-wsp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff !important;
  border-radius: 50px;
  padding: 9px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  margin: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ---- Schema / datos de costos badge ---- */

.fuente-badge {
  display: inline-block;
  font-size: 0.72rem;
  background: #e8f4fd;
  color: #0a3580;
  border-radius: 50px;
  padding: 2px 10px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 600;
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
  .stats-row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .article-hero h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .steps-list li {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .step-num {
    margin-bottom: 4px;
  }
}

@media (max-width: 600px) {
  .compare-table, .cost-table {
    font-size: 0.82rem;
  }
}

@media (max-width: 600px) {
  .compare-table th, .compare-table td, .cost-table th, .cost-table td {
    padding: 8px 8px;
  }
}

