:root {
  --bg-deep: #0c0907;
  --bg-warm: #1a120e;
  --bg-card: #ffffff;
  --bg-glass: rgba(145, 132, 118, 0.38);
  --bg-glass-hover: rgba(160, 146, 132, 0.5);
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dark: #121212;
  --text-body: #3a3a3a;
  --border-soft: rgba(255, 255, 255, 0.18);
  --border-dark: #d8d8d8;
  --accent-btn: #ffffff;
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 999px;
  --font: "Inter", "Inter Fallback", "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  /* Article body: one warm sand/ink system */
  --sand: #f5f1ec;
  --sand-2: #efe9e2;
  --sand-line: #e5ddd4;
  --ink: #1a120e;
  --ink-soft: #5c534a;
  --topic-accent: #6a5344;
  --topic-soft: var(--sand);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: #f4f1ee;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease);
}

/* Cabecera opaca: interiores, scroll, o cuando el hero ya no cubre el nav.
   Sin backdrop-filter: crea containing block y rompe el menú móvil (position:fixed). */
body:has(.page-hero) .site-header,
body.has-page-hero .site-header,
body:not(:has(.hero)) .site-header,
.site-header.is-scrolled {
  background: #100c0a;
}

.site-header__inner {
  width: min(100% - 1.5rem, 1180px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  height: 46px;
  padding: 0 1.05rem 0 0.9rem;
  border-radius: 12px;
  background: #fff;
  color: #121212;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  z-index: 1002;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.logo__mark {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #e86a2b;
}

.logo__mark svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 46px;
  min-width: 42px;
  padding: 0 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 46px;
  margin-left: auto;
  padding: 0 1.25rem;
  border-radius: 12px;
  background: #fff;
  color: #121212;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  z-index: 1002;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-header.is-nav-open .nav-toggle span {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-light);
  overflow: hidden;
  background: var(--bg-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 7, 5, 0.62) 0%, rgba(10, 7, 5, 0.28) 42%, rgba(10, 7, 5, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 7, 5, 0.35) 0%, rgba(10, 7, 5, 0.08) 28%, rgba(10, 7, 5, 0.45) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 1280px);
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.8rem;
  padding-bottom: 0.5rem;
  max-width: 640px;
}

.hero-rotator {
  position: relative;
  height: 2.2em;
  overflow: hidden;
}

.hero-rotator__line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #fff;
  text-shadow: none;
  filter: none;
  -webkit-text-stroke: 0;
  transform: translateY(108%);
  opacity: 0;
  transition: transform 0.85s var(--ease), opacity 0.85s var(--ease);
  pointer-events: none;
}

.hero-rotator__line.is-prev {
  transform: translateY(-108%);
  opacity: 0;
}

.hero-rotator__line.is-active {
  transform: translateY(0);
  opacity: 1;
  z-index: 2;
}

.hero-rotator__line.is-next {
  transform: translateY(100%);
  opacity: 0;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.15rem;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn--light {
  background: var(--accent-btn);
  color: #111;
  width: fit-content;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.btn--light:active {
  transform: translateY(0);
}

.btn svg {
  width: 14px;
  height: 14px;
}

.hero-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(100%, 390px);
  justify-self: end;
  align-self: center;
}

.accordion-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
}

.accordion-item:hover:not(.is-open) {
  background: var(--bg-glass-hover);
  transform: translateY(-1px);
}

.accordion-item.is-open {
  background: #fff;
  color: var(--text-dark);
  cursor: default;
  box-shadow: var(--shadow-card);
}

.accordion-item__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  min-height: 68px;
}

.accordion-item__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ddd;
}

.accordion-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accordion-item__title {
  flex: 1;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.accordion-item__action {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: inherit;
  opacity: 0.85;
  flex-shrink: 0;
}

.accordion-item__action svg {
  width: 14px;
  height: 14px;
}

.accordion-item__action--close {
  display: none;
}

.accordion-item.is-open .accordion-item__action--close {
  display: grid;
}

.accordion-item.is-open .accordion-item__action--open {
  display: none;
}

.accordion-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.accordion-item.is-open .accordion-item__body {
  grid-template-rows: 1fr;
}

.accordion-item__body-inner {
  overflow: hidden;
}

.accordion-item__text {
  padding: 0 1.15rem 0.35rem 4.05rem;
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.55;
}

.accordion-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem 1.15rem 1.15rem 4.05rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid #d0d0d0;
  color: #333;
  font-size: 0.78rem;
  font-weight: 500;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tag:hover {
  background: #f7f7f7;
  border-color: #bdbdbd;
}

.section {
  padding: 5rem 0;
}

.section--intro {
  background: #fff;
  padding: 4.5rem 0 5.5rem;
}

.intro-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.intro-bar__label {
  flex-shrink: 0;
  font-size: 0.84rem;
  color: #8a8a8a;
  letter-spacing: -0.01em;
}

.intro-bar__line {
  flex: 1;
  height: 0;
  border-top: 1px dashed #cfcfcf;
  min-width: 2rem;
}

.intro-bar__marks {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-shrink: 0;
}

.intro-bar__marks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #111;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.intro-bar__marks svg {
  width: 16px;
  height: 16px;
}

