/* ============================================================
   DOMO Creative House — Brand-accurate CSS
   Paleta: Magenta #ED0086 | Naranja #F25823 | Lima #BCDE3F
            Negro #111111  | Crema  #F5F0E8
   Tipografía: Barlow Condensed (Horizon sub) | Anton | Inter
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --magenta:  #ED0086;
  --naranja:  #F25823;
  --lima:     #BCDE3F;
  --negro:    #111111;
  --negro2:   #181818;
  --negro3:   #222222;
  --crema:    #F5F0E8;
  --crema2:   #e8e2d8;
  --muted:    #888880;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-impact:  'Anton', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-mg:  0 6px 30px rgba(237, 0, 134, 0.35);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--negro);
  color: var(--crema);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select { font-family: inherit; }

/* ── Utilities ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 100px 0; }

.section__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  border: 1.5px solid rgba(237, 0, 134, 0.4);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--crema);
}
.section__title mark {
  background: none;
  color: var(--magenta);
}

/* ── Pills ──────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
}
.pill--magenta {
  background: var(--magenta);
  color: #fff;
}
.pill--outline {
  border: 1.5px solid rgba(245, 240, 232, 0.3);
  color: var(--crema);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--magenta {
  background: var(--magenta);
  color: #fff;
  box-shadow: var(--shadow-mg);
}
.btn--magenta:hover {
  background: #ff0096;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(237, 0, 134, 0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--crema);
  border: 2px solid rgba(245, 240, 232, 0.3);
}
.btn--ghost:hover {
  border-color: var(--crema);
  color: var(--crema);
}
.btn--full { width: 100%; justify-content: center; }

/* ── Logo wordmark ──────────────────────────────────────────── */
.domo-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
}
.domo-logo__top {
  display: flex;
  align-items: center;
  gap: 4px;
}
.domo-d {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--crema);
  letter-spacing: -0.04em;
  line-height: 0.88;
}
.domo-o-pill {
  background: var(--magenta);
  border-radius: 100px;
  width: 38px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.domo-o-slot {
  display: block;
  width: 20px;
  height: 6px;
  background: var(--crema);
  border-radius: 4px;
}
.domo-logo__bottom {
  margin-top: -2px;
}
.domo-mo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.1rem;
  color: var(--crema);
  letter-spacing: -0.04em;
  line-height: 0.88;
}
.domo-logo__sub {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
}
.domo-logo__sub > span:first-child {
  font-family: var(--font-body);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--naranja);
  white-space: nowrap;
}
.domo-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--naranja);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Footer logo */
.logo-d, .logo-mo {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
.logo-o {
  font-family: var(--font-impact);
  color: var(--magenta);
  letter-spacing: -0.05em;
}

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0;
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--crema); }
.nav__cta {
  padding: 9px 22px !important;
  background: var(--magenta) !important;
  color: #fff !important;
  border-radius: 4px;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-mg);
}
.nav__cta:hover {
  background: #ff0096 !important;
  transform: translateY(-2px);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--crema);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 130px 28px 0;
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero__tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--crema);
  margin-bottom: 28px;
}
.hero__title--accent {
  color: var(--magenta);
  display: block;
}
.hero__sub {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 520px;
}
.hero__sub strong { color: var(--crema); }
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Decorative big wordmark */
.hero__deco-logo {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.04;
}
.hero__deco-logo span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8rem, 18vw, 18rem);
  text-transform: uppercase;
  color: var(--crema);
  letter-spacing: -0.04em;
}

/* Stats bar */
.hero__stats-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
}
.stat-item {
  flex: 1;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--crema);
  margin-bottom: 4px;
}
.stat-item__label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.stat-item__sep { display: none; }

