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

:root {
  --bg: #02030b;
  --bg-deep: #00020a;
  --white: #f2f3e9;
  --muted: rgba(242, 243, 233, .64);
  --faint: rgba(242, 243, 233, .34);
  --blue: #071dff;
  --blue-soft: #123bff;
  --cyan: #32ffe1;
  --cyan-deep: #0fc0bc;
  --line: rgba(255, 255, 255, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.agency-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(19, 22, 44, .36), transparent 31%),
    linear-gradient(180deg, #050612 0%, #01020a 100%);
}

.agency-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -7;
  background:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .38;
  mask-image: radial-gradient(circle at center, #000 0 46%, transparent 82%);
}

.noise {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .15;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.16) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.11) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.08) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px, 13px 13px;
  animation: grainMove .55s steps(2) infinite;
}

.deep-vignette {
  position: absolute;
  inset: -2px;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 0 36%, rgba(0,0,0,.10) 58%, rgba(0,0,0,.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,.74), transparent 25%, transparent 75%, rgba(0,0,0,.74));
}

.bg-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: .82;
  mix-blend-mode: screen;
  will-change: transform;
}

.glow-left {
  width: 36vw;
  height: 19vw;
  left: 12%;
  top: 39%;
  background: radial-gradient(ellipse at center, rgba(22, 42, 255, .88) 0 18%, rgba(11, 22, 160, .60) 38%, transparent 70%);
  animation: pulseLeft 7s ease-in-out infinite alternate;
}

.glow-right {
  width: 37vw;
  height: 19vw;
  right: 12%;
  top: 39%;
  background: radial-gradient(ellipse at center, rgba(22, 42, 255, .82) 0 18%, rgba(11, 22, 160, .55) 38%, transparent 72%);
  animation: pulseRight 7.5s ease-in-out infinite alternate;
}

.glow-center {
  width: 25vw;
  height: 11vw;
  left: 50%;
  top: 55%;
  translate: -50% -50%;
  background: radial-gradient(ellipse at center, rgba(36, 255, 226, .74), transparent 72%);
  filter: blur(25px);
  opacity: .72;
  animation: centerBreath 5.5s ease-in-out infinite alternate;
}

.cyan-ring {
  position: absolute;
  left: 50%;
  top: 62%;
  width: clamp(190px, 24vw, 350px);
  height: clamp(92px, 11.4vw, 160px);
  translate: -50% -50%;
  border-radius: 0 0 999px 999px;
  border-bottom: clamp(18px, 2.6vw, 35px) solid rgba(42, 255, 226, .88);
  border-left: clamp(18px, 2.6vw, 35px) solid rgba(42, 255, 226, .72);
  border-right: clamp(18px, 2.6vw, 35px) solid rgba(42, 255, 226, .72);
  border-top: 0;
  filter:
    blur(.2px)
    drop-shadow(0 0 18px rgba(42, 255, 226, .96))
    drop-shadow(0 0 46px rgba(42, 255, 226, .62));
  opacity: .82;
  transform-origin: center;
  animation: ringFloat 4.6s ease-in-out infinite alternate;
}

.cyan-ring::before {
  content: "";
  position: absolute;
  inset: 26% 11% -18% 11%;
  border-radius: 0 0 999px 999px;
  border-bottom: 12px solid rgba(42,255,226,.55);
  filter: blur(8px);
}

.aura-line {
  position: absolute;
  width: 14vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  opacity: .24;
}

.line-one {
  left: 23%;
  top: 47%;
  rotate: -6deg;
  animation: lineMove 6s ease-in-out infinite alternate;
}

.line-two {
  right: 23%;
  top: 46%;
  rotate: 6deg;
  animation: lineMove 6.8s ease-in-out infinite alternate-reverse;
}

.star {
  position: absolute;
  color: rgba(255,255,255,.70);
  font-size: 12px;
  opacity: .64;
  animation: twinkle 2.4s ease-in-out infinite alternate;
}

.star-one {
  left: 49%;
  top: 31%;
}

.star-two {
  right: 38%;
  top: 50%;
  animation-delay: .4s;
}

/* TOPBAR */
.topbar {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 82px;
  margin: 0;
  padding: 0 clamp(26px, 3.2vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  animation: headerIn .72s ease both;
}

.top-left {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.7vw, 38px);
}

.store-name {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(24px, 2.05vw, 38px);
  font-weight: 700;
  letter-spacing: -.095em;
  text-transform: none;
  color: var(--white);
  text-shadow: 0 0 24px rgba(255,255,255,.14);
  transition: transform .25s ease, opacity .25s ease;
}

.store-name:hover {
  transform: translateY(-2px);
}

.menu-trigger {
  cursor: pointer;
}

.brand-logo {
  position: relative;
  width: 82px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 28px;
  background: transparent;
  transition: transform .32s ease, filter .32s ease;
}

.brand-logo img {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255,255,255,.24))
    drop-shadow(0 0 26px rgba(50,255,225,.10));
}

.logo-pulse {
  position: absolute;
  inset: 10px 8px;
  z-index: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(50,255,225,.18), transparent 64%);
  opacity: .75;
  transform: scale(.82);
  animation: logoPulse 2.2s ease-in-out infinite;
}

.brand-logo:hover {
  transform: translateY(-3px) scale(1.045);
  filter: drop-shadow(0 0 20px rgba(50,255,225,.18));
}

.brand-logo[aria-expanded="true"] {
  transform: translateY(-2px) scale(1.06);
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(.82);
    opacity: .35;
  }
  50% {
    transform: scale(1.18);
    opacity: .85;
  }
}

.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-pill {
  height: 36px;
  min-width: 126px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}


.top-pill i {
  font-size: 12px;
}

.top-pill:hover {
  transform: translateY(-2px);
}

.top-pill-ghost {
  color: rgba(242,243,233,.88);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
}

.top-pill-solid {
  color: #02030b;
  border: 1px solid var(--white);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(255,255,255,.07);
}


.floating-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 110px clamp(24px, 5vw, 86px) 58px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .36s ease;
}

.floating-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 13%, rgba(50,255,225,.13), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(0,24,255,.18), transparent 42%),
    rgba(1, 2, 10, .72);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity .36s ease;
}

.floating-nav.is-open .menu-backdrop {
  opacity: 1;
}

.nav-orbit {
  position: relative;
  z-index: 2;
  width: min(1080px, 94vw);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  transform: translateY(24px) scale(.98);
  opacity: 0;
  transition:
    transform .48s cubic-bezier(.19,1,.22,1),
    opacity .36s ease;
}

.floating-nav.is-open .nav-orbit {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.nav-brand {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 24px;
  min-height: 440px;
  border-right: 1px solid rgba(255,255,255,.10);
}

.nav-brand img {
  width: clamp(105px, 10vw, 160px);
  height: auto;
  filter:
    drop-shadow(0 0 24px rgba(255,255,255,.22))
    drop-shadow(0 0 42px rgba(50,255,225,.12));
}

.nav-brand span {
  max-width: 280px;
  color: rgba(242,243,233,.44);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .36em;
  line-height: 1.8;
  text-transform: uppercase;
}

.nav-links {
  display: grid;
  gap: clamp(12px, 1.45vw, 22px);
}

.nav-links a {
  position: relative;
  display: grid;
  grid-template-columns: 42px 42px minmax(210px, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  color: rgba(242,243,233,.72);
  transition: color .25s ease, transform .25s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 102px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.18), transparent);
  transform-origin: left;
  scale: .62 1;
  opacity: .72;
  transition: scale .3s ease, opacity .3s ease;
}

.nav-links a::after {
  content: "↗";
  justify-self: end;
  color: rgba(50,255,225,.58);
  font-size: 18px;
  transform: translate(-10px, 8px);
  opacity: .42;
  transition: transform .25s ease, opacity .25s ease, color .25s ease;
}

.nav-links a:hover {
  color: var(--white);
  transform: translateX(12px);
}

.nav-links a:hover::before {
  scale: 1 1;
  opacity: 1;
}

.nav-links a:hover::after {
  transform: translate(0, 0);
  opacity: 1;
  color: var(--cyan);
}

.nav-number {
  color: rgba(50,255,225,.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.nav-links i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: rgba(50,255,225,.84);
  font-size: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(50,255,225,.15), transparent 68%);
  text-shadow: 0 0 18px rgba(50,255,225,.32);
}

.nav-links strong {
  display: block;
  font-size: clamp(22px, 3.3vw, 48px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .9;
  text-transform: uppercase;
}

.nav-links small {
  justify-self: end;
  color: rgba(242,243,233,.46);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* HERO */
.hero-content {
  position: relative;
  z-index: 8;
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 0 18px 70px;
}

.headline-wrap {
  position: relative;
  width: min(1020px, 94vw);
  display: grid;
  place-items: center;
  perspective: 900px;
}

h1 {
  position: relative;
  z-index: 2;
  font-family: "Inter", system-ui, sans-serif;
  color: #f0f1e7;
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: .88;
  font-weight: 900;
  letter-spacing: clamp(-3px, -.35vw, -7px);
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255,255,255,.16),
    0 16px 58px rgba(0,0,0,.78);
  animation: titleReveal 1.05s cubic-bezier(.19, 1, .22, 1) both;
  will-change: transform;
}

h1::selection {
  color: #02030b;
  background: var(--cyan);
}

.tiny-label {
  position: absolute;
  z-index: 8;
  color: rgba(242,243,233,.66);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-shadow: 0 0 18px rgba(0,0,0,.5);
  animation: tinyIn .9s .45s ease both;
}

.label-left {
  left: 22%;
  top: 53%;
}

.label-right {
  right: 20%;
  top: 35%;
}

/* SCROLL */
.scroll-hint {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  width: 118px;
  height: 78px;
  display: grid;
  grid-template-columns: 38px 38px;
  grid-template-rows: 52px 18px;
  justify-content: center;
  align-items: center;
  column-gap: 13px;
  color: rgba(242,243,233,.70);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 8px;
}

.scroll-line {
  justify-self: end;
  position: relative;
  width: 2px;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.56), transparent);
}

.scroll-line i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 5px;
  translate: -50% 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 12px rgba(255,255,255,.85),
    0 0 24px rgba(50,255,225,.55);
  animation: scrollDot 1.7s ease-in-out infinite;
}

.mouse-icon {
  justify-self: start;
  position: relative;
  width: 25px;
  height: 38px;
  border: 2px solid rgba(242,243,233,.74);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(50,255,225,.10);
}

.mouse-icon b {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 7px;
  translate: -50% 0;
  border-radius: 999px;
  background: var(--white);
  animation: wheelMove 1.35s ease-in-out infinite;
}

.scroll-hint small {
  grid-column: 1 / -1;
  justify-self: center;
  font-size: 8px;
  font-weight: 900;
}

/* SECCIONES */
.section {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 112px 0;
}

.section-kicker {
  margin-bottom: 18px;
  color: rgba(50,255,225,.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .26em;
}

.section h2 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: .96;
  letter-spacing: -3px;
}

.section p {
  max-width: 720px;
  color: rgba(242,243,233,.68);
  font-size: 18px;
  line-height: 1.8;
}


.shooting-lines {
  position: relative;
  width: min(1180px, 94%);
  height: clamp(110px, 14vw, 190px);
  margin: clamp(-58px, -4vw, -34px) auto clamp(-36px, -2vw, -18px);
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.shooting-lines::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50,255,225,.13), rgba(255,255,255,.10), transparent);
  opacity: .55;
  filter: blur(.2px);
}

.shooting-lines::after {
  content: "";
  position: absolute;
  inset: 28% 14%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(50,255,225,.07), transparent 66%);
  filter: blur(22px);
  opacity: .72;
}

.meteor {
  position: absolute;
  left: -26%;
  width: clamp(190px, 24vw, 360px);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), rgba(50,255,225,.88), rgba(242,243,233,.82));
  box-shadow: 0 0 14px rgba(50,255,225,.20);
  opacity: 0;
  transform: rotate(-8deg);
  animation: meteorSlide 6.8s cubic-bezier(.22,.61,.36,1) infinite;
}

.meteor::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(242,243,233,.92);
  box-shadow: 0 0 14px rgba(50,255,225,.60);
  transform: translateY(-50%);
}

.meteor-one {
  top: 34%;
}

.meteor-two {
  top: 58%;
  width: clamp(150px, 18vw, 270px);
  animation-delay: 1.8s;
  animation-duration: 7.6s;
}

.meteor-three {
  top: 76%;
  width: clamp(120px, 16vw, 220px);
  animation-delay: 3.35s;
  animation-duration: 8.4s;
}

.orb {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(50,255,225,.72);
  box-shadow: 0 0 18px rgba(50,255,225,.44);
  opacity: .22;
  animation: orbFloat 4.8s ease-in-out infinite alternate;
}

.orb-one {
  left: 24%;
  top: 32%;
}

.orb-two {
  right: 20%;
  bottom: 28%;
  width: 4px;
  height: 4px;
  animation-delay: 1.2s;
}

.studio-shooting-lines {
  height: clamp(118px, 13vw, 180px);
  margin: clamp(-44px, -3.2vw, -26px) auto clamp(-42px, -2.6vw, -22px);
}

.studio-shooting-lines::before {
  left: 12%;
  right: 10%;
  top: 48%;
  opacity: .42;
}

.studio-shooting-lines::after {
  inset: 18% 10% 24%;
  opacity: .50;
}

.studio-shooting-lines .meteor {
  transform: rotate(6deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), rgba(50,255,225,.58), rgba(242,243,233,.58));
  box-shadow: 0 0 12px rgba(50,255,225,.14);
  animation-name: studioMeteorSlide;
}

.studio-shooting-lines .meteor-one {
  top: 30%;
  animation-delay: .7s;
}

.studio-shooting-lines .meteor-two {
  top: 54%;
  animation-delay: 2.45s;
}

.studio-shooting-lines .meteor-three {
  top: 72%;
  animation-delay: 4.15s;
}

.studio-shooting-lines .orb-one {
  left: 18%;
  top: 68%;
  opacity: .18;
}

.studio-shooting-lines .orb-two {
  right: 17%;
  bottom: 52%;
  opacity: .18;
}

.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018)),
    radial-gradient(circle at 50% 100%, rgba(47,255,228,.10), transparent 60%);
}

.cards span {
  color: rgba(50,255,225,.76);
  font-size: 12px;
  font-weight: 900;
}

.cards strong {
  display: block;
  margin: 36px 0 10px;
  font-size: 24px;
}

