:root {
  color-scheme: dark;
  --bg: #1c2f48;
  --bg-deep: #101c2d;
  --bg-soft: #223752;
  --ink: #f1ede5;
  --muted: #c6ceda;
  --muted-2: #9fb0c6;
  --line: rgba(241, 237, 229, 0.12);
  --line-strong: rgba(241, 237, 229, 0.2);
  --card: rgba(17, 29, 45, 0.78);
  --card-2: rgba(28, 45, 68, 0.82);
  --gold: #d8bd72;
  --ivory: #e7e2d7;
  --accent: #80d8ff;
  --shadow: 0 26px 80px rgba(5, 12, 20, 0.42);
  --radius: 30px;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% 10%, rgba(231, 226, 215, 0.08), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(128, 216, 255, 0.11), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 76%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
strong {
  font-family: var(--font-display);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 16px;
  left: -999px;
  z-index: 1200;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ivory);
  color: #15253a;
  font-weight: 800;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 23, 37, 0.82);
  border-color: var(--line);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(231, 226, 215, 0.2);
  box-shadow: var(--shadow);
}

.brand__text {
  display: grid;
  line-height: 1.08;
}

.brand__text strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand__text small {
  color: var(--muted-2);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus-visible {
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ivory);
  display: block;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(231, 226, 215, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ivory), #ffffff);
  color: #16263c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 12px 32px rgba(7, 12, 18, 0.16);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(7, 12, 18, 0.28);
  background: linear-gradient(135deg, #ffffff, var(--ivory));
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(7, 12, 18, 0.18);
}

.button--small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.88rem;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(7, 12, 18, 0.12);
}

.button--gold {
  background: linear-gradient(135deg, var(--gold), #e6c975);
  color: #16263c;
  border-color: rgba(216, 189, 114, 0.4);
  box-shadow: 0 12px 32px rgba(216, 189, 114, 0.18);
}

.button--gold:hover {
  box-shadow: 0 20px 46px rgba(216, 189, 114, 0.28);
  background: linear-gradient(135deg, #e6c975, var(--gold));
}

.button--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--ivory);
}

.section {
  position: relative;
  padding: 100px 0;
}

.section--line {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  padding-top: 84px;
}

.hero__grid,
.streaming-grid,
.forum-grid,
.artists-grid,
.contact-grid,
.publish-grid,
.studio-panel,
.works-grid,
.pillar-grid,
.studio-stack,
.control-grid,
.toggle-grid {
  display: grid;
  gap: 28px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.streaming-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.forum-grid,
.contact-grid,
.publish-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: start;
}

.artists-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.eyebrow,
.status-card span,
.contact-panel span,
.work-card__meta span,
.thread-tag,
.live-pill,
.preview-badges span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 900;
}

.eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 860px;
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  max-width: 900px;
}

h3 {
  font-size: 1.28rem;
}

.lead,
.section-title p,
.thread-row p,
.pillar-card p,
.work-card p,
.stream-card p,
.audience-card p,
.forum-aside p,
.contact-panel strong,
.contact-panel a,
.path-step p,
.publish-card p,
.tool-card p,
.toggle small,
.preview-note {
  color: var(--muted);
}

.lead,
.section-title p {
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  max-width: 760px;
}

.hero__actions,
.trust-row,
.tool-switcher,
.form-actions,
.preview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__actions {
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__actions .button {
  min-width: 180px;
  justify-content: center;
}

.trust-row span,
.studio-tab,
.preview-badges span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 700;
}