/* ── MANIFIESTO ─────────────────────────────────────────────── */
.manifiesto {
  background: var(--negro2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.manifiesto .container {
  text-align: center;
  max-width: 900px;
}
.manifiesto__quote {
  margin: 0 auto 48px;
}
.manifiesto__quote p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 24px;
}
.manifiesto__quote p:last-child { margin-bottom: 0; }
.manifiesto__quote em {
  font-style: normal;
  color: var(--magenta);
}
.manifiesto__quote strong {
  color: var(--crema);
  font-weight: 700;
}
.manifiesto__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.mpill {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  background: rgba(237, 0, 134, 0.12);
  border: 1.5px solid rgba(237, 0, 134, 0.4);
  border-radius: 4px;
  color: var(--crema);
  transition: var(--transition);
}
.mpill:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  transform: translateY(-2px);
  cursor: default;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services { background: var(--negro); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.scard {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 36px 32px;
  background: var(--negro);
  transition: var(--transition);
  position: relative;
}
.scard:hover {
  background: var(--negro2);
}
.scard:hover .scard__arrow {
  color: var(--magenta);
  transform: translate(3px, -3px);
}
.scard__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--magenta);
  min-width: 26px;
  padding-top: 2px;
}
.scard__content { flex: 1; }
.scard__content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--crema);
  margin-bottom: 8px;
}
.scard__content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.scard__arrow {
  font-size: 1.3rem;
  color: rgba(245,240,232,0.2);
  transition: var(--transition);
  line-height: 1;
}

/* ── PORTFOLIO ──────────────────────────────────────────────── */
.portfolio { background: var(--negro); }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pitem { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.pitem--wide { grid-column: span 2; }
.pitem__img {
  position: relative;
  height: 280px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.pitem--wide .pitem__img { height: 340px; }
.pitem:hover .pitem__img { transform: scale(1.03); }
.pitem__img--1 { background: linear-gradient(135deg, #1a0510 0%, #4a0025 50%, #ED008640 100%); }
.pitem__img--2 { background: linear-gradient(135deg, #0a0a14 0%, #1a1a40 60%, #F2582340 100%); }
.pitem__img--3 { background: linear-gradient(135deg, #100a00 0%, #2a1a00 60%, #BCDE3F30 100%); }
.pitem__img--4 { background: linear-gradient(135deg, #001a0a 0%, #002a14 60%, #00cc6640 100%); }
.pitem__img--5 { background: linear-gradient(135deg, #1a0000 0%, #2a0a0a 50%, #F2582340 100%); }
.pitem__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(17,17,17,0.9) 0%, transparent 100%);
}
.pitem__tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 6px;
}
.pitem h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--crema);
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials { background: var(--negro2); }
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tcard {
  background: var(--negro);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--transition);
}
.tcard:hover {
  border-color: rgba(237, 0, 134, 0.35);
  transform: translateY(-4px);
}
.tcard__quote {
  font-size: 0.93rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.75;
  flex: 1;
}
.tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tcard__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.tcard__avatar--1 { background: var(--magenta); }
.tcard__avatar--2 { background: var(--naranja); }
.tcard__avatar--3 { background: linear-gradient(135deg, var(--magenta), var(--naranja)); }
.tcard__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crema);
}
.tcard__author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact { background: var(--negro); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact__text .section__title { margin-bottom: 16px; }
.contact__text > p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 40px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cinfo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.cinfo-link:hover { color: var(--magenta); }
.cinfo-link svg { flex-shrink: 0; }
.cinfo-link--plain { cursor: default; }
.cinfo-link--plain:hover { color: var(--muted); }

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form__group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.form__group input,
.form__group textarea,
.form__group select {
  background: var(--negro2);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--crema);
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(237, 0, 134, 0.12);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(245,240,232,0.2); }
.form__group select option { background: var(--negro2); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--negro2);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__logo {
  display: flex;
  align-items: baseline;
  font-size: 1.8rem;
  line-height: 1;
  gap: 1px;
  margin-bottom: 14px;
}
.footer__tagline {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--crema);
  margin-bottom: 20px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__col ul li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--magenta); }
.footer__social-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--crema);
  margin-bottom: 20px;
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.social-btn {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(237, 0, 134, 0.1);
  transform: translateY(-3px);
}
.footer__location {
  font-size: 0.82rem;
  color: var(--muted);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 28px;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer__bottom strong { color: var(--magenta); }

/* ── ORANGE ACCENT DIVIDERS ─────────────────────────────────── */
.manifiesto::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--naranja);
  margin: 0 auto;
  margin-top: 48px;
  border-radius: 2px;
}

/* ── MARQUEE INFINITO ───────────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--magenta);
  padding: 16px 0;
  border-top: none;
  border-bottom: none;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}
.marquee__dot {
  color: rgba(255,255,255,0.4) !important;
  font-size: 1.2rem !important;
  letter-spacing: 0 !important;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── CURSOR TRAIL — BRILLANTINA ─────────────────────────────── */
.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9996;
  animation: glitterFade var(--dur, 0.7s) ease forwards;
}
@keyframes glitterFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(
      calc(-50% + var(--dx, 0px)),
      calc(-50% + var(--dy, 0px))
    ) scale(0.1) rotate(var(--r, 180deg));
  }
}