.cards p {
  font-size: 15px;
  line-height: 1.6;
}

.contact-form {
  max-width: 690px;
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  outline: 0;
  background: rgba(255,255,255,.035);
}

.contact-form textarea {
  min-height: 150px;
  padding-top: 18px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(50,255,225,.56);
}

.contact-form button,
.page-link {
  width: max-content;
  min-height: 50px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #02030b;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-form button:hover,
.page-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(50,255,225,.12);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
  background:
    radial-gradient(circle at 50% 35%, rgba(50,255,225,.12), transparent 25%),
    radial-gradient(circle at 35% 55%, rgba(7,29,255,.24), transparent 32%),
    #02030b;
}

.page-box {
  width: min(720px, 92vw);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 34px;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}

.page-box img {
  width: 86px;
  margin-bottom: 26px;
}

.page-box h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 72px);
  text-align: left;
}

.page-box p {
  margin-bottom: 28px;
  color: rgba(242,243,233,.68);
  font-size: 17px;
  line-height: 1.7;
}

@keyframes grainMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(2%, -2%); }
}

@keyframes pulseLeft {
  0% { transform: translate3d(-5%, 3%, 0) scale(.92); opacity: .52; }
  100% { transform: translate3d(8%, -2%, 0) scale(1.1); opacity: .84; }
}

@keyframes pulseRight {
  0% { transform: translate3d(5%, -3%, 0) scale(.92); opacity: .50; }
  100% { transform: translate3d(-8%, 2%, 0) scale(1.1); opacity: .82; }
}

@keyframes centerBreath {
  0% { transform: scale(.8); opacity: .35; }
  100% { transform: scale(1.15); opacity: .78; }
}

@keyframes ringFloat {
  0% { transform: translate3d(0, 12px, 0) scale(.96); opacity: .62; }
  100% { transform: translate3d(0, -9px, 0) scale(1.04); opacity: .9; }
}

@keyframes lineMove {
  0% { transform: translateX(-12px); opacity: .12; }
  100% { transform: translateX(12px); opacity: .34; }
}

@keyframes twinkle {
  0% { transform: scale(.72) rotate(0deg); opacity: .20; }
  100% { transform: scale(1.1) rotate(20deg); opacity: .75; }
}

@keyframes headerIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(42px) rotateX(14deg) scale(.96);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes tinyIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(42px); opacity: 0; }
}

@keyframes wheelMove {
  0%, 100% { transform: translateY(0); opacity: .28; }
  50% { transform: translateY(11px); opacity: 1; }
}

@keyframes meteorSlide {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0) rotate(-8deg) scaleX(.74);
  }
  10% {
    opacity: .82;
  }
  48% {
    opacity: .48;
  }
  64%, 100% {
    opacity: 0;
    transform: translate3d(150vw, -64px, 0) rotate(-8deg) scaleX(1);
  }
}

@keyframes orbFloat {
  from {
    transform: translate3d(0, 10px, 0) scale(.82);
    opacity: .14;
  }
  to {
    transform: translate3d(0, -10px, 0) scale(1.18);
    opacity: .46;
  }
}

@keyframes studioMeteorSlide {
  0% {
    opacity: 0;
    transform: translate3d(0, -14px, 0) rotate(6deg) scaleX(.72);
  }
  12% {
    opacity: .58;
  }
  46% {
    opacity: .34;
  }
  66%, 100% {
    opacity: 0;
    transform: translate3d(145vw, 42px, 0) rotate(6deg) scaleX(1);
  }
}