.intro-statement {
  max-width: 18.5ch;
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #141414;
  text-shadow: none;
}

.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.55rem;
  vertical-align: middle;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: #141414;
  white-space: nowrap;
  transform: translateY(-0.28em);
  transition: opacity 0.2s ease;
}

.intro-cta:hover {
  opacity: 0.72;
}

.intro-cta__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.intro-cta:hover .intro-cta__icon {
  transform: translateX(3px);
  background: #000;
}

.intro-cta__icon svg {
  width: 14px;
  height: 14px;
}

.intro-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid #ececec;
}

.intro-fact h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  color: #111;
}

.intro-fact p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #5c5c5c;
  max-width: 34ch;
}

.section--features {
  background: #050505;
  color: #fff;
  padding: 5rem 0 5.5rem;
}

.features-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.features-eyebrow {
  color: #ff6a2b;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.features-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.features-head p {
  margin-top: 0.75rem;
  color: #a0a0a0;
  max-width: 36rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0b0b;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.3s ease;
}

.feature-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: rgba(255, 106, 43, 0.35);
}

.feature-card__top {
  padding: 1.55rem 1.45rem 1.2rem;
}

.feature-card__index {
  display: inline-block;
  color: #ff6a2b;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.feature-card__top h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
  text-shadow: none;
}

.feature-card__top p {
  color: #9a9a9a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.feature-card__visual {
  position: relative;
  flex: 1;
  min-height: 290px;
  margin-top: auto;
}

.feature-card__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.feature-glass {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.feature-glass__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.feature-glass__row strong {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-transform: none;
}

.feature-glass__value {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.feature-meter {
  margin-bottom: 0.65rem;
}

.feature-meter span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.3rem;
}

.feature-meter__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  cursor: pointer;
  touch-action: none;
  outline: none;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.feature-meter__track:hover,
.feature-meter__track:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.18);
}

.feature-meter__track.is-active {
  box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.28);
}

.feature-meter__track i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5a1f, #ff8a4c);
  box-shadow: 0 0 12px rgba(255, 106, 43, 0.55);
  pointer-events: none;
}

.feature-meter__track i::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff6a2b;
  border: 2px solid #fff;
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(255, 106, 43, 0.75);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.feature-meter__track:hover i::after,
.feature-meter__track.is-active i::after {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 18px rgba(255, 106, 43, 0.95);
}

.feature-bars {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  height: 42px;
  margin-top: 0.85rem;
}

.feature-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.18);
  height: 0;
  transform-origin: bottom;
}

.feature-bars span.is-hot {
  background: rgba(255, 255, 255, 0.82);
}

.feature-bars__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-flow {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
  position: relative;
  padding-left: 0.35rem;
}

.feature-flow::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.feature-flow__node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 106, 43, 0.35);
  box-shadow: none;
  position: relative;
  z-index: 1;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-flow__node.is-lit {
  background: #ff6a2b;
  box-shadow: 0 0 14px rgba(255, 106, 43, 0.8);
  transform: scale(1.15);
  animation: featurePulse 1.6s ease-in-out infinite;
}

.feature-flow__pill {
  margin-left: 1.1rem;
  margin-top: -1.15rem;
  margin-bottom: 0.35rem;
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 43, 0.35);
  background: rgba(20, 20, 20, 0.75);
  color: #ff8f57;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.feature-flow__pill:hover,
.feature-flow__pill:focus-visible {
  transform: translateX(4px);
  border-color: rgba(255, 106, 43, 0.7);
  box-shadow: 0 0 16px rgba(255, 106, 43, 0.25);
  outline: none;
}

.feature-flow__pill.is-active {
  background: rgba(255, 106, 43, 0.18);
  border-color: #ff6a2b;
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 106, 43, 0.35);
}

.feature-flow__glow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 106, 43, 0.35);
  box-shadow: none;
  margin-top: 0.2rem;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-flow__glow.is-lit {
  background: #ff6a2b;
  box-shadow: 0 0 22px rgba(255, 106, 43, 0.85);
  transform: scale(1.12);
  animation: featurePulse 1.4s ease-in-out infinite;
}

.feature-heat {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin-bottom: 0.55rem;
}

.feature-heat i,
.feature-heat button {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease);
}

.feature-heat i.on,
.feature-heat button.on {
  background: #ff6a2b;
  box-shadow: 0 0 10px rgba(255, 106, 43, 0.55);
}

.feature-heat button:hover,
.feature-heat button:focus-visible {
  transform: scale(1.12);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 106, 43, 0.35);
}

.feature-heat button.is-pop {
  animation: featurePop 0.32s var(--ease);
}

