/* ============================================================
   EFICIENCIAL STUDIO — Design System
   "The Director's Cut" — Cinematic Dark Theme
   ============================================================ */

/* ------------------------------------------------------------
   0. CUSTOM PROPERTIES
   ------------------------------------------------------------ */

:root {
  /* Color */
  --bg:            #000000;
  --bg-elevated:   #0a0a0a;
  --bg-card:       #111111;
  --text:          #f5f0eb;
  --text-muted:    #8b8b8b;
  --accent:        #e8733a;
  --accent-hover:  #d4682f;
  --gold:          #c4a882;
  --border:        #1a1a1a;

  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;
  --font-cta:     'Montserrat', sans-serif;

  /* Font scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3rem;
  --fs-5xl:  4rem;
  --fs-6xl:  5rem;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}


/* ------------------------------------------------------------
   1. RESET & BASE
   ------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}


/* ------------------------------------------------------------
   2. FILM GRAIN OVERLAY
   ------------------------------------------------------------ */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ------------------------------------------------------------
   3. CONTAINER
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 800px;
}


/* ------------------------------------------------------------
   4. SECTION
   ------------------------------------------------------------ */

.section {
  padding: var(--space-4xl) 0;
}

.section--no-top {
  padding-top: 0;
}

.section--no-bottom {
  padding-bottom: 0;
}


/* ------------------------------------------------------------
   5. NAVIGATION
   ------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  letter-spacing: 0.15em;
  color: var(--text);
  line-height: 1;
}

.nav__logo span {
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-family: var(--font-cta);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text);
  transition: transform 0.3s var(--ease-out),
              opacity 0.3s var(--ease-out);
}

.nav__hamburger--open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* ------------------------------------------------------------
   6. MOBILE MENU
   ------------------------------------------------------------ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu--open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out),
              color 0.3s var(--ease-out);
}

.mobile-menu--open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu--open .mobile-menu__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu--open .mobile-menu__link:nth-child(6) { transition-delay: 0.3s; }

.mobile-menu__link:hover {
  color: var(--accent);
}


/* ------------------------------------------------------------
   7. HERO — Cinematic video background
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

/* Hero image background with Ken Burns */
.hero__img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__img-bg img,
.hero__img-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}

.hero__img-bg img {
  animation: kenBurns 20s ease-in-out infinite alternate;
}

/* YouTube iframe hero background (Wave 2) */
.hero__yt-fallback {
  animation: none !important;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  filter: saturate(0.7);
}

.hero__yt-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero__yt-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 — covers tall viewports */
  filter: saturate(0.7);
}

@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1%); }
}

/* Fallback static bg */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Heavy dark overlay for text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 80%, #000 100%),
    linear-gradient(to right, rgba(0,0,0,0.4) 0%, transparent 50%, rgba(0,0,0,0.4) 100%);
}

/* Cinematic letterbox bars */
.hero__letterbox {
  position: absolute;
  left: 0;
  right: 0;
  height: 6vh;
  background: #000;
  z-index: 3;
}

.hero__letterbox--top { top: 0; }
.hero__letterbox--bottom { bottom: 0; }

/* Hero content */
.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 1000px;
  padding: 0 var(--space-xl);
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: heroFadeUp 1s 0.3s var(--ease-out) forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.03em;
  word-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: heroFadeUp 1.2s 0.5s var(--ease-out) forwards;
}

.hero__title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: rgba(245, 240, 235, 0.82);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto var(--space-2xl);
  letter-spacing: 0.01em;
  word-spacing: 0.04em;
  opacity: 0;
  animation: heroFadeUp 1s 0.75s var(--ease-out) forwards;
}

.hero__subtitle em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.hero__ctas {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1s 0.9s var(--ease-out) forwards;
}

/* Scroll indicator — animated line */
.hero__scroll {
  position: absolute;
  bottom: 1.5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: heroFadeUp 1s 1.2s var(--ease-out) forwards;
}

.hero__scroll span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--gold);
  transform-origin: top;
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

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

@keyframes scrollPulse {
  0% { transform: scaleY(0); opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}


/* ------------------------------------------------------------
   7b. SHOWREEL SECTION
   ------------------------------------------------------------ */

.showreel {
  margin-top: var(--space-lg);
}

.showreel__label {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.showreel__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
}

.showreel__video {
  margin-bottom: var(--space-2xl);
}

.video-container--cinematic {
  border: none;
  border-radius: 0;
  box-shadow: 0 20px 80px rgba(232, 115, 58, 0.08);
}


/* ------------------------------------------------------------
   VIDEO PLAYER — Click-to-play with thumbnail poster
   ------------------------------------------------------------ */

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  border-radius: var(--radius-lg);
}

.video-player__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s var(--ease-out);
  filter: brightness(0.75);
}

.video-player:hover .video-player__poster {
  transform: scale(1.03);
  filter: brightness(0.9);
}

.video-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 50px;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 2;
  padding: 0;
}

.video-player__play svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.video-player:hover .video-player__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* When video is playing (iframe loaded) */
.video-player--playing {
  cursor: default;
}

.video-player--playing .video-player__poster,
.video-player--playing .video-player__play {
  display: none;
}

.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.showreel__info {
  max-width: 700px;
}

.showreel__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.showreel__genre {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.showreel__separator {
  color: var(--text-muted);
}

.showreel__client {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.showreel__title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.showreel__desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ------------------------------------------------------------
   7c. SHOWCASE GRID — Asymmetric project display
   ------------------------------------------------------------ */

.selected-work__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.selected-work__all {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  transition: color 0.3s var(--ease-out);
}

.selected-work__all:hover {
  color: var(--text);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  border-radius: var(--radius-lg);
}

.showcase-card--large {
  min-height: 600px;
}

.showcase-stack .showcase-card {
  flex: 1;
  min-height: 280px;
}

.showcase-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s var(--ease-out);
  filter: saturate(0.7) brightness(0.85);
}

.showcase-card:hover .showcase-card__img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

.showcase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.3) 40%,
    rgba(0,0,0,0.1) 100%
  );
  z-index: 1;
}