.studio-tab {
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.studio-tab.is-active,
.studio-tab:hover,
.studio-tab:focus-visible {
  transform: translateY(-1px);
  background: var(--ivory);
  border-color: rgba(231, 226, 215, 0.28);
  color: #16263c;
}

.hero-card,
.pillar-card,
.work-card,
.stream-card,
.audience-card,
.forum-board,
.forum-aside,
.artist-path,
.publish-panel,
.contact-panel,
.thread-row,
.tool-studio,
.tool-card,
.tool-preview,
.toggle,
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-card,
.pillar-card,
.work-card,
.stream-card,
.audience-card,
.forum-board,
.forum-aside,
.artist-path,
.publish-panel,
.contact-panel,
.thread-row,
.tool-studio,
.tool-card,
.tool-preview,
.toggle {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-card:hover,
.pillar-card:hover,
.work-card:hover,
.stream-card:hover,
.audience-card:hover,
.forum-board:hover,
.forum-aside:hover,
.artist-path:hover,
.publish-panel:hover,
.contact-panel:hover,
.thread-row:hover,
.tool-studio:hover,
.tool-card:hover,
.tool-preview:hover,
.toggle:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.hero-card {
  min-height: 640px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 34px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(231, 226, 215, 0.14), transparent 20rem),
    radial-gradient(circle at 80% 16%, rgba(128, 216, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  pointer-events: none;
}

.logo-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(231, 226, 215, 0.16);
}

.logo-frame img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.status-card {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(15, 24, 38, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.status-card strong {
  font-size: 1.16rem;
}

.status-card small {
  color: var(--muted);
}

.section-title {
  margin-bottom: 42px;
}

.pillar-grid,
.works-grid,
.studio-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card,
.work-card,
.audience-card,
.forum-aside,
.tool-card {
  padding: 28px;
}

.pillar-card span:first-child,
.tool-card__index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: rgba(231, 226, 215, 0.08);
  color: var(--ivory);
  font-weight: 900;
}

.work-card__meta {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.work-card__meta strong {
  font-size: 1.18rem;
}

.radar-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: -10px 0 28px;
  padding: 24px;
  border: 1px solid rgba(128,216,255,0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(128,216,255,0.09), rgba(216,189,114,0.06));
}
.radar-bridge__copy {
  display: grid;
  gap: 8px;
}
.radar-bridge__tag {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.radar-bridge h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}
.radar-bridge p {
  color: var(--muted);
  max-width: 780px;
}
.radar-bridge__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 760px) {
  .radar-bridge {
    grid-template-columns: 1fr;
  }
  .radar-bridge__actions {
    justify-content: flex-start;
  }
}
.feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ivory), var(--accent));
}

.stream-card {
  padding: 28px;
}

.stream-card__top {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.stream-card__schedule {
  display: grid;
  gap: 16px;
}

.stream-card__schedule article,
.path-step,
.publish-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(216, 189, 114, 0.1);
}

.forum-board {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.thread-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.thread-tag {
  align-self: start;
}

.artist-path,
.publish-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.tool-studio {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.studio-panel {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: start;
}

.studio-panel[hidden] {
  display: none;
}

.tool-form {
  display: grid;
  gap: 20px;
}

.control-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.toggle strong {
  font-weight: 700;
}

.field--full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(10, 18, 29, 0.88);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(128, 216, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(128, 216, 255, 0.12);
  transform: translateY(-1px);
}

.toggle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.toggle {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
}

.toggle input {
  margin: 5px 0 0;
  accent-color: var(--accent);
}

.toggle span {
  display: grid;
  gap: 4px;
}

.tool-preview {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  background: linear-gradient(180deg, rgba(17, 29, 45, 0.92), rgba(9, 17, 27, 0.9));
}

.preview-note {
  margin-top: -6px;
}

.studio-stack {
  margin-top: 24px;
}

.contact-panel {
  display: grid;
  gap: 0;
  padding: 10px 28px;
}

.contact-panel > a {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-panel > a:last-child {
  border-bottom: 0;
}

.contact-panel > a:hover strong,
.contact-panel > a:focus-visible strong {
  color: var(--ivory);
}

.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer__brand {
  margin-bottom: 8px;
}

.footer__copy {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.footer__tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted-2);
}

.footer__credits {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.footer__credits a {
  color: var(--muted-2);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer__credits a:hover,
.footer__credits a:focus-visible {
  color: var(--gold);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 10px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__col a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 150ms ease;
}

.footer__col a:hover,
.footer__col a:focus-visible {
  color: var(--ink);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--ivory);
}

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

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero__grid,
  .streaming-grid,
  .forum-grid,
  .artists-grid,
  .contact-grid,
  .publish-grid,
  .pillar-grid,
  .works-grid,
  .studio-panel,
  .studio-stack,
  .toggle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav-links {
    position: fixed;
    inset: 88px 14px 14px 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(10, 18, 29, 0.96);
    box-shadow: var(--shadow);
    overflow-y: auto;
  }

  .nav-links.is-open {
    display: flex;
  }

  .section {
    padding: 76px 0;
  }

  .hero-card {
    min-height: auto;
    padding: 22px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }

  .thread-row,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .tool-studio {
    padding: 18px;
  }
}

/* Enlaces de interés */
.enlaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

#recursos-hero {
  padding: 40px 0 16px;
}

#recursos-hero h1 {
  font-size: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

#recursos-hero .lead {
  font-size: 0.88rem;
}