@keyframes featurePulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 106, 43, 0.45);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 106, 43, 0.95);
  }
}

@keyframes featurePop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1);
  }
}

.section--articles {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0d1118;
  padding: 5.5rem 0 4.5rem;
}

.section--articles__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section--articles__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.section--articles__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(20, 28, 40, 0.15), rgba(8, 10, 16, 0.82) 70%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.55), rgba(8, 10, 16, 0.88));
  z-index: 1;
}

.section--articles > .container {
  position: relative;
  z-index: 2;
}

.articles-carousel__head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.articles-carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.1rem;
  text-shadow: none;
}

.articles-carousel__head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-shadow: none;
}

.articles-carousel__head p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  text-shadow: none;
}

.articles-carousel {
  position: relative;
}

.articles-carousel__stage {
  position: relative;
  height: 390px;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.articles-carousel__stage.is-dragging {
  cursor: grabbing;
}

.articles-carousel__track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(250px, 58vw);
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1f28;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease), opacity 0.45s ease, filter 0.45s ease;
  will-change: transform, opacity;
}

.carousel-card.is-active {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.carousel-card a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  position: relative;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.carousel-card__meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.3rem;
  text-shadow: none;
}

.carousel-card__title {
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
  text-shadow: none;
}

.articles-carousel__nav {
  position: absolute;
  inset: 50% 0 auto;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
  padding: 0 0.25rem;
}

.articles-carousel__nav button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.articles-carousel__nav button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.articles-carousel__nav svg {
  width: 16px;
  height: 16px;
}

.articles-carousel__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.articles-carousel__dots {
  display: flex;
  gap: 0.45rem;
}

.articles-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.articles-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.articles-carousel__caption {
  min-height: 1.4em;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  text-shadow: none;
}

.articles-carousel__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.articles-carousel__avatars {
  display: flex;
}

.articles-carousel__avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(15, 18, 24, 0.9);
  background-size: cover;
  background-position: center;
  margin-left: -8px;
}

.articles-carousel__avatars span:first-child {
  margin-left: 0;
}

.articles-carousel__trust strong {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
}

.articles-carousel__stars {
  display: inline-flex;
  gap: 2px;
  color: #f5c451;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.page-hero {
  background: var(--bg-warm);
  color: #fff;
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 120, 0.18), transparent 70%);
  pointer-events: none;
}

.page-hero--article {
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(232, 106, 43, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 180, 120, 0.1), transparent 50%),
    linear-gradient(165deg, #140f0b 0%, #1a120e 48%, #221811 100%);
}

.page-hero--article::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
  opacity: 0.55;
}

.page-hero--article .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 18ch;
}

.page-hero--article h1 {
  font-family: var(--font-display);
  font-weight: 400;
  max-width: 16ch;
  text-wrap: balance;
}