.showcase-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
  width: 100%;
}

.showcase-card__genre {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid rgba(232, 115, 58, 0.3);
  padding: 0.25rem 0.7rem;
  margin-bottom: var(--space-md);
}

.showcase-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.showcase-card--large .showcase-card__title {
  font-size: var(--fs-4xl);
}

.showcase-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.6;
}

.showcase-card__arrow {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: 2;
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--text);
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.showcase-card:hover .showcase-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Bottom showcase row */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.showcase-card--wide {
  min-height: 300px;
}


/* ------------------------------------------------------------
   7d. MANIFESTO SECTION
   ------------------------------------------------------------ */

.manifesto {
  padding: var(--space-4xl) 0;
  background: var(--bg-elevated);
}

.manifesto__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  text-align: center;
  margin: var(--space-2xl) 0;
}

.manifesto__quote em {
  color: var(--accent);
  font-style: italic;
}

.manifesto__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.manifesto__from {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}


/* ------------------------------------------------------------
   7e. CLIENT ROW
   ------------------------------------------------------------ */

.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.client-name {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s var(--ease-out);
}

.client-name:hover {
  opacity: 1;
}

.client-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
  margin: 0 1.2rem;
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   7f. CTA SECTION
   ------------------------------------------------------------ */

.cta-section {
  padding: var(--space-4xl) 0;
  padding-top: calc(var(--space-4xl) * 1.5);
  padding-bottom: calc(var(--space-4xl) * 1.5);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(232, 115, 58, 0.04) 0%, transparent 70%),
    var(--bg);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
}

.cta-section__accent {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  margin-top: var(--space-sm);
}

.cta-section__desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-top: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}


/* ------------------------------------------------------------
   8. PAGE HERO
   ------------------------------------------------------------ */

.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--space-3xl);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
  font-size: var(--fs-base);
  color: var(--text-muted);
}


/* ------------------------------------------------------------
   9. BUTTONS
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-cta);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--bg);
  padding: 1rem 2.5rem;
  font-weight: 500;
}

.btn--primary:hover {
  background-color: var(--accent-hover);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text);
  padding: 1rem 2.5rem;
  border: 1px solid var(--text);
  font-weight: 500;
}

.btn--ghost:hover {
  background-color: var(--text);
  color: var(--bg);
}

.btn--ghost-accent {
  background-color: transparent;
  color: var(--accent);
  padding: 1rem 2.5rem;
  border: 1px solid var(--accent);
  font-weight: 500;
}

.btn--ghost-accent:hover {
  background-color: var(--accent);
  color: var(--bg);
}

.btn--sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.7rem;
}

.btn--lg {
  padding: 1.2rem 3rem;
  font-size: var(--fs-sm);
}


/* ------------------------------------------------------------
   10. FEATURED PROJECT CARDS
   ------------------------------------------------------------ */

.featured-card {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-left: 3px solid transparent;
  border-radius: var(--radius-lg);
  transition: border-color 0.5s var(--ease-out);
}

.featured-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-out);
}

.featured-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.featured-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
  width: 100%;
}

.featured-card__genre {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background-color: rgba(232, 115, 58, 0.12);
  padding: 0.3rem 0.8rem;
  margin-bottom: var(--space-md);
}

.featured-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.featured-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 500px;
}

.featured-card:hover {
  border-color: var(--accent);
}

.featured-card:hover .featured-card__bg {
  transform: scale(1.03);
}


/* ------------------------------------------------------------
   11. GENRE STRIP
   ------------------------------------------------------------ */

.genre-strip {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  padding-bottom: var(--space-md);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.genre-strip::-webkit-scrollbar {
  display: none;
}

.genre-card {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.genre-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s var(--ease-out);
}

.genre-card__bg img,
img.genre-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.genre-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  transition: background-color 0.4s var(--ease-out);
}

.genre-card__name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  z-index: 1;
}

.genre-card:hover .genre-card__overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.genre-card:hover .genre-card__bg {
  transform: scale(1.05);
}


/* ------------------------------------------------------------
   12. CLIENT LOGOS
   ------------------------------------------------------------ */

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.clients-grid img {
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.4;
  transition: filter 0.4s var(--ease-out),
              opacity 0.4s var(--ease-out);
}

.clients-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}


/* ------------------------------------------------------------
   13. PROJECT GRID
   ------------------------------------------------------------ */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}


/* ------------------------------------------------------------
   14. PROJECT CARD
   ------------------------------------------------------------ */

.project-card {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  border-left: 3px solid transparent;
  transition: border-color 0.5s var(--ease-out);
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.project-card__img {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease-out);
  filter: saturate(0.7) brightness(0.8);
  z-index: 0;
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

.project-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease-out);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  transition: background 0.4s var(--ease-out);
}

.project-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
  width: 100%;
}

.project-card__genre {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(232, 115, 58, 0.3);
  padding: 0.2rem 0.6rem;
  margin-bottom: var(--space-sm);
}

.project-card__genre--new {
  color: #00e5ff;
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.project-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__client {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--gold);
  letter-spacing: 0.05em;
}

.project-card:hover {
  border-color: var(--accent);
}

.project-card:hover .project-card__bg {
  transform: scale(1.03);
}

/* Fade-out state for genre filtering */
.project-card--hidden {
  display: none;
}


/* ------------------------------------------------------------
   15. FILTER BAR
   ------------------------------------------------------------ */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 0 0.75rem 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn--active {
  color: var(--text);
  border-bottom-color: var(--accent);
}


/* ------------------------------------------------------------
   16. PROJECT DETAIL / PROJECT HERO
   ------------------------------------------------------------ */

.project-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--space-3xl);
}

.project-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.project-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.6) brightness(0.7);
}

.project-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.project-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.project-hero__genre {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background-color: rgba(232, 115, 58, 0.12);
  padding: 0.3rem 0.8rem;
  margin-bottom: var(--space-md);
}

