
/* =========================================================
   ASODENIC - Artículo 60 Decibels
   Archivo: assets/css/decibels.css
   Diseño inspirado en Story / blog-details
   Adaptado a la identidad visual de ASODENIC
   ========================================================= */

.decibels-page {
  --decibels-blue: #011E4F;
  --decibels-blue-light: #1673E6;
  --decibels-green: #52AF4D;
  --decibels-white: #FFFFFF;
  --decibels-text: #24364B;
  --decibels-muted: #68788A;
  --decibels-soft: #F5F8FC;
  --decibels-border: #E4EAF1;
  --decibels-shadow: 0 12px 18px rgba(1, 30, 79, 0.08);
  --decibels-radius: 18px;
  background: #fff;
  color: var(--decibels-text);
}

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

.decibels-hero {
  padding: 175px 0 35px;
  background:
    radial-gradient(circle at 85% 20%, rgba(82, 175, 77, 0.12), transparent 28%),
    linear-gradient(180deg, #F7FAFE 0%, #FFFFFF 100%);
}

.decibels-hero-inner {
  max-width: 1118px
  margin: 0 auto;
}

.decibels-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px
}

.decibels-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 30px;
  background: rgba(22, 115, 230, 0.09);
  color: var(--decibels-blue-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .2px;
}

.decibels-kicker span:last-child {
  background: rgba(82, 175, 77, 0.11);
  color: #3F8E3B;
}

.decibels-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--decibels-blue);
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.2px;
}

.decibels-lead {
  max-width: 860px;
  margin: 0;
  color: #526477;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   DASHBOARD / FICHA DEL ARTÍCULO
   --------------------------------------------------------- */

.decibels-dashboard {
  margin-top: 42px;
  padding: 18px;
  border: 1px solid rgba(1, 30, 79, 0.07);
  border-radius: var(--decibels-radius);
  background: #fff;
  box-shadow: var(--decibels-shadow);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--decibels-border);
}

.dashboard-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--decibels-blue-light);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dashboard-header h2 {
  margin: 0;
  color: var(--decibels-blue);
  font-size: 1.25rem;
  font-weight: 600;
}

.dashboard-status {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 18px
  background: rgba(82, 175, 77, .11);
  color: #3F8E3B;
  font-size: .78rem;
  font-weight: 700;
}

.dashboard-data {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 14px;
}

.dashboard-item {
  min-height: 82px;
  padding: 17px;
  border-radius: 12px;
  background: var(--decibels-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--decibels-muted);
  font-size: .78rem;
}

.dashboard-label i {
  color: var(--decibels-blue-light);
}

.dashboard-item strong {
  color: var(--decibels-blue);
  font-size: .9rem;
  line-height: 1.4;
}

.dashboard-link a {
  color: var(--decibels-blue-light);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

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

/* ---------------------------------------------------------
   ESTRUCTURA PRINCIPAL + TABLA DE CONTENIDO
   --------------------------------------------------------- */

.decibels-article {
  padding: 18px 0 18px;
}

.decibels-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 58px;
  max-width: 1118px;
  margin: 0 auto;
  align-items: start;
}

.decibels-sidebar {
  min-width: 0;
}

.decibels-nav-sticky {
  position: sticky;
  top: 125px;
  padding: 25px 23px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(1, 30, 79, .08);
}

.decibels-nav-sticky h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--decibels-blue);
  font-size: 1.05rem;
  font-weight: 600;
}

.decibels-nav-sticky h3 i {
  color: var(--decibels-blue-light);
}

.decibels-content-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.decibels-content-nav li {
  margin: 2px 0;
}

.decibels-content-nav .nav-link {
  position: relative;
  display: block;
  padding: 9px 10px 9px 15px;
  color: #526477;
  border-radius: 8px;
  font-size: .88rem;
  line-height: 1.35;
  text-decoration: none;
  transition: all .25s ease;
}

.decibels-content-nav .nav-link:hover {
  color: var(--decibels-blue-light);
  background: #F3F8FE;
}

.decibels-content-nav .nav-link.active {
  color: var(--decibels-blue-light);
  background: #EAF4FD;
  font-weight: 600;
}

.decibels-content-nav .nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 4px;
  background: var(--decibels-blue-light);
}

.reading-progress {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--decibels-border);
}