.page-hero p {
  margin-top: 1rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.page-hero--article .article-deck {
  margin-top: 1.15rem;
  max-width: 34rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.article-topic {
  margin: 0 0 0.85rem;
}

.article-topic a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.article-topic a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumbs a:hover {
  color: #fff;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

.page-hero--article .article-byline {
  gap: 0.4rem;
}

.page-hero--article .article-byline > span,
.page-hero--article .article-byline > time {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero--article .article-byline > span[aria-hidden] {
  padding: 0;
  border: 0;
  background: none;
  opacity: 0.45;
}

.article-related {
  margin: 2rem 0;
  padding: 1.25rem 4.5rem 1.25rem 1.35rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
  position: relative;
  overflow: hidden;
}

.article-related h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.article-related ul {
  margin: 0.65rem 0 0.85rem 1.1rem;
}

.article-related a {
  color: #1a120e;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.article-author {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin: 2.25rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid #ebe6e1;
}

.article-author h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.article-author p {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.article-author a {
  color: #1a120e;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.article-author__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a120e;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aside-card__note {
  margin: 0;
  font-size: 0.86rem;
  color: #666;
  line-height: 1.45;
}

.prose a {
  color: #1a120e;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.section--article {
  position: relative;
  padding-top: 2.75rem;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(232, 106, 43, 0.05), transparent 55%),
    #f4f1ee;
}

.section--article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 18, 14, 0.08), transparent);
}

.prose {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  line-height: 1.75;
}

.prose--guide {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 50px rgba(26, 18, 14, 0.06);
  background:
    linear-gradient(180deg, #fffefc 0%, #ffffff 42%, #fffcf8 100%);
}

.prose h2 {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  margin: 1.75rem 0 0.75rem;
  padding-top: 0;
  line-height: 1.25;
  color: #1a120e;
}

/* Разбивка только у H2 верхнего уровня статьи */
.prose > h2 {
  margin: 2.1rem 0 0.85rem;
  padding-top: 1.35rem;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.prose > h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #ebe6e1, transparent 90%);
}

.prose > h2::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 2.75rem;
  height: 7px;
  border-radius: 999px;
  background: var(--topic-accent, #1a120e);
}

.article-secnum {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--topic-accent, #6a5344) 14%, #fff);
  color: var(--topic-accent, #6a5344);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.article-sectitle {
  flex: 1 1 auto;
  min-width: 0;
}

.prose > p.article-lead {
  font-size: 1.14rem;
  line-height: 1.65;
  color: #2f2924;
  margin-bottom: 1.15rem;
}

.prose h3.article-subhead {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--topic-accent, #6a5344);
}

.prose h3.article-subhead::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--topic-accent, #6a5344);
  transform: rotate(45deg);
  opacity: 0.7;
}

/* Заголовки внутри врезок — без «дыр» */
.prose aside h2,
.prose section h2,
.prose .article-tldr h2,
.prose .article-learn h2,
.prose .article-practice h2,
.prose .article-myths h2,
.prose .article-decide h2,
.prose .article-next h2,
.prose .article-glossary h2,
.prose .article-checklist h2,
.prose .article-poll h2,
.prose .article-faq h2,
.prose .article-cta h2,
.prose .article-comments h2,
.prose .article-author h2,
.prose .article-related h2,
.prose .article-sources h2,
.prose .article-neighbors h2 {
  margin: 0 0 0.55rem;
  padding-top: 0;
  font-size: 1.08rem;
}

.prose h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 0.55rem;
  color: #2a221c;
}

.prose p {
  margin: 0 0 0.85rem;
  color: #3a342e;
  font-size: 1.045rem;
  line-height: 1.7;
}

/* Красная строка на всех абзацах основного текста */
.prose > p {
  text-indent: 1.75em;
}

.prose > p.article-sidenote,
.prose > p.article-tags,
.prose > p.article-comments__prompt {
  text-indent: 0;
}

.prose > p.article-lead {
  text-indent: 0;
}

.prose > p.article-sidenote {
  margin-top: 0.85rem;
  margin-bottom: 1rem;
}

/* Внутри врезок / карточек отступа нет */
.prose aside p,
.prose section p,
.prose figure p,
.prose label p,
.prose .article-practice p,
.prose .article-decide p,
.prose .article-faq p,
.prose .article-cta p,
.prose .article-author p,
.prose .article-next p,
.prose .article-learn p,
.prose .article-myths p,
.prose .article-checklist p,
.prose .article-poll p,
.prose .article-glossary p,
.prose .article-callout p {
  text-indent: 0;
}

.prose ul,
.prose ol {
  margin: 0.2rem 0 1rem 1.2rem;
  list-style: disc;
  color: #3a342e;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.4rem;
  padding-left: 0.15rem;
  line-height: 1.6;
}

.prose li::marker {
  color: var(--topic-accent, #8a7a6a);
}

.prose figure {
  margin: 1.25rem 0 1.35rem;
}

.prose figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: #777;
}

.prose img {
  width: 100%;
  border-radius: 16px;
}

/* Воздух вокруг врезок внутри потока текста */
.prose > aside,
.prose > section:not(.article-neighbors):not(.article-author):not(.article-comments):not(.article-cta) {
  margin-top: 1.1rem;
  margin-bottom: 1.1rem;
}

.article-neighbors {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid #ebe6e1;
}

.article-neighbors h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.article-neighbors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.article-neighbors__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 1.05rem 1.15rem;
  border-radius: 16px;
  background: #f7f4f1;
  color: #121212;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.prose .article-neighbors a,
.prose .article-neighbors__link,
.prose .article-neighbors__title,
.prose .article-neighbors__label {
  text-decoration: none;
}

.article-neighbors__link:hover {
  background: #efeae4;
  transform: translateY(-2px);
}

.article-neighbors__link:last-child {
  text-align: right;
  align-items: flex-end;
}

.article-neighbors__label {
  display: block;
  width: 100%;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  font-weight: 550;
}

.article-neighbors__title {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #121212;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.container.article-layout {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-right: 1.25rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
}

.article-layout .prose {
  border-radius: 0 24px 24px 0;
  min-width: 0;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0.25rem;
}

.aside-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(26, 18, 14, 0.04);
  position: relative;
  overflow: hidden;
}

.aside-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.15rem;
  right: 1.15rem;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #e86a2b, rgba(232, 106, 43, 0.15));
}

.aside-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  padding-top: 0.25rem;
}

.aside-card a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.92rem;
}

.aside-card a:last-child {
  border-bottom: 0;
}

