/* Ficha de proyecto — landing tipo pitch */
.proyecto-page {
  min-height: 100vh;
  color: rgb(240 244 248);
  background: linear-gradient(165deg, #0a1018 0%, #121a24 42%, #0d141c 100%);
}

body.proyecto-page::before {
  opacity: 0.22;
  filter: saturate(0.85) brightness(0.55);
}

.proyecto-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  padding-top: 4.5rem;
}

.proyecto-deck {
  width: 100%;
}

.proyecto-hero {
  position: relative;
  min-height: min(52vh, 28rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.proyecto-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #0c1218;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.proyecto-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(6 10 14 / 0.45) 0%,
    rgb(8 12 18 / 0.72) 38%,
    rgb(10 14 20 / 0.94) 100%
  );
}

.proyecto-hero__inner {
  position: relative;
  z-index: 2;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) clamp(2.25rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.proyecto-hero__brand {
  flex-shrink: 0;
  padding: 0.55rem;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.97);
  border: 1px solid rgb(255 255 255 / 0.45);
  box-shadow:
    0 12px 40px rgb(0 0 0 / 0.35),
    inset 0 1px 0 rgb(255 255 255 / 0.9);
}

.proyecto-hero__logo {
  display: block;
  width: clamp(3.5rem, 10vw, 4.75rem);
  height: clamp(3.5rem, 10vw, 4.75rem);
  object-fit: contain;
  border-radius: 12px;
}

.proyecto-hero__copy {
  flex: 1;
  min-width: min(100%, 16rem);
}

.proyecto-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(160 210 230 / 0.95);
}

.proyecto-hero__title {
  margin: 0 0 0.45rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}

.proyecto-hero__tagline {
  margin: 0 0 1rem;
  max-width: 36rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgb(210 218 226 / 0.92);
}

.proyecto-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.proyecto-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(230 248 255 / 0.95);
  border-radius: 999px;
  border: 1px solid rgb(120 200 220 / 0.45);
  background: rgb(40 90 110 / 0.35);
  backdrop-filter: blur(8px);
}

.proyecto-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.proyecto-hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.35);
  color: #0a1014;
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.2);
  transition: background 0.15s ease, transform 0.15s ease;
}

.proyecto-hero__actions a:hover {
  background: #fff;
  transform: translateY(-1px);
}

.proyecto-hero__actions a.proyecto-link--ghost {
  color: rgb(240 248 255 / 0.95);
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.28);
  backdrop-filter: blur(10px);
}

.proyecto-hero__actions a.proyecto-link--ghost:hover {
  background: rgb(255 255 255 / 0.14);
}

.proyecto-deck__content {
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 8vw, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 3.25rem);
}

.proyecto-topgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.proyecto-aside {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.proyecto-aside .proyecto-deck__h {
  font-size: 1.25rem;
}

.proyecto-deck__h {
  margin: 0 0 1.1rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.proyecto-deck__h--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.proyecto-lead__kicker {
  margin: 0 0 0.85rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgb(190 200 210);
}

.proyecto-rte {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 1.9vw, 1.08rem);
  line-height: 1.72;
  color: rgb(200 208 216);
}

.proyecto-rte p {
  margin: 0 0 1rem;
}

.proyecto-rte p:last-child {
  margin-bottom: 0;
}

/* CTA web / app (debajo del pitch escrito) */
.proyecto-cta-bar {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(14 18 26 / 0.78);
  backdrop-filter: blur(16px) saturate(118%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.proyecto-cta-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.proyecto-cta-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1.25rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.35);
  color: #0a1014;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.98), rgb(230 238 245 / 0.95));
  box-shadow: 0 6px 22px rgb(0 0 0 / 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.proyecto-cta-bar__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.28);
}

.proyecto-cta-bar__btn--secondary {
  color: rgb(240 248 255 / 0.96);
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.28);
}

.proyecto-cta-bar__btn--secondary:hover {
  background: rgb(255 255 255 / 0.16);
}

.proyecto-cta-bar__restricted {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255 210 160 / 0.95);
  border-radius: 10px;
  border: 1px solid rgb(255 180 120 / 0.35);
  background: rgb(60 40 20 / 0.45);
}

.proyecto-cta-bar__hint {
  margin: 0;
  flex: 1;
  min-width: 12rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgb(160 170 182);
}

/* Redes del proyecto (fila de iconos) */
.proyecto-socials-wrap[hidden] {
  display: none !important;
}

.proyecto-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 0.35rem 0.1rem;
}

/* Redes del proyecto en card (para que no “desaparezcan” visualmente) */
.proyecto-socials-wrap {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(12 16 24 / 0.58);
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
}

/* Línea de tiempo */
.proyecto-timeline-wrap[hidden] {
  display: none !important;
}

.proyecto-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.proyecto-timeline::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgb(100 200 220 / 0.5), rgb(80 120 180 / 0.25));
}

.proyecto-timeline__item {
  position: relative;
  padding: 0.65rem 0 0.65rem 2.1rem;
}

.proyecto-timeline__item::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.85rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid rgb(120 190 210 / 0.7);
  background: rgb(12 16 22);
  z-index: 1;
}

.proyecto-timeline__item--done::before {
  background: rgb(80 200 160 / 0.85);
  border-color: rgb(120 230 200 / 0.9);
  box-shadow: 0 0 12px rgb(80 200 160 / 0.35);
}

.proyecto-timeline__item--current::before {
  background: rgb(100 180 255 / 0.95);
  border-color: rgb(180 220 255 / 0.95);
  box-shadow: 0 0 0 4px rgb(100 180 255 / 0.2);
}

.proyecto-timeline__item--upcoming::before {
  opacity: 0.45;
}

.proyecto-timeline__title {
  margin: 0 0 0.2rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
}

.proyecto-timeline__detail {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgb(170 180 192);
}

/* Galería tipo pitch: imagen + texto */
.proyecto-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.proyecto-pitch-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(12 16 24 / 0.55);
}

.proyecto-pitch-row--reverse {
  direction: rtl;
}

.proyecto-pitch-row--reverse > * {
  direction: ltr;
}

.proyecto-pitch-row--media-only {
  grid-template-columns: 1fr;
  padding: 0;
  border: none;
  background: transparent;
}

.proyecto-pitch-row__media {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.proyecto-pitch-row__media:hover {
  transform: scale(1.01);
  border-color: rgb(255 255 255 / 0.22);
}

.proyecto-pitch-row__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #1a222c;
}

.proyecto-pitch-row__text {
  max-width: 34rem;
}

.proyecto-pitch-row__text h3 {
  margin: 0 0 0.55rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: #fff;
}

.proyecto-pitch-row__text .proyecto-rte {
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .proyecto-pitch-row,
  .proyecto-pitch-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .proyecto-pitch-row--reverse > * {
    direction: ltr;
  }

  .proyecto-pitch-row {
    padding: 0.95rem 0.95rem;
  }

  .proyecto-pitch-row__text {
    max-width: none;
  }
}

.proyecto-highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1rem;
}

.proyecto-highlight {
  margin: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(18 24 34 / 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.proyecto-highlight h3 {
  margin: 0 0 0.45rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(130 200 220);
}

.proyecto-highlight p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgb(200 206 214);
}

.proyecto-dual__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.proyecto-dual-card {
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(14 18 26 / 0.85);
}

.proyecto-dual-card h3 {
  margin: 0 0 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(160 170 182);
}

.proyecto-dual-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
  color: rgb(200 206 214);
}

.proyecto-gallery-wrap[hidden],
.proyecto-lead[hidden],
.proyecto-highlights[hidden],
.proyecto-dual[hidden],
.proyecto-pitch-wrap[hidden],
.proyecto-blocks[hidden] {
  display: none !important;
}

.proyecto-blocks__grid {
  display: grid;
  gap: 1rem;
}

/* Pitch blocks (título/subtítulo/texto + imagen opcional) */
.proyecto-pitch {
  display: grid;
  gap: 1.1rem;
}

.proyecto-pitch-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(12 16 24 / 0.55);
}

.proyecto-pitch-card--noimg {
  grid-template-columns: 1fr;
}

.proyecto-pitch-card__title {
  margin: 0;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.proyecto-pitch-card__subtitle {
  margin: 0.3rem 0 0.7rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgb(160 190 215);
}

.proyecto-pitch-card__body .proyecto-rte {
  font-size: 0.95rem;
}

.proyecto-pitch-card__img {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(8 12 18 / 0.65);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.3);
  cursor: pointer;
}

.proyecto-pitch-card__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 720px) {
  .proyecto-pitch-card {
    grid-template-columns: 1fr;
  }
  .proyecto-pitch-card__img {
    max-width: 18rem;
  }
}

/* Carrusel de galería al final */
.proyecto-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.proyecto-carousel__btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.06);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.proyecto-carousel__btn:hover {
  background: rgb(255 255 255 / 0.12);
}

.proyecto-carousel__track {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem clamp(0.4rem, 2vw, 0.9rem);
  scroll-padding-inline: clamp(0.4rem, 2vw, 0.9rem);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.proyecto-carousel__item {
  flex: 0 0 auto;
  width: clamp(140px, 22vw, 200px);
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(8 12 18 / 0.65);
  cursor: pointer;
}

.proyecto-carousel__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.proyecto-carousel__item p {
  margin: 0;
  padding: 0.45rem 0.6rem 0.55rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgb(176 184 194);
}

@media (max-width: 600px) {
  .proyecto-carousel {
    grid-template-columns: 1fr;
  }
  .proyecto-carousel__btn {
    display: none;
  }
  .proyecto-carousel__item {
    width: clamp(140px, 52vw, 200px);
  }
}

/* Lightbox (misma página) */
.proyecto-lightbox[hidden] {
  display: none !important;
}

.proyecto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.proyecto-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.68);
  backdrop-filter: blur(6px);
}

.proyecto-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 2rem));
  max-height: min(86vh, 900px);
  border-radius: 18px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(10 12 18 / 0.92);
  box-shadow: 0 30px 90px rgb(0 0 0 / 0.55);
  overflow: hidden;
}