.project-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.project-hero__meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}


/* ------------------------------------------------------------
   17. VIDEO CONTAINER
   ------------------------------------------------------------ */

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* ------------------------------------------------------------
   18. STILLS GRID
   ------------------------------------------------------------ */

.stills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stills-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.stills-grid img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.stills-grid img:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Gallery project grouping */
.gallery-project__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.gallery-project__title {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: var(--text-primary);
}


/* ------------------------------------------------------------
   19. LIGHTBOX
   ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.lightbox--open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease-out);
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.5;
  transition: opacity 0.3s var(--ease-out);
}

.lightbox__prev {
  left: var(--space-xl);
}

.lightbox__next {
  right: var(--space-xl);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
}


/* ------------------------------------------------------------
   20. PROJECT NAVIGATION
   ------------------------------------------------------------ */

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
}

.project-nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
}

.project-nav__link:hover {
  color: var(--accent);
}

.project-nav__label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.project-nav__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}

.project-nav__link:hover .project-nav__title {
  color: var(--accent);
}

.project-nav__link--next {
  text-align: right;
}


/* ------------------------------------------------------------
   20b. PROJECT BODY — Editorial layout
   ------------------------------------------------------------ */

.project-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.project-body__text {
  font-size: var(--fs-md);
  color: var(--text);
  line-height: 1.8;
}

.project-body__text p + p {
  margin-top: var(--space-lg);
}

.project-body__sidebar {
  position: sticky;
  top: 120px;
}

.project-body__detail {
  margin-bottom: var(--space-lg);
}

.project-body__label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.project-body__value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--text);
}

.project-body__techniques {
  list-style: none;
  padding: 0;
  margin-top: var(--space-sm);
}

.project-body__techniques li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.project-body__techniques li::before {
  content: '→ ';
  color: var(--accent);
  margin-right: var(--space-xs);
}


/* ------------------------------------------------------------
   21. TEAM CARD
   ------------------------------------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-2xl);
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.03);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.team-card__bio {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ------------------------------------------------------------
   22. PROCESS STEPS
   ------------------------------------------------------------ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.process-step {
  position: relative;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.process-step__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ------------------------------------------------------------
   23. CONTACT FORM
   ------------------------------------------------------------ */

.form-group {
  margin-bottom: var(--space-xl);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-muted);
  border-radius: 0;
  padding: var(--space-sm) 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-bottom-color: var(--accent);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
  cursor: pointer;
}

.form-select option {
  background-color: var(--bg-card);
  color: var(--text);
}

.form-select optgroup {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  padding: 8px 0 4px;
}

.form-error {
  display: none;
  font-size: 0.75rem;
  color: #ff4d4d;
  margin-top: 0.25rem;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-bottom-color: #ff4d4d;
}


/* ------------------------------------------------------------
   24. FOOTER
   ------------------------------------------------------------ */

.footer {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  letter-spacing: 0.15em;
  color: var(--text);
  line-height: 1;
}

.footer__logo span {
  font-weight: 700;
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.footer__nav {
  display: flex;
  gap: var(--space-xl);
}

.footer__link {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
}

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

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal-link {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
}

.footer__legal-link:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}


/* ------------------------------------------------------------
   25. SCROLL REVEAL
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease,
              transform 0.8s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ------------------------------------------------------------
   26. UTILITY CLASSES
   ------------------------------------------------------------ */

.text-accent  { color: var(--accent); }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.section-desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-0  { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }


/* ------------------------------------------------------------
   27. AMBER GRADIENT DIVIDER
   ------------------------------------------------------------ */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: var(--space-2xl) 0;
  border: none;
}

.divider--subtle {
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.divider--gold {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}


/* ============================================================
   SERVICIOS — 4 pilares
   ============================================================ */

.services-section {
  padding-bottom: 0;
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.services-header__title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-top: var(--space-md);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.services-card {
  min-height: 480px;
  text-decoration: none;
  border-left: none;
  border-bottom: 3px solid transparent;
  transition: border-color 0.5s var(--ease-out);
}

.services-card:hover {
  border-color: var(--accent);
  border-left: none;
}

.services-card .featured-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1.00) 0%,
    rgba(0, 0, 0, 1.00) 25%,
    rgba(0, 0, 0, 0.95) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.services-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.services-card__cta {
  display: inline-block;
  font-family: var(--font-cta);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: var(--space-lg);
  transition: letter-spacing 0.3s var(--ease-out);
}

.services-card:hover .services-card__cta {
  letter-spacing: 0.2em;
}

.services-card:hover .featured-card__bg {
  transform: scale(1.04);
}

/* ---- Before/After Slider ---- */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__img--after {
  clip-path: inset(0 0 0 50%);
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.ba-slider__handle::before {
  content: '‹›';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -2px;
  pointer-events: none;
}

.ba-slider__label {
  position: absolute;
  bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  z-index: 1;
  pointer-events: none;
}

.ba-slider__label--before { left: var(--space-md); }
.ba-slider__label--after  { right: var(--space-md); }

.ba-slider--portrait { aspect-ratio: 9 / 16; max-width: 500px; margin-inline: auto; }

/* ---- Room Cards (Reform Case Study) ---- */
.room-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.room-card__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.room-card__num {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--accent);
}

.room-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text);
}

.room-card__area {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.room-card__note {
  font-size: var(--fs-sm);
  color: var(--gold);
  margin-left: auto;
}

.room-card__phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.room-card__phase {
  text-align: center;
}

.room-card__phase img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.room-card--portrait .room-card__phase img {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-sm);
}