.aside-card a:hover {
  color: #000;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-card,
.form-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-card h2,
.form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.contact-card p {
  color: #555;
  margin-bottom: 0.55rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 550;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.btn--dark {
  background: #111;
  color: #fff;
  justify-content: center;
}

.btn--dark:hover {
  background: #000;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about-media {
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  background: #100c0a;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.site-footer p,
.site-footer li {
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-disclaimer {
  position: relative;
  width: min(100%, 46rem);
  margin: 0.25rem auto 1.85rem;
  padding: 1.55rem 1.5rem 1.35rem;
  text-align: center;
  border-radius: 18px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(232, 106, 43, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.footer-disclaimer::before {
  content: "Aviso";
  display: inline-block;
  margin: 0 0 0.95rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 106, 43, 0.35);
  background: rgba(232, 106, 43, 0.12);
  color: #ffb48a;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-disclaimer::after {
  content: "";
  position: absolute;
  inset: auto 18% -40% 18%;
  height: 55%;
  background: radial-gradient(circle, rgba(232, 106, 43, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.footer-disclaimer p {
  margin: 0 auto 0.75rem;
  max-width: 40rem;
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.66);
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
}

.footer-disclaimer__alert {
  margin: 1rem auto !important;
  padding: 0.85rem 0.35rem;
  max-width: 38rem;
  border: 0;
  border-top: 1px solid rgba(232, 106, 43, 0.45);
  border-bottom: 1px solid rgba(232, 106, 43, 0.28);
  color: rgba(255, 245, 238, 0.9) !important;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1.5rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.82rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  max-width: 720px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 1.15rem 1.25rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner h2 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__actions .btn {
  padding: 0.65rem 0.95rem;
  font-size: 0.85rem;
}

.btn--ghost {
  border: 1px solid #ddd;
  background: #fff;
}

.cookie-banner__settings {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #555;
}

.legal-list {
  display: grid;
  gap: 0.35rem;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 980px) {
  .hero__content {
    grid-template-columns: 1fr;
    align-items: end;
    padding-bottom: 2.5rem;
  }

  .hero__copy {
    gap: 1.8rem;
    max-width: none;
  }

  .hero-rotator {
    height: 2.4em;
  }

  .hero-accordion {
    width: 100%;
    justify-self: stretch;
  }

  .about-grid,
  .contact-grid,
  .article-layout,
  .footer-grid,
  .intro-facts,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .container.article-layout {
    width: min(100% - 1.4rem, var(--max));
    margin-inline: auto;
    padding-right: 0;
  }

  .article-layout .prose {
    border-radius: 24px;
  }

  .feature-card {
    min-height: 520px;
  }

  .articles-carousel__stage {
    height: 340px;
  }

  .carousel-card {
    width: min(210px, 62vw);
  }

  .intro-bar {
    flex-wrap: wrap;
  }

  .intro-bar__line {
    order: 3;
    flex-basis: 100%;
  }

  .intro-bar__marks {
    margin-left: auto;
  }

  .intro-statement {
    max-width: none;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 900px) {
  .article-author {
    grid-template-columns: 1fr;
  }

  .article-neighbors__grid {
    grid-template-columns: 1fr;
  }

  .article-neighbors__link:last-child {
    text-align: left;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    position: relative;
    z-index: 1102;
  }

  .site-header {
    /* solid, sin filter/transform que atrape fixed */
    background: #100c0a;
  }

  .site-header__inner {
    position: relative;
    z-index: 1102;
    width: min(100% - 1.4rem, 1180px);
  }

  .site-header__bar {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header__bar .logo {
    max-width: min(100%, 220px);
    z-index: 1102;
  }

  /* Cerrado: solo logo + hamburguesa */
  .nav-sep,
  .site-nav,
  .nav-cta {
    display: none !important;
  }

  /* Abierto: overlay a pantalla completa (fuera del flujo del header) */
  .site-header.is-nav-open .site-nav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.7rem;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: 5.5rem 1.4rem 7.5rem;
    background: #100c0a;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header.is-nav-open .site-nav a {
    height: 52px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .site-header.is-nav-open .nav-cta {
    display: flex !important;
    position: fixed;
    left: 1.4rem;
    right: 1.4rem;
    bottom: max(1.4rem, env(safe-area-inset-bottom));
    z-index: 1101;
    width: auto;
    margin: 0;
    height: 52px;
  }

  .site-header.is-nav-open .nav-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
  }

  .section__head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .container,
  .site-header__inner,
  .hero__content {
    width: min(100% - 1.4rem, var(--max));
  }

  .hero-rotator__line {
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }

  .accordion-item__text,
  .accordion-item__tags {
    padding-left: 1.15rem;
  }

  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }
}

.section--catalog {
  background: #f7f4f1;
  padding-top: 2.5rem;
}

.master-guide {
  margin: 0 0 2.25rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(232, 106, 43, 0.1), transparent 55%),
    #fff;
  border: 1px solid rgba(26, 18, 14, 0.06);
  box-shadow: 0 14px 40px rgba(26, 18, 14, 0.05);
}

.master-guide__head {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.master-guide__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e86a2b;
}

.master-guide__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a120e;
}

.master-guide__lead {
  margin: 0.75rem 0 0;
  color: #5c534a;
  font-size: 1.02rem;
  line-height: 1.55;
}

.master-guide__blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.master-guide__block {
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
}

.master-guide__block h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.master-guide__block h3 a {
  color: #1a120e;
  text-decoration: none;
}

.master-guide__block h3 a:hover {
  color: #e86a2b;
}

.master-guide__block > p {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #6a625a;
}

.master-guide__block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.master-guide__block li a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #2a221c;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.master-guide__block li a:hover {
  color: #121212;
  border-bottom-color: rgba(232, 106, 43, 0.35);
}

.master-guide__foot {
  margin: 1.15rem 0 0;
  font-size: 0.86rem;
  color: #777;
}

@media (max-width: 980px) {
  .master-guide__blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .master-guide__blocks {
    grid-template-columns: 1fr;
  }
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
  position: sticky;
  top: calc(var(--header-h) + 0.5rem);
  z-index: 20;
  padding: 0.55rem;
  border-radius: 14px;
  background: rgba(247, 244, 241, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.topic-filter {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #d8d2cb;
  background: #fff;
  color: #222;
  font-size: 0.88rem;
  font-weight: 550;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.topic-filter:hover,
.topic-filter:focus-visible {
  border-color: #111;
  outline: none;
  transform: translateY(-1px);
}

.topic-filter.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.topic-block {
  margin-bottom: 2.75rem;
}

.topic-block__head {
  margin-bottom: 1.15rem;
}

.topic-block__head h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}

.topic-block__head p {
  color: #666;
  margin-top: 0.35rem;
  max-width: 40rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
  min-width: 0;
  height: 100%;
}

.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.catalog-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e4df;
  flex-shrink: 0;
}

.catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.catalog-card:hover .catalog-card__media img {
  transform: scale(1.04);
}

.catalog-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.catalog-card__meta {
  font-size: 0.78rem;
  color: #7a7a7a;
}

.catalog-card__body h3 {
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.catalog-card__body p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.45;
}

.catalog-empty {
  text-align: center;
  color: #666;
  padding: 2rem 0;
}

@media (max-width: 980px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Article ideal page enhancements ——— */
.reading-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1100;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.reading-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e86a2b, #ffb478);
}

.article-usefulness {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}

.page-hero .article-usefulness {
  color: rgba(255, 255, 255, 0.78);
}

.article-usefulness__actions {
  display: flex;
  gap: 0.4rem;
}

.article-usefulness__btn {
  height: 34px;
  min-width: 52px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 600;
}

.page-hero .article-usefulness__btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.article-usefulness__btn.is-active {
  background: #1a120e;
  border-color: #1a120e;
  color: #fff;
}

.article-usefulness__note {
  margin: 0;
  width: 100%;
  font-size: 0.82rem;
  color: #777;
}

.page-hero .article-usefulness__note {
  color: rgba(255, 255, 255, 0.6);
}

.aside-card--toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.article-toc__list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.article-toc__list a {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  color: #555;
  font-size: 0.86rem;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc__list a:hover,
.article-toc__list a.is-active {
  background: #f3f0ec;
  color: #121212;
}

.article-tldr {
  margin: 1rem 0 1.15rem;
  padding: 0.95rem 1.1rem;
  padding-right: 4.25rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
  position: relative;
  overflow: hidden;
}

.article-tldr h2 {
  margin: 0 0 0.45rem;
  padding: 0;
  font-size: 1.05rem;
}

.article-callout {
  margin: 1rem 0;
  padding: 0.95rem 3.4rem 0.95rem 3.15rem;
  border-radius: 14px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
  position: relative;
  overflow: hidden;
}

.article-callout__mark {
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--sand-line);
  color: var(--topic-accent, #6a5344);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.article-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.article-callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.article-callout--tip {
  background: #f7f3ee;
}

.article-callout--tip .article-callout__mark {
  color: #e86a2b;
}

.article-callout--important {
  background: #fff7ef;
}

.article-callout--important .article-callout__mark {
  color: #c47a3a;
}

.article-callout--example {
  background: #f3f6f2;
}

.article-callout--example .article-callout__mark {
  color: #5f7d5a;
}

.article-callout--error {
  background: #faf2f0;
}

.article-callout--error .article-callout__mark {
  color: #a45a4a;
}

.article-callout--notfor {
  background: var(--sand);
}

.article-checklist {
  margin: 1.75rem 0;
  padding: 1.2rem 1.25rem;
  padding-right: 4.5rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
  position: relative;
  overflow: hidden;
}

/* Firm mark (estrella del logo) en huecos de bloques */
.prose {
  --brand-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e86a2b' d='M12 2.2l1.7 6.2H20l-5.1 3.8 1.9 6.2L12 14.9 7.2 18.4l1.9-6.2L4 8.4h6.3L12 2.2z'/%3E%3C/svg%3E");
}

.article-tldr::after,
.article-callout::after,
.article-checklist::after,
.article-related::after,
.article-poll::after,
.prose > h3 + ul::after,
.prose > h3 + ol::after,
.prose ul.article-ficha::after,
.prose ol.article-ficha::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 3.1rem;
  height: 3.1rem;
  transform: translateY(-50%);
  background: var(--brand-star) center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.article-checklist::after,
.article-tldr::after,
.article-related::after,
.article-poll::after {
  right: 1rem;
  width: 3.6rem;
  height: 3.6rem;
  opacity: 0.12;
}

.article-callout::after {
  width: 2.35rem;
  height: 2.35rem;
  opacity: 0.18;
}

.prose > h3 + ul,
.prose > h3 + ol,
.prose ul.article-ficha,
.prose ol.article-ficha {
  position: relative;
  margin: 0.35rem 0 1.15rem;
  padding: 0.95rem 4.75rem 0.95rem 1.35rem;
  list-style-position: outside;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(232, 106, 43, 0.04), transparent 42%),
    var(--sand);
  border: 1px solid var(--sand-line);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.prose > h3 + ul,
.prose ul.article-ficha {
  margin-left: 0;
  padding-left: 2.1rem;
}

.prose > h3 + ol,
.prose ol.article-ficha {
  margin-left: 0;
  padding-left: 2.25rem;
}

.prose > h3 + ul::after,
.prose > h3 + ol::after,
.prose ul.article-ficha::after,
.prose ol.article-ficha::after {
  right: 1rem;
  width: 3.4rem;
  height: 3.4rem;
  opacity: 0.14;
}

@media (max-width: 640px) {
  .article-tldr,
  .article-callout,
  .article-checklist,
  .article-related,
  .article-poll,
  .prose > h3 + ul,
  .prose > h3 + ol,
  .prose ul.article-ficha,
  .prose ol.article-ficha {
    padding-right: 1.1rem;
  }

  .article-callout {
    padding-left: 3.15rem;
  }

  .article-tldr::after,
  .article-callout::after,
  .article-checklist::after,
  .article-related::after,
  .article-poll::after,
  .prose > h3 + ul::after,
  .prose > h3 + ol::after,
  .prose ul.article-ficha::after,
  .prose ol.article-ficha::after {
    display: none;
  }
}

.article-checklist__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.article-checklist__head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.article-checklist__head p {
  margin: 0;
  font-size: 0.82rem;
  color: #777;
}

.article-checklist__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.65rem 0.55rem;
  border-radius: 10px;
  cursor: pointer;
}

.article-checklist__item:hover {
  background: rgba(255, 255, 255, 0.7);
}

.article-checklist__item.is-checked span {
  text-decoration: line-through;
  color: #777;
}

.article-checklist__item input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: #1a120e;
}

.article-poll {
  margin: 1.75rem 0;
  padding: 1.2rem 4.5rem 1.2rem 1.25rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
  position: relative;
  overflow: hidden;
}

.article-poll h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.article-poll__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 0.45rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--sand-line);
  background: #fff;
  overflow: hidden;
  text-align: left;
}

.article-poll__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(26, 18, 14, 0.08);
  transition: width 0.35s var(--ease);
}

.article-poll__text,
.article-poll__pct {
  position: relative;
  z-index: 1;
}

.article-poll__pct {
  font-size: 0.82rem;
  color: #777;
  font-variant-numeric: tabular-nums;
}

.article-poll__option.is-picked {
  border-color: var(--ink);
}

.article-poll__note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: #777;
}

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

.article-faq h2 {
  margin-bottom: 0.85rem;
}

.article-faq__item {
  border-top: 1px solid #ebe6e1;
  transition: background 0.2s ease;
}

.article-faq__item:last-child {
  border-bottom: 1px solid #ebe6e1;
}

.article-faq__item.is-open {
  background: linear-gradient(90deg, color-mix(in srgb, var(--topic-accent, #6a5344) 6%, #fff), transparent 70%);
}

.article-faq__q {
  width: 100%;
  padding: 0.95rem 1.75rem 0.95rem 0;
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
  color: #121212;
  position: relative;
}

.article-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--sand);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.article-faq__item.is-open .article-faq__q::after {
  content: "–";
  background: var(--ink);
  color: #fff;
}

.article-faq__a {
  display: none;
  padding: 0 0 0.95rem;
}

.article-faq__item.is-open .article-faq__a {
  display: block;
}

.article-faq__a p {
  margin: 0;
  color: #444;
}

.article-sources {
  margin: 1.5rem 0;
  padding-top: 0.5rem;
}

.article-sources h2 {
  font-size: 1.15rem;
}

.article-sources__updated {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #888;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.5rem;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--sand-2);
  color: var(--ink-soft);
  border: 1px solid var(--sand-line);
  font-size: 0.78rem;
  text-decoration: none;
}

.article-tag--link {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.prose .article-tag--link {
  text-decoration: none;
  color: #fff;
}

.article-cta {
  margin: 1.75rem 0;
  padding: 1.45rem 1.5rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 106, 43, 0.12), transparent 45%),
    var(--sand-2);
  border: 1px solid var(--sand-line);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: "";
  position: absolute;
  right: -0.5rem;
  bottom: -1.2rem;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--brand-star, none) center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.article-cta h2 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.article-cta p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.article-cta a.btn {
  text-decoration: none;
}

.article-cta .btn--dark {
  background: var(--ink);
  color: #fff;
}

.article-cta .btn--dark:hover {
  background: #2a211c;
  color: #fff;
}

.article-cta .btn--ghost {
  background: transparent;
  border: 1px solid var(--sand-line);
  color: var(--ink);
}

.article-cta .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

.article-comments {
  margin: 2rem 0 1rem;
}

.article-comments__prompt {
  color: #555;
}

.article-comments__list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}

.article-comments__item {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
}

.article-comments__item strong {
  display: block;
  margin-bottom: 0.15rem;
}

.article-comments__item time {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  color: #888;
}

.article-comments__item p {
  margin: 0;
}

.article-comments__empty {
  color: #888;
  font-size: 0.9rem;
}

.article-comments__form {
  display: grid;
  gap: 0.75rem;
}

.article-comments__form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-comments__form input,
.article-comments__form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-weight: 400;
  background: #fff;
}