.proyecto-lightbox__close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.proyecto-lightbox__close:hover {
  background: rgb(255 255 255 / 0.14);
}

.proyecto-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 74vh;
  object-fit: contain;
  background: rgb(0 0 0 / 0.2);
}

.proyecto-lightbox__cap {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgb(190 198 208);
}

.proyecto-block {
  padding: 1.2rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(16 20 28 / 0.65);
  backdrop-filter: blur(12px);
}

.proyecto-block h3 {
  margin: 0 0 0.55rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.proyecto-block p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgb(190 198 208);
}

.proyecto-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr));
  gap: 1.1rem;
}

.proyecto-collab {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(16 20 28 / 0.82);
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
}

.proyecto-collab__photo {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.18);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
}

.proyecto-collab__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proyecto-collab__main {
  flex: 1;
  min-width: 0;
}

.proyecto-collab__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.proyecto-collab__name {
  margin: 0;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.proyecto-collab__role {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: rgb(150 190 215);
  font-weight: 500;
}

.proyecto-collab__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.proyecto-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  color: rgb(210 220 232);
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
  transition: background 0.15s ease, color 0.15s ease;
}

.proyecto-social:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.12);
}

.proyecto-social svg {
  display: block;
}

.proyecto-collab__bio {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgb(180 188 198);
}

.proyecto-collab__email {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #7ecfff;
  text-decoration: none;
  word-break: break-all;
}

.proyecto-collab__email:hover {
  text-decoration: underline;
}

.proyecto-deck__foot {
  padding-top: 0.5rem;
}

.proyecto-deck__back {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgb(160 200 230);
  text-decoration: none;
}

.proyecto-deck__back:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .proyecto-main {
    padding-top: 4rem;
  }

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

  .proyecto-hero {
    min-height: min(48vh, 22rem);
  }

  .proyecto-deck__content {
    padding-top: 1.65rem;
    gap: 1.85rem;
  }

  .proyecto-topgrid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .proyecto-cta-bar {
    padding: 1rem 1rem;
  }

  .proyecto-cta-bar__inner {
    gap: 0.6rem 0.8rem;
  }

  .proyecto-cta-bar__btn {
    width: 100%;
    justify-content: center;
  }

  .proyecto-cta-bar__hint {
    min-width: 0;
  }

  .proyecto-timeline__item {
    padding-left: 2rem;
  }
}
/* Proyectos — fondo negro sin imagen */
.proyectos {
  padding: clamp(2.75rem, 7vw, 4.25rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 9vw, 5rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  scroll-margin-top: 4rem;
  position: relative;
  isolation: isolate;
  background: #000 !important;
  background-image: none !important;
}
.proyectos::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  pointer-events: none;
}
.proyectos__inner {
  position: relative;
  z-index: 1;
  max-width: min(72rem, 100%);
  margin-inline: auto;
}
.proyectos__eyebrow {
  margin: 0 0 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgb(136 136 136);
  text-align: left;
}
.proyectos__title {
  margin: 0 0 clamp(2rem, 5vw, 2.75rem);
  max-width: min(52rem, 100%);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 2.875rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-align: left;
}
.proyectos__title-strong {
  color: #ffffff;
  font-weight: 600;
}
.proyectos__title-muted {
  color: #888888;
  font-weight: 500;
}
.proyectos__lead {
  margin: 0 0 2.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #bdbdbd;
  max-width: 40rem;
}
.proyectos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.proyecto-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 2.2rem 1.2rem 1.7rem;
  border-radius: 16px;
  background: rgb(16 18 24 / 0.42);
  border: 1px solid rgb(255 255 255 / 0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 8px 36px rgb(0 0 0 / 0.38),
    inset 0 1px 0 rgb(255 255 255 / 0.09);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.proyecto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(155deg, rgb(255 255 255 / 0.09) 0%, transparent 45%);
  opacity: 0.85;
  transition: opacity 0.35s ease;
}

/* Brillo que cruza la ficha al hover */
.proyecto-card::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 55%;
  height: 180%;
  background: linear-gradient(
    95deg,
    transparent 0%,
    rgb(255 255 255 / 0) 35%,
    rgb(255 255 255 / 0.28) 50%,
    rgb(255 255 255 / 0) 65%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-14deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.proyecto-card:hover {
  background: rgb(24 26 34 / 0.58);
  border-color: rgb(255 255 255 / 0.32);
  box-shadow:
    0 12px 48px rgb(0 0 0 / 0.45),
    0 0 0 1px rgb(255 255 255 / 0.06),
    0 0 52px rgb(130 180 255 / 0.14),
    inset 0 1px 0 rgb(255 255 255 / 0.18);
  transform: translateY(-3px);
}

.proyecto-card:hover::before {
  opacity: 1;
  background: linear-gradient(145deg, rgb(255 255 255 / 0.16) 0%, transparent 48%);
}

.proyecto-card:hover::after {
  animation: proyecto-card-shine 0.85s ease-out both;
}

@keyframes proyecto-card-shine {
  0% {
    transform: translateX(-140%) skewX(-14deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateX(260%) skewX(-14deg);
    opacity: 0;
  }
}

.proyecto-card > * {
  position: relative;
  z-index: 2;
}

.proyecto-card__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.92);
  border: 1px solid rgb(255 255 255 / 0.35);
  box-shadow:
    0 2px 12px rgb(0 0 0 / 0.18),
    inset 0 1px 0 rgb(255 255 255 / 0.6);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

.proyecto-card:hover .proyecto-card__img {
  filter: brightness(1.08);
  box-shadow:
    0 4px 20px rgb(0 0 0 / 0.22),
    0 0 24px rgb(255 255 255 / 0.2),
    inset 0 1px 0 rgb(255 255 255 / 0.75);
  transform: scale(1.04);
}
.proyecto-card__title {
  margin: 0 0 0.7rem 0;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgb(250 250 250);
  transition: text-shadow 0.35s ease;
}

.proyecto-card:hover .proyecto-card__title {
  text-shadow:
    0 0 24px rgb(255 255 255 / 0.2),
    0 0 48px rgb(160 200 255 / 0.12);
}
.proyecto-card__btn {
  margin-top: auto;
  padding: 0.62rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0a0a0a;
  background: rgb(255 255 255 / 0.94);
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: 999px;
  box-shadow:
    0 4px 18px rgb(0 0 0 / 0.2),
    inset 0 1px 0 rgb(255 255 255 / 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.proyecto-card__btn:hover {
  background: #fff;
  color: #000;
  border-color: rgb(255 255 255 / 0.65);
  box-shadow:
    0 6px 22px rgb(0 0 0 / 0.25),
    inset 0 1px 0 rgb(255 255 255 / 1);
}
@media (max-width: 900px) {
  .proyectos__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .proyectos__grid {
    grid-template-columns: 1fr;
  }
  .proyecto-card {
    padding: 1.5rem 0.7rem 1.2rem;
  }
  .proyecto-card__img {
    width: 48px;
    height: 48px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  min-height: 100dvh;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  background-color: #e8e8e8;
  font-family: 'DM Sans', system-ui, sans-serif;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 30000;
  pointer-events: none;
  background: #000;
  opacity: 0;
  transition: opacity 260ms ease;
}

body.page-ready {
  opacity: 1;
}

/* Sin main.js (admin) o si el bundle no carga (p. ej. file://): evitar body invisible */
body.admin-page,
body.proyecto-page,
body.legal-page {
  opacity: 1;
}

body.topnav-menu-open {
  overflow: hidden;
}

body.page-leaving {
  opacity: 1;
}

body.page-leaving::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body {
    transition: none;
  }
  .topnav__inner,
  .topnav__brand,
  .hero--cinema .hero__title-line,
  .hero--cinema .hero__lead,
  .hero--cinema .hero__actions {
    animation: none !important;
  }
  .proyecto-card {
    transition: none;
  }
  .proyecto-card:hover {
    transform: none;
  }
  .proyecto-card:hover::after {
    animation: none;
  }
  .proyecto-card:hover .proyecto-card__img {
    transform: none;
    filter: none;
  }
  .proyecto-card:hover .proyecto-card__title {
    text-shadow: none;
  }
}

/*
 * Fondo en capa fija aparte (no background-attachment en body): evita que en Safari/iOS
 * se rompa position:fixed de la barra superior.
 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  /* Mismo matiz que la foto (azul/pizarra), no gris neutro en los bordes */
  background-color: rgb(8 18 32);
  background-image: url('../img/back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Páginas legales: sin imagen de fondo oscura, lectura en claro */
body.legal-page {
  background-color: #f2f0eb;
  color: #161b22;
}

body.legal-page::before {
  display: none;
}

body.admin-page::before {
  display: none;
}

body.legal-page .topnav__inner {
  border-color: rgb(0 0 0 / 0.08);
  background: rgb(255 255 255 / 0.92);
  box-shadow:
    0 10px 28px rgb(0 0 0 / 0.06),
    0 1px 0 rgb(255 255 255 / 0.9) inset;
}

body.legal-page .topnav__brand,
body.legal-page .topnav__links a,
body.legal-page .topnav__social {
  color: #161b22;
}

body.legal-page .topnav__links a:hover,
body.legal-page .topnav__social:hover {
  opacity: 0.6;
}

body.legal-page .topnav__toggle {
  border-color: rgb(0 0 0 / 0.12);
  background: rgb(0 0 0 / 0.04);
  color: #161b22;
}

body.legal-page .topnav__mobile-links {
  border-color: rgb(0 0 0 / 0.1);
  background: rgb(255 255 255 / 0.97);
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.08);
}

body.legal-page .topnav__mobile-links a {
  color: #161b22;
}

body.legal-page .topnav__mobile-links a[aria-current='page'] {
  background: rgb(0 0 0 / 0.05);
}

body.legal-page .topnav__mobile-cta {
  background: #161b22;
  color: #fafafa !important;
}

.legal-main {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(5.25rem, 11vw, 6.75rem) clamp(1.15rem, 4vw, 1.75rem) clamp(3rem, 8vw, 4rem);
}

.legal-doc {
  background: #fff;
  border-radius: 1rem;
  padding: clamp(1.65rem, 4vw, 2.35rem) clamp(1.35rem, 4vw, 2rem);
  border: 1px solid rgb(0 0 0 / 0.06);
  box-shadow: 0 6px 28px rgb(0 0 0 / 0.05);
}

.legal-doc h1 {
  margin: 0 0 0.35rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0d1117;
}

.legal-doc__meta {
  margin: 0 0 1.35rem;
  font-size: 0.875rem;
  color: #5c6570;
}

.legal-doc h2 {
  margin: 1.65rem 0 0.55rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #161b22;
}

.legal-doc h2:first-of-type {
  margin-top: 1.25rem;
}

.legal-doc p,
.legal-doc li {
  margin: 0 0 0.75rem;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3d4450;
}

.legal-doc ul {
  margin: 0 0 0.5rem;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin-bottom: 0.45rem;
}

.legal-doc a {
  color: #0d4d8c;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc a:hover {
  color: #063666;
}

.legal-doc__back {
  margin-top: 2rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(0 0 0 / 0.08);
}

.legal-doc__back a {
  font-weight: 500;
  text-decoration: none;
}

.legal-doc__back a:hover {
  text-decoration: underline;
}

/* Barra superior — estilo referencia (transparente, texto blanco) */
.topnav {
  position: fixed;
  top: 0.7rem;
  left: 0;
  right: 0;
  z-index: 10000;
  width: 100%;
  padding: max(0.72rem, env(safe-area-inset-top)) clamp(1rem, 3vw, 1.75rem) 0.85rem;
  background: transparent;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 220ms ease, opacity 220ms ease;
}

.topnav.topnav--hidden {
  transform: translateY(calc(-100% - 1.2rem));
  opacity: 0;
}

.topnav__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  max-width: min(72rem, 100%);
  margin-inline: auto;
  pointer-events: auto;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 999px;
  background: rgb(8 10 14 / 0.5);
  box-shadow:
    0 14px 34px rgb(0 0 0 / 0.16),
    0 1px 0 rgb(255 255 255 / 0.14) inset;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  animation: portadaNavShellIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.topnav__brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.45rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fafafa;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  animation: portadaBrandIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.topnav__logo-star {
  display: block;
  flex-shrink: 0;
  opacity: 0.98;
  width: 0.85rem;
  height: 0.85rem;
}

.topnav__logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: clamp(1.9rem, 4vw, 2.5rem);
  object-fit: contain;
}

.topnav__links {
  display: flex;
  align-items: center;
  justify-self: start;
  justify-content: flex-start;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  min-width: 0;
}

.topnav__links--right {
  justify-self: end;
  justify-content: flex-end;
}

.topnav__social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgb(250 250 250 / 0.95);
  text-decoration: none;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.topnav__social:hover {
  opacity: 0.65;
}

.topnav__social svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topnav__links a {
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: rgb(250 250 250 / 0.9);
  text-decoration: none;
  transition: opacity 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.topnav__links a:hover {
  opacity: 0.65;
}

.topnav__links a[aria-current='page'] {
  color: #ffffff;
}

.topnav__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

.topnav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.26rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  color: #fff;
  cursor: pointer;
}

.topnav__toggle span {
  width: 1rem;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.topnav__toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(0.36rem) rotate(45deg);
}

.topnav__toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.topnav__toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-0.36rem) rotate(-45deg);
}