/* ── GRAIN / NOISE OVERLAY ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9993;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 0.35s steps(1) infinite;
}
@keyframes grainShift {
  0%  { transform: translate(0,     0);    }
  10% { transform: translate(-8%,  -12%); }
  20% { transform: translate(12%,   6%);  }
  30% { transform: translate(-6%,  15%);  }
  40% { transform: translate(10%,  -8%);  }
  50% { transform: translate(-14%, 10%);  }
  60% { transform: translate(6%,  -15%);  }
  70% { transform: translate(-10%, 8%);   }
  80% { transform: translate(14%, -6%);   }
  90% { transform: translate(-4%,  14%);  }
}

/* ── WORD REVEAL ────────────────────────────────────────────── */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
}
.word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.7s ease;
}
.word-inner.revealed {
  transform: translateY(0);
  opacity: 1;
}

/* ── PORTFOLIO FILTERS ──────────────────────────────────────── */
.portfolio__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.pfilter {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--muted);
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}
.pfilter:hover {
  border-color: var(--magenta);
  color: var(--crema);
}
.pfilter.active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
  box-shadow: var(--shadow-mg);
}
.pitem {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pitem.hidden {
  opacity: 0 !important;
  transform: scale(0.95) !important;
  pointer-events: none;
  display: none;
}

/* ── BACK TO TOP ────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  z-index: 998;
  width: 46px;
  height: 46px;
  background: var(--negro2);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--crema);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease,
              background var(--transition), border-color var(--transition);
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  transform: translateY(-3px);
  box-shadow: var(--shadow-mg);
}

/* ── SCROLL PROGRESS ────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--magenta);
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(237, 0, 134, 0.7);
}

/* ── TYPEWRITER CURSOR ──────────────────────────────────────── */
#typewriter::after {
  content: '|';
  color: var(--magenta);
  animation: blink 0.7s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── CTA BAR ────────────────────────────────────────────────── */
.cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 28px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-wrap: wrap;
}
.cta-bar.visible {
  transform: translateY(0);
}
.cta-bar p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.cta-bar p span {
  font-weight: 700;
  color: #fff;
}
.cta-bar__btn {
  background: #fff;
  color: var(--magenta);
  padding: 9px 22px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.cta-bar__btn:hover {
  background: var(--crema);
  transform: translateY(-1px);
}
.cta-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  padding: 6px;
  line-height: 1;
  transition: color var(--transition);
}
.cta-bar__close:hover { color: #fff; }

/* Empuja el WhatsApp float para no taparse con la CTA bar */
body.ctabar-open .whatsapp-float {
  bottom: 76px;
  transition: bottom 0.4s ease;
}

/* ── LOADER ─────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--negro);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__logo {
  animation: loaderPulse 1.2s ease-in-out infinite alternate;
}
.loader__logo .domo-logo {
  transform: scale(2.2);
  transform-origin: center;
}
@keyframes loaderPulse {
  from { opacity: 0.6; transform: scale(2.1); }
  to   { opacity: 1;   transform: scale(2.3); }
}
.loader__bar-wrap {
  width: 160px;
  height: 3px;
  background: rgba(245, 240, 232, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 40px;
}
.loader__bar {
  height: 100%;
  width: 0%;
  background: var(--magenta);
  border-radius: 4px;
  animation: loaderFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loaderFill {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ── CURSOR PERSONALIZADO ───────────────────────────────────── */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, select, [role="button"] { cursor: none; }
}
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--magenta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(237, 0, 134, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.25s ease, height 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}
.cursor-dot.hovering {
  width: 12px;
  height: 12px;
  background: var(--naranja);
}
.cursor-ring.hovering {
  width: 52px;
  height: 52px;
  border-color: var(--naranja);
  background: rgba(242, 88, 35, 0.06);
}
.cursor-dot.clicking {
  transform: translate(-50%, -50%) scale(0.6);
}
.cursor-ring.clicking {
  transform: translate(-50%, -50%) scale(0.85);
}
.cursor-dot.dark {
  background: var(--negro);
  width: 10px;
  height: 10px;
}
.cursor-ring.dark {
  border-color: rgba(17, 17, 17, 0.5);
  background: rgba(17, 17, 17, 0.06);
}