.article-tabs {
  margin: 1.5rem 0 1.75rem;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
}

.article-tabs__nav {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.article-tabs__btn {
  height: 36px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--sand-line);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.article-tabs__btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.article-tabs__panel ul {
  margin: 0 0 0 1.1rem;
}

.article-quote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.3rem;
  border-radius: 16px;
  background: var(--sand-2);
  border: 1px solid var(--sand-line);
  color: var(--ink);
}

.article-quote blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.article-quote figcaption {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.article-stepper {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.article-stepper__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
  font-size: 0.92rem;
  font-weight: 550;
}

.article-stepper__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-glossary {
  margin: 1.75rem 0;
}

.article-glossary h2 {
  font-size: 1.15rem;
}

.article-glossary__list {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 0;
}

.article-glossary__item {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
}

.article-glossary__item dt {
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: capitalize;
}

.article-glossary__item dd {
  margin: 0;
  color: #555;
  font-size: 0.92rem;
}

.term-tip {
  text-decoration: underline dotted;
  text-underline-offset: 0.18em;
  cursor: help;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1050;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #1a120e;
  color: #fff;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* —— Article blocks: unified sand/ink (topic tints muted) —— */
body[data-topic="cafe"],
body[data-topic="fotografia"],
body[data-topic="huerto"],
body[data-topic="cocina"],
body[data-topic="habitos"],
body[data-topic="tramites"] {
  --topic-accent: #6a5344;
  --topic-soft: var(--sand);
}

.article-lead .dropcap {
  float: left;
  box-sizing: content-box;
  width: 0.65em;
  min-height: 0.85em;
  font-size: 3.1rem;
  line-height: 0.85;
  padding: 0.12rem 0.55rem 0 0;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font);
}

.article-learn {
  margin: 1rem 0 1.15rem;
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
}

.article-learn h2 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  padding: 0;
}