.topnav__mobile {
  display: none;
  max-width: min(72rem, 100%);
  margin: 0.6rem auto 0;
  padding: 0 0.15rem;
  pointer-events: auto;
}

.topnav__mobile[data-open='true'] {
  display: none;
}

.topnav__mobile-links {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1.35rem;
  background: rgb(8 10 14 / 0.88);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.24);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.topnav__mobile-links a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  color: #fafafa;
  text-decoration: none;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
}

.topnav__mobile-links a[aria-current='page'] {
  background: rgb(255 255 255 / 0.08);
}

.topnav__mobile-cta {
  margin-top: 0.25rem;
  background: #fafafa;
  color: #111111 !important;
}

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

  .topnav__links--left,
  .topnav__links--right {
    display: none;
  }

  .topnav__social {
    display: none;
  }

  .topnav__toggle {
    display: inline-flex;
  }

  .topnav__mobile[data-open='true'] {
    display: block;
  }
}

@media (max-width: 520px) {
  .topnav {
    top: 0.5rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .topnav__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.68rem 0.78rem;
    gap: 0.55rem;
    min-height: 2.9rem;
  }

  .topnav__brand {
    position: static;
    max-width: 100%;
    font-size: 0.76rem;
    gap: 0.34rem;
    padding-inline: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
    z-index: 1;
  }

  .topnav__logo-star {
    display: none;
  }

  .topnav__actions {
    position: relative;
    width: auto;
    justify-self: end;
    z-index: 2;
  }

  .topnav__toggle {
    width: 2.35rem;
    height: 2.35rem;
  }

  .topnav__toggle span {
    width: 0.88rem;
  }

  .topnav__mobile {
    margin-top: 0.45rem;
    padding: 0;
  }

  .topnav__mobile-links {
    padding: 0.65rem;
    border-radius: 1.1rem;
  }

  .topnav__mobile-links a {
    padding: 0.72rem 0.8rem;
    font-size: 0.94rem;
  }
}

/* Portada: bloque arriba (flex-start), no centrado vertical — así el movimiento sí se ve */
.hero--cinema {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(8.75rem, 18vh, 10.6rem) clamp(1.25rem, 4vw, 2rem) clamp(5rem, 12vh, 7rem);
  text-align: center;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(36rem, 100%);
  margin-inline: auto;
  margin-top: 0;
}

/* Regular (400); escala un poco menor, proporciones tipo referencia */
.hero__title {
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.875rem, 5.5vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: rgb(245 245 245);
  margin: 0 0 clamp(0.85rem, 2.2vw, 1.25rem);
}

.hero__title-line {
  display: block;
  font-weight: inherit;
}

.hero--cinema .hero__title-line {
  animation: portadaTitleLineIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero--cinema .hero__title-line:nth-child(2) {
  animation-delay: 0.14s;
}

.hero__lead {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.8125rem, 1.75vw, 0.9375rem);
  font-weight: 700;
  line-height: 1.58;
  letter-spacing: -0.01em;
  color: rgb(255 255 255 / 0.82);
  margin: 0 auto;
  max-width: 26rem;
}

.hero--cinema .hero__lead {
  animation: portadaFadeUpIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

@keyframes portadaNavShellIn {
  from {
    opacity: 0;
    transform: translateY(-0.75rem) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes portadaBrandIn {
  from {
    opacity: 0;
    transform: translateY(0.35rem) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes portadaTitleLineIn {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes portadaFadeUpIn {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet y móvil: centrar el bloque en la altura útil y bajar padding — evita el “vacío” bajo el CTA */
@media (max-width: 1024px) {
  .hero--cinema {
    justify-content: center;
    padding: max(4.75rem, calc(env(safe-area-inset-top, 0px) + 3.75rem)) clamp(1rem, 4vw, 1.5rem)
      max(2.85rem, calc(env(safe-area-inset-bottom, 0px) + 1.5rem));
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }
}

@media (max-width: 680px) {
  /* Compacta pero sin solapes: padding alto para la barra fija; hint en flujo (no absolute) */
  .hero--cinema {
    justify-content: flex-start;
    min-height: auto;
    padding: max(6.75rem, calc(env(safe-area-inset-top, 0px) + 5.5rem)) 1rem
      max(1.35rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  }

  .hero__inner {
    max-width: min(22.5rem, 92vw);
    flex-shrink: 0;
  }

  .hero__title {
    font-size: clamp(1.9rem, 7.8vw, 3.05rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 0.75rem;
  }

  .hero__lead {
    max-width: 15.5rem;
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .hero__actions {
    margin-top: 1rem;
  }
}

@media (max-width: 380px) {
  .hero--cinema {
    padding: max(6.35rem, calc(env(safe-area-inset-top, 0px) + 5.1rem)) 0.85rem
      max(1.15rem, calc(env(safe-area-inset-bottom, 0px) + 0.85rem));
  }

  .hero__inner {
    max-width: min(19rem, 92vw);
  }

  .hero__title {
    font-size: clamp(1.72rem, 5.2vw, 2.05rem);
  }

  .hero__lead {
    max-width: 14rem;
    font-size: 0.76rem;
  }

  .hero__actions .btn--cta-light {
    min-width: 7.2rem;
    padding: 0.82rem 1.3rem;
    font-size: 0.92rem;
  }
}

/* Breakpoint L (diseño): título 56px / -0.03em / line 1; espacio al lead aparte */
@media (min-width: 1200px) {
  .hero__title {
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0;
  }

  .hero__lead {
    margin-top: 1rem;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(1.35rem, 3.2vw, 1.9rem);
}

.hero--cinema .hero__actions {
  animation: portadaFadeUpIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.48s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.75rem;
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--cta-light {
  background: #ffffff;
  color: #000000;
  border-color: rgb(255 255 255 / 0.95);
  box-shadow: 0 4px 24px rgb(0 0 0 / 0.35);
}

.btn--cta-light:hover {
  background: rgb(250 250 250);
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.4);
}

.hero__actions .btn--cta-light {
  padding: 0.62rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(248 248 248);
  background: rgb(210 220 224 / 0.28);
  border: 1px solid rgb(235 241 244 / 0.42);
  backdrop-filter: blur(16px) saturate(110%);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.22);
}

.hero__actions .btn--cta-light:hover {
  color: #ffffff;
  background: rgb(210 220 224 / 0.34);
  border-color: rgb(240 245 248 / 0.5);
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.26);
}

/* Segunda parte — negro puro (#000), sin degradado claro que lo vuelva “gris carbón” */
.page-second {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-margin-top: 4rem;
  background-color: #000000;
  color: rgb(250 250 250);
}

.page-second > * {
  position: relative;
  z-index: 2;
}

/* Introducing Message — encima de “Acerca de nosotros”; imágenes: descomentar <img> dentro de .introducing-card__media */
.introducing {
  padding: clamp(2.75rem, 7vw, 4.25rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 9vw, 5rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.introducing__inner {
  max-width: min(72rem, 100%);
  margin-inline: auto;
}

.introducing__eyebrow {
  margin: 0 0 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgb(161 161 170);
}

.introducing__title {
  margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
  max-width: min(48rem, 100%);
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-align: left;
}

/* Misma familia que el hero; contraste por color: blanco un poco más marcado, gris en regular */
.introducing__title-strong {
  color: #ffffff;
  font-weight: 500;
}

.introducing__title-muted {
  color: rgb(161 161 170);
  font-weight: 400;
}

.introducing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.introducing-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: left;
}

.introducing-card__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.introducing-card__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 17.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
}

.introducing-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.introducing-card__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2.5vw, 1.25rem);
}

.introducing-card__layer--bottom {
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2.5vw, 1.1rem);
}

.introducing-card__layer--stack {
  align-items: center;
  justify-content: center;
  padding: clamp(0.65rem, 2vw, 1rem);
}

/* Card 1 — flujo vertical con flechas */
.introducing-pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 17.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.introducing-pipeline__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgb(12 12 14 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgb(0 0 0 / 0.25);
}

.introducing-pipeline__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  color: #fff;
  display: grid;
  place-items: center;
}

.introducing-pipeline__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.introducing-pipeline__text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

.introducing-pipeline__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.125rem;
  color: rgb(255 255 255 / 0.45);
}

.introducing-pipeline__arrow svg {
  width: 1.25rem;
  height: auto;
}

/* Card 2 — tarjeta clara tipo cristal */
.introducing-glass--light {
  width: min(28rem, 100%);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.2);
}

.introducing-glass__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.introducing-glass__orb {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.08) 45%, rgb(120 160 180 / 0.25));
  border: 1px solid rgb(255 255 255 / 0.35);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4);
}