.room-card__phase-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ---- Sketchfab Embed ---- */
.sketchfab-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.sketchfab-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Differentiator Cards (Reform Service Page) ---- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.diff-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.diff-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CTA Banner (Contractors) ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(232, 115, 58, 0.12) 0%, var(--bg-elevated) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  text-align: center;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.cta-banner__desc {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

/* ---- Showcase Before/After Split ---- */
.showcase-card--split {
  overflow: hidden;
}

.showcase-card--split .showcase-card__img--before,
.showcase-card--split .showcase-card__img--after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card--split .showcase-card__img--before {
  clip-path: inset(0 50% 0 0);
}

.showcase-card--split .showcase-card__img--after {
  clip-path: inset(0 0 0 50%);
}

.showcase-card--split .showcase-card__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 1;
}

.showcase-card--split .showcase-card__divider-label {
  position: absolute;
  top: var(--space-lg);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.showcase-card--split .showcase-card__divider-label--before {
  left: var(--space-md);
}

.showcase-card--split .showcase-card__divider-label--after {
  right: var(--space-md);
}

/* ---- Badge "Nuevo" ---- */
.services-card--new {
  position: relative;
}

.services-card--new::after {
  content: 'Nuevo';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: var(--accent);
  color: #000;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 3;
}

/* ---- Slider Hint ---- */
.ba-slider__hint {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  margin-top: var(--space-sm);
  letter-spacing: 0.05em;
}

/* ---- Room Description ---- */
.room-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* ---- IA Advisor Page ---- */
.advisor-hero {
  padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  background: var(--bg-elevated);
}

.advisor-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, var(--fs-5xl));
  font-weight: 700;
  color: var(--text);
}

.advisor-hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 640px;
  margin: var(--space-md) auto var(--space-2xl);
  line-height: 1.6;
}

.advisor-search {
  max-width: 600px;
  margin: 0 auto var(--space-md);
  position: relative;
}

.advisor-search__input {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  padding-right: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  font-size: var(--fs-md);
  font-family: var(--font-body);
  transition: border-color 0.3s var(--ease-out);
}

.advisor-search__input:focus {
  outline: none;
  border-color: var(--accent);
}

.advisor-search__input::placeholder { color: var(--text-muted); }

.advisor-search__btn {
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.advisor-search__btn:hover { background: var(--accent-hover); }

.advisor-search__hint {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-sm);
}

.advisor-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.advisor-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.advisor-category:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.advisor-category__icon { font-size: 2.5rem; display: block; margin-bottom: var(--space-md); }
.advisor-category__name { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 700; color: var(--text); }
.advisor-category__count { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-xs); }

.advisor-subcategories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.advisor-subcategory {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out);
}

.advisor-subcategory:hover { border-color: var(--accent); }
.advisor-subcategory__name { font-family: var(--font-heading); font-size: var(--fs-md); font-weight: 700; color: var(--text); }
.advisor-subcategory__tools-count { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-xs); }

.advisor-breadcrumb { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-xl); font-size: var(--fs-sm); flex-wrap: wrap; }
.advisor-breadcrumb__item { color: var(--accent); cursor: pointer; background: none; border: none; font-family: var(--font-body); font-size: var(--fs-sm); padding: 0; }
.advisor-breadcrumb__item:hover { text-decoration: underline; }
.advisor-breadcrumb__sep { color: var(--text-muted); }
.advisor-breadcrumb__current { color: var(--text-muted); }

.advisor-tool {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-md);
  transition: border-color 0.3s var(--ease-out);
}

.advisor-tool:hover { border-color: rgba(232, 115, 58, 0.3); }

.advisor-tool__header { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-md); margin-bottom: var(--space-md); }
.advisor-tool__name { font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: 700; color: var(--text); }
.advisor-tool__score { flex-shrink: 0; font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 700; color: var(--accent); }
.advisor-tool__desc { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; margin-bottom: var(--space-md); }
.advisor-tool__pricing { font-size: var(--fs-sm); color: var(--gold); margin-bottom: var(--space-md); }

.advisor-tool__score-bar { height: 4px; background: var(--border); border-radius: 2px; margin-top: var(--space-xs); overflow: hidden; }
.advisor-tool__score-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.6s var(--ease-out); }

.advisor-tool__pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); font-size: var(--fs-sm); }
.advisor-tool__pros h4, .advisor-tool__cons h4 { font-family: var(--font-heading); font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--space-sm); }
.advisor-tool__pros h4 { color: #4ade80; }
.advisor-tool__cons h4 { color: #f87171; }
.advisor-tool__pros li, .advisor-tool__cons li { color: var(--text-muted); line-height: 1.6; list-style: none; padding-left: var(--space-md); position: relative; }
.advisor-tool__pros li::before { content: '+'; position: absolute; left: 0; color: #4ade80; }
.advisor-tool__cons li::before { content: '−'; position: absolute; left: 0; color: #f87171; }

.advisor-tool__link { display: inline-block; margin-top: var(--space-md); color: var(--accent); font-size: var(--fs-sm); text-decoration: none; }
.advisor-tool__link:hover { text-decoration: underline; }

.advisor-cta {
  background: linear-gradient(135deg, rgba(232, 115, 58, 0.12) 0%, var(--bg-card) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-md);
}

.advisor-cta__title { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 700; color: var(--accent); margin-bottom: var(--space-sm); }
.advisor-cta__desc { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; margin-bottom: var(--space-md); }

.advisor-loading { text-align: center; padding: var(--space-3xl); color: var(--text-muted); }
.advisor-loading__spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: advisor-spin 0.8s linear infinite; margin: 0 auto var(--space-md); }
@keyframes advisor-spin { to { transform: rotate(360deg); } }

.advisor-results { min-height: 200px; }

/* ---- Questionnaire Wizard ---- */
.wizard {
  max-width: 800px;
  margin: 0 auto;
}

.wizard__progress {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-2xl);
}

.wizard__progress-step {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.3s var(--ease-out);
}

.wizard__progress-step--active {
  background: var(--accent);
}

.wizard__progress-step--done {
  background: var(--gold);
}

.wizard__step {
  display: none;
  animation: wizardFadeIn 0.4s var(--ease-out);
}

.wizard__step--active {
  display: block;
}

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

.wizard__title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-md);
}

