@font-face {
  font-family: "Muller";
  src: url("assets/fonts/Muller-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Muller";
  src: url("assets/fonts/Muller-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #d5c9a5;
  --surface: #e1d7bb;
  --text: #2e364c;
  --muted: #575756;
  --line: rgba(46, 54, 76, 0.2);
  --accent: #2e364c;
  --blue: #2e364c;
  --blue-light: #46516d;
  --accent-cool: #A4B5C4;
  --ink: #000000;
  --font-heading: "Muller", Arial, sans-serif;
  --font-body: "Muller", Arial, sans-serif;
  --max: 1440px;
  --topbar-height: 42px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: #000000;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #000000;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.intro-active {
  overflow: hidden;
}

main {
  padding-top: calc(85px + var(--topbar-height));
}

.intro-screen {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 18%, rgba(70, 81, 109, 0.42), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(213, 201, 165, 0.22), transparent 32%),
    linear-gradient(130deg, #000000 0%, #070910 48%, #182037 100%);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1050ms ease, visibility 1050ms ease;
}

.intro-screen__video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(0.78) contrast(1.08) brightness(0.72);
}

.intro-screen.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-screen__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 24px;
  width: min(78vw, 520px);
  text-align: center;
  animation: intro-content 3.4s ease forwards;
}

.intro-screen__logo {
  width: min(72vw, 380px);
  filter: none;
}