.introducing-glass__title {
  margin: 0;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.introducing-glass__body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.78rem, 1.55vw, 0.875rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgb(250 250 250 / 0.95);
}

.introducing-glass__body p {
  margin: 0 0 0.65rem;
}

.introducing-glass__body p:last-child {
  margin-bottom: 0;
}

.introducing-glass__tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
  margin-top: 1rem;
  color: #fff;
}

.introducing-glass__tool {
  display: grid;
  place-items: center;
  opacity: 0.9;
}

.introducing-glass__tool svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Card 3 — chips oscuros apilados */
.introducing-results__chips {
  width: 100%;
  max-width: 19rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.introducing-results__hint,
.introducing-results__panel {
  border-radius: 16px;
  background: rgb(22 22 24 / 0.78);
  border: 1px solid rgb(255 255 255 / 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.introducing-results__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
}

.introducing-results__spark {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #fff;
  display: grid;
  place-items: center;
}

.introducing-results__spark svg {
  width: 0.85rem;
  height: 0.85rem;
}

.introducing-results__hint-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.68rem, 1.35vw, 0.78rem);
  line-height: 1.35;
  font-weight: 500;
  color: #fff;
}

.introducing-results__pill {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  color: rgb(24 24 27);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.introducing-results__panel {
  padding: clamp(0.75rem, 2vw, 1rem);
}

.introducing-results__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.introducing-results__panel-title {
  margin: 0;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(0.875rem, 1.9vw, 1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.introducing-results__badge {
  flex-shrink: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: rgb(24 24 27);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
}

.introducing-results__list {
  margin: 0 0 0.65rem;
  padding: 0;
  list-style: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.72rem, 1.45vw, 0.8125rem);
  line-height: 1.45;
  color: rgb(250 250 250 / 0.95);
}

.introducing-results__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
}

.introducing-results__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #fff;
  opacity: 0.85;
}

.introducing-results__list li:last-child {
  margin-bottom: 0;
}

.introducing-results__foot {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.65rem, 1.25vw, 0.75rem);
  line-height: 1.45;
  color: rgb(250 250 250 / 0.82);
}

.introducing-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
}

.introducing-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.introducing-card__title {
  margin: 0;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgb(250 250 250);
}

.introducing-card__text {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.875rem, 1.65vw, 0.9375rem);
  line-height: 1.55;
  color: rgb(161 161 170);
}

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

/* How it works — solo la imagen izquierda cambia por paso (.how-it-works__visual + .how-it-works__img en cada .how-it-works__visual-bg) */
.how-it-works {
  padding: clamp(2.75rem, 7vw, 4.25rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 9vw, 5rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background-color: #121212;
  /* Anclas (#how-it-works): espacio bajo la topnav fija para que no tape el título */
  scroll-margin-top: clamp(4.75rem, 14vw, 6.25rem);
}

.how-it-works__inner {
  max-width: min(72rem, 100%);
  margin-inline: auto;
}

.how-it-works__eyebrow {
  margin: 0 0 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgb(153 153 153);
  text-align: left;
}

.how-it-works__title {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  max-width: min(40rem, 100%);
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4.2vw, 2.625rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: left;
}

.how-it-works__title-line {
  display: block;
}

.how-it-works__title-line:not(.how-it-works__title-line--muted) {
  color: #ffffff;
  font-weight: 500;
}

.how-it-works__title-line--muted {
  margin-top: 0.15em;
  color: rgb(153 153 153);
  font-weight: 400;
}

.how-it-works__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.how-it-works__stage {
  min-width: 0;
}

.how-it-works__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(32rem, 70vh);
  border-radius: 14px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
}

.how-it-works__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2.2vw, 1.35rem);
}

.how-it-works__overlay .idea-mini-wrap {
  width: min(92%, 26rem);
}

.how-it-works__overlay .idea-mini {
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.how-it-works__overlay .idea-mini__body {
  min-height: 0;
  overflow: auto;
}

.how-it-works__overlay .idea-mini__footer {
  margin-top: auto;
}

@media (max-width: 560px) {
  .how-it-works__media {
    aspect-ratio: auto;
    max-height: none;
    overflow: visible;
  }

  .how-it-works__visual {
    position: relative;
    inset: auto;
    height: min(22rem, 55vh);
  }

  .how-it-works__overlay {
    position: relative;
    inset: auto;
    padding: 0.75rem;
  }

  .how-it-works__overlay [data-idea-mini-inline-mount] {
    display: none;
  }

  .idea-mini-fab {
    display: inline-flex;
  }

  .how-it-works__overlay .idea-mini-wrap {
    width: 100%;
    max-width: 24rem;
  }

  .how-it-works__overlay .idea-mini.idea-mini--prompt {
    margin-top: 0;
    padding-top: 1.25rem;
  }

  .how-it-works__overlay .idea-mini {
    padding: 1rem;
  }

  .how-it-works__overlay .idea-mini__footer {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.65rem;
  }

  .how-it-works__overlay .idea-mini__tools {
    width: 100%;
    justify-content: space-between;
  }

  .how-it-works__overlay .idea-mini__actions {
    width: 100%;
    justify-content: stretch;
  }

  .how-it-works__overlay .idea-mini__back,
  .how-it-works__overlay .idea-mini__next,
  .how-it-works__overlay .idea-mini__submit {
    flex: 1;
    justify-content: center;
  }
}

.idea-mini-fab {
  display: none;
  align-items: center;
  justify-content: center;
  width: min(24rem, 100%);
  padding: 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(18 24 28 / 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 55px rgb(0 0 0 / 0.35);
  color: #fff;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 560px) {
  .idea-mini-fab {
    display: inline-flex;
  }
}

.idea-mini-fab:active {
  transform: translateY(1px);
}

.idea-mini-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: env(safe-area-inset-top) 1rem env(safe-area-inset-bottom);
}

.idea-mini-modal[hidden] {
  display: none;
}

.idea-mini-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.idea-mini-modal__panel {
  position: relative;
  width: min(32rem, 100%);
  height: min(90dvh, 44rem);
  border-radius: 1.35rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.02)),
    linear-gradient(135deg, rgb(10 14 16 / 0.96), rgb(16 18 22 / 0.94) 55%, rgb(20 24 24 / 0.94));
  box-shadow: 0 40px 120px rgb(0 0 0 / 0.55);
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}

.idea-mini-modal__close {
  align-self: flex-end;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.06);
  color: #fff;
  cursor: pointer;
}

.idea-mini-modal__mount {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.25rem;
}

@media (max-width: 560px) {
  .idea-mini-modal__panel {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    padding: env(safe-area-inset-top) 0.9rem env(safe-area-inset-bottom);
  }
}

.how-it-works__overlay .idea-mini.idea-mini--prompt {
  margin-top: -0.35rem;
  padding-top: 1.55rem;
  border-radius: 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow:
    0 0 0 1px rgb(72 130 134 / 0.18),
    0 40px 90px rgb(0 0 0 / 0.55),
    0 1px 0 rgb(255 255 255 / 0.1) inset;
}

.how-it-works__overlay .idea-mini.idea-mini--prompt::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0.55rem;
  margin-left: -1.25rem;
  width: 2.5rem;
  height: 0.22rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  pointer-events: none;
  z-index: 2;
}

.idea-mini__chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.15rem 0 0.35rem;
  margin: 0 0 0.15rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.idea-mini__chrome-dots {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
}

.idea-mini__chrome-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
}

.idea-mini__chrome-dots span:first-child {
  background: rgb(255 120 110 / 0.85);
}

.idea-mini__chrome-dots span:nth-child(2) {
  background: rgb(255 200 110 / 0.85);
}

.idea-mini__chrome-dots span:nth-child(3) {
  background: rgb(110 210 160 / 0.75);
}