.wizard__subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-size: var(--fs-md);
  line-height: 1.6;
}

.wizard__nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.duel { text-align: center; }

.duel__question {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xl);
}

.duel__round-indicator {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.duel__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.duel__option {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.duel__option:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 115, 58, 0.4);
}

.duel__option--selected { border-color: var(--accent); }

/* Swipe Tinder style */
.duel__swipe-hint {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-lg);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.duel__swipe-hint span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.duel__option--swiping-left {
  animation: swipeLeft 0.4s var(--ease-out) forwards;
}

.duel__option--swiping-right {
  animation: swipeRight 0.4s var(--ease-out) forwards;
}

@keyframes swipeLeft {
  to { transform: translateX(-120%) rotate(-8deg); opacity: 0; }
}

@keyframes swipeRight {
  to { transform: translateX(120%) rotate(8deg); opacity: 0; }
}

.duel__option-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.duel__option-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.duel__option-label {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
}

.duel__option-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-xs);
  line-height: 1.4;
}

.duel__option-desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.checkbox-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.3s var(--ease-out);
}

.checkbox-card:hover { border-color: rgba(232, 115, 58, 0.4); }

.checkbox-card--checked {
  border-color: var(--accent);
  background: rgba(232, 115, 58, 0.08);
}

.checkbox-card__icon { font-size: 1.5rem; margin-bottom: var(--space-sm); }

.checkbox-card__label {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out), background 0.3s;
}

.upload-zone:hover,
.upload-zone--dragover {
  border-color: var(--accent);
  background: rgba(232, 115, 58, 0.05);
}

.upload-zone__icon { font-size: 2rem; margin-bottom: var(--space-md); }

.upload-zone__text { color: var(--text-muted); font-size: var(--fs-sm); }
.upload-zone__text em { color: var(--accent); font-style: normal; }

.upload-list { margin-top: var(--space-lg); }

.upload-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.upload-item__thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.upload-item__info { flex: 1; min-width: 0; }

.upload-item__name {
  font-size: var(--fs-sm);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-item__desc {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  padding: var(--space-xs) 0;
  font-family: var(--font-body);
}

.upload-item__desc:focus { outline: none; border-color: var(--accent); color: var(--text); }

.upload-item__remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: var(--fs-lg);
  padding: var(--space-xs);
}

.upload-item__remove:hover { color: #f87171; }

.link-entry {
  display: grid;
  grid-template-columns: 1fr 180px 40px;
  gap: var(--space-sm);
  align-items: end;
  margin-bottom: var(--space-md);
}

.link-entry__remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: var(--fs-lg);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-entry__remove:hover { color: #f87171; }

.summary-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.summary-section__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.summary-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.summary-style-item { text-align: center; }

.summary-style-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
}

.summary-style-item span { font-size: var(--fs-xs); color: var(--text-muted); }

/* ---- Interactive Node Diagram ---- */
.node-diagram {
  position: relative;
}

.node-diagram__flow {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  min-height: 380px;
}

.node-diagram__objects {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 0 0 200px;
  z-index: 2;
}

.node-diagram__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.node-diagram__arrow {
  color: var(--accent);
  font-size: var(--fs-2xl);
  flex-shrink: 0;
  z-index: 2;
}

.node-diagram__result {
  flex: 0 0 240px;
  z-index: 2;
}

.node-diagram__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.node-diagram__svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0.3;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: opacity 0.3s var(--ease-out);
}

.node-diagram--animated .node-diagram__svg path {
  animation: drawLine 1.5s var(--ease-out) forwards;
}

.node-diagram--animated .node-diagram__svg path:nth-child(2) { animation-delay: 0.2s; }
.node-diagram--animated .node-diagram__svg path:nth-child(3) { animation-delay: 0.4s; }
.node-diagram--animated .node-diagram__svg path:nth-child(4) { animation-delay: 0.6s; }
.node-diagram--animated .node-diagram__svg path:nth-child(5) { animation-delay: 0.8s; }

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
}

.node-diagram__result:hover ~ .node-diagram__svg path,
.node-diagram__flow:hover .node-diagram__svg path {
  opacity: 0.7;
}

/* Node Cards */
.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  position: relative;
}

.node-card--object {
  border-color: rgba(232, 115, 58, 0.3);
  cursor: default;
}

.node-card--object:hover {
  transform: scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(232, 115, 58, 0.15);
}

.node-card--room {
  width: 280px;
}

.node-card--result {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(232, 115, 58, 0.08) 0%, var(--bg-card) 100%);
}

.node-card--result:hover {
  box-shadow: 0 0 40px rgba(232, 115, 58, 0.2);
}

.node-card__img-wrap {
  position: relative;
  overflow: hidden;
}

.node-card--object .node-card__img-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(232,115,58,0.04) 100%);
  padding: var(--space-sm);
}

.node-card--room .node-card__img-wrap,
.node-card--result .node-card__img-wrap {
  aspect-ratio: 4 / 3;
}

.node-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.node-card--object .node-card__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.node-card--object-lg .node-card__img-wrap {
  height: 100px;
}

.node-card--object-lg .node-card__img {
  width: 88px;
  height: 88px;
}

.node-card__emoji {
  font-size: 2rem;
}

.node-card__info {
  padding: var(--space-sm) var(--space-md);
}

.node-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-card__meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.node-card__price {
  color: var(--gold);
}

.node-card__sublabel {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  padding: 0 var(--space-md) var(--space-sm);
}

.node-card__label {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text);
  padding: var(--space-sm) var(--space-md) 0;
}

/* Tooltip */
.node-card__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.node-card--object:hover .node-card__tooltip {
  opacity: 1;
}

.node-card__tooltip-tag {
  font-size: 0.6rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.node-card__tooltip-verified {
  font-size: 0.6rem;
  color: #4ade80;
  margin-top: 2px;
}

/* Badges */
.node-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-2xl);
}

