:root {
  color-scheme: dark;
  --ink: #0f0d0b;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.12);
  --muted: rgba(255, 255, 255, 0.68);
  --ember: #ff5a1f;
  --rioja: #a62117;
  --oro: #f3b15d;
  --crema: #f6ead7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 90, 31, 0.12), transparent 28%),
    linear-gradient(245deg, rgba(166, 33, 23, 0.14), transparent 33%),
    #0f0d0b;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

::selection {
  color: #160c07;
  background: var(--oro);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 220ms ease;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 232px;
  padding: 0.34rem 0.56rem;
  border: 1px solid rgba(246, 234, 215, 0.24);
  border-radius: 8px;
  background: rgba(246, 234, 215, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.footer-brand {
  max-width: 252px;
}

.nav-link::after {
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 100%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--ember), var(--oro));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.menu-button span {
  width: 18px;
  height: 2px;
  display: block;
  margin: -5px 0;
  border-radius: 99px;
  background: #fff;
  transition: transform 240ms ease, opacity 240ms ease;
}

.menu-button.open span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-button.open span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 280ms ease, opacity 220ms ease, transform 220ms ease;
}

.mobile-menu.open {
  max-height: 440px;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.hero-section {
  background:
    linear-gradient(180deg, rgba(15, 13, 11, 0), rgba(15, 13, 11, 1) 95%),
    linear-gradient(135deg, rgba(255, 90, 31, 0.08), rgba(246, 234, 215, 0.025) 44%, rgba(166, 33, 23, 0.1));
}

.madrid-grid {
  opacity: 0.7;
  background:
    linear-gradient(90deg, rgba(243, 177, 93, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(110deg, black 0%, black 44%, transparent 70%);
}

.primary-cta,
.secondary-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.primary-cta {
  color: #150d09;
  background: linear-gradient(135deg, var(--oro), var(--ember) 60%, #ff3324);
  box-shadow: 0 18px 50px rgba(255, 90, 31, 0.28);
}

.secondary-cta {
  color: var(--crema);
  border: 1px solid rgba(246, 234, 215, 0.24);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-2px);
}

.primary-cta:hover {
  box-shadow: 0 22px 62px rgba(255, 90, 31, 0.38);
}

.secondary-cta:hover {
  border-color: rgba(243, 177, 93, 0.62);
  background: rgba(243, 177, 93, 0.1);
}

.mini-stat {
  min-height: 118px;
  padding: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.mini-stat span {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  color: var(--crema);
}

.mini-stat p {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.58);
}

.hero-frame {
  position: relative;
  min-height: 620px;
}

.hero-frame::before {
  position: absolute;
  inset: 8% 2% 6%;
  content: "";
  border: 1px solid rgba(243, 177, 93, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  transform: skewY(-6deg);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.hero-rail {
  position: absolute;
  display: grid;
  gap: 1rem;
  width: 42%;
}

.hero-rail-left {
  top: 3%;
  left: 4%;
}

.hero-rail-center {
  right: 5%;
  bottom: 0;
}

.hero-rail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  filter: saturate(0.95) contrast(1.02);
}

.hero-rail-left img:first-child,
.hero-rail-center img:last-child {
  transform: translateX(10%) rotate(-3deg);
}

.hero-rail-left img:last-child,
.hero-rail-center img:first-child {
  transform: translateX(-4%) rotate(4deg);
}

.hero-panel {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: min(370px, 78%);
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(17, 13, 10, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.hero-panel span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--oro);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-panel strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-panel p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
  line-height: 1.65;
}

.section-pad {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--oro);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-title {
  max-width: 860px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: 0.98;
  font-weight: 850;
}

.glass-line {
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--crema);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.stats-band {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(243, 177, 93, 0.075), rgba(255, 90, 31, 0.055), rgba(15, 13, 11, 0.1));
}

.stat-card {
  min-height: 250px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.stat-card strong {
  display: block;
  color: var(--crema);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
  font-weight: 850;
}

.stat-card span {
  display: block;
  margin-top: 1.6rem;
  color: #fff;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 850;
}

.stat-card p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.service-card,
.process-step,
.case-card,
.office-card,
.form-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.service-card {
  min-height: 260px;
  padding: 1.55rem;
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover,
.creator-card:hover,
.case-card:hover {
  border-color: rgba(243, 177, 93, 0.34);
  box-shadow: 0 24px 90px rgba(255, 90, 31, 0.12), 0 24px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(-4px);
}

.service-card span,
.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 2.8rem;
  border-radius: 999px;
  color: #170e08;
  font-weight: 900;
  background: linear-gradient(135deg, var(--oro), var(--ember));
}

.service-card h3,
.creator-body h3,
.process-step h3,
.case-card h3,
.office-card h3 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 820;
}

.service-card p,
.process-step p,
.case-card span,
.office-card p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.7;
}

.creator-band,
.contact-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    linear-gradient(90deg, rgba(166, 33, 23, 0.1), rgba(243, 177, 93, 0.045), transparent);
}

.filter-group {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.filter-btn {
  min-width: 82px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.filter-btn.active {
  color: #190e08;
  background: linear-gradient(135deg, var(--oro), var(--ember));
  box-shadow: 0 12px 38px rgba(255, 90, 31, 0.22);
}

.creator-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
  backdrop-filter: blur(18px);
}

.creator-card.hidden-card {
  display: none;
}

.creator-image-wrap {
  position: relative;
  padding: 0.7rem;
}

.creator-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.92) contrast(1.04);
}

.availability {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  max-width: calc(100% - 2.5rem);
  padding: 0.48rem 0.65rem;
  border: 1px solid rgba(246, 234, 215, 0.26);
  border-radius: 999px;
  color: var(--crema);
  background: rgba(10, 9, 8, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.creator-body {
  padding: 0.4rem 1.2rem 1.25rem;
}

.creator-body p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.platform-badge {
  flex: 0 0 auto;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.platform-badge.twitch {
  color: #efe5ff;
  border: 1px solid rgba(145, 70, 255, 0.5);
  background: rgba(145, 70, 255, 0.24);
  box-shadow: 0 0 28px rgba(145, 70, 255, 0.18);
}

.platform-badge.kick {
  color: #d9ffd8;
  border: 1px solid rgba(83, 252, 24, 0.55);
  background: rgba(83, 252, 24, 0.16);
  box-shadow: 0 0 30px rgba(83, 252, 24, 0.22);
}

.creator-body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.1rem 0;
}

.creator-body dl div {
  min-height: 76px;
  padding: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.creator-body dt {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.creator-body dd {
  margin-top: 0.4rem;
  color: var(--crema);
  font-size: 0.95rem;
  font-weight: 800;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(243, 177, 93, 0.28);
  border-radius: 999px;
  color: var(--crema);
  font-weight: 850;
  transition: background 200ms ease, border-color 200ms ease;
}

.profile-link:hover {
  border-color: rgba(243, 177, 93, 0.7);
  background: rgba(243, 177, 93, 0.1);
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  min-width: max-content;
  padding: 1.6rem 2.6rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.25rem);
  font-weight: 850;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.process-step {
  min-height: 270px;
  padding: 1.25rem;
  border-radius: 8px;
}

.process-step span {
  margin-bottom: 3rem;
}

.case-band {
  background: linear-gradient(135deg, rgba(246, 234, 215, 0.035), rgba(166, 33, 23, 0.12), rgba(15, 13, 11, 0));
}

.case-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.case-card p {
  width: fit-content;
  margin-bottom: auto;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  color: var(--oro);
  background: rgba(243, 177, 93, 0.08);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-panel {
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border-radius: 8px;
}

.form-panel label {
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  outline: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.form-panel textarea {
  resize: vertical;
}

.form-panel select option {
  color: #12100e;
}

.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus {
  border-color: rgba(243, 177, 93, 0.58);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 4px rgba(243, 177, 93, 0.1);
}

.office-card {
  padding: 1.35rem;
  border-radius: 8px;
}

.map-wrap {
  overflow: hidden;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.8) invert(0.9) contrast(0.86);
}

footer a,
footer p {
  display: block;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
  line-height: 1.6;
  transition: color 180ms ease;
}

footer a:hover {
  color: var(--crema);
}

.footer-title {
  margin-bottom: 1rem;
  color: #fff;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 850;
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1023px) {
  .hero-frame {
    min-height: 560px;
  }

  .hero-rail {
    width: 46%;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 4.5rem 0;
  }

  .hero-frame {
    min-height: 510px;
  }

  .hero-frame::before {
    inset: 10% 0 8%;
  }

  .hero-rail {
    width: 48%;
  }

  .hero-panel {
    bottom: 8%;
    width: 90%;
  }

  .filter-group {
    width: 100%;
  }

  .filter-btn {
    flex: 1;
    min-width: 0;
  }

  .creator-body dl {
    grid-template-columns: 1fr;
  }

  .marquee-track span {
    padding-inline: 1.5rem;
  }
}