.idea-mini__chrome-title {
  font-family: ui-monospace, 'SF Mono', 'Menlo', Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgb(160 168 170 / 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.idea-mini__hint--soft {
  font-size: 0.84rem;
  color: rgb(170 170 180 / 0.85);
  margin-top: -0.15rem;
}

.how-it-works__rail {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3vw, 1.85rem);
  min-width: 0;
}

.how-it-works__rail-intro {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgb(165 165 175 / 0.98);
}

.how-it-works__steps--static .how-it-works__step {
  border-left-width: 2px;
  border-left-color: rgb(255 255 255 / 0.1);
}

.how-it-works__step-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0;
}

.how-it-works__step-block .how-it-works__step-icon {
  margin-left: -0.25rem;
}

.how-it-works__visual {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.how-it-works__visual-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgb(255 255 255 / 0.03);
}

.how-it-works__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-it-works__preview {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(88%, 17.5rem);
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 14px;
  background: rgb(28 28 30 / 0.92);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.45);
}

.how-it-works__preview-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.how-it-works__preview-spark {
  flex-shrink: 0;
  color: rgb(212 212 212);
}

.how-it-works__preview-title {
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
}

.how-it-works__preview-text {
  margin: 0 0 0.85rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgb(161 161 170);
}

.how-it-works__preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  background: #ffffff;
  color: #000000;
}

.how-it-works__toolbar {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.how-it-works__tool {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.08);
  color: rgb(180 180 180);
}

.how-it-works__tool svg {
  width: 1.05rem;
  height: 1.05rem;
}

.how-it-works__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.how-it-works__step {
  margin: 0;
  padding: 0 0 0 1.1rem;
  border-left: 1px solid rgb(255 255 255 / 0.12);
}

.how-it-works__step-hit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.how-it-works__step-hit:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.45);
  outline-offset: 3px;
}

.how-it-works__step-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: -0.25rem;
  color: rgb(200 200 200);
}

.how-it-works__step-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.how-it-works__step-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.how-it-works__step-title {
  display: block;
  margin: 0;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.how-it-works__step-text {
  display: block;
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(153 153 153);
}

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

  .how-it-works__media {
    max-height: 26rem;
    aspect-ratio: 16 / 12;
  }
}

/* Manifiesto / Benefits — misma lógica que proyectos: radiales + fichas cristal */
.benefits {
  padding: clamp(2.75rem, 7vw, 4.25rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 9vw, 5rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  scroll-margin-top: 4rem;
  background-color: #0a0a0a;
  background-image:
    radial-gradient(ellipse 90% 55% at 20% 0%, rgb(55 75 120 / 0.2), transparent 58%),
    radial-gradient(ellipse 70% 50% at 95% 70%, rgb(90 45 95 / 0.14), transparent 48%),
    radial-gradient(ellipse 55% 45% at 0% 85%, rgb(35 95 85 / 0.1), transparent 42%);
}

.benefits__inner {
  max-width: min(72rem, 100%);
  margin-inline: auto;
}

.benefits__eyebrow {
  margin: 0 0 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgb(161 161 170);
  text-align: left;
}

.benefits__title {
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  max-width: min(52rem, 100%);
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-align: left;
}

.benefits__title-strong {
  color: #ffffff;
  font-weight: 500;
}

.benefits__title-muted {
  color: rgb(161 161 170);
  font-weight: 400;
}

.benefits__lead {
  margin: 0 0 clamp(2rem, 4.5vw, 2.75rem);
  max-width: min(40rem, 100%);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgb(189 189 189);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.8vw, 1.75rem);
  align-items: stretch;
  counter-reset: manifesto;
}

.benefits-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  padding-top: clamp(1.6rem, 3.2vw, 2rem);
  text-align: left;
  border-radius: 16px;
  background: rgb(16 18 24 / 0.42);
  border: 1px solid rgb(255 255 255 / 0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 8px 36px rgb(0 0 0 / 0.32),
    inset 0 1px 0 rgb(255 255 255 / 0.08);
  counter-increment: manifesto;
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.benefits-card__toggle {
  all: unset;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1rem;
  width: 100%;
  cursor: pointer;
}

.benefits-card__toggle:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.35);
  outline-offset: 6px;
  border-radius: 14px;
}

.benefits-card__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.benefits-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.62);
  user-select: none;
}

.benefits-card__chev {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.04);
  color: rgb(255 255 255 / 0.78);
  transform: translateY(1px);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.benefits-card__chev svg {
  width: 1.05rem;
  height: 1.05rem;
}

.benefits-card:hover .benefits-card__chev {
  border-color: rgb(255 255 255 / 0.24);
  background: rgb(255 255 255 / 0.06);
}

.benefits-card__more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0.25rem;
  transition:
    grid-template-rows 0.36s ease,
    opacity 0.25s ease;
}

.benefits-card__more-inner {
  overflow: hidden;
}

.benefits-card__more-lead {
  margin: 0 0 0.7rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(214 214 214);
}

.benefits-card__more-list {
  margin: 0;
  padding-left: 1.1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(171 171 171);
}

.benefits-card__more-list li + li {
  margin-top: 0.35rem;
}

.benefits-card[data-expanded='true'] .benefits-card__more {
  grid-template-rows: 1fr;
  opacity: 1;
}

.benefits-card[data-expanded='true'] .benefits-card__chev {
  transform: translateY(1px) rotate(180deg);
}

.benefits-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(150deg, rgb(255 255 255 / 0.08) 0%, transparent 46%);
  opacity: 0.88;
  transition: opacity 0.3s ease;
}

.benefits-card::after {
  content: counter(manifesto, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgb(255 255 255 / 0.22);
  pointer-events: none;
}

.benefits-card:hover {
  background: rgb(22 24 32 / 0.52);
  border-color: rgb(255 255 255 / 0.24);
  box-shadow:
    0 12px 44px rgb(0 0 0 / 0.4),
    0 0 48px rgb(120 160 220 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.14);
  transform: translateY(-2px);
}

.benefits-card:hover::before {
  opacity: 1;
  background: linear-gradient(142deg, rgb(255 255 255 / 0.12) 0%, transparent 48%);
}

.benefits-card > * {
  position: relative;
  z-index: 2;
}

.benefits-card__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.benefits-card:hover .benefits-card__icon {
  border-color: rgb(255 255 255 / 0.32);
  background: rgb(255 255 255 / 0.1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 0 20px rgb(255 255 255 / 0.08);
}

.benefits-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.benefits-card__title {
  margin: 0;
  padding-right: 2.25rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: rgb(250 250 250);
  transition: text-shadow 0.3s ease;
}

.benefits-card:hover .benefits-card__title {
  text-shadow: 0 0 28px rgb(255 255 255 / 0.12);
}

.benefits-card__text {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.8125rem, 1.55vw, 0.9375rem);
  line-height: 1.58;
  color: rgb(161 161 170);
}

@media (max-width: 520px) {
  .benefits-card__toggle {
    grid-template-columns: auto 1fr;
  }

  .benefits-card__chev {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: -0.4rem;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .benefits-card {
    transition: none;
  }
  .benefits-card:hover {
    transform: none;
  }
}

/* FAQ — acordeón dos columnas */
.faq {
  padding: clamp(2.75rem, 7vw, 4.25rem) clamp(1.25rem, 4vw, 2rem) clamp(2.5rem, 6vw, 3.5rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background-color: #0a0a0a;
  scroll-margin-top: 4rem;
}

.faq__inner {
  max-width: min(72rem, 100%);
  margin-inline: auto;
}

.faq__eyebrow {
  margin: 0 0 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgb(148 148 148);
  text-align: left;
}

.faq__title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  max-width: min(40rem, 100%);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-align: left;
}

.faq__title-strong {
  color: #ffffff;
  font-weight: 600;
}

.faq__title-muted {
  color: rgb(148 148 148);
  font-weight: 500;
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 0.85rem) clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}

.faq__col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.5vw, 0.85rem);
}

.faq__item {
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.02);
  overflow: hidden;
}

.faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
}

.faq__summary::-webkit-details-marker {
  display: none;
}

.faq__summary::marker {
  content: '';
}

.faq__summary:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.35);
  outline-offset: 2px;
}

.faq__question {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.faq__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: #ffffff;
}

.faq__icon::before {
  content: '+';
}

.faq__item[open] .faq__icon::before {
  content: '−';
}

.faq__panel {
  padding: 0 1.15rem 1.1rem;
  border-top: 1px solid rgb(255 255 255 / 0.06);
  margin-top: -1px;
}

.faq__panel p {
  margin: 0;
  padding-top: 0.85rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgb(160 160 160);
}

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

/* Idea lab — panel funcional para publicar ideas */
.idea-lab {
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem) clamp(2.75rem, 7vw, 4.25rem);
  background-color: #0a0a0a;
}

.idea-lab__inner {
  max-width: min(68rem, 100%);
  margin-inline: auto;
}

.idea-lab__layout {
  display: grid;
  grid-template-columns: minmax(0, 30rem) minmax(15rem, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.idea-mini-wrap {
  display: flex;
  justify-content: flex-start;
}

.idea-mini {
  width: min(26rem, 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01)),
    linear-gradient(135deg, rgb(14 22 26 / 0.94), rgb(17 18 22 / 0.92) 55%, rgb(20 24 24 / 0.92));
  box-shadow:
    0 30px 70px rgb(0 0 0 / 0.32),
    0 1px 0 rgb(255 255 255 / 0.08) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.idea-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgb(112 141 145 / 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgb(51 132 137 / 0.12), transparent 26%);
  pointer-events: none;
}

.idea-mini > * {
  position: relative;
  z-index: 1;
}

.idea-mini__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
}

.idea-mini__icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 0.04);
  color: rgb(250 250 250 / 0.95);
}

.idea-mini__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.idea-mini__title {
  margin: 0 0 0.25rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.idea-mini__subtitle {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgb(195 195 195 / 0.82);
}

.idea-mini__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  will-change: transform, opacity, filter;
  transition:
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.24s ease,
    filter 0.32s ease;
}

.idea-mini__body[data-step-direction='forward'].is-leaving {
  transform: translateX(-14px);
  opacity: 0;
  filter: blur(2px);
}