.intro-screen__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.intro-screen__loader {
  width: min(52vw, 280px);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.intro-screen__loader span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #d5c9a5, #46516d);
  transform-origin: left center;
  animation: intro-loader 3.4s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

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

.noise {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.orb--two {
  top: 610px;
  left: -270px;
  width: 460px;
  height: 460px;
  opacity: 0.2;
  background: radial-gradient(circle, var(--blue), transparent 68%);
}

.site-header,
.hero,
.services,
.portfolio,
.contact,
.site-footer {
  width: min(calc(100% - 80px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 120;
  top: var(--topbar-height);
  left: 0;
  display: flex;
  width: 100%;
  max-width: none;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 18px max(40px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  border-bottom: 1px solid rgba(213, 201, 165, 0.28);
  color: #ffffff;
  background:
    radial-gradient(circle at 72% -120%, rgba(70, 81, 109, 0.62), transparent 42%),
    linear-gradient(100deg, #000000 0%, #080a10 58%, #111624 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  transition: top 220ms ease, box-shadow 220ms ease;
}

.site-header::after {
  position: absolute;
  right: 8%;
  bottom: -38px;
  width: 180px;
  height: 70px;
  border: 1px solid rgba(213, 201, 165, 0.14);
  border-radius: 50%;
  content: "";
  transform: rotate(-8deg);
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.primary-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  transform: translateX(-50%);
}

.primary-nav a {
  position: relative;
  padding-block: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: #d5c9a5;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #ffffff;
}

.primary-nav a[aria-current="page"] {
  color: #ffffff;
}

.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(213, 201, 165, 0.3);
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

#servicios,
#galeria,
#contacto {
  scroll-margin-top: 85px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 4px;
  cursor: pointer;
}

.brand:focus-visible {
  outline: 2px solid #d5c9a5;
  outline-offset: 5px;
}

.brand__logo-frame {
  position: relative;
  display: block;
  width: 184px;
  height: 48px;
  overflow: hidden;
}

.brand__logo {
  position: absolute;
  top: -57px;
  left: -6px;
  display: block;
  width: 196px;
  max-width: none;
  height: auto;
  filter: none;
}

.header-pyme {
  display: inline-flex;
  width: 54px;
  height: 70px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.header-pyme img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 760px;
  padding-block: clamp(68px, 8vw, 118px) 80px;
  pointer-events: none;
}

.top-contact-bar {
  position: fixed;
  z-index: 130;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--topbar-height);
  color: #ffffff;
  background:
    linear-gradient(90deg, #000000 0%, #111522 48%, #2e364c 100%);
  border-bottom: 1px solid rgba(213, 201, 165, 0.24);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
  transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
  will-change: transform, opacity;
}

body.topbar-hidden .top-contact-bar {
  opacity: 0;
  transform: translateY(-105%);
  visibility: hidden;
}

body.topbar-hidden .site-header {
  top: 0;
}

.top-contact-bar__inner {
  display: flex;
  width: min(calc(100% - 80px), var(--max));
  min-height: var(--topbar-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.top-contact-bar__contact,
.top-socials {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}

.top-contact-bar a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.top-contact-bar a:hover,
.top-contact-bar a:focus-visible {
  color: #ffffff;
  outline: none;
}

.top-contact-bar__contact span {
  color: var(--cream);
}

.top-socials {
  gap: 9px;
}

.top-socials > span {
  margin-right: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.top-socials a {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.top-socials a:hover,
.top-socials a:focus-visible {
  background: rgba(213, 201, 165, 0.2);
  border-color: rgba(213, 201, 165, 0.62);
}

.top-socials svg {
  width: 54%;
  height: 54%;
  fill: currentColor;
}

.hero a,
.hero button {
  pointer-events: auto;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(46, 54, 76, 0.35);
  animation: pulse 2s ease-in-out infinite;
}

h1 {
  max-width: 1120px;
  margin: 38px 0 60px;
  font-family: var(--font-heading);
  font-size: clamp(3.3rem, 7.2vw, 7.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: #ffffff;
  text-shadow: 0 3px 22px rgba(46, 54, 76, 0.38);
}

h1 span {
  color: var(--blue);
  text-shadow: none;
  font-style: italic;
}

.hero__footer {
  display: grid;
  grid-template-columns: minmax(280px, 510px) auto;
  gap: 48px;
  align-items: end;
  justify-content: space-between;
}

.hero__copy {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  color: inherit;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

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

body.home-reveal .hero {
  animation: hero-reveal 1.1s ease 0.25s both;
}

.button--primary {
  border-color: var(--accent-cool);
  color: #f3efe7;
  background: linear-gradient(135deg, var(--blue), #34415d);
}

.button--primary:hover {
  border-color: #5b6888;
  background: var(--blue-light);
}

.button--ghost:hover {
  border-color: rgba(46, 54, 76, 0.52);
  background: rgba(46, 54, 76, 0.08);
}

.ribbon-marquee {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(78px, 7vw, 105px);
  overflow: hidden;
  min-height: 0;
  margin: 0 0 42px;
  border: 1px solid rgba(46, 54, 76, 0.22);
  background:
    linear-gradient(90deg, rgba(46, 54, 76, 0.24), rgba(46, 54, 76, 0.12)),
    rgba(213, 201, 165, 0.72);
}

.ribbon-marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  height: 100%;
  align-items: center;
  min-height: 0;
  animation: ribbon-scroll 24s linear infinite;
  will-change: transform;
}

.ribbon-marquee__track img {
  display: block;
  width: auto;
  height: clamp(192px, 17.5vw, 262px);
  max-width: none;
  flex: 0 0 auto;
  margin-right: -2px;
  transform: translateY(0);
}

.floating-badges {
  position: fixed;
  z-index: 60;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}

.floating-socials {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(17, 21, 34, 0.58);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.floating-badges .floating-socials {
  display: none;
}

.floating-socials__link {
  display: grid;
  width: clamp(38px, 3.7vw, 48px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(46, 54, 76, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.floating-socials__link:hover,
.floating-socials__link:focus-visible {
  border-color: rgba(213, 201, 165, 0.72);
  background:
    linear-gradient(145deg, rgba(164, 181, 196, 0.22), rgba(255, 255, 255, 0.04)),
    var(--blue);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 24px rgba(46, 54, 76, 0.2);
  transform: translateY(-3px);
  outline: none;
}

.floating-socials__link svg {
  width: 48%;
  height: 48%;
  fill: currentColor;
}

.floating-badges__whatsapp {
  display: grid;
  width: clamp(50px, 4.8vw, 62px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  pointer-events: auto;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-badges__whatsapp:hover,
.floating-badges__whatsapp:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.floating-badges__whatsapp svg {
  width: 58%;
  height: 58%;
  fill: currentColor;
}

.services {
  position: relative;
  z-index: 1;
  padding-block: 86px 42px;
  border-top: 1px solid var(--line);
  background: rgba(213, 201, 165, 0.9);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.service-list article {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 30px 38px;
  border: 1px solid rgba(111, 126, 161, 0.2);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(70, 81, 109, 0.3), rgba(46, 54, 76, 0.72)),
    var(--blue);
  color: #f3efe7;
  transition: border-color 180ms ease, transform 180ms ease;
}

.service-list article:first-child {
  padding-left: 38px;
}

.service-list article:hover {
  border-color: rgba(213, 201, 165, 0.45);
  transform: translateY(-4px);
}

.service-list span {
  color: #d5c9a5;
  font-size: 12px;
}

.service-list h2,
.service-list h3 {
  margin: auto 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.service-list p {
  max-width: 320px;
  margin: 18px 0 0;
  color: rgba(243, 239, 231, 0.74);
  font-size: 0.94rem;
  line-height: 1.55;
}

.portfolio {
  position: relative;
  z-index: 1;
  padding-block: 104px 112px;
  border-top: 1px solid var(--line);
}

.portfolio {
  background: #eee7d3;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr 0.8fr;
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
  margin-bottom: 76px;
}

.section-heading h2 {
  margin: -8px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading .page-title {
  max-width: none;
  margin: -8px 0 0;
  color: inherit;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: none;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-heading--team .section-label,
.section-heading--team > p:last-child {
  color: rgba(243, 239, 231, 0.62);
}

.client-list {
  display: grid;
  gap: 86px;
}

.client-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  gap: clamp(34px, 6vw, 94px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.client-block__header > span,
.project-card__copy > span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-block__header h2,
.client-block__header h3 {
  margin: 16px 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  line-height: 1;
}

.client-block__header p,
.project-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.project-card {
  display: grid;
  gap: 26px;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-media {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  grid-template-rows: repeat(2, minmax(140px, 210px));
  gap: 10px;
}

.project-media--showcase {
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.72fr);
  grid-template-rows: repeat(3, minmax(120px, 170px));
}

.project-media--adidas {
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.48fr);
  grid-template-rows: minmax(280px, 360px) minmax(170px, 210px);
  align-items: stretch;
}

.media-placeholder,
.project-asset {
  position: relative;
  display: grid;
  margin: 0;
  min-height: 150px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(46, 54, 76, 0.18);
  background:
    radial-gradient(circle at 68% 28%, rgba(213, 201, 165, 0.75), transparent 24%),
    linear-gradient(145deg, #2e364c, #111522);
}

.media-placeholder::after,
.project-asset::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  content: "";
}

.services__title {
  max-width: 880px;
  margin: 20px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.services__intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.project-asset::before {
  position: absolute;
  z-index: 0;
  color: rgba(255, 255, 255, 0.62);
  content: attr(data-label);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.media-placeholder span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-placeholder--main,
.project-asset--main {
  grid-row: 1 / 3;
}

.project-media--showcase .project-asset--main {
  grid-row: 1 / 4;
}

.project-media--adidas .project-asset--main {
  grid-column: 1;
  grid-row: 1;
}

.media-placeholder--video,
.project-asset--video {
  background:
    radial-gradient(circle at center, rgba(213, 201, 165, 0.16), transparent 24%),
    #000000;
}

.project-asset--vertical-video {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 100%;
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(circle at center, rgba(213, 201, 165, 0.14), transparent 28%),
    linear-gradient(145deg, #05070d, #111522);
}

.project-media--alternate .media-placeholder--main,
.project-media--alternate .project-asset--main {
  grid-column: 2;
}

.project-asset img,
.project-asset video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.project-asset video {
  background: #000000;
}

.project-asset--vertical-video video {
  object-fit: cover;
}

.project-asset--detail {
  min-height: clamp(260px, 28vw, 430px);
}

.project-asset__pending {
  position: relative;
  z-index: 1;
  max-width: 150px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.project-asset figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__copy {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 24px;
  align-items: start;
}

.project-card__copy h3,
.project-card__copy h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.project-card__title {
  display: grid;
  gap: 12px;
}

.project-card__title > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-card__description {
  display: grid;
  gap: 14px;
}

.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.project-highlights li {
  padding: 8px 12px;
  border: 1px solid rgba(46, 54, 76, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.interior-page {
  background: #eee7d3;
}

.interior-page--dark {
  color: #f3efe7;
  background: var(--blue);
}

.interior-page main {
  min-height: calc(100vh - 90px);
}

.interior-page .portfolio {
  padding-top: 112px;
}

.interior-page--dark .site-footer {
  border-color: rgba(243, 239, 231, 0.16);
  color: rgba(243, 239, 231, 0.62);
}

.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(50px, 8vw, 140px);
  padding-block: 96px 110px;
  border-top: 1px solid var(--line);
  background: rgba(213, 201, 165, 0.95);
}

.contact__intro h2 {
  margin: 32px 0 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.contact__intro h2 span {
  color: var(--blue);
}

.contact__details {
  display: grid;
  align-content: start;
  margin: 0;
  border-top: 1px solid rgba(46, 54, 76, 0.28);
  font-style: normal;
}

.contact__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.contact__item span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact__item a {
  width: fit-content;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.5;
  transition: color 180ms ease;
}

.contact__phones {
  display: grid;
  gap: 5px;
  justify-items: start;
}

.contact__phones a:first-child {
  font-weight: 700;
}

.contact__phones a + a {
  color: rgba(46, 54, 76, 0.68);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
}

.contact__item a:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(46, 54, 76, 0.18);
  border-radius: 28px;
  background: rgba(243, 239, 231, 0.26);
  box-shadow: 0 22px 70px rgba(46, 54, 76, 0.08);
}

.contact-form__status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
}

.contact-form__status.is-success {
  color: #ffffff;
  background: rgba(46, 54, 76, 0.92);
}

.contact-form__status.is-error {
  color: #ffffff;
  background: rgba(87, 87, 86, 0.92);
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__field {
  display: grid;
  gap: 8px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(46, 54, 76, 0.2);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.42);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-form input {
  min-height: 52px;
  padding: 0 16px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 0 0 4px rgba(164, 181, 196, 0.24);
}

.contact-form__button {
  grid-column: 1 / -1;
  justify-self: end;
  min-width: 180px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  padding-block: 26px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  justify-self: center;
}

.site-footer a {
  justify-self: end;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--text);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-self: end;
  align-items: center;
  justify-content: flex-end;
}

.social-links a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(46, 54, 76, 0.22);
  border-radius: 999px;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(243, 239, 231, 0.08)),
    rgba(213, 201, 165, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 28px rgba(46, 54, 76, 0.08);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(164, 181, 196, 0.8);
  color: #ffffff;
  background: linear-gradient(145deg, var(--blue), #111522);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px rgba(46, 54, 76, 0.22);
  transform: translateY(-2px);
  outline: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

@keyframes ribbon-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes intro-loader {
  0% { transform: scaleX(0); }
  78% { transform: scaleX(1); }
  100% { transform: scaleX(1); }
}

@keyframes intro-content {
  0% { opacity: 0; transform: translateY(18px) scale(0.96); }
  18%, 78% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(0.985); }
}

@keyframes hero-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 820px) {
  :root {
    --topbar-height: 40px;
  }

  .top-contact-bar__inner {
    width: min(calc(100% - 40px), var(--max));
    gap: 14px;
  }

  .top-contact-bar__contact a {
    font-size: 11px;
  }

  .top-contact-bar__contact a[href^="mailto"] {
    display: none;
  }

  .top-socials > span {
    font-size: 11px;
  }

  .site-header,
  .hero,
  .services,
  .portfolio,
  .contact,
  .site-footer {
    width: min(calc(100% - 40px), var(--max));
  }

  .site-header {
    width: 100%;
    padding-inline: 20px;
    overflow: visible;
  }

  .menu-toggle {
    display: block;
    order: 3;
    margin-left: 14px;
  }

  .header-pyme {
    order: 2;
    width: 42px;
    height: 55px;
    margin-left: auto;
    padding: 3px;
  }

  .primary-nav {
    position: fixed;
    top: calc(85px + var(--topbar-height));
    right: 12px;
    left: 12px;
    display: grid;
    gap: 0;
    padding: 16px 22px 20px;
    border: 1px solid rgba(213, 201, 165, 0.2);
    border-radius: 0 0 10px 10px;
    background: rgba(0, 0, 0, 0.97);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav a {
    padding-block: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding-block: 82px 92px;
  }

  body.topbar-hidden .primary-nav {
    top: 85px;
  }

  h1 {
    margin-bottom: 62px;
  }

  .hero__footer {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero__copy {
    padding-top: 34px;
  }

  .actions {
    justify-content: flex-start;
    margin-top: 10px;
  }

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

  .service-list article,
  .service-list article:first-child {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: start;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(111, 126, 161, 0.2);
  }

  .service-list span {
    font-size: 12px;
    line-height: 1;
  }

  .service-list h2,
  .service-list h3 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(2rem, 9.5vw, 3.05rem);
    line-height: 1;
  }

  .service-list p {
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.05rem, 4.7vw, 1.35rem);
    line-height: 1.42;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 74px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form__button {
    justify-self: stretch;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }

  .section-heading > p:last-child {
    max-width: 560px;
  }

  .client-block {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr auto 1fr;
  }
}

@media (max-width: 520px) {
  .top-contact-bar__inner {
    width: calc(100% - 32px);
  }

  .top-socials > span {
    display: none;
  }

  .top-socials a {
    width: 26px;
    height: 26px;
  }

  .site-header,
  .hero,
  .services,
  .portfolio,
  .contact,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header {
    width: 100%;
    padding: 14px 16px;
  }

  main {
    padding-top: calc(67px + var(--topbar-height));
  }

  .primary-nav {
    top: calc(67px + var(--topbar-height));
  }

  body.topbar-hidden .primary-nav {
    top: 67px;
  }

  .brand__logo-frame {
    width: 148px;
    height: 39px;
  }

  .brand__logo {
    top: -46px;
    left: -5px;
    width: 158px;
  }

  .header-pyme {
    width: 36px;
    height: 47px;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
    margin-bottom: 82px;
  }

  .hero__footer {
    gap: 62px;
  }

  .hero__copy {
    padding-top: 42px;
  }

  .actions {
    margin-top: 16px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .services {
    padding-block: 62px 34px;
  }

  .ribbon-marquee {
    margin-bottom: 34px;
  }

  .portfolio {
    padding-block: 70px;
  }

  .project-media {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .project-media--showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .project-media--adidas {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .media-placeholder,
  .media-placeholder--main,
  .project-media--alternate .media-placeholder--main,
  .project-media--showcase .project-asset--main,
  .project-media--adidas .project-asset--main,
  .project-asset,
  .project-asset--main,
  .project-media--alternate .project-asset--main,
  .project-asset--vertical-video {
    grid-row: auto;
    grid-column: auto;
    min-height: 210px;
  }

  .media-placeholder--main,
  .project-asset--main {
    min-height: 320px;
  }

  .project-asset--vertical-video {
    width: min(100%, 340px);
    min-height: min(72vh, 560px);
    justify-self: center;
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-asset--detail {
    min-height: 360px;
  }

  .project-card__copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer p:first-child {
    justify-self: start;
  }

  .site-footer p:nth-child(2) {
    order: initial;
    grid-column: auto;
    justify-self: center;
  }

  .site-footer a {
    justify-self: start;
  }

  .site-footer .social-links {
    justify-self: center;
    justify-content: center;
  }

  .site-footer .social-links a {
    justify-self: auto;
  }

  .floating-badges {
    gap: 8px;
  }

  .floating-socials {
    gap: 6px;
    padding: 7px;
  }

  .floating-socials__link {
    width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .intro-screen { display: none; }
  body.intro-active { overflow: auto; }
}

/* Dark premium visual system */
:root {
  --bg: #02040a;
  --surface: #0b101d;
  --surface-2: #111827;
  --text: #f7f7f2;
  --muted: #a4b5c4;
  --line: rgba(164, 181, 196, 0.18);
  --accent: #d5c9a5;
  --cream: #d5c9a5;
  --blue: #2e364c;
  --blue-light: #46516d;
  --accent-cool: #a4b5c4;
  --ink: #000000;
}

html,
body {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(46, 54, 76, 0.58), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(164, 181, 196, 0.16), transparent 28%),
    linear-gradient(145deg, #000000 0%, #05070d 46%, #111827 100%);
}

.top-contact-bar,
.site-header {
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.96), rgba(13, 19, 33, 0.96) 54%, rgba(46, 54, 76, 0.86));
  border-color: rgba(164, 181, 196, 0.14);
}

.primary-nav a,
.top-contact-bar a,
.top-socials > span {
  color: rgba(247, 247, 242, 0.78);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.top-contact-bar a:hover {
  color: #ffffff;
}

.hero,
.services,
.portfolio,
.contact,
.site-footer {
  color: var(--text);
}

.eyebrow,
.section-label {
  color: var(--accent-cool);
}

h1,
.services__title,
.section-heading h2,
.section-heading .page-title,
.contact__intro h2,
.client-block__header h2,
.client-block__header h3,
.project-card__copy h3,
.project-card__copy h4 {
  color: #ffffff;
}

h1 .accent,
.contact__intro h2 span,
.project-card__title > span {
  color: var(--accent-cool);
}

.hero__copy p,
.services__intro,
.section-heading > p:last-child,
.client-block__header p,
.project-card__copy p,
.contact__item span,
.contact-form label,
.site-footer {
  color: rgba(164, 181, 196, 0.86);
}

.button--primary,
.contact-form__button {
  color: #ffffff;
  border-color: rgba(164, 181, 196, 0.38);
  background:
    linear-gradient(135deg, #2e364c 0%, #46516d 62%, #111827 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 48px rgba(0, 0, 0, 0.34);
}

.button--primary:hover,
.contact-form__button:hover {
  border-color: rgba(213, 201, 165, 0.62);
  background:
    linear-gradient(135deg, #46516d 0%, #2e364c 58%, #000000 100%);
}

.button--ghost {
  color: rgba(247, 247, 242, 0.9);
  border-color: rgba(164, 181, 196, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.services {
  border-top-color: rgba(164, 181, 196, 0.16);
  background:
    radial-gradient(circle at 18% 22%, rgba(70, 81, 109, 0.42), transparent 34%),
    linear-gradient(145deg, rgba(0, 0, 0, 0.96), rgba(9, 13, 24, 0.98) 54%, rgba(17, 24, 39, 0.96));
}

.service-list article {
  border-color: rgba(164, 181, 196, 0.2);
  background:
    radial-gradient(circle at 84% 16%, rgba(164, 181, 196, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(70, 81, 109, 0.68), rgba(11, 16, 29, 0.94) 58%, rgba(0, 0, 0, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.24);
}

.service-list span {
  color: var(--cream);
}

.service-list p {
  color: rgba(247, 247, 242, 0.72);
}

.portfolio,
.interior-page .portfolio {
  background:
    radial-gradient(circle at 84% 6%, rgba(70, 81, 109, 0.38), transparent 34%),
    linear-gradient(150deg, #02040a 0%, #0b101d 52%, #111827 100%);
}

.client-block,
.project-card__copy,
.contact,
.site-footer {
  border-color: rgba(164, 181, 196, 0.16);
}

.project-asset,
.media-placeholder,
.contact-form {
  border-color: rgba(164, 181, 196, 0.18);
  background:
    radial-gradient(circle at 72% 18%, rgba(213, 201, 165, 0.08), transparent 26%),
    linear-gradient(145deg, rgba(46, 54, 76, 0.78), rgba(7, 10, 18, 0.94));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.32);
}

.project-asset figcaption {
  color: rgba(247, 247, 242, 0.86);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(17, 24, 39, 0.48));
}

.project-highlights li {
  color: rgba(247, 247, 242, 0.82);
  border-color: rgba(164, 181, 196, 0.2);
  background: rgba(164, 181, 196, 0.07);
}

.contact {
  background:
    radial-gradient(circle at 76% 22%, rgba(46, 54, 76, 0.54), transparent 34%),
    linear-gradient(150deg, #000000 0%, #070a12 48%, #111827 100%);
}

.contact__details {
  border-top-color: rgba(164, 181, 196, 0.2);
}

.contact__item {
  border-bottom-color: rgba(164, 181, 196, 0.18);
}

.contact__item a,
.contact__phones a + a {
  color: rgba(247, 247, 242, 0.88);
}

.contact__item a:hover {
  color: var(--cream);
}

.contact-form {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(164, 181, 196, 0.04)),
    rgba(5, 7, 13, 0.74);
}

.contact-form input,
.contact-form textarea {
  color: #ffffff;
  border-color: rgba(164, 181, 196, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(164, 181, 196, 0.68);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(213, 201, 165, 0.72);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(164, 181, 196, 0.14);
}

.ribbon-marquee {
  border-color: rgba(164, 181, 196, 0.18);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(46, 54, 76, 0.68), rgba(0, 0, 0, 0.84));
}

.site-footer {
  color: rgba(164, 181, 196, 0.72);
}

.social-links a,
.floating-socials__link {
  color: #ffffff;
  border-color: rgba(164, 181, 196, 0.24);
  background:
    linear-gradient(145deg, rgba(70, 81, 109, 0.64), rgba(7, 10, 18, 0.88));
}

.social-links a:hover,
.floating-socials__link:hover {
  color: var(--cream);
  border-color: rgba(213, 201, 165, 0.48);
}

/* Gallery layout correction: dark full-width base + tighter vertical video column */
.interior-page {
  background:
    radial-gradient(circle at 84% 12%, rgba(70, 81, 109, 0.34), transparent 34%),
    linear-gradient(145deg, #000000 0%, #05070d 46%, #111827 100%);
}

.interior-page main {
  background:
    radial-gradient(circle at 86% 8%, rgba(164, 181, 196, 0.11), transparent 30%),
    linear-gradient(145deg, #000000 0%, #060914 56%, #0f1728 100%);
}

.interior-page .portfolio {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(40px, calc((100vw - var(--max)) / 2 + 40px));
  background:
    radial-gradient(circle at 82% 8%, rgba(70, 81, 109, 0.34), transparent 34%),
    linear-gradient(145deg, #02040a 0%, #07101e 52%, #111827 100%);
  overflow: hidden;
}

.interior-page .client-block {
  max-width: var(--max);
  margin-inline: auto;
}

.project-media--adidas {
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.42fr);
  grid-template-rows: minmax(270px, 340px) minmax(165px, 205px);
  align-items: stretch;
}

.project-media--adidas .project-asset--vertical-video {
  width: 100%;
  max-width: 340px;
  max-height: 555px;
  justify-self: start;
  align-self: stretch;
}

.project-media--adidas .project-asset--vertical-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .interior-page .portfolio {
    padding-inline: 24px;
  }

  .project-media--adidas .project-asset--vertical-video {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .interior-page .portfolio {
    padding-inline: 16px;
  }

  .project-media--adidas .project-asset--vertical-video {
    width: min(100%, 320px);
    min-height: min(68vh, 520px);
  }
}

/* Homepage conversion and selected-work preview. Background intentionally unchanged. */
body.texture-background .hero__footer {
  grid-template-columns: minmax(280px, 520px);
  justify-content: start;
  gap: 26px;
}

body.texture-background .hero__footer .actions {
  justify-content: flex-start;
}

body.texture-background .hero__footer .button--ghost {
  color: rgba(247, 247, 242, 0.9);
  border-color: rgba(213, 201, 165, 0.34);
  background: rgba(2, 5, 10, 0.42);
  backdrop-filter: blur(12px);
}

body.texture-background .hero__footer .button--ghost:hover,
body.texture-background .hero__footer .button--ghost:focus-visible {
  color: #ffffff;
  border-color: rgba(213, 201, 165, 0.68);
  background: rgba(164, 181, 196, 0.14);
}

.featured-work {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 80px), var(--max));
  margin-inline: auto;
  padding-block: clamp(84px, 8vw, 118px);
  color: #f7f7f2;
}

.featured-work__header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(38px, 8vw, 140px);
  margin-bottom: 44px;
}

.featured-work__header h2 {
  max-width: 850px;
  margin: 20px 0 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.featured-work__intro {
  padding-bottom: 5px;
}

.featured-work__intro p {
  margin: 0 0 24px;
  color: rgba(164, 181, 196, 0.82);
  font-size: 0.98rem;
  line-height: 1.65;
}

.featured-work__intro a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(213, 201, 165, 0.5);
  color: #f3efe7;
  font-size: 0.86rem;
  font-weight: 700;
  transition: gap 180ms ease, border-color 180ms ease;
}

.featured-work__intro a:hover,
.featured-work__intro a:focus-visible {
  gap: 18px;
  border-color: #f3efe7;
  outline: none;
}

.featured-work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.featured-project {
  position: relative;
  min-height: clamp(420px, 39vw, 580px);
  overflow: hidden;
  border: 1px solid rgba(164, 181, 196, 0.18);
  border-radius: 4px;
  background: #080c14;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.featured-project img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.06) brightness(0.78);
  transition: filter 600ms ease, transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured-project__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.06) 28%, rgba(2, 5, 10, 0.88) 100%),
    linear-gradient(90deg, rgba(2, 5, 10, 0.35), transparent 70%);
  transition: background 500ms ease;
}

.featured-project__copy {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  gap: 10px;
}

.featured-project__copy small {
  color: rgba(213, 201, 165, 0.9);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.featured-project__copy strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.featured-project__copy em {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(247, 247, 242, 0.82);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.featured-project:hover img,
.featured-project:focus-visible img {
  filter: saturate(1) contrast(1.04) brightness(0.9);
  transform: scale(1.045);
}

.featured-project:focus-visible {
  outline: 2px solid #d5c9a5;
  outline-offset: 4px;
}

.client-block[id] {
  scroll-margin-top: 104px;
}

@media (max-width: 900px) {
  .featured-work {
    width: min(calc(100% - 40px), var(--max));
  }

  .featured-work__header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .featured-work__intro {
    max-width: 580px;
  }

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

  .featured-project:last-child {
    grid-column: 1 / -1;
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  body.texture-background .hero__footer {
    gap: 22px;
  }

  body.texture-background .hero__footer .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
  }

  .featured-work {
    width: calc(100% - 32px);
    padding-block: 72px;
  }

  .featured-work__header {
    margin-bottom: 34px;
  }

  .featured-work__header h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .featured-work__grid {
    grid-template-columns: 1fr;
  }

  .featured-project,
  .featured-project:last-child {
    grid-column: auto;
    min-height: min(122vw, 500px);
  }

  .featured-project__copy {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }
}

/* Global dark/blue base correction: cream becomes accent, not the page atmosphere */
body,
body.intro-active {
  background:
    radial-gradient(circle at 72% 18%, rgba(70, 81, 109, 0.42), transparent 30%),
    radial-gradient(circle at 18% 68%, rgba(46, 54, 76, 0.34), transparent 32%),
    linear-gradient(145deg, #000000 0%, #04070d 38%, #0b1220 68%, #111827 100%);
}

.hero {
  background:
    radial-gradient(circle at 74% 28%, rgba(70, 81, 109, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(6, 9, 17, 0.12) 52%, rgba(17, 24, 39, 0.16));
}

.hero__copy p {
  color: rgba(164, 181, 196, 0.92);
}

/* Premium gold accents + cleaner service cards */

.eyebrow::before,
.section-label::before {
  background: linear-gradient(135deg, #d5c9a5, #f3efe7 48%, #a4b5c4);
  box-shadow: 0 0 18px rgba(213, 201, 165, 0.22);
}

.services {
  background:
    radial-gradient(circle at 18% 18%, rgba(213, 201, 165, 0.1), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(70, 81, 109, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(0, 0, 0, 0.98), rgba(6, 10, 18, 0.98) 52%, rgba(14, 21, 36, 0.98));
}

.service-list {
  gap: 16px;
}

.service-list article {
  min-height: 230px;
  padding: 28px 30px 30px;
  border-color: rgba(213, 201, 165, 0.13);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015) 34%, transparent 62%),
    radial-gradient(circle at 88% 14%, rgba(213, 201, 165, 0.1), transparent 25%),
    linear-gradient(145deg, rgba(22, 30, 49, 0.78), rgba(8, 12, 22, 0.94) 60%, rgba(0, 0, 0, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -1px 0 rgba(213, 201, 165, 0.055),
    0 16px 42px rgba(0, 0, 0, 0.22);
}

.service-list article:hover {
  border-color: rgba(213, 201, 165, 0.32);
  background:
    linear-gradient(160deg, rgba(213, 201, 165, 0.075), rgba(255, 255, 255, 0.018) 40%, transparent 68%),
    radial-gradient(circle at 86% 16%, rgba(213, 201, 165, 0.14), transparent 25%),
    linear-gradient(145deg, rgba(28, 37, 58, 0.82), rgba(8, 12, 22, 0.95) 62%, rgba(0, 0, 0, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 20px 52px rgba(0, 0, 0, 0.3);
}

.service-list span {
  color: #d5c9a5;
  letter-spacing: 0.08em;
}

.service-list h2,
.service-list h3 {
  color: rgba(247, 247, 242, 0.96);
}

.service-list p {
  color: rgba(164, 181, 196, 0.82);
}

/* Service cards: quieter, less saturated panels */
.service-list article {
  min-height: 220px;
  border-color: rgba(164, 181, 196, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    linear-gradient(145deg, rgba(18, 25, 40, 0.82), rgba(7, 10, 18, 0.95) 62%, rgba(0, 0, 0, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 34px rgba(0, 0, 0, 0.2);
}

.service-list article:hover {
  border-color: rgba(213, 201, 165, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    linear-gradient(145deg, rgba(20, 28, 44, 0.86), rgba(8, 12, 22, 0.96) 64%, rgba(0, 0, 0, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    0 16px 40px rgba(0, 0, 0, 0.24);
}

.service-list span {
  color: rgba(213, 201, 165, 0.82);
}

.service-list h2,
.service-list h3 {
  color: rgba(247, 247, 242, 0.94);
}

.service-list p {
  color: rgba(164, 181, 196, 0.76);
}

/* Static particle-wave background */
html,
body,
body.texture-background {
  background-color: #02050a;
}

body.texture-background {
  min-height: 100%;
  color: #f7f7f2;
  background: #02050a;
}

body.texture-background .video-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #02050a;
  pointer-events: none;
  isolation: isolate;
}

body.texture-background .video-background::before {
  position: absolute;
  z-index: 0;
  inset: -2.5%;
  background-image: url("assets/black-particle-wave-bg.jpg");
  background-repeat: no-repeat;
  background-position: 52% 58%;
  background-size: cover;
  content: "";
  filter: saturate(0.72) contrast(1.08) brightness(0.68);
  transform: scale(1.035);
  transform-origin: center;
  animation: texture-drift 28s ease-in-out infinite alternate;
}

body.texture-background .video-background::after {
  position: absolute;
  z-index: 1;
  inset: 0;
background:
    linear-gradient(
        90deg,
        rgba(1, 3, 7, 0.40) 0%,
        rgba(2, 5, 10, 0.25) 44%,
        rgba(2, 5, 10, 0.08) 74%,
        rgba(2, 5, 10, 0.15) 100%
    ),
    linear-gradient(
        180deg,
        rgba(2, 5, 10, 0.15) 0%,
        rgba(2, 5, 10, 0.04) 46%,
        rgba(2, 5, 10, 0.30) 100%
    );
}

body.texture-background main {
  position: relative;
  z-index: 1;
}

body.texture-background .hero {
  min-height: calc(100svh - 127px);
  background: transparent;
}

body.texture-background .hero::after {
  display: none;
}

body.texture-background h1 span {
  color: #a4b5c4;
}

.intro-screen {
  background:
    radial-gradient(circle at 72% 18%, rgba(37, 44, 64, 0.28), transparent 34%),
    linear-gradient(145deg, #000000 0%, #030407 42%, #0a0f18 72%, #111827 100%);
}

.intro-screen__video {
  opacity: 0.42;
  filter: saturate(0.55) contrast(1.12) brightness(0.52);
}

.intro-screen__content {
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.58);
}

.intro-screen__loader {
  background: rgba(164, 181, 196, 0.18);
}

.intro-screen__loader span {
  background: linear-gradient(90deg, #ffffff, #d5c9a5, #a4b5c4);
}

@keyframes texture-drift {
  from { transform: scale(1.035) translate3d(-0.4%, -0.25%, 0); }
  to { transform: scale(1.065) translate3d(0.6%, 0.35%, 0); }
}

@media (max-width: 720px) {
  html {
    min-height: 100%;
    background: #02050a;
  }

  body.texture-background {
    min-height: 100svh;
    overflow-x: hidden;
    background: #02050a;
  }

  body.texture-background .video-background::before {
    inset: -1.5%;
    background-position: 66% 55%;
    filter: saturate(0.7) contrast(1.08) brightness(0.6);
    animation-duration: 34s;
  }

  body.texture-background .video-background::after {
    background:
      linear-gradient(90deg, rgba(1, 3, 7, 0.84), rgba(2, 5, 10, 0.42) 70%, rgba(2, 5, 10, 0.48)),
      linear-gradient(180deg, rgba(2, 5, 10, 0.28), rgba(2, 5, 10, 0.12) 48%, rgba(2, 5, 10, 0.72));
  }

  body.texture-background main {
    padding-top: calc(78px + var(--topbar-height));
  }

  body.texture-background .top-contact-bar {
    min-height: calc(var(--topbar-height) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  body.texture-background .site-header {
    top: calc(var(--topbar-height) + env(safe-area-inset-top, 0px));
    min-height: 78px;
    padding-block: 13px;
  }

  body.texture-background.topbar-hidden .site-header {
    top: env(safe-area-inset-top, 0px);
  }

  body.texture-background .hero {
    width: min(calc(100% - 32px), var(--max));
    min-height: calc(100svh - 118px);
    padding-top: clamp(28px, 5.5vh, 46px);
    padding-bottom: max(74px, calc(env(safe-area-inset-bottom, 0px) + 74px));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.texture-background .eyebrow {
    max-width: 94vw;
    margin-bottom: clamp(30px, 6.8vw, 44px);
    color: rgba(247, 247, 242, 0.76);
    font-size: clamp(0.68rem, 3vw, 0.82rem);
    letter-spacing: 0.19em;
    line-height: 1.45;
  }

  body.texture-background #hero-title {
    max-width: 94vw;
    margin: 0;
    font-size: clamp(4.25rem, 17.8vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
  }

  body.texture-background .hero__footer {
    display: block;
    margin-top: clamp(84px, 14vh, 122px);
  }

  body.texture-background .hero__copy {
    max-width: 92vw;
    padding-top: 0;
    color: rgba(232, 238, 243, 0.82);
    font-size: clamp(1.12rem, 4.65vw, 1.34rem);
    line-height: 1.65;
  }

  body.texture-background .actions {
    margin-top: clamp(30px, 7vh, 52px);
  }

  body.texture-background .floating-badges {
    right: max(18px, env(safe-area-inset-right, 0px));
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    left: auto;
  }
}

@media (max-width: 390px) {
  body.texture-background #hero-title {
    font-size: clamp(3.75rem, 16.7vw, 4.65rem);
  }

  body.texture-background .hero__footer {
    margin-top: clamp(64px, 10vh, 96px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.texture-background .video-background::before {
    animation: none;
    transform: scale(1.04);
  }
}

/* =========================================================
   HOME BACKGROUND VIDEO + INTERACTIVE PARTICLES
   Definitive override
   Video file: assets/bg_new.mp4
   ========================================================= */

body.texture-background .video-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #02050a;
  pointer-events: none;
  isolation: isolate;
}

/* Static JPG fallback underneath the video. */
body.texture-background .video-background::before {
  position: absolute;
  z-index: 0;
  inset: -2%;
  content: "";
  background-image: url("assets/black-particle-wave-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  filter: none;
  animation: none;
  transform: scale(1.03);
}

/* Main animated background video. */
body.texture-background .background-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: scale(1.01);
  pointer-events: none;
}

/* Interactive particle/wave canvas above the video. */
body.texture-background .particle-wave-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Very light readability layer above video + particles. */
body.texture-background .video-background::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.10) !important;
  pointer-events: none;
}

/* Keep all page content above the background stack. */
body.texture-background main {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  body.texture-background .background-video {
    object-position: 60% center;
    opacity: 1 !important;
    filter: none !important;
  }

  body.texture-background .particle-wave-canvas {
    opacity: 0.62;
  }

  body.texture-background .video-background::after {
    background: rgba(0, 0, 0, 0.12) !important;
  }
}

/* Mobile gallery: every project asset becomes a full-width editorial stack. */
@media (max-width: 620px) {
  .interior-page .project-media--adidas,
  .interior-page .project-media--bac {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .interior-page .project-media--adidas > .project-asset,
  .interior-page .project-media--bac > .project-asset,
  .interior-page .project-media--adidas .project-asset--main,
  .interior-page .project-media--bac .project-asset--main,
  .interior-page .project-media--adidas .project-asset--vertical-video,
  .interior-page .project-media--bac .project-asset--vertical-video {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    justify-self: stretch;
  }

  .interior-page .project-media--adidas .project-asset:not(.project-asset--vertical-video),
  .interior-page .project-media--bac .project-asset:not(.project-asset--vertical-video) {
    aspect-ratio: 16 / 10;
  }

  .interior-page .project-media--adidas .project-asset--vertical-video,
  .interior-page .project-media--bac .project-asset--vertical-video {
    aspect-ratio: 9 / 16;
    min-height: min(72vh, 560px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.texture-background .background-video {
    opacity: 1 !important;
  }

  body.texture-background .particle-wave-canvas {
    opacity: 0.45;
  }
  
}
/* MOVER BLOQUE IZQUIERDO DE CONTACTO HACIA LA DERECHA */
@media (min-width: 821px) {
    body.texture-background .contact__intro {
        transform: translateX(80px);
    }
}
/* =========================================================
   VIDEO OVERLAY - SECCIÓN SERVICIOS
   assets/orb-preview.mp4
   ========================================================= */

body.texture-background .services {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Contenido de servicios debajo del video */
body.texture-background .services > *:not(.services-bg-video) {
    position: relative;
    z-index: 1;
}

/* Video por encima de textos y tarjetas */
body.texture-background .services-bg-video {
    position: absolute;
    z-index: 2;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    opacity: 0.15;

    pointer-events: none;
}

/* Final refinements: services, gallery hierarchy, trust and performance. */
body.texture-background .services-bg-video {
  z-index: 0;
  opacity: 0.38;
  filter: saturate(0.78) contrast(1.08) brightness(0.94);
}

body.texture-background .services::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 48%, rgba(4, 8, 15, 0.12)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(2, 5, 10, 0.22));
  pointer-events: none;
}

body.texture-background .services > *:not(.services-bg-video) {
  z-index: 1;
}

body.texture-background .service-list article {
  border-color: rgba(213, 201, 165, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 40%),
    linear-gradient(145deg, rgba(18, 25, 39, 0.9), rgba(5, 8, 15, 0.95) 66%, rgba(0, 0, 0, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

body.texture-background .service-list h2,
body.texture-background .service-list h3 {
  color: #f7f7f2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

body.texture-background .service-list p {
  color: rgba(226, 234, 241, 0.86);
}

.interior-page .portfolio {
  padding-top: 78px;
}

.interior-page .section-heading {
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1.55fr) minmax(220px, 0.62fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto 58px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(164, 181, 196, 0.18);
}

.interior-page .section-heading .page-title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.interior-page .section-heading > p:last-child {
  max-width: 340px;
  padding-bottom: 4px;
  color: rgba(226, 234, 241, 0.72);
}

@media (max-width: 820px) {
  .interior-page .portfolio {
    padding-top: 62px;
  }

  .interior-page .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 44px;
    padding-bottom: 34px;
  }

  .interior-page .section-heading .page-title {
    max-width: 12ch;
    font-size: clamp(2.9rem, 12vw, 4.65rem);
    line-height: 0.95;
  }

  .interior-page .section-heading > p:last-child {
    max-width: 36rem;
    padding-bottom: 0;
  }

}
