:root {
  color-scheme: dark;
  --bg: #060606;
  --panel: #11100d;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f1e8;
  --muted: #b9b0a3;
  --gold: #e7bd58;
  --gold-deep: #9c6c18;
  --smoke: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(231, 189, 88, 0.12), transparent 28rem),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.07), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

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

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

button {
  color: inherit;
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 6, 6, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  width: clamp(7.5rem, 14vw, 10rem);
}

.brand img {
  width: 100%;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.topbar nav a {
  padding: 0.45rem 0;
}

.topbar nav a:hover {
  color: var(--gold);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-button {
  min-width: 2.1rem;
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
}

.lang-button.active,
.lang-button:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #170f05;
}

.print-button,
.return-button,
.button,
.filter,
.close {
  min-height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--smoke);
  border-radius: 999px;
  cursor: pointer;
}

.print-button {
  padding: 0 1rem;
  color: var(--gold);
  white-space: nowrap;
}

.return-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.return-button:hover {
  border-color: rgba(231, 189, 88, 0.72);
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: min(42rem, calc(100vh - 4rem));
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.45) 52%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(6, 6, 6, 0.96), transparent 44%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(1.04) contrast(1.05);
}

.film-grain {
  position: absolute;
  inset: 0;
  opacity: 0.19;
  mix-blend-mode: screen;
  background-image: repeating-radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px 4px);
}

.hero-copy {
  width: min(48rem, 100%);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.25rem;
  max-width: 15ch;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro {
  max-width: 39rem;
  color: #ded6c8;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-grid;
  min-width: 10rem;
  place-items: center;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #170f05;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.intro-band > div {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line);
}

.intro-band > div:last-child {
  border-right: 0;
}

.metric {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.intro-band p,
.section-heading p,
.copy-panel p,
.steps p,
.service-list p,
.cta p {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(18rem, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2,
.copy-panel h2,
.cta h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p:last-child {
  max-width: 39rem;
  margin-bottom: 0.25rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.filter {
  padding: 0 1rem;
  color: var(--muted);
}

.filter.active,
.filter:hover {
  border-color: rgba(231, 189, 88, 0.72);
  color: var(--gold);
}

.sound-toggle {
  display: inline-grid;
  min-height: 2.65rem;
  place-items: center;
  margin: -0.2rem 0 1.2rem;
  padding: 0 1.15rem;
  border: 1px solid rgba(231, 189, 88, 0.64);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #170f05;
  font-weight: 950;
  cursor: pointer;
}

.sound-toggle.is-hidden {
  display: none;
}

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

.reels-grid {
  grid-template-columns: minmax(18rem, min(100%, 32rem));
  justify-content: center;
  gap: 1.4rem;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.work-card.is-hidden {
  display: none;
}

.work-card.is-unavailable {
  display: none !important;
}

.reel-card {
  scroll-margin-top: 5.5rem;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.reel-card.is-playing {
  border-color: rgba(231, 189, 88, 0.7);
}

.youtube-player {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 177.777%;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(231, 189, 88, 0.12), transparent 42%),
    #050505;
}

.youtube-player::before {
  content: "VX FLIX";
  position: absolute;
  inset: auto 0.85rem 0.85rem auto;
  z-index: 2;
  color: rgba(231, 189, 88, 0.55);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.youtube-player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 38%),
    linear-gradient(135deg, rgba(231, 189, 88, 0.12), transparent 42%);
  transition: opacity 180ms ease;
}

.youtube-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.05) saturate(1.05);
  transition: opacity 220ms ease;
}

.youtube-loading {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 180ms ease;
}

.youtube-player.is-active .youtube-loading {
  opacity: 1;
}

.youtube-player.has-frame .youtube-poster,
.youtube-player.has-frame .youtube-loading,
.youtube-player.has-frame::after,
.youtube-player.has-frame::before {
  opacity: 0;
}

.youtube-player.is-link-card::after,
.youtube-player.is-link-card::before {
  opacity: 1;
}

.external-video-card {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  overflow: hidden;
  background: #050505;
}

.external-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.06);
  transform: scale(1.08);
}

.external-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 45%),
    linear-gradient(135deg, rgba(231, 189, 88, 0.2), transparent 45%);
}

.external-video-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-grid;
  min-height: 2.45rem;
  place-items: center;
  padding: 0 0.9rem;
  border: 1px solid rgba(231, 189, 88, 0.68);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.youtube-player iframe,