.idea-mini__body[data-step-direction='backward'].is-leaving {
  transform: translateX(14px);
  opacity: 0;
  filter: blur(2px);
}

.idea-mini__body[data-step-direction='forward'].is-entering {
  transform: translateX(14px);
  opacity: 0;
  filter: blur(2px);
}

.idea-mini__body[data-step-direction='backward'].is-entering {
  transform: translateX(-14px);
  opacity: 0;
  filter: blur(2px);
}

@media (prefers-reduced-motion: reduce) {
  .idea-mini__body,
  .idea-mini__body.is-leaving,
  .idea-mini__body.is-entering {
    transition: none;
    transform: none;
    filter: none;
    opacity: 1;
  }
}

.idea-mini__stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.idea-mini__hint {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  color: rgb(195 195 195 / 0.9);
}

.idea-mini__pills {
  display: grid;
  gap: 0.6rem;
}

.idea-mini__pill {
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.03);
  color: #ffffff;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.idea-mini__pill:hover {
  transform: translateY(-1px);
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.18);
}

.idea-mini__pill[aria-pressed='true'] {
  border-color: rgb(255 255 255 / 0.32);
  background: rgb(255 255 255 / 0.08);
}

.idea-mini__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.idea-mini__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.idea-mini__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgb(180 180 180);
}

.idea-mini__input,
.idea-mini__textarea,
.idea-mini__select {
  width: 100%;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 0.04);
  color: #ffffff;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.idea-mini__input {
  min-height: 2.85rem;
  padding: 0.75rem 0.85rem;
}

.idea-mini__textarea {
  padding: 0.75rem 0.85rem;
  resize: none;
}

.idea-mini__select {
  min-height: 2.85rem;
  padding: 0.6rem 0.75rem;
  appearance: auto;
  color-scheme: dark;
  background-color: rgb(24 26 28);
}

.idea-mini__select option {
  background-color: rgb(24 26 28);
  color: #f5f5f5;
}

.idea-mini__stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.idea-mini__stage-pill {
  width: 100%;
  text-align: center;
  padding: 0.55rem 0.45rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.04);
  color: rgb(235 235 240 / 0.95);
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.idea-mini__stage-pill:hover {
  background: rgb(255 255 255 / 0.07);
  border-color: rgb(255 255 255 / 0.22);
}

.idea-mini__stage-pill--selected {
  border-color: rgb(130 200 195 / 0.55);
  background: rgb(255 255 255 / 0.1);
  color: #ffffff;
}

.idea-mini__input:focus,
.idea-mini__textarea:focus,
.idea-mini__select:focus {
  border-color: rgb(255 255 255 / 0.26);
  background: rgb(255 255 255 / 0.06);
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.04);
}

.idea-mini__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.idea-mini__tools {
  display: flex;
  gap: 0.55rem;
}

.idea-mini__tool {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.03);
  color: rgb(232 232 232 / 0.88);
}

.idea-mini__tool svg {
  width: 1.05rem;
  height: 1.05rem;
}

.idea-mini__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.idea-mini__back {
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.04);
  color: #ffffff;
  border-radius: 999px;
  min-height: 2.65rem;
  padding: 0.6rem 0.9rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.idea-mini__next,
.idea-mini__submit {
  border: none;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 999px;
  min-height: 2.65rem;
  padding: 0.6rem 1rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.idea-mini__next:hover,
.idea-mini__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.28);
}

.idea-mini__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.idea-mini__status {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgb(192 192 192);
  min-height: 1.2em;
}

.idea-mini__status[data-tone='success'] {
  color: rgb(179 243 207);
}

.idea-mini__status[data-tone='error'] {
  color: rgb(255 177 177);
}

.idea-mini__status[data-tone='warning'] {
  color: rgb(255 220 160);
}

.idea-mini__status[data-tone='loading'] {
  color: rgb(220 226 255);
}

.idea-mini__review {
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.03);
}

.idea-mini__review-eyebrow {
  margin: 0 0 0.55rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(169 169 169);
}

.idea-mini__review-title {
  margin: 0 0 0.5rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.idea-mini__review-text {
  margin: 0;
  white-space: pre-wrap;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgb(180 180 180);
}

.idea-lab__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.75rem;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01)),
    linear-gradient(135deg, rgb(14 22 26 / 0.96), rgb(17 18 22 / 0.95) 55%, rgb(20 24 24 / 0.94));
  box-shadow:
    0 30px 70px rgb(0 0 0 / 0.32),
    0 1px 0 rgb(255 255 255 / 0.08) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.idea-lab__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgb(112 141 145 / 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgb(51 132 137 / 0.12), transparent 26%);
  pointer-events: none;
}

.idea-lab__header,
.idea-lab__body {
  position: relative;
  z-index: 1;
}

.idea-lab__header {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: clamp(1.6rem, 4vw, 2rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.idea-lab__badge {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  flex-shrink: 0;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.04);
  color: rgb(250 250 250 / 0.95);
}

.idea-lab__badge svg {
  width: 1.4rem;
  height: 1.4rem;
}

.idea-lab__intro {
  max-width: 28rem;
}

.idea-lab__title {
  margin: 0 0 0.45rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.idea-lab__lead {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: rgb(215 215 215 / 0.8);
}

.idea-lab__body {
  padding: clamp(1.4rem, 3.8vw, 2rem);
}

.idea-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.idea-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.idea-flow__step {
  margin: 0;
  padding: 0 0 0 1.1rem;
  border-left: 1px solid rgb(255 255 255 / 0.12);
}

.idea-flow__step--current {
  border-left-width: 3px;
  border-left-color: #ffffff;
}

.idea-flow__hit {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.idea-flow__hit:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.45);
  outline-offset: 3px;
  border-radius: 10px;
}

.idea-flow__step-title {
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.idea-flow__step-text {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgb(168 168 168);
}

.idea-pane {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.idea-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.25rem;
}

.idea-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.04);
  color: #ffffff;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.idea-nav__btn:hover {
  background: rgb(255 255 255 / 0.08);
  transform: translateY(-1px);
}

.idea-nav__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.idea-nav__btn--primary {
  justify-self: end;
  background: #ffffff;
  color: #1a1a1a;
  border-color: transparent;
}

.idea-nav__btn--primary:hover {
  background: rgb(245 245 245);
}

.idea-review {
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.03);
}

.idea-review__eyebrow {
  margin: 0 0 0.6rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(169 169 169);
}

.idea-review__title {
  margin: 0 0 0.5rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.idea-review__description {
  margin: 0;
  white-space: pre-wrap;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgb(180 180 180);
}

.idea-form__grid,
.idea-form__split {
  display: grid;
  gap: 1rem;
}

.idea-form__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.idea-form__split {
  grid-template-columns: minmax(0, 1.25fr) minmax(14rem, 0.8fr);
  align-items: start;
}

.idea-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.idea-form__field--full {
  width: 100%;
}

.idea-form__label {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgb(180 180 180);
}

.idea-form__input,
.idea-form__textarea {
  width: 100%;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.04);
  color: #ffffff;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.idea-form__input {
  min-height: 3.3rem;
  padding: 0.9rem 1rem;
}

.idea-form__textarea {
  min-height: 10rem;
  padding: 1rem;
  resize: vertical;
}

.idea-form__input::placeholder,
.idea-form__textarea::placeholder {
  color: rgb(160 160 160 / 0.7);
}

.idea-form__input:focus,
.idea-form__textarea:focus {
  border-color: rgb(255 255 255 / 0.26);
  background: rgb(255 255 255 / 0.06);
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.04);
}

.idea-steps {
  margin: 0;
  padding: 1rem 0 0;
  border: none;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.idea-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 0.55rem 0;
  cursor: pointer;
}

.idea-step__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.idea-step__marker {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border: 1.5px solid rgb(180 180 180 / 0.6);
  border-radius: 999px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.idea-step__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.idea-step__title {
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgb(245 245 245 / 0.95);
}

.idea-step__text {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgb(168 168 168);
}

.idea-step__input:checked + .idea-step__marker {
  border-color: #ffffff;
  background: radial-gradient(circle, #ffffff 0 38%, transparent 42%);
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.06);
}

.idea-step__input:focus-visible + .idea-step__marker {
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.1);
}

.idea-sidecard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.02));
}

.idea-sidecard__section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.idea-sidecard__section--muted {
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.idea-sidecard__eyebrow {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(169 169 169);
}

.idea-sidecard__headline {
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

.idea-sidecard__text,
.idea-sidecard__list {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgb(180 180 180);
}

.idea-sidecard__list {
  padding-left: 1rem;
}

.idea-sidecard__list li + li {
  margin-top: 0.35rem;
}

.idea-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.idea-form__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.idea-form__tool {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 0.03);
  color: rgb(232 232 232 / 0.88);
}

.idea-form__tool svg {
  width: 1.15rem;
  height: 1.15rem;
}

.idea-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: auto;
}

.idea-form__status {
  margin: 0;
  max-width: 20rem;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgb(192 192 192);
}

.idea-form__status[data-tone='success'] {
  color: rgb(179 243 207);
}

.idea-form__status[data-tone='error'] {
  color: rgb(255 177 177);
}

.idea-form__status[data-tone='warning'] {
  color: rgb(255 220 160);
}

.idea-form__status[data-tone='loading'] {
  color: rgb(220 226 255);
}

.idea-form__submit {
  min-width: 11rem;
  padding: 0.95rem 1.45rem;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.22);
}

.idea-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.28);
}

.idea-form__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.idea-contact {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.02)),
    linear-gradient(145deg, rgb(12 18 22 / 0.9), rgb(16 19 20 / 0.85));
  box-shadow:
    0 22px 50px rgb(0 0 0 / 0.22),
    0 1px 0 rgb(255 255 255 / 0.05) inset;
}

.idea-contact::before {
  content: '';
  position: absolute;
  inset: auto -12% -18% auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(97 171 173 / 0.22), transparent 62%);
  pointer-events: none;
}

.idea-contact > * {
  position: relative;
  z-index: 1;
}