.node-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.node-badge__icon {
  font-size: 0.9rem;
}

/* Mobile arrows */
.node-diagram__mobile-arrow {
  display: none;
  text-align: center;
  color: var(--accent);
  font-size: var(--fs-2xl);
  padding: var(--space-sm) 0;
}

/* Node Flow (new class names used by JS) */
.node-flow {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  min-height: 380px;
}

.node-flow__objects {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 0 0 200px;
  z-index: 2;
}

.node-flow__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.node-flow__arrow {
  color: var(--accent);
  font-size: var(--fs-xl);
  flex-shrink: 0;
  z-index: 2;
  opacity: 0.5;
  letter-spacing: 0.2em;
  text-shadow: 0 0 20px rgba(232, 115, 58, 0.5);
}

.node-flow__result {
  flex: 0 0 340px;
  z-index: 2;
}

.node-flow__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.node-flow__svg path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0.3;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: opacity 0.3s var(--ease-out);
}

.node-diagram--animated .node-flow__svg path {
  animation: drawLine 1.5s var(--ease-out) forwards;
}

.node-diagram--animated .node-flow__svg path:nth-child(2) { animation-delay: 0.2s; }
.node-diagram--animated .node-flow__svg path:nth-child(3) { animation-delay: 0.4s; }
.node-diagram--animated .node-flow__svg path:nth-child(4) { animation-delay: 0.6s; }
.node-diagram--animated .node-flow__svg path:nth-child(5) { animation-delay: 0.8s; }

.node-flow:hover .node-flow__svg path { opacity: 0.7; }

/* Highlight on linked hover */
.node-card--highlight {
  transform: scale(1.06);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(232, 115, 58, 0.15);
}

/* Overlay circles on render */
.node-overlay {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
}

.node-overlay__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.3s var(--ease-out);
}

.node-overlay__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: overlayPulse 2s var(--ease-out) infinite;
}

@keyframes overlayPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

