/* Guía con pestañas: encabezado a todo el ancho y contenido centrado. */
.detail-header {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1200px) / 2));
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e7edf2;
}
.detail-header .brand img {
  max-width: 210px;
  height: auto;
}
.back-home {
  color: #0877f9;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.detail-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 24px;
  display: block;
  background: transparent;
}
.detail-hero-copy {
  max-width: 100%;
}
.detail-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.detail-lead {
  max-width: 100%;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.detail-hero .button {
  display: none;
}
.detail-illustration {
  display: none;
}
.detail-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px 54px;
}
.detail-narrow {
  max-width: 100%;
  margin: 0 0 20px;
}
.detail-narrow h2 {
  font-size: 1.4rem;
  margin: 4px 0 6px;
}
.detail-narrow > p:last-child {
  font-size: .95rem;
  line-height: 1.55;
  margin: 0;
}
.guide-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.guide-tabs {
  padding: 10px;
  border: 1px solid #e3eaf0;
  border-radius: 12px;
  background: #fff;
  align-self: start;
}
.guide-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 14px 12px;
  margin: 0 0 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #17384d;
  cursor: pointer;
  font: inherit;
}
.guide-tab:last-child {
  margin-bottom: 0;
}
.guide-tab.is-active {
  background: #eaf5ff;
  box-shadow: inset 3px 0 #0877f9;
}
.tab-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #0877f9;
  border: 1.5px solid currentColor;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
}
.guide-tab strong {
  display: block;
  font-size: .9rem;
  margin-bottom: 3px;
}
.guide-tab small {
  display: block;
  color: #5d7183;
  font-size: .78rem;
  line-height: 1.35;
}
.guide-panel-wrap {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e3eaf0;
  border-radius: 12px;
  background: #fff;
}
.guide-panel[hidden] {
  display: none !important;
}
.panel-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 20px;
  background: #eaf5ff;
  color: #0877f9;
  font-size: .75rem;
  font-weight: 700;
}
.guide-panel h3 {
  margin: 0 0 8px;
  color: #10294a;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.guide-panel > p {
  margin: 0 0 15px;
  color: #526777;
  font-size: .93rem;
  line-height: 1.6;
}
.instruction-box, .example-box {
  padding: 16px 18px;
  margin-top: 12px;
  border: 1px solid #e2eaf0;
  border-radius: 9px;
  background: #f7fafc;
}
.instruction-box {
  background: #f2faf5;
  border-color: #d9eee1;
}
.instruction-box h4, .example-box h4 {
  margin: 0 0 9px;
  color: #17384d;
  font-size: .94rem;
}
.instruction-box ol {
  margin: 0;
  padding-left: 22px;
  color: #344e63;
}
.instruction-box li {
  padding: 3px 0 3px 3px;
  font-size: .88rem;
  line-height: 1.5;
}
.message-example {
  padding: 12px 14px;
  border: 1px solid #d5e1eb;
  border-radius: 8px;
  background: #fff;
}
.message-example p, .example-box > p {
  margin: 8px 0 0;
  color: #526777;
  font-size: .9rem;
  line-height: 1.6;
}
.shortcut {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: #eaf2f8;
  color: #17384d;
  font-size: .8rem;
  font-weight: 700;
}
.resource-link {
  margin-top: 14px !important;
}
.resource-link a {
  color: #0877f9;
  font-weight: 700;
  text-decoration: none;
}
.web-callout {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 15px;
  padding: 16px;
  border-radius: 10px;
  background: #fff7e9;
}
.web-callout-icon {
  color: #173f69;
  font-size: 1.8rem;
  text-align: center;
}
.web-callout h4 {
  margin: 0 0 4px;
  color: #17384d;
  font-size: .95rem;
}
.web-callout p {
  margin: 0;
  color: #526777;
  font-size: .82rem;
  line-height: 1.45;
  max-width: 600px;
}
.web-callout .button {
  white-space: nowrap;
  padding: 11px 15px;
  font-size: .85rem;
}
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #627587;
  font-size: .82rem;
}
.site-footer a {
  color: #0877f9;
  text-decoration: none;
}
.footer-brand {
  font-weight: 800;
  color: #10294a !important;
  font-size: 1.1rem;
}
@media (max-width: 760px) {
  .detail-header {
    padding-inline: 18px;
    min-height: 64px;
    gap: 12px;
  }
  .detail-header .brand img {
    max-width: 150px;
  }
  .back-home {
    font-size: .78rem;
  }
  .detail-hero {
    padding: 26px 18px 18px;
  }
  .detail-hero h1 {
    font-size: 1.8rem;
  }
  .detail-content {
    padding: 10px 18px 0;
  }
  .when-web {
    margin: 20px 18px 38px;
    padding: 22px 20px;
    border-radius: 14px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 7px;
  }
  .guide-tab {
    grid-template-columns: 27px 1fr;
    gap: 7px;
    padding: 10px 8px;
  }
  .tab-icon {
    width: 25px;
    height: 25px;
  }
  .guide-tab strong {
    font-size: .78rem;
  }
  .guide-tab small {
    font-size: .7rem;
  }
  .guide-panel-wrap {
    padding: 17px;
  }
  .guide-panel h3 {
    font-size: 1.25rem;
  }
  .web-callout {
    grid-template-columns: 30px 1fr;
  }
  .web-callout .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-inline: 18px;
  }
}
/* Override explicito para que el bloque final sea una tarjeta, no una franja full-width. */
.when-web.section-blue {
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 24px auto 56px;
  padding: 25px 30px 22px;
  border: 1px solid #deebf4;
  border-radius: 18px;
  background: #f1f8fc;
  overflow: hidden;
}
.when-web.section-blue .when-web-inner {
  max-width: 920px;
  margin: 0 auto;
}
.when-web.section-blue h2 {
  max-width: 800px;
  margin: 6px 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.25;
}
.when-web.section-blue .when-web-inner > p:not(.eyebrow):not(.honest-note) {
  margin: 0;
  font-size: .94rem;
  line-height: 1.6;
}
.when-web.section-blue .when-web-actions {
  margin-top: 13px;
}
.when-web.section-blue .honest-note {
  margin-top: 13px;
  padding-top: 11px;
  font-size: .82rem;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .when-web.section-blue {
    width: calc(100% - 36px);
    margin: 20px auto 38px;
    padding: 20px 18px;
    border-radius: 14px;
  }
}
/* Identidad cromática de la situación: “Me preguntan siempre lo mismo” */
.guide-tab.is-active {
  background: #eaf6fd;
  box-shadow: inset 3px 0 #67B7E8;
}
.tab-icon {
  color: #67B7E8;
}
.panel-kicker {
  background: #eaf6fd;
  color: #276b96;
}
.instruction-box {
  border-color: #d8edf9;
  background: #f5fbfe;
}
.message-example {
  border-color: #c9e5f5;
}
/* Ajustes finales: paleta suave de la situación celeste */
.guide-tab.is-active {
  background: #edf7fd;
  box-shadow: inset 3px 0 #67B7E8;
}
.tab-icon {
  color: #67B7E8;
}
.panel-kicker {
  background: #edf7fd;
  color: #276b96;
}
.instruction-box {
  border-color: #d6eaf7;
  background: #f4fafe;
}
.message-example {
  border-color: #c6e4f5;
}
.example-box {
  border-color: #d6eaf7;
  background: #f7fbfe;
}
/* Pie informativo centrado y compacto */
.when-web {
  max-width: 1120px;
  margin: 22px auto 54px;
  padding: 26px 34px;
  border-radius: 18px;
  background: #f1f8fc;
  border: 1px solid #d6eaf7;
  text-align: center;
}
.when-web-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.when-web .eyebrow {
  text-align: center;
}
.when-web h2 {
  margin: 8px auto 14px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.25;
  text-align: center;
}
.when-web-inner > p:not(.eyebrow):not(.honest-note) {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
  font-size: .96rem;
  line-height: 1.65;
  text-align: center;
}
.when-web-actions {
  display: none !important;
}
.honest-note {
  max-width: 820px;
  margin: 20px auto 0;
  padding: 13px 17px;
  border: 1px solid #c5e1f3;
  border-radius: 10px;
  background: #e5f3fc;
  color: #17384d;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}
@media (max-width: 760px) {
  .when-web {
    margin: 20px 18px 38px;
    padding: 22px 18px;
    border-radius: 14px;
  }
  .when-web h2 {
    font-size: 1.35rem;
  }
  .honest-note {
    padding: 12px;
  }
}
/* Corrección de centrado del bloque final "¿Y una página web?" */
.when-web {
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 1120px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.when-web-inner {
  width: 100%;
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.when-web-inner > * {
  width: 100%;
  box-sizing: border-box;
  text-align: center !important;
}
.when-web .eyebrow, .when-web h2, .when-web-inner > p, .when-web .honest-note {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.when-web h2 {
  max-width: 900px;
}
.when-web-inner > p:not(.eyebrow):not(.honest-note), .when-web .honest-note {
  max-width: 820px;
}
@media (max-width: 760px) {
  .when-web {
    width: calc(100% - 36px);
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* Paletas suaves por situación: el color identifica la página sin competir con Zeta. */
.situation-budget .guide-tab.is-active {
  background: #f3effd;
  box-shadow: inset 3px 0 #9B8AE8;
}
.situation-budget .tab-icon {
  color: #9B8AE8;
}
.situation-budget .panel-kicker {
  background: #f3effd;
  color: #6653b0;
}
.situation-budget .instruction-box {
  border-color: #e2dafb;
  background: #faf8ff;
}
.situation-budget .example-box {
  border-color: #e2dafb;
  background: #fcfbff;
}
.situation-budget .message-example {
  border-color: #d8cdf8;
}
.situation-budget .web-callout {
  background: #f7f3ff;
  border: 1px solid #e5dcfb;
}
.situation-budget .when-web.section-blue {
  background: #f7f3ff;
  border-color: #e5dcfb;
}
.situation-budget .honest-note {
  background: #f0eafd;
  border-color: #ded2f8;
}
.situation-social .guide-tab.is-active {
  background: #edf8f5;
  box-shadow: inset 3px 0 #54B8A5;
}
.situation-social .tab-icon {
  color: #54B8A5;
}
.situation-social .panel-kicker {
  background: #edf8f5;
  color: #277f70;
}
.situation-social .instruction-box {
  border-color: #d1eee7;
  background: #f5fcfa;
}
.situation-social .example-box {
  border-color: #d1eee7;
  background: #fbfefd;
}
.situation-social .message-example {
  border-color: #bfe6dc;
}
.situation-social .web-callout {
  background: #eff9f6;
  border: 1px solid #d1eee7;
}
.situation-social .when-web.section-blue {
  background: #eff9f6;
  border-color: #d1eee7;
}
.situation-social .honest-note {
  background: #e4f5f0;
  border-color: #c7e9e0;
}
.situation-start .guide-tab.is-active {
  background: #fff7e9;
  box-shadow: inset 3px 0 #E5B15C;
}
.situation-start .tab-icon {
  color: #D49A37;
}
.situation-start .panel-kicker {
  background: #fff4df;
  color: #91631b;
}
.situation-start .instruction-box {
  border-color: #f1dfbd;
  background: #fffbf3;
}
.situation-start .example-box {
  border-color: #f1dfbd;
  background: #fffdf9;
}
.situation-start .message-example {
  border-color: #ead3a7;
}
.situation-start .web-callout {
  background: #fff8eb;
  border: 1px solid #f1dfbd;
}
.situation-start .when-web.section-blue {
  background: #fff8eb;
  border-color: #f1dfbd;
}
.situation-start .honest-note {
  background: #fff1d7;
  border-color: #ecd7ad;
}
.situation-reach .guide-tab.is-active {
  background: #eef4ff;
  box-shadow: inset 3px 0 #4F86E8;
}
.situation-reach .tab-icon {
  color: #4F86E8;
}
.situation-reach .panel-kicker {
  background: #eef4ff;
  color: #2f63b4;
}
.situation-reach .instruction-box {
  border-color: #d7e4fb;
  background: #f6f9ff;
}
.situation-reach .example-box {
  border-color: #d7e4fb;
  background: #fbfcff;
}
.situation-reach .message-example {
  border-color: #c8d9f8;
}
.situation-reach .web-callout {
  background: #f0f5ff;
  border: 1px solid #d7e4fb;
}
.situation-reach .when-web.section-blue {
  background: #f0f5ff;
  border-color: #d7e4fb;
}
.situation-reach .honest-note {
  background: #e6efff;
  border-color: #cbdcf9;
}