.banner-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.banner-logo img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(231, 226, 215, 0.2);
  box-shadow: var(--shadow);
}


.enlaces-category {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  padding: 28px;
}

.enlaces-category h2 {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  max-width: none;
  margin-bottom: 6px;
}

.enlaces-category h3 {
  margin-bottom: 6px;
  color: var(--gold);
}

.enlaces-category > p {
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.enlaces-subgroup {
  margin-bottom: 18px;
}

.enlaces-subgroup:last-child {
  margin-bottom: 0;
}

.enlaces-subgroup h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ivory);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.enlaces-subgroup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.enlaces-subgroup li {
  margin-bottom: 4px;
}

.enlaces-subgroup a {
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 180ms ease;
}

.enlaces-subgroup a:hover,
.enlaces-subgroup a:focus-visible {
  color: var(--accent);
}

.enlaces-google {
  border: 1px solid rgba(128, 216, 255, 0.2);
  border-radius: 16px;
  background: rgba(128, 216, 255, 0.06);
  padding: 16px;
  margin-bottom: 18px;
}

.enlaces-google p {
  font-size: 0.82rem;
}

.enlaces-google a {
  color: var(--accent);
}

.enlaces-google a:hover {
  text-decoration: underline;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 18, 29, 0.97);
  border-top: 1px solid var(--line);
  padding: 16px 0;
  backdrop-filter: blur(12px);
}
.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-consent__text {
  flex: 1;
  min-width: 260px;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.cookie-consent__text a {
  color: var(--gold);
  font-weight: 600;
}
.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .cookie-consent__inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent__actions {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   Custom Select Dropdowns
   ============================================ */
.ds-select {
  position: relative;
  width: 100%;
}
.ds-select select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ds-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  gap: 10px;
  text-align: left;
  user-select: none;
}
.ds-select__trigger:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.08);
}
.ds-select.is-open .ds-select__trigger {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.ds-select__trigger:focus,
.ds-select.is-open .ds-select__trigger {
  outline: none;
  border-color: var(--gold);
}
.ds-select__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ds-select__label.is-placeholder {
  color: var(--muted-2);
}
.ds-select__arrow {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg);
  transition: transform 0.2s;
  margin-top: -3px;
}
.ds-select.is-open .ds-select__arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.ds-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 500;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--bg-deep);
  box-shadow: 0 12px 40px rgba(5,12,20,0.5);
  display: none;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.ds-select.is-open .ds-select__dropdown {
  display: block;
}
.ds-select__dropdown::-webkit-scrollbar {
  width: 6px;
}
.ds-select__dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.ds-select__dropdown::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 3px;
}
.ds-select__search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  font-size: 0.9rem;
  font-family: var(--font-body);
  margin-bottom: 6px;
  outline: none;
}
.ds-select__search:focus {
  border-color: var(--gold);
}
.ds-select__search::placeholder {
  color: var(--muted-2);
}
.ds-select__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.ds-select__option:hover,
.ds-select__option.is-highlighted {
  background: rgba(255,255,255,0.08);
}
.ds-select__option.is-selected {
  color: var(--gold);
  font-weight: 600;
}
.ds-select__option.is-selected::after {
  content: '✓';
  margin-left: auto;
  font-size: 0.85rem;
}
.ds-select__option.is-hidden {
  display: none;
}
.ds-select__empty {
  padding: 14px;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.85rem;
}
@media (max-width: 600px) {
  .ds-select__dropdown {
    max-height: 220px;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    top: auto;
    border-radius: 20px;
    padding: 10px;
  }
  .ds-select__search {
    font-size: 1rem;
    padding: 12px 16px;
  }
  .ds-select__option {
    padding: 14px 16px;
    font-size: 1rem;
  }
}

/* ===== VISUAL IDENTITY ===== */

.wave-section {
  position: relative;
}
.wave-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('/images/wave-pattern.svg') repeat-x center bottom / 400px 200px;
  opacity: 0.6;
}
.wave-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.15;
}