.node-overlay__label {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  white-space: nowrap;
  font-size: 0.6rem;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.node-overlay:hover .node-overlay__label,
.node-overlay--active .node-overlay__label {
  opacity: 1;
}

.node-overlay--right .node-overlay__label {
  left: auto;
  right: 0;
  transform: none;
}

.node-overlay--left .node-overlay__label {
  left: 0;
  transform: none;
}

.node-overlay:hover .node-overlay__dot,
.node-overlay--active .node-overlay__dot {
  transform: scale(1.5);
}

.node-overlay--active .node-overlay__pulse {
  border-color: #4ade80;
}

/* Plano 2 grid */
.node-plano2__grid {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  justify-content: center;
}

.node-plano2__card {
  flex: 0 0 45%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.node-plano2__img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.node-plano2__label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(0,0,0,0.7);
  color: var(--text);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.node-plano2__arrow {
  color: var(--accent);
  font-size: var(--fs-2xl);
  flex-shrink: 0;
}

/* Video */
.node-video__player {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {

  :root {
    --fs-6xl: 3.5rem;
    --fs-5xl: 2.75rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 2rem;
  }

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

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

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .page-hero__title {
    font-size: var(--fs-4xl);
  }

  .project-hero__title {
    font-size: var(--fs-4xl);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

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

  .footer__inner {
    flex-wrap: wrap;
  }

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

  .showcase-card--large {
    min-height: 450px;
  }

  .showcase-stack .showcase-card {
    min-height: 250px;
  }

  .showcase-row {
    grid-template-columns: 1fr;
  }

  .showcase-card--wide {
    min-height: 250px;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

  :root {
    --fs-6xl:  2.5rem;
    --fs-5xl:  2rem;
    --fs-4xl:  1.75rem;
    --fs-3xl:  1.5rem;
    --fs-2xl:  1.35rem;
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Nav */
  .nav__inner {
    height: 64px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Mobile menu */
  .mobile-menu__link {
    font-size: var(--fs-3xl);
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero__letterbox {
    height: 4vh;
  }

  .hero__scroll {
    bottom: 2vh;
  }

  /* Showreel */
  .showreel__title {
    font-size: var(--fs-2xl);
  }

  /* Showcase */
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showcase-card--large {
    min-height: 300px;
  }

  .showcase-stack {
    gap: 1rem;
  }

  .showcase-stack .showcase-card {
    min-height: 220px;
  }

  .showcase-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showcase-card--wide {
    min-height: 220px;
  }

  .showcase-card__content {
    padding: var(--space-lg);
  }

  .showcase-card--large .showcase-card__title {
    font-size: var(--fs-2xl);
  }

  /* Manifesto */
  .manifesto__footer {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
  }

  /* Clients */
  .clients-row {
    flex-direction: column;
    gap: var(--space-md);
  }

  .client-dot {
    display: none;
  }

  /* Page hero */
  .page-hero {
    min-height: 35vh;
    padding-bottom: var(--space-xl);
  }

  .page-hero__title {
    font-size: var(--fs-3xl);
  }

  /* Featured card */
  .featured-card {
    min-height: 350px;
  }

  .featured-card__title {
    font-size: var(--fs-2xl);
  }

  .featured-card__content {
    padding: var(--space-xl);
  }

  /* Genre strip */
  .genre-card {
    width: 180px;
  }

  /* Client logos */
  .clients-grid {
    gap: var(--space-xl);
  }

  .clients-grid img {
    height: 28px;
  }

  /* Project grid */
  .project-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Project card */
  .project-card__title {
    font-size: var(--fs-xl);
  }

  /* Filter bar */
  .filter-bar {
    gap: var(--space-lg);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
  }

  /* Project hero / detail */
  .project-hero {
    min-height: 45vh;
    padding-bottom: var(--space-xl);
  }

  .project-hero__title {
    font-size: var(--fs-3xl);
  }

  /* Stills grid */
  .stills-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Lightbox */
  .lightbox__close {
    top: var(--space-md);
    right: var(--space-md);
  }

  .lightbox__prev,
  .lightbox__next {
    display: none;
  }

  /* Project body */
  .project-body {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .project-body__sidebar {
    position: static;
  }

  /* Project navigation */
  .project-nav {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: flex-start;
  }

  .project-nav__link--next {
    text-align: left;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .process-step__number {
    font-size: var(--fs-4xl);
  }

  /* Contact form */
  .form-group {
    margin-bottom: var(--space-lg);
  }

  /* Buttons */
  .btn--primary,
  .btn--ghost,
  .btn--ghost-accent {
    padding: 0.85rem 2rem;
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer__nav {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer__legal {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Section title */
  .section-title {
    font-size: var(--fs-3xl);
  }

  .room-card__phases {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-sm);
    padding-bottom: var(--space-sm);
  }

  .room-card__phase {
    flex: 0 0 65%;
    scroll-snap-align: start;
  }

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

  .room-card__header {
    flex-wrap: wrap;
  }

  .room-card__note {
    margin-left: 0;
    width: 100%;
  }

  .advisor-categories { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .advisor-category { padding: var(--space-lg); }
  .advisor-category__icon { font-size: 2rem; }
  .advisor-tool__pros-cons { grid-template-columns: 1fr; }
  .advisor-subcategories { grid-template-columns: 1fr; }

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

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

  .link-entry {
    grid-template-columns: 1fr;
  }

  .link-entry__remove {
    justify-self: end;
  }

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

  .node-diagram__flow {
    flex-direction: column;
    min-height: auto;
    gap: 0;
  }

  .node-diagram__objects {
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .node-diagram__objects .node-card {
    flex: 0 0 calc(50% - var(--space-sm));
  }

  .node-diagram__center {
    width: 100%;
  }

  .node-diagram__result {
    flex: none;
    width: 100%;
  }

  .node-diagram__svg {
    display: none;
  }

  .node-diagram__mobile-arrow {
    display: block;
  }

  .node-diagram__arrow {
    display: none;
  }

  .node-card--room,
  .node-card--result {
    width: 100%;
  }

  .node-card__tooltip {
    display: none;
  }

  .node-badges {
    gap: var(--space-xs);
  }

  .node-flow {
    flex-direction: column;
    min-height: auto;
    gap: 0;
  }

  .node-flow__objects {
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: var(--space-sm);
  }

  .node-flow__objects .node-card {
    flex: 0 0 calc(50% - var(--space-sm));
  }

  .node-flow__center { width: 100%; }
  .node-flow__result { flex: none; width: 100%; }
  .node-flow__svg { display: none; }
  .node-flow__arrow { display: none; }

  .node-plano2__grid {
    flex-direction: column;
  }

  .node-plano2__card {
    flex: none;
    width: 100%;
  }

  .node-plano2__arrow {
    transform: rotate(90deg);
  }

  .node-overlay__label {
    font-size: 0.5rem;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   28. NAV DROPDOWN — Servicios submenu
   ============================================================ */

.nav__dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Invisible bridge to fill the 18px gap between trigger and dropdown,
   so hover state stays active when moving cursor from link to menu */
.nav__dropdown-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 22px;
}

.nav__dropdown-arrow {
  display: inline-block;
  font-size: 0.55em;
  margin-left: 0.3em;
  vertical-align: middle;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__dropdown-wrap:hover .nav__dropdown-arrow,
.nav__dropdown-wrap:focus-within .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(6, 6, 6, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #1a1a1a;
  border-top: 2px solid #e8733a;
  min-width: 270px;
  padding: 0.5rem 0 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1001;
}

.nav__dropdown-wrap:hover .nav__dropdown,
.nav__dropdown-wrap:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 0.55rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #666666;
  transition: color 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              padding-left 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.nav__dropdown-link:hover {
  color: #f5f0eb;
  background-color: rgba(232, 115, 58, 0.07);
  padding-left: 1.75rem;
}

.nav__dropdown-link--primary {
  color: #e8733a;
}

.nav__dropdown-link--primary:hover {
  color: #f5f0eb;
}

/* Active service — highlighted in dropdown */
.nav__dropdown-link--active {
  color: #e8733a !important;
  font-weight: 700;
  border-left: 2px solid #e8733a;
  padding-left: calc(1.5rem - 2px);
}

.nav__dropdown-link--active:hover {
  color: #f5f0eb !important;
  background-color: rgba(232, 115, 58, 0.1);
}

.nav__dropdown-divider {
  height: 1px;
  background: #1a1a1a;
  margin: 0.5rem 1.5rem;
}

.nav__dropdown-label {
  display: block;
  padding: 0.6rem 1.5rem 0.2rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #444444;
}


/* ============================================================
   29. SERVICE PAGE — Hero, Intro, Process, Deliverables, Metrics
   ============================================================ */

/* ---- Service Hero ---- */
.service-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--space-4xl);
  padding-top: 80px;
}

.service-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.45) brightness(0.45);
  animation: kenBurns 28s ease-in-out infinite alternate;
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, #000 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.2) 100%),
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 65%);
}

.service-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.service-hero__label {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.service-hero__label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.service-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.04;
  letter-spacing: 0.025em;
  margin-bottom: var(--space-xl);
  max-width: 820px;
}

.service-hero__title em {
  font-style: normal;
  color: var(--accent);
}

.service-hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: rgba(245, 240, 235, 0.72);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: var(--space-2xl);
}

.service-hero__ctas {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.service-hero__stats {
  display: flex;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-xl);
}

.service-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.service-hero__stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.service-hero__stat-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}


/* ---- Section Label with line ---- */
.section-label-line {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.section-label-line__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
}


/* ---- Service Intro (problem / solution two-col) ---- */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.service-intro__label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  display: block;
}

.service-intro__title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.18;
  margin-bottom: var(--space-xl);
}

.service-intro__body {
  font-size: var(--fs-md);
  color: rgba(245, 240, 235, 0.68);
  line-height: 1.9;
}

.service-intro__body p + p {
  margin-top: var(--space-lg);
}

.service-problems {
  list-style: none;
  padding: 0;
  margin-top: var(--space-xl);
}

.service-problems li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-base);
  color: rgba(245, 240, 235, 0.55);
  line-height: 1.5;
}

.service-problems li::before {
  content: '\00D7';
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}


/* ---- Service Process (horizontal timeline) ---- */
.service-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.service-process__grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(to right, var(--accent), rgba(232,115,58,0.12));
  z-index: 0;
  pointer-events: none;
}

.service-process__step {
  position: relative;
  z-index: 1;
}

.service-process__num {
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  background: var(--bg);
  margin-bottom: var(--space-xl);
  transition: background-color 0.3s var(--ease-out);
}

.service-process__step:hover .service-process__num {
  background-color: rgba(232,115,58,0.1);
}

.service-process__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.service-process__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.75;
}


/* ---- Service Deliverables ---- */
.service-deliverables__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.service-deliverable {
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  border-top: 2px solid var(--accent);
  background: transparent;
  transition: opacity 0.3s var(--ease-out);
}

.service-deliverable:hover {
  opacity: 0.75;
  background-color: transparent;
  transform: none;
}

.service-deliverable__icon {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  display: block;
  text-align: center;
}

.service-deliverable__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-deliverable__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.75;
}


/* ---- Service Metrics Band ---- */
.service-metrics {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3xl) 0;
}

.service-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.service-metric {
  padding: var(--space-xl) var(--space-md);
  border-right: 1px solid var(--border);
}

.service-metric:last-child {
  border-right: none;
}

.service-metric__value {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.service-metric__label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 140px;
  margin: 0 auto;
}


/* ============================================================
   30. PROJECT CAROUSEL
   ============================================================ */

.carousel {
  position: relative;
}

.carousel__track-wrapper {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-xl);
}