/* ── MODO CREMA (light mode) ────────────────────────────────── */
body.light-mode {
  --negro:  #F5F0E8;
  --negro2: #EDE8DF;
  --negro3: #E0D9D0;
  --crema:  #111111;
  --crema2: #333330;
  --muted:  #666660;
}
/* Textos generales */
body.light-mode .hero__deco-logo span  { color: #ccc8c0; }
body.light-mode .loader                { background: var(--negro); }
body.light-mode .nav.scrolled          { background: rgba(245,240,232,0.95); }
body.light-mode body::before           { opacity: 0.02; }

/* Textos hardcodeados en rgba crema */
body.light-mode .manifiesto__quote p   { color: rgba(17,17,17,0.75); }
body.light-mode .manifiesto__quote strong { color: #111111; }
body.light-mode .tcard__quote          { color: rgba(17,17,17,0.75); }
body.light-mode .hero__sub             { color: #555550; }
body.light-mode .hero__sub strong      { color: #111111; }
body.light-mode .stat-item__label      { color: #666660; }
body.light-mode .scard__content p      { color: #666660; }
body.light-mode .vcard p               { color: #666660; }
body.light-mode .footer__tagline       { color: #666660; }
body.light-mode .footer__col ul li a   { color: #666660; }
body.light-mode .footer__location      { color: #666660; }
body.light-mode .footer__bottom p      { color: #888880; }
body.light-mode .contact__text > p     { color: #666660; }
body.light-mode .cinfo-link            { color: #666660; }
body.light-mode .nav__links a          { color: #555550; }
body.light-mode .nav__links a:hover    { color: #111111; }
body.light-mode .pitem__overlay        { background: linear-gradient(to top, rgba(245,240,232,0.92) 0%, transparent 100%); }
body.light-mode .pitem__tag            { color: var(--magenta); }
body.light-mode .pitem h3              { color: #111111; }
body.light-mode .compare-block--no p,
body.light-mode .compare-block--yes p  { color: #555550; }
body.light-mode .popup__text           { color: #555550; }
body.light-mode .popup__skip           { color: #888880; }
body.light-mode .testimonial-card__author span { color: #888880; }
body.light-mode .form__group input,
body.light-mode .form__group textarea,
body.light-mode .form__group select    {
  background: #fff;
  border-color: rgba(17,17,17,0.15);
  color: #111111;
}
body.light-mode .form__group input::placeholder,
body.light-mode .form__group textarea::placeholder { color: #aaa; }
body.light-mode .scard                 { background: #fff; }
body.light-mode .tcard                 { background: #fff; }
body.light-mode .vcard                 { background: #fff; }
body.light-mode .back-top              { background: #fff; border-color: rgba(17,17,17,0.15); color: #111111; }
body.light-mode .popup                 { background: #fff; }
body.light-mode .popup__close          { background: rgba(17,17,17,0.06); color: #888; }
body.light-mode .theme-toggle          { border-color: rgba(17,17,17,0.2); color: #666; }

/* ── THEME TOGGLE ───────────────────────────────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(237,0,134,0.08);
}
body:not(.light-mode) .icon-sun  { display: none; }
body.light-mode       .icon-moon { display: none; }
body.light-mode       .theme-toggle {
  border-color: rgba(17,17,17,0.2);
  color: var(--muted);
}

/* ── SCRAMBLE CHAR ──────────────────────────────────────────── */
.scramble-rand {
  color: var(--magenta);
  opacity: 0.7;
}

/* ── KONAMI ─────────────────────────────────────────────────── */
.konami-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.konami-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.konami-box {
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.konami-overlay.visible .konami-box {
  transform: scale(1);
}
.konami-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 15vw, 10rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: konamiPulse 0.6s ease infinite alternate;
}
.konami-logo span { color: var(--negro); }
@keyframes konamiPulse {
  from { transform: scale(1);    }
  to   { transform: scale(1.04); }
}
.konami-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.konami-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}
.konami-close {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 28px;
  border-radius: 4px;
  transition: var(--transition);
}
.konami-close:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ── EASTER EGG ─────────────────────────────────────────────── */
.easter-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.easter-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.easter-box {
  background: var(--negro2);
  border: 1px solid rgba(237, 0, 134, 0.35);
  border-radius: var(--radius-lg);
  padding: 52px 44px 44px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 80px rgba(237, 0, 134, 0.25),
              0 32px 80px rgba(0,0,0,0.5);
  transform: scale(0.85) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.easter-overlay.visible .easter-box {
  transform: scale(1) translateY(0);
}
.easter-logo {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.easter-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--crema);
  margin-bottom: 14px;
  line-height: 1.1;
}
.easter-text {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.easter-text strong { color: var(--crema); }
.easter-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}
.easter-close {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding: 4px;
}
.easter-close:hover { color: var(--crema); }

/* ── POPUP ──────────────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.popup {
  background: var(--negro2);
  border: 1px solid rgba(237, 0, 134, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 80px rgba(237, 0, 134, 0.2);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.popup-overlay.visible .popup {
  transform: translateY(0) scale(1);
}
.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.popup__close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--crema);
}
.popup__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--magenta);
  color: #fff;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.popup__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--crema);
  margin-bottom: 14px;
}
.popup__title span {
  color: var(--magenta);
}
.popup__text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.popup__text strong { color: var(--crema); }
.popup__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: #25D366;
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  margin-bottom: 14px;
}
.popup__btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}
.popup__skip {
  font-size: 0.78rem;
  color: var(--muted);
  transition: color var(--transition);
  padding: 4px;
}
.popup__skip:hover { color: var(--crema); }

/* ── WHATSAPP FLOAT ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 13px 20px 13px 16px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), padding var(--transition);
  overflow: hidden;
  max-width: 180px;
}
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.whatsapp-float span {
  white-space: nowrap;
  transition: opacity var(--transition), max-width var(--transition);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.6);
}

/* En móvil solo muestra el ícono */
@media (max-width: 480px) {
  .whatsapp-float {
    padding: 14px;
    max-width: 52px;
    border-radius: 50%;
  }
  .whatsapp-float span {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
  }
}

/* ── SCROLL REVEAL STATE (set by JS) ────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .services__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    flex-direction: column;
    gap: 0;
  }
  .nav__links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(17,17,17,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 16px 28px 24px;
    gap: 14px;
  }
  .nav__hamburger { display: none; }

  .hero { padding: 110px 20px 0; }
  .hero__deco-logo { opacity: 0.025; right: -80px; }

  .hero__stats-bar {
    flex-direction: column;
    border-top: none;
    gap: 0;
  }
  .stat-item {
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    text-align: left;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .stat-item__num { margin-bottom: 0; }

  /* Portfolio: horizontal swipeable carousel on mobile */
  .portfolio__grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: unset;
  }
  .portfolio__grid::-webkit-scrollbar { display: none; }
  .pitem {
    min-width: 80vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .pitem--wide {
    min-width: 88vw;
    grid-column: unset;
  }

  .testi__grid { grid-template-columns: 1fr; }

  .form__row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  /* Body needs padding for bottom nav */
  body { padding-bottom: 64px; }

  /* Hide CTA bar on mobile (bottom nav handles it) */
  .cta-bar { display: none !important; }

  /* Float buttons above bottom nav */
  .whatsapp-float { bottom: 80px !important; }
  .back-top { bottom: 80px; right: 16px; }
}

@media (max-width: 480px) {
  .section { padding: 72px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .manifiesto__pills { gap: 8px; }
  .mpill { font-size: 0.82rem; padding: 8px 14px; }
}

/* ── FIRMA ANIMADA ──────────────────────────────────────────── */
.signature-wrap {
  overflow: hidden;
  max-width: 0;
  margin-top: 22px;
  transition: max-width 2s cubic-bezier(0.22, 1, 0.36, 1);
}
.signature-wrap.drawn {
  max-width: 260px;
}
.signature-svg {
  width: 240px;
  height: 72px;
  display: block;
  overflow: visible;
}
.sig-text {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 56px;
  fill: var(--magenta);
  letter-spacing: -0.02em;
}
.sig-underline {
  stroke: var(--naranja);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 0.9s ease 1.8s;
}
.sig-underline.drawn {
  stroke-dashoffset: 0;
}

/* ── GENERADOR DE FRASES ────────────────────────────────────── */
.tagline-gen {
  margin-top: 28px;
}
.tagline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1.5px dashed rgba(245, 240, 232, 0.18);
  padding: 9px 20px;
  border-radius: 100px;
  transition: color var(--transition), border-color var(--transition),
              background var(--transition);
}
.tagline-btn:hover {
  color: var(--crema);
  border-color: rgba(237, 0, 134, 0.45);
  background: rgba(237, 0, 134, 0.06);
}
.tagline-btn__star {
  color: var(--magenta);
  display: inline-block;
  animation: starSpin 4s linear infinite;
  font-size: 0.7rem;
}
@keyframes starSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.tagline-output {
  margin-top: 14px;
  font-size: 1rem;
  font-style: italic;
  color: var(--crema);
  opacity: 0;
  max-width: 500px;
  line-height: 1.65;
  min-height: 1.65em;
  transition: opacity 0.35s ease;
}
.tagline-output.visible {
  opacity: 1;
}
body.light-mode .tagline-btn {
  border-color: rgba(17,17,17,0.18);
}
body.light-mode .tagline-btn:hover {
  background: rgba(237,0,134,0.06);
}

/* ── SIDE NAV — bullets laterales ──────────────────────────── */
.side-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 890;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.side-nav__dot {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
}

.side-nav__pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 240, 232, 0.25);
  background: transparent;
  flex-shrink: 0;
  display: block;
  transition: width 0.3s ease, height 0.3s ease,
              background 0.3s ease, border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.side-nav__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crema);
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 5px 10px;
  border-radius: 4px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-nav__dot:hover .side-nav__label {
  opacity: 1;
  transform: translateX(0);
}

.side-nav__dot:hover .side-nav__pip {
  border-color: rgba(237, 0, 134, 0.6);
  background: rgba(237, 0, 134, 0.25);
}

.side-nav__dot.active .side-nav__pip {
  width: 10px;
  height: 10px;
  background: var(--magenta);
  border-color: var(--magenta);
  box-shadow: 0 0 10px rgba(237, 0, 134, 0.7);
}

/* Light mode */
body.light-mode .side-nav__pip {
  border-color: rgba(17, 17, 17, 0.2);
}
body.light-mode .side-nav__label {
  background: rgba(245, 240, 232, 0.95);
  color: #111;
  border-color: rgba(17,17,17,0.1);
}

/* Hidden on mobile — bottom nav already handles it */
@media (max-width: 768px) {
  .side-nav { display: none; }
}

/* ── BOTTOM NAV (mobile app-style) ─────────────────────────── */
.bottom-nav {
  display: none; /* only shown via media query */
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 960;
    background: rgba(17, 17, 17, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.08);
    height: 64px;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    align-items: stretch;
  }

  .bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px 8px;
    color: var(--muted);
    font-size: 0; /* hide label by default */
    transition: color var(--transition);
    position: relative;
    text-decoration: none;
  }

  .bottom-nav__item span {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
  }

  .bottom-nav__item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .bottom-nav__item.active {
    color: var(--magenta);
  }

  .bottom-nav__item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 2.5px;
    background: var(--magenta);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 0 8px rgba(237,0,134,0.6);
  }

  .bottom-nav__item--cta {
    flex: 1.15;
    background: var(--magenta);
    border-radius: 12px;
    margin: 8px 4px;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(237,0,134,0.4);
  }

  .bottom-nav__item--cta::before {
    display: none !important;
  }

  .bottom-nav__item--cta.active {
    color: #fff !important;
  }

  body.light-mode .bottom-nav {
    background: rgba(245,240,232,0.97);
    border-top-color: rgba(17,17,17,0.1);
  }
}

/* ── SHAKE TOAST ────────────────────────────────────────────── */
.shake-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  width: calc(100% - 32px);
  max-width: 420px;
  z-index: 9500;
  background: var(--negro2);
  border: 1.5px solid rgba(237, 0, 134, 0.45);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 0 20px rgba(237,0,134,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.shake-toast.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.shake-toast__emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.shake-toast__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shake-toast__body strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crema);
}
.shake-toast__body span {
  font-size: 0.78rem;
  color: var(--muted);
}
.shake-toast__btn {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--magenta);
  padding: 9px 14px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-mg);
}
.shake-toast__btn:hover {
  background: #ff0096;
  transform: translateY(-1px);
}