.youtube-player video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

.youtube-player.has-frame iframe,
.youtube-player.has-frame video {
  opacity: 1;
}

.video-trigger {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 0;
  background: #0b0b0b;
  cursor: pointer;
}

.video-trigger video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.06);
}

.video-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 42%),
    linear-gradient(135deg, rgba(231, 189, 88, 0.18), transparent 35%);
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.video-trigger:hover::after {
  opacity: 0.48;
}

.play-mark {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: grid;
  min-width: 3.4rem;
  min-height: 3.4rem;
  place-items: center;
  border: 1px solid rgba(231, 189, 88, 0.6);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-meta {
  min-height: 6.5rem;
  padding: 1rem;
}

.work-meta span,
.service-list span,
.steps span,
.contact-box span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-meta h3 {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  line-height: 1.25;
}

.split {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(20rem, 1.18fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(231, 189, 88, 0.05), transparent);
}

.portrait-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.copy-panel h2 {
  margin-bottom: 2rem;
}

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

.service-list article,
.steps article,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.service-list article,
.steps article {
  padding: 1.2rem;
}

.service-list h3,
.steps h3 {
  margin: 0.55rem 0 0.45rem;
  font-size: 1.15rem;
}

.service-list p,
.steps p,
.cta p {
  margin-bottom: 0;
}

.process {
  background: rgba(255, 255, 255, 0.025);
}

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

.cta {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(16rem, 0.42fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 5rem);
}

.cta img {
  width: min(18rem, 70vw);
  margin-bottom: 1.6rem;
}

.cta p {
  max-width: 40rem;
  margin-top: 1.2rem;
}

.contact-box {
  padding: clamp(1.1rem, 3vw, 1.45rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(10, 10, 9, 0.78);
}

.contact-title {
  display: block;
  max-width: 100%;
  margin: 0 0 0.95rem;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.instagram-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.instagram-link {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.instagram-link:hover {
  border-color: rgba(231, 189, 88, 0.3);
  background: rgba(231, 189, 88, 0.06);
  transform: translateY(-1px);
}

.ig-icon {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(231, 189, 88, 0.62);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(231, 189, 88, 0.22), rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 24px rgba(231, 189, 88, 0.12);
}

.ig-icon svg {
  width: 1.12rem;
  height: 1.12rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
}

.contact-box .contact-whatsapp {
  display: inline-grid;
  width: 100%;
  min-height: 3rem;
  place-items: center;
  margin-top: 0.1rem;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #170f05;
  font-size: 0.95rem;
  font-weight: 950;
}

.contact-summary {
  max-width: 28rem;
  margin-top: 0.95rem;
  color: rgba(246, 241, 232, 0.72);
  font-size: clamp(0.86rem, 2.4vw, 1rem);
  line-height: 1.55;
}

.lightbox {
  width: min(72rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(231, 189, 88, 0.44);
  border-radius: 8px;
  background: #050505;
  color: var(--text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.lightbox video {
  width: 100%;
  max-height: 78vh;
  background: #000;
  border-radius: 6px;
}

.lightbox h3 {
  margin: 1rem 0 0.3rem;
}

.lightbox a {
  color: var(--gold);
  font-weight: 800;
}

.close {
  float: right;
  margin-bottom: 0.8rem;
  padding: 0 1rem;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .topbar nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .intro-band,
  .section-heading,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .intro-band > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .reels-grid {
    grid-template-columns: minmax(18rem, min(100%, 32rem));
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: 42rem;
  }

  .hero-media img {
    object-position: 61% center;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2)),
      linear-gradient(0deg, rgba(6, 6, 6, 0.96), transparent 52%);
  }

  .video-grid,
  .service-list,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .video-trigger {
    aspect-ratio: 4 / 5;
  }

  .print-button {
    display: none;
  }
}

@media print {
  body {
    background: #080808;
  }

  .topbar,
  .filters,
  .sound-toggle,
  .play-mark,
  .lightbox {
    display: none;
  }

  .hero {
    min-height: 9in;
    page-break-after: always;
  }

  .section,
  .split,
  .cta {
    padding: 0.45in;
    page-break-inside: avoid;
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-trigger,
  .youtube-player {
    pointer-events: none;
  }

  .work-card,
  .service-list article,
  .steps article,
  .contact-box,
  .portrait-panel {
    box-shadow: none;
  }
}