.carousel__dots {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a1a;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
}

.carousel__dot--active {
  background: #e8733a;
  transform: scale(1.5);
}

.carousel__btns {
  display: flex;
  gap: var(--space-md);
}

.carousel__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out),
              background-color 0.3s var(--ease-out);
  font-size: var(--fs-lg);
  line-height: 1;
}

.carousel__btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(232, 115, 58, 0.06);
}

.carousel__btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.carousel-card {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-md);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color 0.4s var(--ease-out);
}

.carousel-card:hover {
  border-color: var(--accent);
}

.carousel-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.78);
  transition: transform 0.6s var(--ease-out),
              filter 0.5s var(--ease-out);
}

.carousel-card:hover .carousel-card__img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.carousel-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.2) 55%,
    transparent 100%
  );
  z-index: 1;
}

.carousel-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-lg) var(--space-xl);
  width: 100%;
}

.carousel-card__genre {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid rgba(232, 115, 58, 0.3);
  padding: 0.18rem 0.55rem;
  margin-bottom: var(--space-sm);
}

.carousel-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.carousel-card__arrow {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-xl);
  z-index: 2;
  color: var(--accent);
  font-size: var(--fs-xl);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease-out),
              transform 0.3s var(--ease-out);
}

.carousel-card:hover .carousel-card__arrow {
  opacity: 1;
  transform: translateX(0);
}


/* ============================================================
   RESPONSIVE — SERVICE PAGE + CAROUSEL
   ============================================================ */

@media (max-width: 1024px) {
  .service-intro {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .service-process__grid::before {
    display: none;
  }

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

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

  .service-metric {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .service-metric:nth-child(2),
  .service-metric:last-child {
    border-bottom: none;
  }

  .carousel__slide {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .service-hero {
    min-height: 60vh;
    padding-bottom: var(--space-3xl);
  }

  .service-hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .service-hero__stats {
    gap: var(--space-xl);
  }

  .service-hero__stat-value {
    font-size: var(--fs-2xl);
  }

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

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

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

  .service-metric__value {
    font-size: var(--fs-4xl);
  }

  .carousel__slide {
    flex: 0 0 100%;
  }

  .carousel__controls {
    flex-direction: column-reverse;
    gap: var(--space-md);
    align-items: center;
  }
}

/* Dropdown open state for touch/click (:hover fallback handled by JS class) */
.nav__dropdown-wrap--open .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-wrap--open .nav__dropdown-arrow {
  transform: rotate(180deg);
}

/* Hide scroll indicator on very short viewports (landscape mobile) to avoid CTA overlap */
@media (max-height: 680px) {
  .hero__scroll {
    display: none;
  }
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111111;
  border-top: 1px solid #2a2a2a;
  padding: 1rem 1.5rem;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 1;
}

#cookie-banner.cb--hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cb__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cb__text {
  flex: 1;
  font-size: 0.875rem;
  color: #aaa;
  line-height: 1.5;
}

.cb__text strong {
  color: #f5f0eb;
}

.cb__link {
  color: #c4a882;
  text-decoration: underline;
}

.cb__link:hover {
  color: #e8733a;
}

.cb__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cb__btn {
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.cb__btn--primary {
  background: #e8733a;
  color: #fff;
  border: 1px solid #e8733a;
}

.cb__btn--primary:hover {
  background: #d4682f;
  border-color: #d4682f;
}

.cb__btn--ghost {
  background: transparent;
  color: #aaa;
  border: 1px solid #333;
}

.cb__btn--ghost:hover {
  color: #f5f0eb;
  border-color: #666;
}

@media (max-width: 600px) {
  .cb__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cb__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max-width: 375px)
   ============================================================ */

@media (max-width: 375px) {
  :root {
    --fs-5xl: 2rem;
    --fs-4xl: 1.8rem;
    --fs-3xl: 1.5rem;
  }

  .hero__title {
    font-size: var(--fs-4xl);
  }

  .service-hero__title {
    font-size: var(--fs-3xl);
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .btn--lg {
    padding: 1rem 2rem;
    font-size: var(--fs-xs);
  }

  .showcase-card--large {
    min-height: 280px;
  }
}