.idea-contact__eyebrow {
  margin: 0 0 0.7rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(168 168 168);
}

.idea-contact__title {
  margin: 0 0 0.85rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.idea-contact__text,
.idea-contact__note {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgb(194 194 194 / 0.82);
}

.idea-contact__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1.2rem 0 0.9rem;
  padding: 0.92rem 1.2rem;
  border: 1px solid rgb(255 255 255 / 0.11);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.idea-contact__mail:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.18);
  transform: translateY(-1px);
}

@media (max-width: 880px) {
  .idea-lab__layout {
    grid-template-columns: 1fr;
  }

  .idea-mini {
    width: min(24rem, 100%);
  }

  .idea-mini__grid {
    grid-template-columns: 1fr;
  }

  .idea-contact {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .idea-mini {
    padding: 1.1rem;
    border-radius: 1.2rem;
  }

  .idea-mini__tools {
    gap: 0.45rem;
  }

  .idea-mini__tool {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.site-footer {
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(1rem, 4vw, 1.75rem) clamp(2.5rem, 7vw, 3.75rem);
  position: relative;
  isolation: isolate;
  background-color: rgb(8 18 32);
  background-image: url('../img/back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-footer__glass {
  position: relative;
  max-width: min(64rem, 100%);
  margin-inline: auto;
  padding: clamp(1.35rem, 3.2vw, 1.95rem) clamp(1.2rem, 3.5vw, 1.85rem);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(16 20 28 / 0.42);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow:
    0 16px 48px rgb(0 0 0 / 0.32),
    inset 0 1px 0 rgb(255 255 255 / 0.11);
}

.site-footer__glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(155deg, rgb(255 255 255 / 0.1) 0%, transparent 45%);
  opacity: 0.55;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.site-footer__brand-col {
  max-width: 22rem;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgb(252 252 253);
  text-decoration: none;
  text-shadow: 0 1px 18px rgb(0 0 0 / 0.25);
}

.site-footer__brand:hover {
  color: #fff;
}

.site-footer__logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 1.45rem;
  opacity: 0.95;
  object-fit: contain;
}

/* Badge para el logo en cualquier contexto que NO sea nav/footer */
img[src$="/img/logo.png"]:not(.topnav__logo):not(.site-footer__logo),
img[src$="img/logo.png"]:not(.topnav__logo):not(.site-footer__logo),
img[src$="./img/logo.png"]:not(.topnav__logo):not(.site-footer__logo) {
  padding: 0.38rem;
  border-radius: 0.75rem;
  background: rgb(120 150 155 / 0.9);
  box-shadow:
    0 10px 24px rgb(0 0 0 / 0.18),
    inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.site-footer__origin {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.62;
  letter-spacing: 0.01em;
  color: rgb(218 226 236 / 0.88);
}

.site-footer__origin strong {
  font-weight: 600;
  color: rgb(248 250 252 / 0.95);
}

.site-footer__copyright {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(232 238 245 / 0.72);
}

.site-footer__legal-links {
  margin: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.site-footer__legal-link {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgb(226 232 240 / 0.88);
  text-decoration: none;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.06);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.site-footer__legal-link:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.24);
}

.site-footer__contact-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: min(100%, 14.5rem);
}

.site-footer__contact-title {
  margin: 0 0 0.45rem;
  font-family: 'Host Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgb(248 250 252 / 0.98);
}

.site-footer__contact-lead {
  margin: 0 0 0.95rem;
  max-width: 18rem;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgb(210 218 228 / 0.78);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  font-style: normal;
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgb(236 242 250 / 0.88);
  text-decoration: none;
  padding: 0.28rem 0;
  border-bottom: 1px solid transparent;
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}

.site-footer__contact-link:hover {
  color: #fff;
  border-bottom-color: rgb(255 255 255 / 0.35);
}

.site-footer__cta.btn {
  margin-top: 1.05rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(248 250 252);
  background: rgb(210 220 228 / 0.26);
  border: 1px solid rgb(235 241 248 / 0.4);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  box-shadow:
    0 8px 28px rgb(0 0 0 / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.14);
  transition:
    transform 0.15s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.site-footer__cta.btn:hover {
  color: #fff;
  background: rgb(220 230 238 / 0.34);
  border-color: rgb(244 248 252 / 0.52);
  box-shadow:
    0 10px 32px rgb(0 0 0 / 0.28),
    inset 0 1px 0 rgb(255 255 255 / 0.18);
}

/* Subtitulos: DM Sans regular (como referencia Framer) */
.introducing__title-muted,
.introducing-card__text,
.how-it-works__title-line--muted,
.how-it-works__step-text,
.benefits__title-muted,
.benefits-card__text,
.faq__title-muted,
.idea-lab__lead,
.site-footer__copyright,
.site-footer__contact-lead,
.site-footer__origin {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-weight: 400;
}

@media (max-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__contact-col {
    min-width: 0;
    width: 100%;
  }

  .site-footer__contact-lead {
    max-width: none;
  }

  .site-footer__cta.btn {
    width: 100%;
    justify-content: center;
  }
}

.about-panel {
  max-width: min(44rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(2.5rem, 8vw, 4rem) 1.25rem clamp(4rem, 12vw, 7rem);
  text-align: left;
}

/* Página dedicada Manifiesto (solo texto narrativo) */
.manifesto-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(6.5rem, 14vh, 8rem) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 12vw, 7rem);
  background: transparent;
}

.manifesto-doc {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 3;
  max-width: min(52rem, calc(100% - 2rem));
  margin-inline: auto;
  color: #ffffff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.manifesto-doc h1 {
  margin: 0 0 0.9rem;
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  text-wrap: balance;
}

.manifesto-doc__lead {
  margin: 0 0 2rem;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.45;
  color: rgb(176 176 176);
}

.manifesto-doc h2 {
  margin: 2rem 0 0.8rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  font-weight: 600;
  color: #ffffff;
}

.manifesto-doc p,
.manifesto-doc li {
  margin: 0 0 0.9rem;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.65;
  color: #ffffff;
}

.manifesto-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

#about-badge {
  scroll-margin-top: 5rem;
}

/* Un solo bloque de lectura; cada span sigue el foco al scroll */
.about-composition__inner {
  max-width: min(40rem, 100%);
  margin-inline: auto;
}

.about-composition__title {
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fafafa;
  text-align: left;
}

.about-composition__copy {
  font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
}

.about-composition__line {
  display: block;
  margin-bottom: 0.22rem;
}

.about-composition__line:last-of-type {
  margin-bottom: 0;
}

/* Scroll: texto grande, líneas muy juntas; inactivo gris claro / activo negro en negrita */
[data-scroll-line] {
  --focus: 0;
  font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
  transition:
    opacity 0.1s linear,
    font-weight 0.1s linear,
    color 0.1s linear;
}

.about-composition__copy .about-composition__line[data-scroll-line] {
  font-size: clamp(1.125rem, 3.1vw, 1.5rem);
  line-height: 1.34;
  letter-spacing: -0.021em;
  font-weight: calc(400 + var(--focus) * 300);
  color: rgb(250 250 250);
  opacity: calc(0.16 + var(--focus) * 0.84);
}

.about-composition__copy .about-composition__line:nth-child(3) {
  margin-top: 0.45rem;
}

.about-panel__emphasis {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: inherit;
}

/* Admin — proyectos (admin-dashboard.html) */
.admin-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgb(126 207 255 / 0.18), transparent 45%),
    radial-gradient(circle at 85% 25%, rgb(143 239 196 / 0.12), transparent 50%),
    linear-gradient(120deg, #0b0f16 0%, #0f1722 55%, #121b28 100%);
  color: #e8e8e8;
  font-family: 'Inter', system-ui, sans-serif;
}

.admin-shell {
  position: relative;
  z-index: 1;
  max-width: 74rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 1.25rem 3rem;
}

.admin-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2.25rem 1.25rem;
}

.admin-auth__card {
  width: min(28rem, 100%);
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(15 18 26 / 0.78);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 28px 80px rgb(0 0 0 / 0.45);
}

.admin-auth__header {
  margin-bottom: 1.1rem;
}

.admin-auth__brand {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(180 220 240 / 0.9);
}

.admin-auth__title {
  margin: 0 0 0.55rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.admin-auth__subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgb(180 190 202);
}

.admin-auth__subtitle code {
  font-size: 0.85em;
  color: rgb(210 218 228);
}

.admin-auth__status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.admin-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgb(255 255 255 / 0.18);
  border-top-color: rgb(126 207 255 / 0.8);
  animation: admin-spin 0.9s linear infinite;
}

@keyframes admin-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-appbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-appbar__left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-appbar__brand {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(180 220 240 / 0.9);
}

.admin-appbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.admin-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.05rem);
  font-weight: 600;
  color: #fff;
}

.admin-links a {
  color: #7ecfff;
  font-size: 0.9rem;
}

.admin-status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  margin: 0;
}

.admin-status--app {
  margin: 0 0 1rem;
}

.admin-status[data-tone='error'] {
  color: #ff9b9b;
}

.admin-status[data-tone='success'] {
  color: #8fefc4;
}

.admin-status[data-tone='loading'] {
  color: #c8d4ff;
}

.admin-login {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  max-width: none;
  background: transparent;
  border: 0;
  margin: 0;
}

.admin-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.admin-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-panel-head__left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-panel-head__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.admin-who {
  margin: 0;
  font-size: 0.85rem;
  color: rgb(170 180 192);
}

.admin-h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.admin-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(10 12 18 / 0.55);
}

.admin-tab {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  border: 0;
  color: rgb(220 230 240 / 0.92);
  background: transparent;
  cursor: pointer;
}

.admin-tab.is-active {
  color: #0a0a0a;
  background: rgb(255 255 255 / 0.92);
}

.admin-tabpanel[hidden] {
  display: none !important;
}

.admin-h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.admin-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.admin-section {
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: rgb(20 24 32 / 0.85);
  border: 1px solid rgb(255 255 255 / 0.12);
}