@media (max-width: 1040px) {
  .topbar {
    width: 92%;
    grid-template-columns: 1fr auto 1fr;
  }

  .store-name {
    font-size: 21px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-pill {
    min-width: auto;
    padding: 0 13px;
  }

  .glow-left,
  .glow-right {
    width: 52vw;
    height: 30vw;
  }

  .glow-left {
    left: -2%;
  }

  .glow-right {
    right: -2%;
  }

  .label-left {
    left: 11%;
    top: 58%;
  }

  .label-right {
    right: 10%;
    top: 32%;
  }

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

@media (max-width: 740px) {
  .topbar {
    height: 86px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 18px;
    padding-top: 12px;
  }

  .top-left {
    gap: 14px;
  }

  .store-name {
    font-size: 18px;
  }

  .brand-logo {
    grid-column: 2;
    grid-row: 1;
    width: 62px;
    height: 50px;
  }

  .brand-logo img {
    width: 58px;
    height: 45px;
  }

  .top-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
    padding-top: 4px;
  }

  .top-pill {
    height: 31px;
    font-size: 10px;
  }

  .hero-content {
    min-height: calc(100vh - 86px);
    padding-bottom: 88px;
  }

  h1 {
    font-size: clamp(40px, 12.6vw, 72px);
    letter-spacing: -3px;
  }

  .tiny-label {
    font-size: 8px;
  }

  .label-left {
    left: 6%;
    top: 64%;
  }

  .label-right {
    right: 6%;
    top: 28%;
    max-width: 110px;
    text-align: right;
  }

  .cyan-ring {
    top: 64%;
  }

  .scroll-hint {
    bottom: 18px;
  }

  .section {
    padding: 84px 0;
  }

  .shooting-lines {
    height: 112px;
    margin: -42px auto -26px;
  }

  .meteor {
    width: 190px;
  }

  .studio-shooting-lines {
    height: 100px;
    margin: -34px auto -30px;
  }

  .section h2 {
    letter-spacing: -2px;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .store-name {
    font-size: 16px;
  }

  .top-pill {
    padding: 0 11px;
  }

  h1 {
    font-size: 43px;
  }

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


@media (max-width: 900px) {
  .topbar {
    padding: 0 22px;
  }

  .store-name {
    font-size: 24px;
  }

  .top-pill {
    min-width: auto;
    padding: 0 13px;
  }

  .top-pill span {
    display: none;
  }

  .floating-nav {
    padding: 96px 24px 42px;
    place-items: start center;
  }

  .nav-orbit {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-brand {
    min-height: auto;
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
    justify-items: center;
    text-align: center;
  }

  .nav-brand img {
    width: 90px;
  }

  .nav-links a {
    grid-template-columns: 34px 38px 1fr;
    gap: 12px;
  }

  .nav-links a::before {
    left: 86px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links small {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 72px;
    padding: 0 16px;
  }

  .store-name {
    font-size: 19px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-pill {
    width: 34px;
    height: 34px;
    padding: 0;
    min-width: 34px;
  }

  .brand-logo {
    width: 62px;
    height: 52px;
  }

  .brand-logo img {
    width: 58px;
    height: 46px;
  }

  .nav-links strong {
    font-size: 25px;
  }
}


/* Ajustes v3: cierre por click afuera + responsive reforzado */
body.menu-open {
  overflow: hidden;
}

body.menu-open .agency-hero > .hero-content,
body.menu-open .scroll-hint {
  pointer-events: none;
}

.menu-backdrop {
  cursor: pointer;
}

.nav-orbit {
  pointer-events: auto;
}

@media (max-width: 1180px) {
  .nav-orbit {
    width: min(960px, 94vw);
    gap: 54px;
  }

  .nav-links strong {
    font-size: clamp(25px, 3.9vw, 44px);
  }

  .nav-links small {
    max-width: 160px;
    text-align: right;
  }
}

@media (max-width: 900px) {
  .topbar {
    height: 78px;
    width: 100%;
    padding: 0 20px;
  }

  .top-left {
    min-width: 0;
  }

  .store-name {
    max-width: 165px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 24px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-pill {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 999px;
  }

  .top-pill span {
    display: none;
  }

  .top-pill i {
    font-size: 13px;
  }

  .brand-logo {
    width: 64px;
    height: 54px;
  }

  .brand-logo img {
    width: 60px;
    height: 48px;
  }

  .floating-nav {
    align-items: start;
    padding: 92px 20px 26px;
    overflow-y: auto;
  }

  .nav-orbit {
    width: min(620px, 100%);
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nav-brand {
    min-height: auto;
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
    justify-items: center;
    text-align: center;
  }

  .nav-brand img {
    width: 88px;
  }

  .nav-brand span {
    max-width: none;
    font-size: 10px;
    letter-spacing: .28em;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    min-height: 76px;
    grid-template-columns: 36px 42px 1fr;
    gap: 12px;
    padding: 6px 0;
  }

  .nav-links a::before {
    left: 90px;
    right: 0;
    scale: 1 1;
    opacity: .45;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links i {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .nav-links strong {
    font-size: clamp(25px, 8vw, 42px);
    letter-spacing: -.08em;
  }

  .nav-links small {
    grid-column: 3;
    justify-self: start;
    max-width: none;
    text-align: left;
    font-size: 10px;
  }

  .hero-content {
    min-height: calc(100vh - 78px);
    padding: 18px 18px 86px;
  }

  .headline-wrap {
    width: min(94vw, 720px);
  }

  h1 {
    font-size: clamp(42px, 11.5vw, 84px);
    line-height: .9;
    letter-spacing: -3px;
  }

  .label-left {
    left: 8%;
    top: 59%;
  }

  .label-right {
    right: 8%;
    top: 34%;
    max-width: 160px;
    text-align: right;
  }

  .cyan-ring {
    top: 64%;
    width: min(360px, 58vw);
  }

  .section {
    padding: 86px 0;
  }

  .section h2 {
    font-size: clamp(36px, 10vw, 66px);
    letter-spacing: -2px;
  }

  .section p {
    font-size: 16px;
  }
}

@media (max-width: 620px) {
  .topbar {
    height: 70px;
    padding: 0 14px;
    gap: 10px;
  }

  .store-name {
    max-width: 128px;
    font-size: 19px;
  }

  .top-actions {
    gap: 6px;
  }

  .top-pill {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .brand-logo {
    width: 56px;
    height: 48px;
  }

  .brand-logo img {
    width: 54px;
    height: 42px;
  }

  .hero-content {
    min-height: calc(100vh - 70px);
    padding-bottom: 96px;
  }

  h1 {
    font-size: clamp(38px, 13.1vw, 62px);
    line-height: .91;
  }

  .tiny-label {
    display: none;
  }

  .glow-left,
  .glow-right {
    width: 70vw;
    height: 36vw;
    top: 47%;
  }

  .glow-left {
    left: -18%;
  }

  .glow-right {
    right: -18%;
  }

  .glow-center {
    width: 64vw;
    height: 28vw;
    top: 60%;
  }

  .cyan-ring {
    top: 65%;
    width: min(300px, 72vw);
  }

  .scroll-hint {
    bottom: 16px;
    transform: scale(.88);
  }

  .floating-nav {
    padding: 82px 18px 22px;
  }

  .nav-brand img {
    width: 74px;
  }

  .nav-brand span {
    font-size: 9px;
    letter-spacing: .22em;
  }

  .nav-links a {
    min-height: 68px;
    grid-template-columns: 30px 34px 1fr;
    gap: 10px;
  }

  .nav-links a::before {
    left: 74px;
  }

  .nav-number {
    font-size: 10px;
  }

  .nav-links i {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .nav-links strong {
    font-size: clamp(22px, 8.6vw, 34px);
  }

  .nav-links small {
    font-size: 9px;
  }

  .cards {
    gap: 14px;
  }

  .cards article {
    min-height: auto;
    padding: 24px;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .store-name {
    max-width: 108px;
    font-size: 17px;
  }

  .topbar {
    padding: 0 10px;
  }

  .top-pill {
    width: 31px;
    height: 31px;
    min-width: 31px;
  }

  .brand-logo {
    width: 50px;
  }

  h1 {
    font-size: 36px;
  }

  .nav-links strong {
    font-size: 24px;
  }

  .nav-links small {
    display: none;
  }

  .nav-links a {
    min-height: 58px;
  }
}


/* Ajustes v4: mobile refinado */
@media (max-width: 740px) {
  .agency-hero::before {
    background:
      radial-gradient(ellipse 72% 26% at 50% 58%, rgba(50,255,225,.34), transparent 70%),
      radial-gradient(ellipse 88% 34% at 50% 56%, rgba(0,26,255,.42), transparent 74%),
      radial-gradient(ellipse 54% 26% at 50% 38%, rgba(6,12,42,.72), transparent 72%);
    filter: blur(34px) saturate(1.42);
    opacity: .92;
  }

  .agency-hero::after {
    background:
      radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(0,0,0,.24) 58%, rgba(0,0,0,.82) 100%),
      linear-gradient(90deg, rgba(0,0,0,.64), transparent 24%, transparent 76%, rgba(0,0,0,.64));
  }

  .glow-left,
  .glow-right {
    filter: blur(52px);
    opacity: .68;
  }

  .glow-center {
    filter: blur(42px);
    opacity: .72;
  }

  .cyan-ring {
    filter:
      blur(1.2px)
      drop-shadow(0 0 28px rgba(42,255,226,.86))
      drop-shadow(0 0 68px rgba(42,255,226,.48));
    opacity: .78;
  }

  .topbar {
    position: relative;
    width: 100%;
    height: 82px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 82px;
    align-items: center;
    gap: 0;
  }

  .top-left {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
  }

  .store-name {
    display: inline-block;
    max-width: 156px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 24px;
    line-height: 1;
  }

  .brand-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 62px;
    height: 54px;
  }

  .brand-logo img {
    width: 60px;
    height: 48px;
  }

  .top-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0;
  }

  .top-pill {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
  }

  .top-pill span {
    display: none;
  }

  .top-pill i {
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .topbar {
    height: 78px;
    grid-template-rows: 78px;
    padding: 0 16px;
  }

  .store-name {
    max-width: 142px;
    font-size: 22px;
  }

  .brand-logo {
    width: 58px;
    height: 50px;
  }

  .brand-logo img {
    width: 56px;
    height: 44px;
  }

  .top-actions {
    gap: 7px;
  }

  .top-pill {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

@media (max-width: 430px) {
  .topbar {
    padding: 0 13px;
  }

  .store-name {
    max-width: 125px;
    font-size: 20px;
  }

  .brand-logo {
    width: 54px;
    height: 48px;
  }

  .brand-logo img {
    width: 52px;
    height: 42px;
  }

  .top-actions {
    gap: 6px;
  }

  .top-pill {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
}

@media (max-width: 370px) {
  .store-name {
    max-width: 110px;
    font-size: 18px;
  }

  .brand-logo {
    width: 50px;
  }

  .top-pill {
    width: 31px;
    height: 31px;
    min-width: 31px;
  }
}


/* =========================
   TIENDA WEB AUSTRAL + CATEGORÍAS
   ========================= */

.shop-body {
  background: #02030b;
  color: var(--white, #f2f3e9);
}

.shop-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 48%, rgba(50,255,225,.10), transparent 18%),
    radial-gradient(circle at 50% 44%, rgba(0,26,255,.20), transparent 41%),
    linear-gradient(180deg, #050612 0%, #01020a 100%);
}

.shop-stage::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -8;
  background:
    radial-gradient(ellipse 44% 21% at 22% 56%, rgba(0,26,255,.55), transparent 72%),
    radial-gradient(ellipse 44% 21% at 78% 55%, rgba(0,26,255,.48), transparent 72%),
    radial-gradient(ellipse 34% 18% at 50% 68%, rgba(50,255,225,.52), transparent 70%),
    radial-gradient(ellipse 48% 28% at 50% 40%, rgba(3,9,44,.75), transparent 72%);
  filter: blur(32px) saturate(1.32);
  animation: shopBackground 10s ease-in-out infinite alternate;
}

.shop-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -6;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62), transparent 24%, transparent 76%, rgba(0,0,0,.62)),
    radial-gradient(circle at 50% 50%, transparent 0 32%, rgba(0,0,0,.22) 58%, rgba(0,0,0,.84) 100%);
}

.shop-noise {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .13;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.16) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.11) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.08) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px, 13px 13px;
  animation: grainMove .55s steps(2) infinite;
}

.shop-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.shop-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(42px);
  mix-blend-mode: screen;
  opacity: .70;
}

.shop-glow-left {
  width: 30vw;
  height: 16vw;
  left: 10%;
  top: 48%;
  background: #001aff;
  animation: shopFloatLeft 9s ease-in-out infinite alternate;
}

.shop-glow-right {
  width: 31vw;
  height: 16vw;
  right: 10%;
  top: 48%;
  background: #001aff;
  animation: shopFloatRight 9.5s ease-in-out infinite alternate;
}

.shop-glow-center {
  width: 24vw;
  height: 12vw;
  left: 50%;
  top: 63%;
  translate: -50% -50%;
  background: #31f7da;
  filter: blur(34px);
  animation: shopPulse 6.4s ease-in-out infinite alternate;
}

.shop-orbit {
  position: absolute;
  left: 50%;
  top: 66%;
  width: clamp(200px, 25vw, 390px);
  height: clamp(88px, 11vw, 160px);
  translate: -50% -50%;
  border-radius: 0 0 999px 999px;
  border-left: clamp(16px, 2vw, 28px) solid rgba(49,247,218,.62);
  border-right: clamp(16px, 2vw, 28px) solid rgba(49,247,218,.62);
  border-bottom: clamp(16px, 2vw, 28px) solid rgba(49,247,218,.78);
  filter:
    drop-shadow(0 0 28px rgba(49,247,218,.72))
    drop-shadow(0 0 70px rgba(49,247,218,.30));
  opacity: .72;
  animation: shopOrbit 5.2s ease-in-out infinite alternate;
}

.shop-topbar {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 86px;
  padding: 0 clamp(26px, 3.2vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.shop-wordmark {
  justify-self: start;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(24px, 2.05vw, 38px);
  font-weight: 700;
  letter-spacing: -.095em;
  text-shadow: 0 0 24px rgba(255,255,255,.14);
  transition: transform .25s ease;
}

.shop-wordmark:hover {
  transform: translateY(-2px);
}

.shop-logo {
  width: 82px;
  height: 64px;
  display: grid;
  place-items: center;
  transition: transform .28s ease;
}

.shop-logo:hover {
  transform: translateY(-3px) scale(1.04);
}

.shop-logo img {
  width: 76px;
  height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255,255,255,.24))
    drop-shadow(0 0 26px rgba(50,255,225,.10));
}

.shop-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.shop-actions a {
  height: 36px;
  min-width: 118px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  color: rgba(242,243,233,.88);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 900;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.shop-actions a:hover {
  transform: translateY(-2px);
}

.shop-actions a.active {
  color: #02030b;
  border-color: #f2f3e9;
  background: #f2f3e9;
}

.shop-hero {
  position: relative;
  z-index: 6;
  min-height: calc(100vh - 86px);
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  place-items: center;
  align-content: center;
  padding-bottom: 82px;
  text-align: center;
}

.category-orbit {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 10;
  translate: -50% 0;
  width: min(780px, 88vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  animation: shopFadeUp .8s .08s ease both;
}

.category-orbit a {
  min-height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(242,243,233,.70);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  backdrop-filter: blur(16px);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  transition:
    transform .25s ease,
    color .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.category-orbit a i {
  color: #31f7da;
  font-size: 14px;
  filter: drop-shadow(0 0 12px rgba(49,247,218,.28));
}

.category-orbit a:hover {
  color: #f2f3e9;
  border-color: rgba(49,247,218,.42);
  background: rgba(49,247,218,.075);
  box-shadow: 0 18px 50px rgba(49,247,218,.08);
  transform: translateY(-4px);
}

.shop-kicker {
  color: rgba(49,247,218,.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.shop-hero .shop-kicker {
  margin-bottom: 18px;
  animation: shopFadeUp .8s ease both;
}

.shop-hero h1 {
  max-width: 1040px;
  margin: 0 auto;
  color: #f2f3e9;
  font-size: clamp(52px, 7.7vw, 124px);
  line-height: .84;
  font-weight: 900;
  letter-spacing: clamp(-4px, -.45vw, -8px);
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255,255,255,.16),
    0 16px 58px rgba(0,0,0,.78);
  animation: shopTitle .95s .1s cubic-bezier(.19, 1, .22, 1) both;
}

.shop-intro {
  max-width: 660px;
  margin: 26px auto 0;
  color: rgba(242,243,233,.64);
  font-size: 17px;
  line-height: 1.8;
  animation: shopFadeUp .8s .22s ease both;
}

.shop-stats {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 54px);
  animation: shopFadeUp .8s .32s ease both;
}

.shop-stats span {
  display: grid;
  gap: 5px;
  color: rgba(242,243,233,.44);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.shop-stats b {
  color: #f2f3e9;
  font-size: 24px;
  letter-spacing: -.06em;
}

.shop-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(242,243,233,.70);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: transform .25s ease, color .25s ease;
}

.shop-scroll i {
  color: #31f7da;
  font-size: 19px;
  animation: shopMouse 1.5s ease-in-out infinite;
}

.shop-scroll:hover {
  color: #f2f3e9;
  transform: translateY(-3px);
}

.shop-catalog,
.shop-process,
.shop-cta {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 112px 0;
}

.catalog-head {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 32px;
}

.catalog-head h2,
.shop-process h2,
.shop-cta h2,
.products-top h2 {
  max-width: 900px;
  color: #f2f3e9;
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: .96;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.product-list {
  display: grid;
}

.product-row {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 64px 64px minmax(0, 1fr) 150px 46px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.11);
  isolation: isolate;
}

.product-row:last-child {
  border-bottom: 1px solid rgba(255,255,255,.11);
}

.product-row::before {
  content: "";
  position: absolute;
  inset: 0 -24px;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 50%, rgba(49,247,218,.10), transparent 20%),
    linear-gradient(90deg, rgba(255,255,255,.045), transparent 62%);
  opacity: 0;
  transition: opacity .28s ease;
}

.product-row:hover::before {
  opacity: 1;
}

.product-number {
  color: rgba(49,247,218,.78);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
}

.product-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #31f7da;
  font-size: 21px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(49,247,218,.16), transparent 67%);
  text-shadow: 0 0 18px rgba(49,247,218,.36);
  transition: transform .28s ease;
}

.product-row:hover .product-icon {
  transform: translateY(-4px) scale(1.08);
}

.product-main span {
  display: block;
  margin-bottom: 6px;
  color: rgba(49,247,218,.64);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.product-main h3 {
  margin-bottom: 10px;
  color: #f2f3e9;
  font-size: clamp(26px, 3.7vw, 54px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.product-main p {
  max-width: 620px;
  color: rgba(242,243,233,.58);
  font-size: 15px;
  line-height: 1.65;
}

.product-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.product-meta small {
  color: rgba(242,243,233,.46);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-meta strong {
  color: #f2f3e9;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.product-action {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  justify-self: end;
  color: rgba(242,243,233,.72);
  border-radius: 999px;
  transition: color .25s ease, transform .25s ease, background .25s ease;
}

.product-action:hover {
  color: #02030b;
  background: #31f7da;
  transform: translate(4px, -4px);
}

/* cards visuales */
.shop-products {
  width: min(1320px, 92%);
  margin: 0 auto;
  padding: 112px 0;
}

.products-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

.products-tools {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.search-tool,
.sort-tool {
  height: 58px;
  min-width: 280px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(242,243,233,.56);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(14px);
}

.search-tool input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #f2f3e9;
  background: transparent;
  font-weight: 700;
}

.search-tool input::placeholder {
  color: rgba(242,243,233,.42);
}

.sort-tool {
  min-width: 170px;
  justify-content: space-between;
  font-weight: 900;
  cursor: pointer;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.filter-pills a {
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(242,243,233,.62);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  font-size: 13px;
  font-weight: 900;
  transition: transform .25s ease, color .25s ease, border-color .25s ease, background .25s ease;
}

.filter-pills a i {
  color: rgba(49,247,218,.75);
}

.filter-pills a:hover,
.filter-pills a.active {
  color: #f2f3e9;
  border-color: rgba(49,247,218,.36);
  background: rgba(49,247,218,.06);
  transform: translateY(-3px);
}

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

.visual-card {
  position: relative;
  min-height: 410px;
  display: grid;
  grid-template-rows: 1.1fr .92fr;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
  box-shadow: 0 20px 80px rgba(0,0,0,.28);
  transition:
    transform .35s cubic-bezier(.19,1,.22,1),
    border-color .25s ease,
    box-shadow .25s ease;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.08), transparent 18%),
    radial-gradient(circle at 70% 25%, rgba(49,247,218,.14), transparent 26%),
    radial-gradient(circle at 20% 80%, rgba(0,26,255,.22), transparent 32%);
  filter: blur(16px);
  opacity: .9;
  transition: transform .5s ease, opacity .3s ease;
}

.visual-card:hover {
  transform: translateY(-10px);
  border-color: rgba(49,247,218,.28);
  box-shadow:
    0 28px 100px rgba(0,0,0,.38),
    0 0 60px rgba(49,247,218,.08);
}

.visual-card:hover::before {
  transform: rotate(8deg) scale(1.08);
  opacity: 1;
}

.visual-card.pink::before {
  background:
    radial-gradient(circle at 16% 8%, rgba(255,24,84,.55), transparent 28%),
    radial-gradient(circle at 72% 70%, rgba(0,26,255,.18), transparent 36%);
}

.visual-card.violet::before {
  background:
    radial-gradient(circle at 20% 8%, rgba(142,75,255,.55), transparent 30%),
    radial-gradient(circle at 70% 74%, rgba(49,247,218,.15), transparent 34%);
}

.visual-card.cyan::before {
  background:
    radial-gradient(circle at 20% 8%, rgba(49,247,218,.42), transparent 30%),
    radial-gradient(circle at 70% 74%, rgba(0,26,255,.28), transparent 34%);
}

.visual-card.blue::before {
  background:
    radial-gradient(circle at 20% 8%, rgba(0,26,255,.50), transparent 30%),
    radial-gradient(circle at 70% 74%, rgba(49,247,218,.14), transparent 34%);
}

.visual-card.green::before {
  background:
    radial-gradient(circle at 20% 8%, rgba(45,255,143,.38), transparent 30%),
    radial-gradient(circle at 70% 74%, rgba(0,26,255,.20), transparent 34%);
}

.visual-card.gold::before {
  background:
    radial-gradient(circle at 20% 8%, rgba(255,196,77,.42), transparent 30%),
    radial-gradient(circle at 70% 74%, rgba(49,247,218,.14), transparent 34%);
}

.visual-art {
  position: relative;
  min-height: 220px;
  padding: 28px;
  display: grid;
  align-content: end;
  overflow: hidden;
}

.visual-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55)),
    repeating-linear-gradient(120deg, rgba(255,255,255,.035) 0 1px, transparent 1px 28px);
}

.visual-art i {
  position: absolute;
  left: 28px;
  top: 28px;
  color: #31f7da;
  font-size: 30px;
  text-shadow: 0 0 24px rgba(49,247,218,.45);
}

.visual-art span {
  margin-bottom: 9px;
  color: rgba(49,247,218,.78);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.visual-art strong {
  max-width: 360px;
  color: #f2f3e9;
  font-size: clamp(30px, 3vw, 46px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.visual-info {
  padding: 24px 28px 28px;
  display: grid;
  gap: 22px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.34)),
    rgba(255,255,255,.022);
}

.visual-info small {
  display: block;
  margin-bottom: 8px;
  color: rgba(242,243,233,.42);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.visual-info h3 {
  margin-bottom: 10px;
  color: #f2f3e9;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -.06em;
}

.visual-info p {
  color: rgba(242,243,233,.60);
  font-size: 14px;
  line-height: 1.6;
}

.visual-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.visual-buy strong {
  color: #f2f3e9;
  font-size: 26px;
  letter-spacing: -.06em;
}

.visual-buy div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.visual-buy a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: rgba(242,243,233,.78);
  border-radius: 12px;
  background: rgba(255,255,255,.075);
  transition: transform .25s ease, color .25s ease, background .25s ease;
}

.visual-buy a:hover {
  color: #02030b;
  background: #31f7da;
  transform: translateY(-3px);
}

.visual-buy a.arrow {
  color: #02030b;
  background: #f2f3e9;
}

.visual-buy a.arrow:hover {
  background: #31f7da;
}

.process-line {
  position: relative;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(49,247,218,.56), transparent);
}

.process-line article {
  position: relative;
  padding-top: 70px;
}

.process-line i {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #31f7da;
  font-size: 20px;
  border-radius: 999px;
  background: #02030b;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 0 26px rgba(49,247,218,.16);
}

.process-line span {
  display: block;
  margin-bottom: 16px;
  color: rgba(49,247,218,.74);
  font-size: 12px;
  font-weight: 900;
}

.process-line strong {
  display: block;
  margin-bottom: 10px;
  color: #f2f3e9;
  font-size: 22px;
}

.process-line p {
  color: rgba(242,243,233,.60);
  font-size: 15px;
  line-height: 1.65;
}

.shop-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.shop-cta a {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #02030b;
  background: #f2f3e9;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease;
}

.shop-cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(49,247,218,.16);
}

@keyframes shopBackground {
  0% { transform: translate3d(-1%, -1%, 0) scale(1.02); opacity: .72; }
  100% { transform: translate3d(1.2%, 1.5%, 0) scale(1.12); opacity: 1; }
}

@keyframes shopFloatLeft {
  0% { transform: translate3d(-6%, 4%, 0) scale(.94); opacity: .52; }
  100% { transform: translate3d(8%, -3%, 0) scale(1.09); opacity: .78; }
}

@keyframes shopFloatRight {
  0% { transform: translate3d(6%, -4%, 0) scale(.94); opacity: .50; }
  100% { transform: translate3d(-8%, 3%, 0) scale(1.09); opacity: .76; }
}

@keyframes shopPulse {
  0% { transform: scale(.82); opacity: .35; }
  100% { transform: scale(1.18); opacity: .74; }
}

@keyframes shopOrbit {
  0% { transform: translateY(12px) scale(.96); opacity: .58; }
  100% { transform: translateY(-8px) scale(1.04); opacity: .82; }
}

@keyframes shopTitle {
  from {
    opacity: 0;
    transform: translateY(42px) rotateX(14deg) scale(.96);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes shopFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shopMouse {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 1120px) {
  .category-orbit {
    position: relative;
    top: auto;
    left: auto;
    translate: none;
    width: min(760px, 94vw);
    margin: 0 auto 34px;
  }

  .visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-top {
    grid-template-columns: 1fr;
  }

  .products-tools {
    justify-items: start;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .search-tool {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 960px) {
  .shop-topbar {
    height: 78px;
    padding: 0 20px;
  }

  .shop-wordmark {
    font-size: 24px;
  }

  .shop-logo {
    width: 62px;
    height: 54px;
  }

  .shop-logo img {
    width: 60px;
    height: 48px;
  }

  .shop-actions {
    gap: 8px;
  }

  .shop-actions a {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
  }

  .shop-actions a span {
    display: none;
  }

  .shop-hero {
    min-height: calc(100vh - 78px);
    padding-bottom: 96px;
  }

  .shop-hero h1 {
    font-size: clamp(46px, 11vw, 88px);
  }

  .catalog-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-row {
    grid-template-columns: 44px 52px minmax(0, 1fr) 42px;
    gap: 16px;
  }

  .product-meta {
    grid-column: 3;
    grid-row: 2;
    justify-items: start;
  }

  .product-action {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .category-orbit {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-orbit a {
    min-height: 44px;
    padding: 0 12px;
    font-size: 10px;
  }

  .shop-products {
    padding: 84px 0;
  }

  .products-top h2,
  .catalog-head h2,
  .shop-process h2,
  .shop-cta h2 {
    font-size: clamp(36px, 10vw, 62px);
    letter-spacing: -2px;
  }

  .products-tools {
    grid-template-columns: 1fr;
  }

  .search-tool,
  .sort-tool {
    width: 100%;
    min-width: 0;
  }

  .filter-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-pills a {
    min-height: 48px;
    padding: 0 13px;
    font-size: 11px;
  }

  .visual-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .visual-card {
    min-height: 380px;
  }
}

@media (max-width: 620px) {
  .shop-stage::before {
    filter: blur(38px) saturate(1.45);
  }

  .shop-topbar {
    height: 76px;
    padding: 0 15px;
  }

  .shop-wordmark {
    max-width: 138px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 21px;
  }

  .shop-logo {
    width: 56px;
    height: 48px;
  }

  .shop-logo img {
    width: 54px;
    height: 42px;
  }

  .shop-actions a {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .shop-hero {
    min-height: calc(100vh - 76px);
    width: 92%;
    padding-bottom: 92px;
  }

  .shop-hero h1 {
    font-size: clamp(42px, 12.5vw, 62px);
    letter-spacing: -3px;
  }

  .shop-intro {
    margin-top: 22px;
    font-size: 15px;
  }

  .shop-stats {
    gap: 22px;
  }

  .shop-stats b {
    font-size: 20px;
  }

  .shop-stats span {
    font-size: 8px;
  }

  .shop-orbit {
    top: 68%;
    width: min(310px, 75vw);
  }

  .shop-catalog,
  .shop-process,
  .shop-cta {
    padding: 84px 0;
  }

  .product-row {
    grid-template-columns: 34px 42px minmax(0, 1fr);
    gap: 12px;
    padding: 26px 0;
  }

  .product-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .product-main h3 {
    font-size: clamp(27px, 8.8vw, 40px);
  }

  .product-main p {
    font-size: 14px;
  }

  .product-meta {
    grid-column: 3;
    grid-row: auto;
  }

  .product-meta strong {
    font-size: 22px;
  }

  .product-action {
    grid-column: 3;
    grid-row: auto;
    justify-self: start;
    margin-top: 8px;
  }

  .process-line {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-line::before {
    top: 0;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(49,247,218,.56), transparent);
  }

  .process-line article {
    padding-top: 0;
    padding-left: 70px;
  }

  .process-line i {
    left: 0;
  }

  .shop-cta a {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .category-orbit {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .category-orbit a {
    justify-content: flex-start;
  }

  .filter-pills {
    grid-template-columns: 1fr;
  }

  .visual-art {
    min-height: 190px;
    padding: 22px;
  }

  .visual-art i {
    left: 22px;
    top: 22px;
  }

  .visual-info {
    padding: 22px;
  }

  .visual-buy strong {
    font-size: 22px;
  }

  .visual-buy a {
    width: 42px;
    height: 42px;
  }

  .shop-wordmark {
    max-width: 118px;
    font-size: 18px;
  }

  .shop-logo {
    width: 50px;
  }

  .shop-actions {
    gap: 5px;
  }

  .shop-actions a {
    width: 31px;
    height: 31px;
    min-width: 31px;
  }

  .shop-hero h1 {
    font-size: 39px;
  }
}


/* =========================
   TABS + FOOTER TIENDA
   ========================= */

.shop-tabs-section {
  width: min(1320px, 92%);
  margin: 0 auto;
  padding: 112px 0;
}

.tabs-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

.tabs-head h2 {
  max-width: 960px;
  color: #f2f3e9;
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: .96;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.shop-tabs {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 34px 0 46px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(2,3,11,.62);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}

.tab-button {
  min-height: 54px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: rgba(242,243,233,.58);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color .25s ease,
    background .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.tab-button i {
  color: rgba(49,247,218,.72);
  font-size: 15px;
}

.tab-button:hover {
  color: #f2f3e9;
  transform: translateY(-2px);
}

.tab-button.active {
  color: #02030b;
  background: #f2f3e9;
  box-shadow:
    0 10px 35px rgba(255,255,255,.08),
    0 0 42px rgba(49,247,218,.12);
}

.tab-button.active i {
  color: #02030b;
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  animation: tabReveal .55s cubic-bezier(.19,1,.22,1) both;
}

.tab-panel.active {
  display: block;
}

.panel-title {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.panel-title h3 {
  color: #f2f3e9;
  font-size: clamp(32px, 4.7vw, 70px);
  line-height: .96;
  letter-spacing: -3px;
  text-transform: uppercase;
}

[data-search-item].is-hidden {
  display: none !important;
}

.site-footer {
  position: relative;
  width: min(1320px, 92%);
  margin: 30px auto 0;
  padding: 76px 0 34px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.12);
  isolation: isolate;
}

.footer-glow {
  position: absolute;
  left: 50%;
  top: 10%;
  z-index: -1;
  width: 42vw;
  height: 18vw;
  translate: -50% 0;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(49,247,218,.15), transparent 70%);
  filter: blur(34px);
  opacity: .8;
  pointer-events: none;
  animation: footerGlow 6s ease-in-out infinite alternate;
}

.footer-top {
  display: grid;
  grid-template-columns: .7fr 1fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 42px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: max-content;
}

.footer-brand img {
  width: 60px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255,255,255,.18));
}

.footer-brand span {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: #f2f3e9;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.09em;
}

.footer-top p {
  max-width: 580px;
  color: rgba(242,243,233,.60);
  font-size: 15px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: rgba(242,243,233,.72);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  transition:
    color .25s ease,
    background .25s ease,
    transform .25s ease,
    border-color .25s ease;
}

.footer-social a:hover {
  color: #02030b;
  background: #31f7da;
  border-color: #31f7da;
  transform: translateY(-4px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-links a {
  color: rgba(242,243,233,.55);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease, transform .25s ease;
}

.footer-links a:hover {
  color: #31f7da;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  color: rgba(242,243,233,.42);
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom a {
  color: rgba(49,247,218,.76);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@keyframes tabReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes footerGlow {
  from {
    transform: scale(.88);
    opacity: .35;
  }
  to {
    transform: scale(1.1);
    opacity: .85;
  }
}

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

  .shop-tabs {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 28px;
  }

  .tab-button {
    border-radius: 18px;
  }

  .panel-title {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .shop-tabs-section {
    padding: 84px 0;
  }

  .tabs-head h2,
  .panel-title h3 {
    font-size: clamp(36px, 10vw, 62px);
    letter-spacing: -2px;
  }

  .shop-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  .tab-button {
    min-height: 48px;
    justify-content: flex-start;
    padding: 0 16px;
    font-size: 11px;
  }

  .footer-top {
    padding-bottom: 32px;
  }

  .footer-brand span {
    font-size: 24px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}


/* =========================
   AUTH + PROFILE
   ========================= */

.auth-body,
.profile-body {
  min-height: 100vh;
  color: #f2f3e9;
  background: #02030b;
}

.auth-stage,
.profile-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 44%, rgba(0,26,255,.22), transparent 38%),
    radial-gradient(circle at 50% 70%, rgba(49,247,218,.12), transparent 28%),
    #02030b;
}

.auth-stage::before,
.profile-stage::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -3;
  background:
    radial-gradient(ellipse 45% 25% at 25% 45%, rgba(0,26,255,.48), transparent 72%),
    radial-gradient(ellipse 45% 25% at 78% 58%, rgba(49,247,218,.28), transparent 72%);
  filter: blur(38px) saturate(1.35);
  animation: shopBackground 10s ease-in-out infinite alternate;
}

.auth-stage::after,
.profile-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.64), transparent 25%, transparent 75%, rgba(0,0,0,.64)),
    radial-gradient(circle at 50% 50%, transparent 0 35%, rgba(0,0,0,.82) 100%);
}

.auth-logo {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 4;
  width: 80px;
  height: 62px;
  translate: -50% 0;
  display: grid;
  place-items: center;
}

.auth-logo img {
  width: 76px;
  height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255,255,255,.24))
    drop-shadow(0 0 26px rgba(50,255,225,.10));
}

.auth-shell {
  position: relative;
  z-index: 2;
  width: min(1120px, 92%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 120px 0 70px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.auth-copy h1 {
  max-width: 680px;
  margin: 16px 0 24px;
  color: #f2f3e9;
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: .86;
  font-weight: 900;
  letter-spacing: clamp(-3px, -.38vw, -8px);
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255,255,255,.16),
    0 16px 58px rgba(0,0,0,.78);
  animation: shopTitle .9s cubic-bezier(.19,1,.22,1) both;
}

.auth-copy p {
  max-width: 580px;
  color: rgba(242,243,233,.64);
  font-size: 17px;
  line-height: 1.8;
}

.auth-mini-links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.auth-mini-links a {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(242,243,233,.76);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .25s ease, color .25s ease, border-color .25s ease;
}

.auth-mini-links a:hover {
  color: #31f7da;
  border-color: rgba(49,247,218,.38);
  transform: translateY(-3px);
}

.auth-form {
  position: relative;
  padding: clamp(24px, 3.6vw, 42px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0, rgba(49,247,218,.10), transparent 35%),
    rgba(255,255,255,.035);
  box-shadow:
    0 28px 100px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(22px);
  animation: shopFadeUp .85s .16s ease both;
}

.form-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 26px;
}

.form-head > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #02030b;
  border-radius: 999px;
  background: #f2f3e9;
}

.form-head strong {
  display: block;
  color: #f2f3e9;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.form-head span {
  display: block;
  margin-top: 2px;
  color: rgba(242,243,233,.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,77,141,.28);
  border-radius: 18px;
  color: rgba(255,220,230,.92);
  background: rgba(255,77,141,.08);
}

.auth-alert p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.auth-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.auth-form label span {
  color: rgba(242,243,233,.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  color: #f2f3e9;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  outline: none;
  background: rgba(2,3,11,.42);
  font-weight: 700;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.auth-form input:focus {
  border-color: rgba(49,247,218,.62);
  box-shadow: 0 0 0 4px rgba(49,247,218,.06);
}

.auth-form button {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #02030b;
  border: 0;
  border-radius: 999px;
  background: #f2f3e9;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.auth-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(49,247,218,.16);
}

.auth-switch {
  margin-top: 18px;
  color: rgba(242,243,233,.58);
  font-size: 13px;
  text-align: center;
}

.auth-switch a {
  color: #31f7da;
  font-weight: 900;
}

.profile-topbar {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 86px;
  padding: 0 clamp(26px, 3.2vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.profile-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-actions a {
  height: 36px;
  min-width: 104px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(242,243,233,.86);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .25s ease, color .25s ease, border-color .25s ease;
}

.profile-actions a:hover {
  color: #31f7da;
  border-color: rgba(49,247,218,.38);
  transform: translateY(-2px);
}

.profile-hero {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 90px 0 54px;
  text-align: center;
}

.profile-avatar {
  width: 98px;
  height: 98px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: #02030b;
  border-radius: 999px;
  background: var(--avatar-color);
  box-shadow:
    0 0 34px color-mix(in srgb, var(--avatar-color), transparent 55%),
    0 20px 80px rgba(0,0,0,.35);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.profile-hero h1 {
  margin: 16px auto 20px;
  color: #f2f3e9;
  font-size: clamp(48px, 7vw, 112px);
  line-height: .86;
  font-weight: 900;
  letter-spacing: clamp(-3px, -.38vw, -8px);
  text-transform: uppercase;
}

.profile-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(242,243,233,.64);
  font-size: 17px;
  line-height: 1.8;
}

.profile-grid {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.profile-panel {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(49,247,218,.08), transparent 40%),
    rgba(255,255,255,.028);
}

.profile-panel > i {
  color: #31f7da;
  font-size: 24px;
  margin-bottom: 34px;
}

.profile-panel span {
  display: block;
  margin-bottom: 8px;
  color: rgba(242,243,233,.42);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-panel strong {
  display: block;
  color: #f2f3e9;
  font-size: 22px;
  letter-spacing: -.06em;
  word-break: break-word;
}

.profile-panel p {
  margin-top: 10px;
  color: rgba(242,243,233,.58);
  font-size: 14px;
  line-height: 1.6;
}

.profile-sessions {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 80px 0 120px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 48px;
}

.profile-sessions h2 {
  margin-top: 14px;
  color: #f2f3e9;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .94;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.session-list {
  display: grid;
  gap: 12px;
}

.session-list div {
  min-height: 62px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.session-list i {
  color: #31f7da;
}

.session-list span {
  color: #f2f3e9;
  font-weight: 900;
}

.session-list small {
  color: rgba(242,243,233,.48);
}

.category-orbit:empty {
  display: none;
}

@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .profile-grid,
  .profile-sessions {
    grid-template-columns: 1fr;
  }

  .profile-sessions {
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .auth-logo {
    top: 16px;
    width: 62px;
    height: 50px;
  }

  .auth-logo img {
    width: 58px;
    height: 44px;
  }

  .auth-shell {
    width: 92%;
    padding: 92px 0 54px;
  }

  .auth-copy h1 {
    font-size: clamp(38px, 12vw, 62px);
    letter-spacing: -3px;
  }

  .auth-copy p {
    font-size: 15px;
  }

  .auth-form {
    border-radius: 26px;
  }

  .profile-topbar {
    height: 76px;
    padding: 0 15px;
  }

  .profile-actions a {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
  }

  .profile-actions a span {
    display: none;
  }

  .profile-hero {
    padding-top: 64px;
  }

  .profile-avatar {
    width: 82px;
    height: 82px;
    font-size: 28px;
  }

  .profile-hero h1 {
    font-size: clamp(40px, 13vw, 64px);
    letter-spacing: -3px;
  }

  .profile-panel {
    min-height: auto;
  }

  .session-list div {
    grid-template-columns: 30px 1fr;
  }

  .session-list small {
    grid-column: 2;
  }
}


/* Ajuste: la tienda ya no muestra categorías superiores en el hero */
.shop-hero {
  padding-top: 0;
}



/* v2 usuario en navbar + registro extendido */
.user-session-pill {
  color: #02030b !important;
  border-color: #31f7da !important;
  background: #31f7da !important;
  box-shadow: 0 0 26px rgba(49,247,218,.14);
}

.user-session-pill span {
  max-width: 148px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-form input[type="date"] {
  color-scheme: dark;
}

.auth-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: .72;
  cursor: pointer;
}

@media (max-width: 960px) {
  .user-session-pill span {
    max-width: 90px;
  }
}

@media (max-width: 640px) {
  .user-session-pill span {
    display: none !important;
  }
}


/* v5 menú desplegable del usuario */
.user-menu-wrap {
  position: relative;
  z-index: 95;
  display: inline-flex;
  align-items: center;
}

.user-menu-button {
  border: 0;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.user-menu-button .user-menu-caret {
  margin-left: 1px;
  font-size: 9px;
  transition: transform .24s ease;
}

.user-menu-wrap.is-open .user-menu-caret {
  transform: rotate(180deg);
}

.shop-actions .shop-user-menu-button {
  height: 36px;
  min-width: 118px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.shop-actions .shop-user-menu-button:hover {
  transform: translateY(-2px);
}

.user-submenu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(330px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 0%, rgba(49,247,218,.20), transparent 28%),
    linear-gradient(180deg, rgba(11,15,24,.96), rgba(3,4,12,.94));
  box-shadow:
    0 28px 90px rgba(0,0,0,.46),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: translateY(12px) scale(.96);
  transform-origin: 92% 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .24s cubic-bezier(.19,1,.22,1), opacity .2s ease, visibility .2s ease;
}

.user-submenu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 38px;
  width: 13px;
  height: 13px;
  border-left: 1px solid rgba(255,255,255,.12);
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(11,15,24,.96);
  transform: rotate(45deg);
}

.user-menu-wrap.is-open .user-submenu {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.user-submenu-head {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 11px;
}

.user-submenu-orb {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #02030b;
  border-radius: 999px;
  background: #31f7da;
  box-shadow: 0 0 30px rgba(49,247,218,.24);
}

.user-submenu-head strong {
  display: block;
  max-width: 210px;
  overflow: hidden;
  color: #f2f3e9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-submenu-head small {
  display: block;
  margin-top: 3px;
  color: rgba(242,243,233,.46);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.user-submenu-line {
  height: 1px;
  margin: 4px 4px 8px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
}

.user-submenu a {
  position: relative;
  min-height: 48px;
  padding: 8px 8px 8px 6px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(242,243,233,.78);
  border-radius: 16px;
  transition: transform .22s ease, color .22s ease, background .22s ease;
}

.user-submenu a::after {
  content: "";
  position: absolute;
  left: 50px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(49,247,218,.18), transparent);
  opacity: .35;
  transform-origin: left;
  scale: .72 1;
  transition: scale .22s ease, opacity .22s ease;
}

.user-submenu a:hover {
  color: #f2f3e9;
  background: rgba(255,255,255,.045);
  transform: translateX(5px);
}

.user-submenu a:hover::after {
  scale: 1 1;
  opacity: .88;
}

.user-submenu a > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #31f7da;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(49,247,218,.15), transparent 66%);
  font-size: 13px;
}

.user-submenu a strong {
  display: block;
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.user-submenu a small {
  display: block;
  margin-top: 2px;
  color: rgba(242,243,233,.43);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.user-submenu-group {
  margin: 10px 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(49,247,218,.82);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.user-submenu-group::before,
.user-submenu-group::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(49,247,218,.25));
}

.user-submenu-group::after {
  background: linear-gradient(90deg, rgba(49,247,218,.25), transparent);
}

.user-submenu a.admin-link > i {
  color: #02030b;
  background: #f2f3e9;
}

.user-submenu a.logout-link {
  color: rgba(255,255,255,.72);
}

.user-submenu a.logout-link > i {
  color: #ff6b6b;
  background: radial-gradient(circle, rgba(255,107,107,.17), transparent 68%);
}

@media (max-width: 900px) {
  .user-menu-button .user-menu-caret {
    display: none;
  }

  .user-submenu {
    right: 50%;
    transform-origin: 50% 0;
  }

  .user-menu-wrap.is-open .user-submenu {
    transform: translate(50%, 0) scale(1);
  }

  .user-menu-wrap:not(.is-open) .user-submenu {
    transform: translate(50%, 12px) scale(.96);
  }

  .user-submenu::before {
    right: 50%;
    translate: 50% 0;
  }
}

@media (max-width: 640px) {
  .user-submenu {
    width: min(326px, calc(100vw - 22px));
    padding: 12px;
    border-radius: 22px;
  }

  .user-submenu-head strong {
    max-width: 190px;
  }

  .shop-actions .shop-user-menu-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
  }

  .shop-actions .shop-user-menu-button span,
  .shop-actions .shop-user-menu-button .user-menu-caret {
    display: none;
  }
}

.copyright-footer {
  width: min(1320px, 92%);
  margin: 34px auto 0;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(242,243,233,.54);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  letter-spacing: .02em;
}


/* v5 páginas privadas conectadas al submenu */
.dashboard-hero {
  padding-bottom: 44px;
}

.dashboard-layout {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding-bottom: 116px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 22px;
  align-items: start;
}

.dashboard-form {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 0, rgba(49,247,218,.10), transparent 28%),
    rgba(255,255,255,.030);
  box-shadow: 0 26px 90px rgba(0,0,0,.24);
}

.dashboard-form-title {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.dashboard-form-title > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #02030b;
  border-radius: 999px;
  background: #31f7da;
  box-shadow: 0 0 30px rgba(49,247,218,.20);
}

.dashboard-form-title span {
  display: block;
  color: rgba(242,243,233,.46);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.dashboard-form-title strong {
  display: block;
  margin-top: 4px;
  color: #f2f3e9;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.dashboard-form label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.dashboard-form label span {
  color: rgba(242,243,233,.48);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dashboard-form input,
.dashboard-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: #f2f3e9;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  outline: none;
  background: rgba(255,255,255,.045);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.dashboard-form textarea {
  min-height: 150px;
  padding-top: 15px;
  resize: vertical;
}

.dashboard-form input[type="color"] {
  width: 74px;
  padding: 4px;
  cursor: pointer;
}

.dashboard-form input:focus,
.dashboard-form textarea:focus {
  border-color: rgba(49,247,218,.55);
  background: rgba(255,255,255,.065);
  box-shadow: 0 0 0 4px rgba(49,247,218,.08);
}

.dashboard-form input:disabled {
  color: rgba(242,243,233,.46);
  cursor: not-allowed;
}

.dashboard-form button {
  margin-top: 18px;
  min-height: 50px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #02030b;
  border: 0;
  border-radius: 999px;
  background: #f2f3e9;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease;
}

.dashboard-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 56px rgba(49,247,218,.15);
}

.page-alert {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.page-alert.error {
  color: #ffd9d9;
  border: 1px solid rgba(255,107,107,.22);
  background: rgba(255,107,107,.08);
}

.page-alert.success {
  color: #d9fff7;
  border: 1px solid rgba(49,247,218,.24);
  background: rgba(49,247,218,.08);
}

.dashboard-side {
  display: grid;
  gap: 18px;
}

.panel-link {
  display: inline-flex;
  margin-top: 16px;
  color: #31f7da;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-grid {
  padding-bottom: 118px;
}

.service-empty {
  grid-column: span 1;
}

.chat-shell {
  width: min(880px, 92%);
  margin: 0 auto;
  padding: 0 0 118px;
}

.chat-thread {
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0, rgba(49,247,218,.10), transparent 36%),
    rgba(255,255,255,.028);
  display: grid;
  align-content: start;
  gap: 16px;
}

.chat-bubble {
  max-width: 74%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.chat-bubble p {
  padding: 14px 16px;
  color: rgba(242,243,233,.78);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
  font-size: 14px;
  line-height: 1.6;
}

.chat-bubble i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #02030b;
  border-radius: 999px;
  background: #31f7da;
}

.chat-bubble.user {
  justify-self: end;
}

.chat-bubble.user p {
  color: #02030b;
  background: #f2f3e9;
}

.chat-composer {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 50px;
  gap: 10px;
}

.chat-composer input,
.chat-composer button {
  height: 50px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(242,243,233,.58);
}

.chat-composer input {
  padding: 0 18px;
}

.chat-composer button {
  color: #02030b;
  background: #31f7da;
}

.contact-private-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
}

.admin-stage .profile-glow {
  background: radial-gradient(circle, rgba(242,243,233,.12), transparent 62%);
}

.admin-table-wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 0 0 118px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  color: rgba(242,243,233,.76);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255,255,255,.028);
}

.admin-table th,
.admin-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
  font-size: 13px;
}

.admin-table th {
  color: #31f7da;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: rgba(242,243,233,.70);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.role-pill.admin {
  color: #02030b;
  border-color: #31f7da;
  background: #31f7da;
}

.admin-message-list {
  width: min(980px, 92%);
  margin: 0 auto;
  padding: 0 0 118px;
  display: grid;
  gap: 14px;
}

.admin-message-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background: rgba(255,255,255,.030);
}

.admin-message-card div {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.admin-message-card span,
.admin-message-card small {
  color: rgba(242,243,233,.44);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-message-card strong {
  color: #f2f3e9;
  font-size: 20px;
  letter-spacing: -.05em;
}

.admin-message-card p {
  color: rgba(242,243,233,.66);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .dashboard-layout,
  .contact-private-layout {
    grid-template-columns: 1fr;
  }

  .profile-actions .user-menu-wrap {
    order: -1;
  }
}

@media (max-width: 640px) {
  .dashboard-layout,
  .chat-shell,
  .admin-table-wrap,
  .admin-message-list {
    width: 92%;
  }

  .dashboard-form {
    padding: 20px;
    border-radius: 24px;
  }

  .chat-bubble {
    max-width: 92%;
  }
}

/* v3 auth seguro: verificación por correo + recuperación */
.auth-shell-slim {
  grid-template-columns: 1fr minmax(360px, 480px);
}

.auth-help-row {
  margin: -4px 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.auth-help-row a,
.auth-main-link {
  color: #31f7da;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auth-help-row a:hover,
.auth-main-link:hover {
  color: #f2f3e9;
}

.auth-alert-success {
  border-color: rgba(49,247,218,.28);
  color: rgba(220,255,249,.94);
  background: rgba(49,247,218,.08);
}

.auth-code-input {
  min-height: 68px !important;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .32em;
  text-align: center;
}

.auth-note {
  margin: 4px 0 14px;
  color: rgba(242,243,233,.44);
  font-size: 12px;
  line-height: 1.7;
  font-weight: 800;
}

.auth-main-link {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #02030b;
  border-radius: 999px;
  background: #f2f3e9;
  transition: transform .25s ease, box-shadow .25s ease;
}

.auth-main-link:hover {
  color: #02030b;
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(49,247,218,.16);
}

@media (max-width: 960px) {
  .auth-shell-slim {
    grid-template-columns: 1fr;
  }

  .auth-help-row {
    justify-content: center;
  }
}

/* =========================
   AJUSTE 2026: MENÚ USUARIO + PERFIL APP
   ========================= */

/* Menú usuario compacto tipo sidebar, con colores WebAustral */
.user-submenu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(286px, calc(100vw - 24px));
  padding: 14px 12px 12px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 88% -10%, rgba(49,247,218,.18), transparent 34%),
    linear-gradient(180deg, rgba(22,25,31,.985), rgba(13,15,21,.985)) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateY(12px) scale(.98);
  transform-origin: calc(100% - 32px) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .22s ease, opacity .2s ease, visibility .2s ease;
}

.user-submenu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 32px;
  width: 10px;
  height: 10px;
  background: #171a20 !important;
  border-left: 1px solid rgba(255,255,255,.07) !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
  transform: rotate(45deg);
}

.user-menu-wrap.is-open .user-submenu {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.user-submenu-topdots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 14px 4px;
}

.user-submenu-topdots .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  display: block;
}

.user-submenu-topdots .dot-red { background: #ff6b6b; }
.user-submenu-topdots .dot-yellow { background: #f2f3e9; }
.user-submenu-topdots .dot-green { background: #31f7da; }

.user-submenu-profile {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 2px 4px 10px;
}

.user-submenu-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f2f3e9;
  color: #02030b;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(242,243,233,.10);
}

.user-submenu-profile-copy strong {
  display: block;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f2f3e9;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.user-submenu-profile-copy small {
  display: block;
  margin-top: 2px;
  color: rgba(242,243,233,.43);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.user-submenu-nav {
  display: grid;
  gap: 4px;
}

.user-nav-item,
.user-nav-subitem {
  color: rgba(242,243,233,.72);
  text-decoration: none;
}

.user-nav-item {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  display: grid !important;
  grid-template-columns: 24px 1fr auto !important;
  align-items: center;
  gap: 10px !important;
  border: 0;
  width: 100%;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.user-nav-item::after,
.user-submenu a::after {
  display: none !important;
}

.user-nav-item:hover,
.user-nav-item.is-active,
.user-nav-accordion.is-expanded > .user-nav-toggle {
  background: rgba(49,247,218,.10) !important;
  color: #f2f3e9 !important;
  transform: translateX(1px) !important;
}

.user-nav-icon {
  width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center;
  color: rgba(242,243,233,.62) !important;
  font-size: 12px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.user-nav-item.is-active .user-nav-icon,
.user-nav-accordion.is-expanded > .user-nav-toggle .user-nav-icon,
.user-nav-item:hover .user-nav-icon {
  color: #31f7da !important;
}

.user-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: none;
}

.user-nav-chevron {
  color: rgba(242,243,233,.48);
  font-size: 10px;
  transition: transform .18s ease, color .18s ease;
}

.user-nav-accordion.is-expanded .user-nav-chevron {
  color: #31f7da;
  transform: rotate(180deg);
}

.user-nav-children {
  display: none;
  gap: 3px;
  margin: 4px 0 2px;
  padding: 0 0 0 34px;
}

.user-nav-accordion.is-expanded .user-nav-children {
  display: grid;
}

.user-nav-subitem {
  min-height: 28px;
  padding: 0 10px;
  display: flex !important;
  align-items: center;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(242,243,233,.54) !important;
  transition: background .18s ease, color .18s ease;
}

.user-nav-subitem:hover,
.user-nav-subitem.is-active {
  background: rgba(255,255,255,.045) !important;
  color: #f2f3e9 !important;
}

.user-submenu-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.user-nav-item-logout .user-nav-icon {
  color: #ff7d7d !important;
}

.user-submenu-footer small {
  display: block;
  margin: 8px 10px 0;
  color: rgba(242,243,233,.34);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Perfil estilo app */
.account-body,
.account-stage {
  background: #02030b;
}

.account-stage {
  min-height: 100vh;
}

.account-shell {
  position: relative;
  z-index: 3;
  width: min(1460px, 94%);
  margin: 0 auto;
  padding: 18px 0 100px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
}

.account-rail {
  position: sticky;
  top: 22px;
  min-height: calc(100vh - 118px);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(49,247,218,.13), transparent 36%),
    rgba(255,255,255,.035);
  box-shadow: 0 26px 90px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.account-rail a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: rgba(242,243,233,.58);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.account-rail a:hover,
.account-rail a.is-active {
  color: #02030b;
  border-color: rgba(49,247,218,.28);
  background: #31f7da;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(49,247,218,.14);
}

.account-rail-exit {
  margin-top: auto;
}

.account-workspace {
  min-height: 720px;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.020)),
    rgba(2,3,11,.64);
  box-shadow: 0 32px 120px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.account-breadcrumb {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(242,243,233,.45);
  font-size: 12px;
  font-weight: 800;
}

.account-breadcrumb a {
  color: #31f7da;
}

.account-breadcrumb i {
  font-size: 9px;
  color: rgba(242,243,233,.28);
}

.account-title-row {
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.account-title-row h1 {
  margin: 10px 0 0;
  color: #f2f3e9;
  font-size: clamp(42px, 6vw, 86px);
  line-height: .88;
  font-weight: 900;
  letter-spacing: clamp(-2px, -.32vw, -6px);
  text-transform: uppercase;
  text-shadow: 0 20px 70px rgba(0,0,0,.42);
}

.account-user-chip {
  padding: 8px 12px 8px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.account-user-chip > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #02030b;
  border-radius: 999px;
  background: var(--avatar-color);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.account-user-chip strong,
.account-user-chip small {
  display: block;
}

.account-user-chip strong {
  max-width: 170px;
  color: #f2f3e9;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-user-chip small {
  margin-top: 2px;
  color: rgba(242,243,233,.44);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-profile-layout {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 210px minmax(0, 560px);
  gap: clamp(40px, 8vw, 180px);
  align-items: start;
}

.account-profile-tabs {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(49,247,218,.10), transparent 36%),
    rgba(255,255,255,.030);
  box-shadow: 0 22px 70px rgba(0,0,0,.20);
}

.account-profile-tabs a {
  min-height: 46px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(242,243,233,.62);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.account-profile-tabs a + a {
  margin-top: 6px;
}

.account-profile-tabs a i {
  width: 18px;
  color: rgba(242,243,233,.52);
  transition: color .22s ease;
}

.account-profile-tabs a:hover,
.account-profile-tabs a.is-active {
  color: #31f7da;
  background: rgba(49,247,218,.075);
  transform: translateX(2px);
}

.account-profile-tabs a:hover i,
.account-profile-tabs a.is-active i {
  color: #31f7da;
}

.account-profile-card {
  width: 100%;
}

.account-form {
  display: grid;
  gap: 17px;
}

.account-avatar-editor {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.account-avatar-preview {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  color: #02030b;
  border: 3px solid rgba(242,243,233,.18);
  border-radius: 999px;
  background: var(--avatar-color);
  box-shadow: 0 20px 62px rgba(0,0,0,.35), 0 0 44px color-mix(in srgb, var(--avatar-color), transparent 64%);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.07em;
}

.account-color-picker {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.account-color-picker span {
  color: #31f7da !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

.account-color-picker input[type="color"] {
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 2px;
  border-radius: 999px;
  cursor: pointer;
}

.account-field-grid.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-form label {
  display: grid;
  gap: 8px;
}

.account-form label span {
  color: rgba(242,243,233,.66);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.account-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  color: #f2f3e9;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  outline: none;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  font-weight: 750;
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.account-form input:focus {
  border-color: rgba(49,247,218,.56);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(49,247,218,.07);
}

.account-form input:disabled {
  color: rgba(242,243,233,.46);
  cursor: not-allowed;
}

.account-form input[type="date"] {
  color-scheme: dark;
}

.account-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: .72;
}

.account-form-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.account-btn {
  min-height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.13);
  cursor: pointer;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

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

.account-btn-ghost {
  color: rgba(242,243,233,.74);
  background: rgba(255,255,255,.025);
}

.account-btn-primary {
  color: #02030b;
  background: #31f7da;
  border-color: rgba(49,247,218,.36);
  box-shadow: 0 18px 44px rgba(49,247,218,.12);
}

.account-section-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.account-section-head > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #02030b;
  border-radius: 14px;
  background: #f2f3e9;
}

.account-section-head strong {
  display: block;
  color: #f2f3e9;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.account-section-head p {
  max-width: 430px;
  margin: 4px 0 0;
  color: rgba(242,243,233,.52);
  font-size: 13px;
  line-height: 1.6;
}

.account-general-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-general-grid article {
  min-height: 174px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
}

.account-general-grid article i {
  color: #31f7da;
  font-size: 20px;
  margin-bottom: 26px;
}

.account-general-grid article span {
  display: block;
  color: rgba(242,243,233,.42);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.account-general-grid article strong {
  display: block;
  margin-top: 8px;
  color: #f2f3e9;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.account-general-grid article p {
  margin: 10px 0 0;
  color: rgba(242,243,233,.52);
  font-size: 12px;
  line-height: 1.6;
}

.account-session-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.030);
}

.account-session-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.account-session-list div {
  min-height: 46px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}

.account-session-list i {
  color: #31f7da;
  font-size: 12px;
}

.account-session-list span {
  color: #f2f3e9;
  font-size: 13px;
  font-weight: 800;
}

.account-session-list small {
  color: rgba(242,243,233,.44);
  font-size: 11px;
}

@media (max-width: 1180px) {
  .account-profile-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
  }

  .account-general-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .account-shell {
    width: 92%;
    grid-template-columns: 1fr;
    padding-top: 8px;
  }

  .account-rail {
    position: relative;
    top: 0;
    min-height: 0;
    flex-direction: row;
    justify-content: center;
    padding: 10px;
    border-radius: 20px;
  }

  .account-rail-exit {
    margin-top: 0;
    margin-left: auto;
  }

  .account-workspace {
    border-radius: 26px;
  }

  .account-title-row {
    flex-direction: column;
  }

  .account-profile-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 34px;
  }

  .account-profile-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .account-profile-tabs a + a {
    margin-top: 0;
  }

  .account-profile-tabs a {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .user-submenu {
    width: min(286px, calc(100vw - 16px));
    padding: 12px 10px 10px !important;
  }

  .account-workspace {
    padding: 22px 16px;
  }

  .account-title-row h1 {
    font-size: clamp(40px, 14vw, 64px);
  }

  .account-user-chip {
    width: 100%;
  }

  .account-profile-tabs {
    grid-template-columns: 1fr;
  }

  .account-profile-tabs a {
    justify-content: flex-start;
  }

  .account-field-grid.two-cols,
  .account-form-actions {
    grid-template-columns: 1fr;
  }

  .account-session-list div {
    grid-template-columns: 22px 1fr;
  }

  .account-session-list small {
    grid-column: 2;
  }
}


/* Admin dashboard analytics */
.admin-analytics-shell {
  width: min(1520px, 95%);
}

.admin-analytics-workspace {
  padding: 26px;
}

.admin-analytics-head {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.admin-analytics-head h1 {
  margin: 10px 0 0;
  color: #f2f3e9;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.admin-kpi-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-kpi-card,
.admin-panel {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 65px rgba(0,0,0,.18);
}

.admin-kpi-card {
  min-height: 106px;
  padding: 16px 18px;
}

.admin-kpi-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(242,243,233,.74);
  font-size: 13px;
  font-weight: 700;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 8px;
  color: #f2f3e9;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  font-weight: 800;
}

.admin-kpi-card small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 8px;
  color: rgba(242,243,233,.72);
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

.admin-analytics-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(290px, .72fr);
  gap: 12px;
}

.admin-right-stack,
.admin-bottom-grid {
  display: grid;
  gap: 12px;
}

.admin-map-panel {
  padding: 18px;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-panel-head.compact h3 {
  font-size: 18px;
}

.admin-panel-kicker {
  display: block;
  color: rgba(242,243,233,.45);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-panel-head h3 {
  margin: 5px 0 0;
  color: #f2f3e9;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.admin-impression-chip {
  min-width: 136px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}

.admin-impression-chip small,
.admin-impression-chip strong {
  display: block;
}

.admin-impression-chip small {
  color: rgba(242,243,233,.44);
  font-size: 11px;
  font-weight: 700;
}

.admin-impression-chip strong {
  margin-top: 3px;
  color: #f2f3e9;
  font-size: 30px;
  font-weight: 800;
}

.admin-map-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 250px;
  gap: 14px;
  align-items: stretch;
}

.admin-world-map {
  min-height: 376px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}

.admin-map-fallback {
  min-height: 376px;
  display: grid;
  place-items: center;
  color: rgba(242,243,233,.5);
  font-weight: 700;
}

.admin-audience-side {
  display: grid;
  grid-template-rows: 180px 1fr;
  gap: 12px;
}

.admin-ring-wrap {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}

.admin-ring-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.admin-country-list {
  padding: 8px 0;
  display: grid;
  gap: 10px;
}

.admin-country-item {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}

.admin-country-item strong,
.admin-country-item small,
.admin-country-item b {
  display: block;
}

.admin-country-item strong {
  color: #f2f3e9;
  font-size: 13px;
  font-weight: 800;
}

.admin-country-item small {
  margin-top: 4px;
  color: rgba(242,243,233,.44);
  font-size: 11px;
  font-weight: 700;
}

.admin-country-item b {
  color: #31f7da;
  font-size: 20px;
  font-weight: 800;
}

.admin-content-panel,
.admin-stats-panel,
.admin-insight-panel,
.admin-chart-panel {
  padding: 18px;
}

.admin-toggle-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}

.admin-toggle-group button {
  min-width: 74px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(242,243,233,.6);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.admin-toggle-group button.is-active {
  color: #02030b;
  background: #f2f3e9;
}

.admin-content-bars {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.admin-content-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.admin-content-row-top span {
  color: rgba(242,243,233,.74);
  font-size: 12px;
  font-weight: 700;
}

.admin-content-row-top strong {
  color: #f2f3e9;
  font-size: 12px;
  font-weight: 800;
}

.admin-content-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  overflow: hidden;
}

.admin-content-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2f3e9, #31f7da);
  transition: width .24s ease;
}

.admin-stat-list {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.admin-stat-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.admin-stat-list span {
  color: rgba(242,243,233,.62);
  font-size: 12px;
  font-weight: 700;
}

.admin-stat-list strong {
  color: #f2f3e9;
  font-size: 18px;
  font-weight: 800;
}

.admin-bottom-grid {
  margin-top: 12px;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
}

.admin-chart-panel.wide {
  min-height: 320px;
}

.admin-chart-panel canvas,
.admin-insight-panel canvas {
  width: 100% !important;
}

#adminReachChart {
  height: 250px !important;
  margin-top: 18px;
}

#adminMiniChart {
  height: 180px !important;
  margin-top: 12px;
}

.admin-panel-chip-group {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}

.admin-panel-chip-group span,
.admin-panel-chip-group strong {
  min-width: 74px;
  height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}

.admin-panel-chip-group span {
  color: rgba(242,243,233,.52);
}

.admin-panel-chip-group strong {
  color: #02030b;
  background: #f2f3e9;
}

.admin-insight-copy {
  margin-top: 16px;
}

.admin-insight-copy strong {
  color: #f2f3e9;
  font-size: 18px;
  font-weight: 800;
}

.admin-insight-copy p {
  margin: 8px 0 0;
  color: rgba(242,243,233,.52);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1260px) {
  .admin-kpi-grid,
  .admin-analytics-grid,
  .admin-bottom-grid,
  .admin-map-layout {
    grid-template-columns: 1fr;
  }

  .admin-audience-side {
    grid-template-columns: 220px 1fr;
    grid-template-rows: 1fr;
  }
}

@media (max-width: 920px) {
  .admin-analytics-head {
    flex-direction: column;
  }

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

  .admin-audience-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-analytics-workspace {
    padding: 18px 14px;
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }

  .admin-map-panel,
  .admin-content-panel,
  .admin-stats-panel,
  .admin-chart-panel,
  .admin-insight-panel {
    padding: 14px;
  }

  .admin-panel-head,
  .admin-panel-head.compact {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-toggle-group,
  .admin-panel-chip-group {
    width: 100%;
    overflow: auto;
  }
}


/* Dashboard admin: versión exacta tipo analytics */
.admin-exact-body {
  min-height: 100vh;
  margin: 0;
  color: #f2f3e9;
  background: #070707;
  overflow-x: hidden;
}

.admin-exact-app {
  min-height: 100vh;
  padding: 10px 12px 10px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background:
    radial-gradient(circle at 58% -14%, rgba(49,247,218,.045), transparent 34%),
    linear-gradient(180deg, #080808 0%, #050505 100%);
}

.admin-exact-rail {
  position: fixed;
  inset: 10px auto 10px 10px;
  z-index: 50;
  width: 38px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  background: linear-gradient(180deg, #171717, #0d0d0d);
  box-shadow: 0 18px 60px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04);
}

.admin-exact-brand {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f2f3e9;
  box-shadow: 0 10px 25px rgba(242,243,233,.08);
}

.admin-exact-brand img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: invert(1);
}

.admin-exact-nav,
.admin-exact-rail-bottom {
  display: grid;
  gap: 8px;
}

.admin-exact-nav a,
.admin-exact-rail-bottom a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: rgba(242,243,233,.42);
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  font-size: 11px;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.admin-exact-nav a:hover,
.admin-exact-nav a.is-active,
.admin-exact-rail-bottom a:hover {
  color: #f2f3e9;
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.075);
  transform: translateY(-1px);
}

.admin-exact-rail-bottom {
  margin-top: auto;
}

.admin-exact-board {
  min-height: calc(100vh - 20px);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 14px;
  background: #101010;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 24px 90px rgba(0,0,0,.36);
}

.admin-exact-titlebar {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-exact-titlebar h1 {
  margin: 0;
  color: #f2f3e9;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.035em;
  text-transform: none;
}

.admin-exact-user {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(242,243,233,.55);
  font-size: 13px;
  font-weight: 800;
}

.admin-exact-user strong {
  color: rgba(242,243,233,.7);
  font-weight: 700;
}

.admin-exact-user i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: rgba(242,243,233,.72);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}

.admin-exact-layout {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-rows: 118px minmax(390px, 1fr) minmax(310px, .72fr);
  gap: 12px;
}

.admin-exact-kpis {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-exact-kpis article,
.admin-exact-card {
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 10px;
  background: #121212;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.admin-exact-kpis article {
  padding: 14px 16px;
  min-width: 0;
}

.admin-exact-kpis span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(242,243,233,.70);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.admin-exact-kpis span i {
  color: rgba(242,243,233,.38);
  font-size: 10px;
}

.admin-exact-kpis strong {
  display: block;
  margin-top: 10px;
  color: #f2f3e9;
  font-size: clamp(28px, 2.35vw, 38px);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.045em;
}

.admin-exact-kpis small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0;
  margin-left: 8px;
  padding: 4px 7px;
  vertical-align: middle;
  color: rgba(242,243,233,.66);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: 11px;
  font-weight: 800;
}

.admin-exact-kpis small.down i {
  transform: rotate(180deg);
}

.admin-exact-content {
  grid-column: 2;
  grid-row: 1;
  padding: 14px;
}

.admin-exact-map-card {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, .72fr);
  overflow: hidden;
}

.admin-exact-map {
  min-height: 100%;
  height: 100%;
}

.admin-exact-map-fallback {
  height: 100%;
  min-height: 250px;
  display: grid;
  place-items: center;
  color: rgba(242,243,233,.5);
  font-size: 12px;
  font-weight: 700;
}

.admin-exact-audience {
  position: relative;
  padding: 16px 18px;
  border-left: 1px solid rgba(255,255,255,.07);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px 14px;
}

.admin-exact-audience .admin-exact-card-head {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
}

.admin-exact-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-exact-card-head h2 {
  margin: 0;
  color: #f2f3e9;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.admin-exact-card-head p {
  margin: 4px 0 0;
  color: rgba(242,243,233,.44);
  font-size: 12px;
  font-weight: 650;
}

.admin-exact-card-head > strong {
  color: #f2f3e9;
  font-size: 20px;
  font-weight: 800;
}

.admin-exact-impression {
  grid-column: 1;
  padding: 12px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.admin-exact-impression span {
  display: block;
  color: rgba(242,243,233,.42);
  font-size: 14px;
  font-weight: 750;
}

.admin-exact-impression strong {
  display: inline-block;
  margin-top: 5px;
  color: #f2f3e9;
  font-size: 36px;
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.055em;
}

.admin-exact-impression small {
  margin-left: 8px;
  color: rgba(242,243,233,.58);
  font-size: 10px;
  font-weight: 700;
}

.admin-exact-ring {
  grid-column: 2;
  grid-row: 2;
  min-height: 84px;
}

.admin-exact-ring canvas {
  width: 88px !important;
  height: 88px !important;
}

.admin-exact-countries {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-self: end;
  border-top: 1px solid rgba(255,255,255,.07);
}

.admin-exact-countries div {
  min-width: 0;
  padding: 16px 12px 4px;
  border-left: 1px solid rgba(255,255,255,.06);
}

.admin-exact-countries div:first-child {
  border-left: 0;
}

.admin-exact-countries span {
  display: block;
  overflow: hidden;
  color: rgba(242,243,233,.55);
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-exact-countries strong {
  display: block;
  margin-top: 8px;
  color: #f2f3e9;
  font-size: 30px;
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.05em;
}

.admin-exact-countries i {
  display: block;
  position: relative;
  height: 5px;
  margin-top: 18px;
  border-radius: 99px;
  background: rgba(242,243,233,.24);
  overflow: hidden;
}

.admin-exact-countries i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: #f2f3e9;
}

.admin-exact-activity {
  grid-column: 2;
  grid-row: 3;
  padding: 16px;
}

.admin-exact-activity-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.admin-exact-activity-list div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.admin-exact-activity-list span {
  color: #f2f3e9;
  font-size: 16px;
  line-height: 1.22;
  font-weight: 800;
}

.admin-exact-activity-list small {
  display: block;
  margin-top: 4px;
  color: rgba(242,243,233,.42);
  font-size: 12px;
  font-weight: 700;
}

.admin-exact-activity-list strong {
  color: #f2f3e9;
  font-size: 21px;
  font-weight: 900;
}

.admin-exact-reach {
  grid-column: 1;
  grid-row: 3;
  padding: 16px 16px 12px;
  min-height: 250px;
}

.admin-exact-reach canvas {
  width: 100% !important;
  height: 220px !important;
  margin-top: 8px;
}

.admin-exact-chart-switch {
  display: inline-flex;
  gap: 6px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(255,255,255,.018);
}

.admin-exact-chart-switch span,
.admin-exact-chart-switch strong {
  min-width: 72px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.admin-exact-chart-switch span {
  color: rgba(242,243,233,.60);
}

.admin-exact-chart-switch strong {
  color: #080808;
  background: #f2f3e9;
}

.admin-exact-assistant {
  grid-column: 2;
  grid-row: 3;
  position: relative;
  min-height: 250px;
  padding: 14px;
  overflow: hidden;
  display: grid;
  align-content: end;
}

.admin-exact-assistant::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 78%, rgba(242,243,233,.16), transparent 16%),
    radial-gradient(circle at 76% 28%, rgba(49,247,218,.08), transparent 28%);
  pointer-events: none;
}

.admin-exact-assistant canvas {
  position: absolute;
  inset: 14px 12px auto;
  width: calc(100% - 24px) !important;
  height: 150px !important;
  opacity: .7;
}

.admin-exact-assistant div {
  position: relative;
  z-index: 1;
}

.admin-exact-assistant i {
  display: block;
  margin-bottom: 12px;
  color: #f2f3e9;
  font-size: 22px;
}

.admin-exact-assistant strong {
  display: block;
  color: #f2f3e9;
  font-size: 18px;
  font-weight: 800;
}

.admin-exact-assistant p {
  max-width: 190px;
  margin: 6px 0 0;
  color: rgba(242,243,233,.44);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.admin-exact-pills {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.admin-exact-pills button {
  height: 26px;
  min-width: 66px;
  padding: 0 12px;
  color: rgba(242,243,233,.66);
  border: 0;
  border-radius: 7px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.admin-exact-pills button.is-active {
  color: #080808;
  background: #f2f3e9;
}

.admin-exact-typebars {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.admin-exact-typebar span {
  display: block;
  margin-bottom: 7px;
  color: rgba(242,243,233,.52);
  font-size: 12px;
  font-weight: 750;
}

.admin-exact-typebar div {
  position: relative;
  height: 16px;
  overflow: hidden;
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(242,243,233,.13) 0 3px,
      transparent 3px 6px
    );
}

.admin-exact-typebar b {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(242,243,233,.95) 0 3px,
      rgba(242,243,233,.95) 3px,
      transparent 3px 6px
    );
  transition: width .22s ease;
}

@media (max-width: 1320px) {
  .admin-exact-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
  }

  .admin-exact-kpis,
  .admin-exact-content,
  .admin-exact-map-card,
  .admin-exact-activity,
  .admin-exact-reach,
  .admin-exact-assistant {
    grid-column: 1;
    grid-row: auto;
  }

  .admin-exact-content {
    min-height: 160px;
  }

  .admin-exact-assistant {
    min-height: 230px;
  }
}

@media (max-width: 960px) {
  .admin-exact-app {
    padding: 8px;
  }

  .admin-exact-rail {
    position: sticky;
    inset: auto;
    top: 8px;
    width: auto;
    height: auto;
    margin-bottom: 8px;
    flex-direction: row;
    justify-content: space-between;
  }

  .admin-exact-nav,
  .admin-exact-rail-bottom {
    display: flex;
    gap: 8px;
  }

  .admin-exact-board {
    min-height: auto;
  }

  .admin-exact-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-exact-map-card {
    grid-template-columns: 1fr;
  }

  .admin-exact-map {
    min-height: 300px;
  }

  .admin-exact-audience {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.07);
  }
}

@media (max-width: 640px) {
  .admin-exact-titlebar,
  .admin-exact-card-head,
  .admin-exact-user {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-exact-kpis,
  .admin-exact-countries {
    grid-template-columns: 1fr;
  }

  .admin-exact-countries div {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.06);
  }

  .admin-exact-audience {
    grid-template-columns: 1fr;
  }

  .admin-exact-ring {
    grid-column: 1;
    grid-row: auto;
    height: 100px;
  }

  .admin-exact-pills {
    overflow-x: auto;
  }
}


/* Ajustes dashboard admin: legibilidad y mapa activo */
.admin-exact-board {
  font-size: 16px;
}

.admin-exact-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-rows: 118px minmax(390px, 1fr) minmax(310px, .72fr);
}

.admin-exact-titlebar h1 {
  font-size: 24px;
  font-weight: 800;
}

.admin-exact-kpis span,
.admin-exact-impression span,
.admin-exact-typebar span,
.admin-exact-user {
  font-size: 14px;
}

.admin-exact-kpis strong {
  font-size: clamp(28px, 2.4vw, 40px);
}

.admin-exact-card-head h2 {
  font-size: 17px;
  font-weight: 850;
}

.admin-exact-card-head p,
.admin-exact-activity-list small,
.admin-exact-assistant p {
  font-size: 12px;
}

.admin-exact-card-head > strong,
.admin-exact-activity-list strong {
  font-size: 21px;
  font-weight: 900;
}

.admin-exact-activity-list span {
  font-size: 16px;
  font-weight: 850;
}

.admin-exact-pills button,
.admin-exact-chart-switch span,
.admin-exact-chart-switch strong {
  font-size: 12px;
}

.admin-exact-map {
  min-height: 330px;
}

.admin-exact-svg-map {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
}

.admin-exact-svg-map .map-ocean {
  fill: rgba(255,255,255,.025);
  stroke: rgba(255,255,255,.055);
  stroke-width: .25;
}

.admin-exact-svg-map .map-land {
  fill: rgba(242,243,233,.12);
  stroke: rgba(242,243,233,.16);
  stroke-width: .25;
}

.admin-exact-svg-map .map-lines path {
  fill: none;
  stroke: rgba(242,243,233,.62);
  stroke-width: .35;
  stroke-linecap: round;
}

.admin-exact-svg-map .map-points circle {
  fill: #f2f3e9;
  stroke: rgba(49,247,218,.55);
  stroke-width: .42;
}

.admin-exact-svg-map .map-points text {
  fill: rgba(242,243,233,.86);
  font-size: 2.2px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(0,0,0,.55);
  stroke-width: .35;
}

.admin-exact-map-fallback {
  font-size: 16px;
  text-align: center;
  padding: 30px;
}

@media (max-width: 1320px) {
  .admin-exact-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
  }
}

/* Dashboard admin: header WebAustral, color y datos vivos */
.admin-site-topbar {
  position: relative;
  z-index: 80;
  width: 100%;
  height: 86px;
  padding: 0 clamp(26px, 3.2vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(49,247,218,.12), transparent 32%),
    linear-gradient(180deg, rgba(2,3,11,.98), rgba(2,3,11,.70));
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.admin-site-actions {
  justify-self: end;
}

.admin-exact-body {
  background:
    radial-gradient(circle at 52% 0%, rgba(49,247,218,.08), transparent 30%),
    radial-gradient(circle at 30% 72%, rgba(24,55,255,.10), transparent 34%),
    #050508;
}

.admin-exact-app {
  min-height: calc(100vh - 86px);
  padding-top: 8px;
  background:
    radial-gradient(circle at 62% -20%, rgba(49,247,218,.07), transparent 35%),
    radial-gradient(circle at 50% 105%, rgba(24,55,255,.09), transparent 34%),
    linear-gradient(180deg, rgba(8,8,9,.96) 0%, rgba(3,3,6,.98) 100%);
}

.admin-exact-rail {
  top: 96px;
  bottom: 10px;
  background:
    linear-gradient(180deg, rgba(20,22,24,.98), rgba(10,11,14,.98));
  border-color: rgba(49,247,218,.12);
  box-shadow: 0 18px 60px rgba(0,0,0,.40), inset 0 1px 0 rgba(49,247,218,.08);
}

.admin-exact-brand {
  background: #f2f3e9;
  box-shadow: 0 0 26px rgba(49,247,218,.22);
}

.admin-exact-nav a:hover,
.admin-exact-nav a.is-active,
.admin-exact-rail-bottom a:hover {
  color: #02030b;
  border-color: rgba(49,247,218,.45);
  background: #31f7da;
  box-shadow: 0 0 22px rgba(49,247,218,.14);
}

.admin-exact-board {
  min-height: calc(100vh - 106px);
  border-color: rgba(49,247,218,.13);
  background:
    radial-gradient(circle at 74% 18%, rgba(49,247,218,.055), transparent 26%),
    radial-gradient(circle at 43% 86%, rgba(24,55,255,.075), transparent 30%),
    #101011;
}

.admin-exact-titlebar {
  align-items: flex-start;
}

.admin-exact-titlebar h1 {
  text-shadow: 0 0 26px rgba(242,243,233,.08);
}

.admin-exact-live {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(49,247,218,.78);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.admin-exact-live i {
  font-size: 9px;
  filter: drop-shadow(0 0 8px rgba(49,247,218,.6));
}

.admin-exact-kpis article,
.admin-exact-card {
  border-color: rgba(49,247,218,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)),
    #111112;
}

.admin-exact-kpis article:hover,
.admin-exact-card:hover {
  border-color: rgba(49,247,218,.20);
}

.admin-exact-kpis span i,
.admin-exact-card-head p,
.admin-exact-activity-list small {
  color: rgba(49,247,218,.42);
}

.admin-exact-kpis small.up,
.admin-exact-impression small {
  color: rgba(49,247,218,.88);
  border-color: rgba(49,247,218,.15);
  background: rgba(49,247,218,.055);
}

.admin-exact-kpis small.down {
  color: rgba(255,126,126,.84);
}

.admin-exact-pills button.is-active,
.admin-exact-chart-switch strong {
  color: #02030b;
  background: #31f7da;
  box-shadow: 0 0 22px rgba(49,247,218,.16);
}

.admin-exact-typebar b,
.admin-exact-countries i::before {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(49,247,218,.98) 0 3px,
      rgba(49,247,218,.98) 3px,
      transparent 3px 6px
    );
}

.admin-exact-map-card {
  border-color: rgba(49,247,218,.14);
  background:
    radial-gradient(circle at 24% 54%, rgba(24,55,255,.10), transparent 34%),
    radial-gradient(circle at 74% 46%, rgba(49,247,218,.08), transparent 30%),
    #101011;
}

.admin-exact-map-fallback {
  color: rgba(49,247,218,.72);
  font-size: 15px;
}

.admin-exact-svg-map .map-lines path {
  stroke: #31f7da !important;
  filter: drop-shadow(0 0 5px rgba(49,247,218,.40));
}

.admin-exact-svg-map .map-points circle {
  fill: #f2f3e9 !important;
  stroke: #31f7da !important;
  filter: drop-shadow(0 0 8px rgba(49,247,218,.55));
}

.admin-exact-ring canvas {
  filter: drop-shadow(0 0 18px rgba(49,247,218,.12));
}

.admin-exact-assistant::before {
  background:
    radial-gradient(circle at 12% 78%, rgba(49,247,218,.20), transparent 16%),
    radial-gradient(circle at 76% 28%, rgba(24,55,255,.14), transparent 28%);
}

.admin-exact-assistant i {
  color: #31f7da;
  filter: drop-shadow(0 0 10px rgba(49,247,218,.35));
}

@media (max-width: 860px) {
  .admin-site-topbar {
    height: auto;
    min-height: 82px;
    padding: 14px 18px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .admin-site-topbar .shop-logo {
    display: none;
  }

  .admin-exact-rail {
    top: auto;
    bottom: 10px;
  }

  .admin-exact-app {
    min-height: 100vh;
    padding-left: 12px;
    padding-bottom: 68px;
  }
}

/* Fix mapa dashboard: mapa activo incluso sin primeras ubicaciones */
.admin-exact-map {
  position: relative;
  background:
    radial-gradient(circle at 45% 48%, rgba(49,247,218,.12), transparent 34%),
    radial-gradient(circle at 72% 32%, rgba(24,55,255,.10), transparent 30%),
    rgba(255,255,255,.012);
}

.admin-exact-map-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 330px;
}

.admin-exact-svg-map .map-grid {
  fill: none;
  stroke: rgba(49,247,218,.055);
  stroke-width: .16;
}

.admin-exact-svg-map .map-lines path {
  stroke: url(#waMapLine);
  stroke-width: .46;
  stroke-dasharray: 1.1 1.1;
  animation: waMapRoute 4.6s linear infinite;
}

.admin-exact-svg-map .map-origin circle {
  fill: #31f7da;
  stroke: #f2f3e9;
  stroke-width: .5;
  filter: drop-shadow(0 0 6px rgba(49,247,218,.7));
}

.admin-exact-map-status {
  position: absolute;
  left: 18px;
  bottom: 16px;
  max-width: min(420px, calc(100% - 36px));
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(242,243,233,.72);
  border: 1px solid rgba(49,247,218,.16);
  border-radius: 999px;
  background: rgba(2,3,11,.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.admin-exact-map-status i {
  color: #31f7da;
}

.admin-exact-map-status.is-live {
  color: #31f7da;
}

.admin-exact-map-status.is-live i {
  font-size: 8px;
  animation: waLivePulse 1.6s ease-in-out infinite;
}

@keyframes waMapRoute {
  to { stroke-dashoffset: -12; }
}

@keyframes waLivePulse {
  0%, 100% { opacity: .45; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.15); }
}


/* Ayuda interactiva dashboard admin */
.admin-help-btn {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: rgba(49,247,218,.70);
  background: transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.admin-help-btn i {
  color: inherit !important;
  font-size: 11px !important;
  pointer-events: none;
}

.admin-help-btn:hover,
.admin-help-btn:focus-visible,
.admin-help-btn.is-active {
  color: #02030b;
  background: #31f7da;
  box-shadow: 0 0 18px rgba(49,247,218,.25);
  transform: translateY(-1px);
  outline: none;
}

.admin-help-popover {
  position: fixed;
  z-index: 9999;
  width: min(292px, calc(100vw - 24px));
  padding: 14px 15px 15px;
  border: 1px solid rgba(49,247,218,.24);
  border-radius: 14px;
  color: #f2f3e9;
  background:
    radial-gradient(circle at 100% 0%, rgba(49,247,218,.14), transparent 38%),
    linear-gradient(180deg, rgba(18,20,24,.98), rgba(8,9,12,.98));
  box-shadow: 0 18px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.admin-help-popover.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.admin-help-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: var(--arrow-x, 22px);
  width: 10px;
  height: 10px;
  border-left: 1px solid rgba(49,247,218,.24);
  border-top: 1px solid rgba(49,247,218,.24);
  background: #121418;
  transform: rotate(45deg);
}

.admin-help-popover strong {
  display: block;
  margin: 0 0 7px;
  color: #31f7da;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.admin-help-popover p {
  margin: 0;
  color: rgba(242,243,233,.72);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .admin-help-popover {
    width: min(300px, calc(100vw - 18px));
    padding: 13px 14px;
  }
}

.admin-help-popover.is-top::before {
  top: auto;
  bottom: -6px;
  border-left: 0;
  border-top: 0;
  border-right: 1px solid rgba(49,247,218,.24);
  border-bottom: 1px solid rgba(49,247,218,.24);
}

/* Dashboard admin: mover título y estado al header superior */
.admin-site-topbar {
  height: 86px;
  grid-template-columns: minmax(520px, 1fr) auto minmax(520px, 1fr);
  gap: 24px;
}

.admin-site-left,
.admin-site-right {
  min-width: 0;
  display: flex;
  align-items: center;
}

.admin-site-left {
  justify-self: start;
  gap: clamp(42px, 5vw, 96px);
}

.admin-site-right {
  justify-self: end;
  justify-content: flex-end;
  gap: clamp(28px, 4vw, 82px);
}

.admin-top-performance {
  min-width: 280px;
  display: grid;
  gap: 4px;
}

.admin-top-performance h1 {
  margin: 0;
  color: #f2f3e9;
  font-size: clamp(19px, 1.55vw, 27px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.045em;
  text-shadow: 0 0 24px rgba(242,243,233,.10);
  white-space: nowrap;
}

.admin-top-performance .admin-exact-live {
  margin-top: 0;
  font-size: 12px;
  white-space: nowrap;
}

.admin-top-user {
  padding: 7px 10px 7px 14px;
  border: 1px solid rgba(49,247,218,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  white-space: nowrap;
}

.admin-top-user span {
  color: rgba(242,243,233,.58);
}

.admin-top-user strong {
  color: #f2f3e9;
}

.admin-exact-board {
  padding-top: 12px;
}

.admin-exact-layout {
  margin-top: 0;
}

.admin-exact-titlebar {
  display: none;
}

@media (max-width: 1480px) {
  .admin-site-topbar {
    grid-template-columns: minmax(420px, 1fr) auto minmax(420px, 1fr);
  }

  .admin-site-left {
    gap: 42px;
  }

  .admin-site-right {
    gap: 28px;
  }

  .admin-top-user span {
    display: none;
  }
}

@media (max-width: 1180px) {
  .admin-site-topbar {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 92px;
    padding-block: 12px;
  }

  .admin-site-topbar .shop-logo {
    display: none;
  }

  .admin-site-left {
    gap: 24px;
  }

  .admin-site-right {
    gap: 14px;
  }

  .admin-top-performance h1 {
    font-size: 21px;
  }

  .admin-top-user {
    display: none;
  }
}

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

  .admin-site-left,
  .admin-site-right {
    width: 100%;
    justify-content: space-between;
  }

  .admin-site-left {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .admin-top-performance {
    min-width: 0;
    width: 100%;
  }
}


/* Ajuste solicitado: actividad baja al bloque inferior y se elimina Asistente IA */
.admin-exact-map-card {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 390px;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, .72fr);
}

.admin-exact-activity {
  grid-column: 2;
  grid-row: 3;
  min-height: 0;
  overflow: hidden;
}

.admin-exact-activity-list {
  gap: 8px;
}

.admin-exact-activity-list div {
  padding-bottom: 8px;
}

.admin-exact-activity-list span {
  font-size: 15px;
}

.admin-exact-activity-list small {
  margin-top: 3px;
  font-size: 11px;
}

.admin-exact-activity-list strong {
  font-size: 20px;
}

.admin-exact-reach {
  grid-column: 1;
  grid-row: 3;
}

@media (max-width: 1320px) {
  .admin-exact-map-card,
  .admin-exact-activity,
  .admin-exact-reach {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Fix layout: Por tipo de contenido no debe montarse sobre Ubicación de visitas */
.admin-exact-layout {
  grid-template-rows: 132px minmax(390px, 1fr) minmax(310px, .72fr) !important;
  align-items: stretch;
}

.admin-exact-content {
  position: relative;
  z-index: 3;
  align-self: stretch;
  min-height: 0;
  max-height: 132px;
  overflow: hidden;
  padding: 13px 14px 10px !important;
}

.admin-exact-content .admin-exact-card-head h2 {
  font-size: 16px;
  line-height: 1;
}

.admin-exact-content .admin-exact-pills {
  margin-top: 10px;
  gap: 7px;
}

.admin-exact-content .admin-exact-pills button {
  height: 28px;
  min-width: 66px;
  font-size: 12px;
}

.admin-exact-content .admin-exact-typebars {
  margin-top: 9px;
  gap: 7px;
  max-height: 42px;
  overflow: hidden;
}

.admin-exact-content .admin-exact-typebar span {
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1;
}

.admin-exact-content .admin-exact-typebar div {
  height: 10px;
}

.admin-exact-map-card {
  position: relative;
  z-index: 1;
}

.admin-exact-audience {
  position: relative;
  z-index: 2;
}

@media (max-width: 1320px) {
  .admin-exact-layout {
    grid-template-rows: auto !important;
  }

  .admin-exact-content {
    max-height: none;
    overflow: visible;
  }

  .admin-exact-content .admin-exact-typebars {
    max-height: none;
    overflow: visible;
  }
}


/* Barra lateral privada global */
.private-rail-body .private-side-rail {
  top: 96px;
  bottom: 10px;
}

.private-rail-body .profile-stage {
  min-height: 100vh;
}

.private-rail-body .profile-hero,
.private-rail-body .profile-grid,
.private-rail-body .dashboard-layout,
.private-rail-body .chat-shell,
.private-rail-body .admin-table-wrap,
.private-rail-body .admin-message-list {
  width: min(1180px, calc(92% - 46px));
  margin-left: auto;
  margin-right: auto;
}

.private-rail-body .admin-table-wrap,
.private-rail-body .admin-message-list,
.private-rail-body .chat-shell,
.private-rail-body .dashboard-layout {
  position: relative;
  z-index: 3;
}

.private-side-rail .admin-exact-nav a.is-active {
  color: #02030b;
  border-color: rgba(49,247,218,.45);
  background: #31f7da;
  box-shadow: 0 0 22px rgba(49,247,218,.18);
}

@media (max-width: 860px) {
  .private-rail-body .private-side-rail {
    top: auto;
    bottom: 10px;
  }

  .private-rail-body .profile-hero,
  .private-rail-body .profile-grid,
  .private-rail-body .dashboard-layout,
  .private-rail-body .chat-shell,
  .private-rail-body .admin-table-wrap,
  .private-rail-body .admin-message-list {
    width: min(1180px, 92%);
  }

  .private-rail-body {
    padding-bottom: 70px;
  }
}

/* Barra lateral tipo Mi Perfil en secciones privadas */
.private-account-shell {
  padding-top: 18px;
}

.private-account-rail .account-rail-spacer {
  flex: 1;
  width: 1px;
}

.private-account-workspace {
  overflow: hidden;
}

.private-account-workspace .private-page-hero {
  width: 100%;
  padding: clamp(46px, 6vw, 72px) 0 44px;
}

.private-account-workspace .private-page-grid,
.private-account-workspace .private-page-block {
  width: min(1060px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0;
}

.private-account-workspace .chat-shell.private-page-block {
  width: min(880px, 100%);
}

.private-account-workspace .admin-table-wrap.private-page-block,
.private-account-workspace .admin-message-list.private-page-block {
  width: min(1060px, 100%);
  padding-bottom: 0;
}

.private-account-workspace .service-grid {
  padding-bottom: 0;
}

@media (max-width: 860px) {
  .private-account-shell {
    padding-top: 8px;
  }

  .private-account-workspace .private-page-hero {
    padding-top: 34px;
  }
}