.article-learn ul {
  margin: 0 0 0 1.1rem;
  list-style: disc;
}

.article-learn li {
  margin: 0.25rem 0;
}

.article-practice {
  margin: 1.6rem 0;
  padding: 1.2rem 1.25rem 1.35rem;
  border-radius: 18px;
  background: var(--sand-2);
  border: 1px solid var(--sand-line);
  color: var(--ink);
}

.article-practice__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.article-practice h2 {
  font-size: 1.15rem;
  color: var(--ink);
}

.article-practice__meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.article-practice__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.article-practice h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.article-practice p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.article-myths {
  margin: 1.75rem 0;
}

.article-myths h2 {
  font-size: 1.15rem;
}

.article-myths__list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.article-myths__item {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
}

.article-myths__item dt {
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-decoration: line-through;
  text-decoration-color: rgba(26, 18, 14, 0.28);
}

.article-myths__item dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.article-decide {
  margin: 1.75rem 0;
  padding: 1.15rem 1.2rem 1.3rem;
  border-radius: 16px;
  border: 1px solid var(--sand-line);
  background: var(--sand);
}

.article-decide h2 {
  font-size: 1.15rem;
}

.article-decide__q {
  margin: 0.35rem 0 0.85rem;
  color: var(--ink-soft);
}

.article-decide__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.article-decide__opt {
  height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--sand-line);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.article-decide__opt.is-active,
.article-decide__opt:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.article-decide__result {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--sand-line);
}

.article-decide__result h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.article-next {
  margin: 1.75rem 0 1.25rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1px solid var(--sand-line);
}

.article-next h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.article-sidenote {
  margin: 1rem 0 1.5rem;
  padding: 0.85rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-style: italic;
}

.article-sidenote span {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Карточки и их заголовки всегда читаемы — без пустых «дыр» до скролла */
.prose aside[data-reveal],
.prose section[data-reveal],
.prose aside [data-reveal],
.prose section [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .aside-card--toc {
    position: static;
  }

  .article-practice__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