.admin-form,
.admin-login {
  font-size: 0.92rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

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

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.admin-field--check {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.admin-field span {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgb(200 206 214);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-field input:not([type='checkbox']),
.admin-field textarea,
.admin-field select,
.admin-select {
  font: inherit;
  color: #fff;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(10 12 18 / 0.65);
}

.admin-field select,
.admin-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 2.1rem;
  background-image:
    linear-gradient(45deg, transparent 50%, rgb(200 210 220) 50%),
    linear-gradient(135deg, rgb(200 210 220) 50%, transparent 50%);
  background-position:
    calc(100% - 1rem) 52%,
    calc(100% - 0.65rem) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.admin-field select option,
.admin-select option {
  background: #0a1018;
  color: #fff;
}

.admin-datetime {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 0.5rem;
}

.admin-field__hint {
  font-size: 0.72rem;
  color: rgb(160 168 178);
  line-height: 1.4;
}

.admin-field textarea {
  resize: vertical;
  min-height: 4rem;
}

.admin-hint {
  margin: -0.5rem 0 1rem;
  font-size: 0.8rem;
  color: rgb(160 168 178);
  word-break: break-word;
}

.admin-hint code {
  font-size: 0.75rem;
  color: rgb(210 218 228);
}

.admin-btn {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.35);
  color: #0a0a0a;
  background: rgb(255 255 255 / 0.94);
}

.admin-btn--ghost {
  background: transparent;
  color: #e8eef8;
  border-color: rgb(255 255 255 / 0.25);
}

.admin-btn--danger {
  background: rgb(255 120 120 / 0.12);
  color: rgb(255 210 210);
  border-color: rgb(255 160 160 / 0.28);
}

.admin-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.admin-row-actions--bottom {
  justify-content: space-between;
  margin-top: 1rem;
}

.admin-previews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 0;
}

@media (max-width: 720px) {
  .admin-previews {
    grid-template-columns: 1fr;
  }
}

.admin-preview {
  margin: 0;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(10 12 18 / 0.45);
}

.admin-preview figcaption {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(170 180 192);
}

.admin-preview img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.04);
  display: block;
}

.admin-subsection {
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

@media (max-width: 860px) {
  .admin-cards {
    grid-template-columns: 1fr;
  }
}

.admin-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(10 12 18 / 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.admin-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.04);
  display: block;
}

.admin-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.9rem;
}

@media (max-width: 540px) {
  .admin-card__grid {
    grid-template-columns: 1fr;
  }
}

.admin-advanced {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.admin-advanced summary {
  cursor: pointer;
  font-weight: 700;
  color: rgb(220 230 240 / 0.92);
}

.admin-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 1.1rem;
}

@media (max-width: 980px) {
  .admin-builder {
    grid-template-columns: 1fr;
  }
}

.admin-builder__preview {
  position: sticky;
  top: 1rem;
  align-self: start;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(10 12 18 / 0.45);
}

.admin-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.admin-step {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.06);
  color: rgb(226 232 240 / 0.92);
}

.admin-step.is-active {
  background: rgb(255 255 255 / 0.92);
  color: #0a0a0a;
}

.admin-step-panel[hidden] {
  display: none !important;
}

.admin-help {
  margin: -0.35rem 0 0.2rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgb(170 180 192);
}

.admin-help--span2 {
  grid-column: span 2;
}

.admin-help--full {
  grid-column: 1 / -1;
}

.admin-helpbox {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
  margin: 0.25rem 0 0.85rem;
}

.admin-live__hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(15 18 26 / 0.7);
  margin-bottom: 1rem;
}

.admin-live__hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  transform: scale(1.02);
}

.admin-live__hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
}

.admin-live__logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.08);
}

.admin-live__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(180 220 240 / 0.9);
}

.admin-live__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.admin-live__tagline {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgb(210 218 228 / 0.86);
}

.admin-live__chip {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgb(126 207 255 / 0.28);
  background: rgb(126 207 255 / 0.12);
  color: rgb(226 242 255 / 0.92);
}

.admin-live__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.admin-live__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.08);
  color: rgb(236 242 250 / 0.9);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-live__section {
  margin-top: 0.9rem;
}

.admin-live__section h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #fff;
}

.admin-live__mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-live__mini {
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.06);
}

.admin-live__mini-title {
  margin: 0 0 0.25rem;
  font-weight: 800;
  font-size: 0.85rem;
}

.admin-live__mini-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgb(210 218 228 / 0.82);
}

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

.admin-live__thumbs img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.06);
}

.admin-live__mini-list {
  display: grid;
  gap: 0.45rem;
}

.admin-live__mini-row {
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.06);
  font-size: 0.85rem;
  color: rgb(236 242 250 / 0.9);
}

.admin-live__avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-live__avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.06);
}

.admin-ideas-controls {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .admin-ideas-controls {
    grid-template-columns: 1fr;
  }
}

.admin-ideas-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.25rem 0 1rem;
}

@media (max-width: 720px) {
  .admin-ideas-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-stat {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(10 12 18 / 0.45);
}

.admin-stat__label {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(170 180 192);
}

.admin-stat__value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.admin-ideas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

@media (max-width: 720px) {
  .admin-ideas-grid {
    grid-template-columns: 1fr;
  }
}

.admin-idea-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: radial-gradient(circle at 10% 10%, rgb(130 220 255 / 0.14), transparent 45%),
    rgb(10 12 18 / 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.admin-idea-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.06);
  color: rgb(230 240 255 / 0.92);
  white-space: nowrap;
}

.admin-badge--stage {
  border-color: rgb(120 200 255 / 0.28);
  background: rgb(120 200 255 / 0.12);
}

.admin-badge--role {
  border-color: rgb(160 255 210 / 0.25);
  background: rgb(80 200 150 / 0.12);
}

.admin-idea-card__time {
  font-size: 0.8rem;
  color: rgb(170 180 192);
  white-space: nowrap;
}

.admin-idea-card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.admin-idea-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgb(205 214 224);
  white-space: pre-wrap;
}

.admin-idea-card__fit {
  margin: 0;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgb(126 207 255 / 0.14);
  background: rgb(126 207 255 / 0.06);
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgb(220 238 255 / 0.9);
}

.admin-idea-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}

.admin-idea-card__details div {
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.045);
  border: 1px solid rgb(255 255 255 / 0.08);
}

.admin-idea-card__details dt {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 159 90 / 0.82);
}

.admin-idea-card__details dd {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgb(226 234 242 / 0.9);
}

.admin-idea-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.82rem;
  color: rgb(170 180 192);
}

.admin-idea-card__meta code {
  font-size: 0.75rem;
  color: rgb(168 212 255);
}

@media (max-width: 720px) {
  .admin-idea-card__details {
    grid-template-columns: 1fr;
  }
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.admin-list-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.admin-list-row:last-child {
  border-bottom: 0;
}

.admin-list-name {
  font-weight: 500;
  color: #fff;
}

.admin-list-row code {
  font-size: 0.78rem;
  color: #a8d4ff;
}

.admin-muted {
  color: rgb(160 168 178);
  margin: 0;
}

.admin-error {
  color: #ff9b9b;
  margin: 0;
}

/* Responsive hardening for zoomed browsers and mixed viewport sizes. */
img,
svg,
video {
  max-width: 100%;
}

.topnav__inner,
.topnav__brand,
.topnav__links,
.topnav__actions,
.hero__content,
.proyecto-topgrid > *,
.proyecto-pitch-row > *,
.proyecto-pitch-card > *,
.proyecto-carousel > *,
.proyectos__inner,
.proyecto-card,
.introducing-card,
.how-it-works__split > *,
.benefits-card,
.faq__grid > *,
.admin-idea-card,
.admin-list-row > * {
  min-width: 0;
}

.topnav__brand,
.topnav__links a,
.topnav__social,
.hero__title,
.hero__lead,
.proyecto-rte,
.proyecto-card__title,
.proyecto-highlights__grid,
.proyecto-team__grid,
.introducing-glass__body,
.introducing-pipeline__text,
.how-it-works__step-text,
.benefits-card__title,
.benefits-card__text,
.faq__grid,
.admin-idea-card__title,
.admin-idea-card__desc,
.admin-idea-card__details dd,
.admin-list-row code {
  overflow-wrap: anywhere;
}

.proyecto-highlights__grid,
.proyecto-team__grid,
.proyectos__grid,
.introducing__grid,
.benefits__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.faq__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.proyecto-cta-bar__inner,
.proyecto-hero__actions,
.proyecto-carousel__nav,
.admin-idea-card__top,
.admin-idea-card__meta {
  flex-wrap: wrap;
}

.admin-idea-card__badge,
.admin-idea-card__date {
  white-space: normal;
}

@media (max-width: 1120px) {
  .topnav__links--left,
  .topnav__links--right,
  .topnav__social {
    display: none;
  }

  .topnav__toggle {
    display: inline-flex;
  }

  .topnav__mobile[data-open='true'] {
    display: block;
  }

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

  .proyecto-topgrid,
  .how-it-works__split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .proyecto-pitch-row,
  .proyecto-pitch-row--reverse,
  .proyecto-dual__grid,
  .proyecto-pitch-card,
  .blog-detail__hero,
  .admin-list-row {
    grid-template-columns: 1fr;
  }

  .proyecto-pitch-row--reverse {
    direction: ltr;
  }

  .proyecto-carousel {
    grid-template-columns: 1fr;
  }

  .proyecto-carousel__btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .topnav {
    padding-inline: 0.7rem;
  }

  .topnav__brand {
    max-width: calc(100vw - 6.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero__content,
  .proyecto-deck__content,
  .proyectos__inner,
  .introducing__inner,
  .how-it-works__inner,
  .benefits__inner,
  .faq__inner {
    width: 100%;
  }

  .proyecto-hero__actions a,
  .proyecto-cta-bar__btn,
  .proyecto-card__btn {
    width: 100%;
    justify-content: center;
  }

  .benefits-card__title {
    padding-right: 0;
  }
}
