/* Estilos modernos y limpios para RENOVACION.TOP */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body.theme-renovacion {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  background: radial-gradient(circle at top left, #fef9c3 0, #fffbeb 30%, #e0f2fe 65%, #f9fafb 100%);
  color: #0f172a;
}

/* Layout helpers */

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.95));
  color: #f9fafb;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.logo-shell {
  width: 56px;
  height: 56px;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #fde68a 0, #fb923c 40%, #f97373 65%, #38bdf8 95%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 25px rgba(15, 23, 42, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-tagline {
  font-size: 0.78rem;
  color: #e5e7eb;
}

/* Nav */

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.35);
}

.main-nav a:hover {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(252, 211, 77, 0.9);
}

.main-nav a.active {
  background: linear-gradient(90deg, #fbbf24, #fb923c, #f97373);
  color: #111827;
  border-color: transparent;
}

/* Hero */

.hero-wrap {
  padding: 2.5rem 0 1.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 1.6rem;
  align-items: center;
}

.card-glass {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92));
  border-radius: 24px;
  padding: 1.8rem 1.9rem;
  box-shadow:
    0 22px 55px rgba(148, 163, 184, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.card-soft {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 1.6rem 1.8rem;
  box-shadow:
    0 18px 40px rgba(148, 163, 184, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #b45309;
  margin: 0 0 0.45rem 0;
}

.hero-card h1 {
  margin: 0 0 0.8rem 0;
  font-size: 1.85rem;
  color: #0f172a;
}

.hero-card p {
  font-size: 0.98rem;
  color: #111827;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero-figure img {
  border-radius: 20px;
}

.hero-figure figcaption {
  font-size: 0.83rem;
  color: #4b5563;
  margin-top: 0.55rem;
}

/* Buttons */

.btn {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, #fbbf24, #fb923c, #f97373);
  color: #111827;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #facc15, #f97316, #fb7185);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(148, 163, 184, 0.7);
  color: #0f172a;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.7);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.9);
  color: #0f172a;
}

.btn-outline:hover {
  background: rgba(248, 250, 252, 0.9);
}

/* Blog cards on home */

.blog-cards-section {
  padding-bottom: 1rem;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}

.blog-card h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #0f172a;
}

.blog-card p {
  font-size: 0.95rem;
  color: #1f2937;
}

.card-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

/* Why section */

.why-section {
  padding: 0 0 2.5rem 0;
}

.card-band {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(56, 189, 248, 0.15));
  border-radius: 24px;
  padding: 1.9rem 2rem;
  border: 1px solid rgba(252, 211, 77, 0.6);
  box-shadow:
    0 18px 40px rgba(147, 197, 253, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.8);
}

.card-band h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.card-band p {
  font-size: 0.95rem;
  color: #111827;
}

.why-link a {
  font-weight: 600;
  color: #b45309;
  text-decoration: none;
}

.why-link a:hover {
  text-decoration: underline;
}

/* Article layout */

.article-shell {
  padding-top: 2.1rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.article-hero-band h1 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #0f172a;
}

.article-meta {
  font-size: 0.85rem;
  color: #6b7280;
}

.article-body h2 {
  font-size: 1.25rem;
  margin-top: 1.6rem;
  color: #0f172a;
}

.article-body p {
  font-size: 0.98rem;
  color: #111827;
}

.article-figure {
  margin: 1.3rem 0;
}

.article-figure img {
  border-radius: 18px;
}

.article-figure figcaption {
  font-size: 0.83rem;
  color: #4b5563;
  margin-top: 0.45rem;
}

.article-keypoints {
  margin-top: 0.4rem;
}

.article-keypoints h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.article-keypoints ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0 0;
}

.article-keypoints li {
  font-size: 0.95rem;
  color: #111827;
  margin-bottom: 0.35rem;
}

/* Authors */

.authors-shell {
  padding-top: 2.1rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.authors-intro h1 {
  margin-top: 0;
  font-size: 1.5rem;
}

.author-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.author-card p {
  font-size: 0.96rem;
  color: #111827;
}

.authors-note h2 {
  margin-top: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(0deg, #020617, #0f172a);
  color: #e5e7eb;
}

.footer-inner {
  padding: 1.4rem 1.25rem 2rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-title {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .card-glass,
  .card-soft,
  .card-band {
    padding: 1.3rem 1.2rem;
  }
}