.reading-progress .progress-bar {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 10px;
  background: #E6E9ED;
}

.reading-progress .progress-fill {
  width: 0;
  height: 100%;
  border-radius: 10px;
  background: var(--decibels-blue-light);
  transition: width .15s linear;
}

.reading-progress .progress-text {
  display: block;
  margin-top: 8px;
  color: #7B8794;
  font-size: .75rem;
}

/* ---------------------------------------------------------
   TEXTO DEL ARTÍCULO
   --------------------------------------------------------- */

.decibels-main-content {
  min-width: 0;
}

.decibels-content-block {
  scroll-margin-top: 57px;
  margin-bottom: 18px;
}

.decibels-content-block:last-child {
  margin-bottom: 0;
}

.decibels-intro-text {
  font-size: 1.02rem;
  line-height: 1.85;
}

.decibels-intro-text p {
  margin-bottom: 18px;
}

.decibels-intro-text .lead-paragraph {
  color: var(--decibels-blue);
  font-size: 1.18rem;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   FRASE DESTACADA - inspirado en featured quote de Story
   --------------------------------------------------------- */

.decibels-featured-quote {
  position: relative;
  margin: 38px 0 0;
  padding: 34px 18px 31px 18px;
  border-radius: 17px;
  background: linear-gradient(135deg, #F3F8FC 0%, #F7FAFD 100%);
  overflow: hidden;
}

.decibels-featured-quote::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -65px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: rgba(22, 115, 230, .05);
}

.decibels-featured-quote .quote-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 59px;
  height: 59px;
  border-radius: 50%;
  background: var(--decibels-blue-light);
  color: #fff;
  font-size: 1.25rem;
}

.decibels-featured-quote blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
}

.decibels-featured-quote blockquote p {
  margin: 0 0 18px;
  color: #38516D;
  font-size: 1.2rem;
  line-height: 1.65;
  font-style: italic;
}

.decibels-featured-quote blockquote footer {
  color: #68788A;
  font-size: .86rem;
  font-style: normal;
}

/* ---------------------------------------------------------
   ENCABEZADOS DE SECCIÓN
   --------------------------------------------------------- */

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 11px;
}

.section-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #EAF4FD;
  color: var(--decibels-blue-light);
  font-size: 1rem;
}

.section-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--decibels-green);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--decibels-blue);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.25;
  font-weight: 650;
}

.decibels-content-block > p {
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.85;
}

/* ---------------------------------------------------------
   CIFRA 18,000+
   --------------------------------------------------------- */

.comparison-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 25px;
  border-left: 4px solid var(--decibels-green);
  border-radius: 10px;
  background: #F7FAF8;
}

.comparison-number {
  flex: 0 0 auto;
  color: var(--decibels-blue-light);
  font-size: 2rem;
  line-height: 1;
  font-weight: 750;
}

.comparison-note strong,
.comparison-note span {
  display: block;
}

.comparison-note strong {
  color: var(--decibels-blue);
  margin-bottom: 3px;
}

.comparison-note span {
  color: var(--decibels-muted);
  font-size: .88rem;
}

/* ---------------------------------------------------------
   "THE FUTURE OF AI" ADAPTADO A CIFRAS DE IMPACTO
   --------------------------------------------------------- */

.impact-timeline {
  margin-top: 15px;
}

.impact-item {
  position: relative;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 115px;
  padding: 17px 0;
  border-bottom: 1px solid var(--decibels-border);
}

.impact-item:first-child {
  border-top: 1px solid var(--decibels-border);
}

.impact-number {
  color: var(--decibels-blue-light);
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 750;
  text-align: left;
}

.impact-content h3 {
  margin: 0 0 5px;
  color: var(--decibels-blue);
  font-size: 1.22rem;
  font-weight: 600;
}

.impact-content p {
  margin: 0;
  color: #53667B;
  font-size: .94rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   NOTA DE FUENTE
   --------------------------------------------------------- */

.source-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 13px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #F8FAFC;
}

.source-note i {
  margin-top: 3px;
  color: var(--decibels-blue-light);
}

.source-note p {
  margin: 0;
  color: #6B7888;
  font-size: .82rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   TARJETAS DE RESUMEN
   --------------------------------------------------------- */

.impact-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 18px;
}