/* Card glow on hover */
.work-card,
.pillar-card,
.thread-card,
.result-item {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover,
.pillar-card:hover,
.thread-card:hover,
.result-item:hover {
  transform: translateY(-4px);
  border-color: rgba(216,189,114,0.3);
  box-shadow: 0 12px 40px rgba(216,189,114,0.08);
}

/* Tag pills */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  background: rgba(216,189,114,0.1);
  color: var(--gold);
  border: 1px solid rgba(216,189,114,0.15);
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.tag:hover {
  background: rgba(216,189,114,0.18);
  border-color: rgba(216,189,114,0.3);
}
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* Related content grid */
.related-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 600px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Trending badge */
.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(216,189,114,0.18), rgba(128,216,255,0.1));
  color: var(--gold);
  border: 1px solid rgba(216,189,114,0.2);
}

/* Section with gold top border */
.section--gold {
  border-top: 1px solid rgba(216,189,114,0.12);
  position: relative;
}
.section--gold::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* 404 page */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 24px;
}
.error-page img {
  max-width: 360px;
  width: 100%;
  margin-bottom: 24px;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.error-page p {
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 24px;
}

/* CTA principal — alto contraste y tamaño grande */
.button--cta {
  min-height: 56px;
  padding: 0 36px;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #e6c975, var(--gold));
  color: #0f1a29;
  border-color: rgba(216, 189, 114, 0.6);
  box-shadow: 0 16px 40px rgba(216, 189, 114, 0.25);
}
.button--cta:hover,
.button--cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(216, 189, 114, 0.35);
  background: linear-gradient(135deg, #f0d88a, #e6c975);
}
.button--cta:active {
  transform: translateY(0);
}

/* CTA secundario outline más visible */
.button--sec {
  min-height: 56px;
  padding: 0 36px;
  font-size: 1.08rem;
  background: transparent;
  color: var(--ivory);
  border: 2px solid rgba(231, 226, 215, 0.35);
  box-shadow: none;
}
.button--sec:hover,
.button--sec:focus-visible {
  background: rgba(231, 226, 215, 0.1);
  border-color: var(--ivory);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(7, 12, 18, 0.2);
}

/* Floating CTA bar */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(13, 23, 37, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 360ms ease;
}
.floating-bar.is-visible {
  transform: translateY(0);
}
.floating-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.floating-bar__text {
  font-size: 0.9rem;
  color: var(--ivory);
  font-weight: 600;
  margin: 0;
}
.floating-bar__text small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}
.floating-bar__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.floating-bar__actions .button {
  min-height: 42px;
  padding: 0 22px;
  font-size: 0.88rem;
}
@media (max-width: 600px) {
  .floating-bar__inner {
    flex-direction: column;
    text-align: center;
  }
  .floating-bar__actions {
    width: 100%;
    justify-content: center;
  }
}

/* Lead magnet */
.lead-magnet {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(216,189,114,0.06), transparent);
  border-radius: var(--radius);
  border: 1px solid rgba(216,189,114,0.12);
}
.lead-magnet h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  max-width: 600px;
  margin: 0 auto 12px;
}
.lead-magnet p {
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
}
.lead-magnet__form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.lead-magnet__form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 18, 29, 0.8);
  color: var(--ink);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.lead-magnet__form input[type="email"]:focus {
  border-color: var(--gold);
}

/* Language selector */
.language-switcher {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  color: var(--ink);
}

.language-switcher summary {
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 42px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
}

.language-switcher__current:hover,
.language-switcher[open] .language-switcher__current {
  border-color: var(--gold);
  background: rgba(216,189,114,0.12);
}

.language-switcher__chevron {
  color: var(--gold);
  font-size: 0.68rem;
  line-height: 1;
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 148px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16,28,45,0.98);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.language-switcher__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.language-switcher__menu a span {
  color: var(--ink);
}

.language-switcher__menu a small {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 600;
}

.language-switcher__menu a[aria-current="true"],
.language-switcher__menu a:hover {
  background: rgba(216,189,114,0.14);
  color: var(--ink);
}

.language-switcher__menu a[aria-current="true"] span {
  color: var(--gold);
}

.footer .language-switcher__menu {
  left: 0;
  right: auto;
}

@media (max-width: 760px) {
  .language-switcher {
    align-self: flex-start;
  }

  .language-switcher__menu {
    left: 0;
    right: auto;
  }
}

/* WCAG AA focus improvements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* WCAG AA minimum contrast overrides */
.hero__actions .button--outline {
  border-color: rgba(241, 237, 229, 0.3);
}

/* Improved form validation styles */
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #ff8a80;
  box-shadow: 0 0 0 3px rgba(255, 138, 128, 0.12);
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