.summary-card {
  padding: 24px 18px;
  border: 1px solid var(--decibels-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(1, 30, 79, .045);
}

.summary-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  margin-bottom: 15px;
  border-radius: 11px;
  background: #EAF4FD;
  color: var(--decibels-blue-light);
}

.summary-card h3 {
  margin: 0 0 8px;
  color: var(--decibels-blue);
  font-size: 1rem;
}

.summary-card p {
  margin: 0;
  color: #657589;
  font-size: .85rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   FUENTE
   --------------------------------------------------------- */

.decibels-source-section {
  padding-top: 10px;
}

.source-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 15px;
  background: var(--decibels-soft);
}

.source-card-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--decibels-blue-light);
  color: #fff;
  font-size: 1.25rem;
}

.source-card-content span,
.source-card-content strong,
.source-card-content a {
  display: block;
}

.source-card-content span {
  color: #7A8794;
  font-size: .76rem;
}

.source-card-content strong {
  margin: 3px 0 7px;
  color: var(--decibels-blue);
  font-size: .95rem;
}

.source-card-content a {
  color: var(--decibels-blue-light);
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
}

.source-card-content a:hover {
  text-decoration: underline;
}

.article-closing {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--decibels-border);
}

.article-closing p {
  margin: 0;
  color: var(--decibels-blue);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
}

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

.decibels-cta {
  padding: 18px 0 18px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 18px;
  border-radius: 18px;
  background: var(--decibels-blue);
  box-shadow: 0 14px 18px rgba(1, 30, 79, .16);
}

.cta-inner span {
  color: #72C96E;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-inner h2 {
  max-width: 650px;
  margin: 6px 0 0;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.4;
}

.cta-inner > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 7px;
  background: #1673E6;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.cta-inner > a:hover {
  color: #fff;
  background: #2780EA;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 991px) {
  .decibels-hero {
    padding-top: 65px;
  }

  .decibels-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .decibels-sidebar {
    order: 0;
  }

  .decibels-main-content {
    order: 1;
  }

  .decibels-nav-sticky {
    position: relative;
    top: auto;
  }

  .decibels-content-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px 8px;
  }

  .reading-progress {
    margin-top: 18px;
  }

  .dashboard-data {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .decibels-hero {
    padding: 125px 0 18px;
  }

  .decibels-hero h1 {
    font-size: 2.05rem;
    letter-spacing: -.5px;
  }

  .decibels-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .decibels-dashboard {
    padding: 18px;
    margin-top: 28px;
  }

  .dashboard-header {
    align-items: flex-start;
  }

  .dashboard-header h2 {
    font-size: 1.05rem;
  }

  .dashboard-data {
    grid-template-columns: 1fr;
  }

  .dashboard-link {
    grid-column: auto;
  }

  .decibels-article {
    padding-top: 10px;
  }

  .decibels-content-nav {
    grid-template-columns: 1fr;
  }

  .decibels-content-block {
    margin-bottom: 10px;
  }

  .decibels-intro-text .lead-paragraph {
    font-size: 1.08rem;
  }

  .decibels-featured-quote {
    padding: 10px 18px 18px;
  }

  .decibels-featured-quote .quote-icon {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 16px;
  }

  .decibels-featured-quote blockquote p {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: 1.4rem;
  }

  .impact-item {
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 17px;
    min-height: 105px;
  }

  .impact-number {
    font-size: 1.7rem;
  }

  .impact-content h3 {
    font-size: 1.05rem;
  }

  .impact-content p {
    font-size: .86rem;
  }

  .impact-summary-grid {
    grid-template-columns: 1fr;
  }

  .source-card {
    align-items: flex-start;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px;
  }

  .cta-inner h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .decibels-kicker {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-note {
    align-items: flex-start;
  }

  .comparison-number {
    font-size: 1.65rem;
  }

  .source-card {
    flex-direction: column;
  }
}

/* ---------------------------------------------------------
   IMPRESIÓN
   --------------------------------------------------------- */

@media print {
  #topbar,
  #header,
  .decibels-sidebar,
  .decibels-cta,
  #footer,
  .back-to-top,
  #preloader {
    display: none !important;
  }

  .decibels-hero {
    padding-top: 18px;
  }

  .decibels-layout {
    display: block;
  }

  .decibels-content-block {
    break-inside: avoid;
  }
}
