:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --text: #f0ede6;
  --text-muted: #888880;
  --text-dim: #444440;
  --border: rgba(240,237,230,0.08);
  --border-hover: rgba(240,237,230,0.2);
  --accent: #f0ede6;
  --ticker-speed: 25s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

/* PAGES */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  z-index: 110;
  position: relative;
}

.nav-logo span {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--text-muted);
  vertical-align: middle;
  margin-left: 8px;
}

.nav-center {
  display: flex;
  gap: 32px;
}

.nav-center a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-center a:hover { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.nav-right strong {
  color: var(--text-muted);
  font-weight: 400;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--text);
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
  position: relative;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE MENU */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 105;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 40px 48px;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.05;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  display: block;
}

.nav-mobile-link:hover { color: var(--text-muted); }

.nav-mobile-sub {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  width: 100%;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  line-height: 2;
}

.nav-mobile-sub strong {
  color: var(--text-muted);
  font-weight: 400;
  display: block;
}

/* TICKER */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  background: var(--bg);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker var(--ticker-speed) linear infinite;
}

.ticker-item {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  color: var(--text);
  padding-right: 64px;
  line-height: 1;
  font-weight: 700;
}

.ticker-item span {
  color: var(--text-dim);
  font-size: 0.5em;
  vertical-align: middle;
  margin: 0 16px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HERO */
.hero {
  padding: 61px 0 0;
}

.hero-top {
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-left {
  padding: 80px 48px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.btn {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: none;
  padding: 12px 28px;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
}

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

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

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

.hero-right {
  position: relative;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-left: 1px solid var(--border);
  overflow: hidden;
}

.hero-right video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-embed-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: #1a0a3a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(180,150,255,0.6);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 20px;
}

/* CATEGORY TICKER */
.category-ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  position: relative;
}

.category-ticker-track {
  display: inline-flex;
  gap: 96px;
  animation: ticker-right 20s linear infinite;
}

.category-ticker-item {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

@keyframes ticker-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* HERO BIG TITLE */
.hero-big-title {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 0;
  white-space: nowrap;
}

.hero-big-title-track {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.hero-big-title-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(72px, 13vw, 200px);
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  display: inline-block;
  font-weight: 700;
  padding: 8px 0 16px;
  flex-shrink: 0;
}

.hero-big-title-dupe {
  display: none;
}

@keyframes title-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* META BAR */
.meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* HERO ABOUT ROW */
.hero-about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  min-height: 480px;
}

.hero-about-left {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border-right: 1px solid var(--border);
}

.hero-about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-about-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: none;
}

.hero-about-video {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.hero-about-right {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-about-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.15;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  max-width: 600px;
}

/* SECONDARY TICKER (after about) */
.secondary-ticker {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}

/* SECTION TRABAJILLOS */
.section-trabajillos {
  padding: 0;
}

.section-header {
  padding: 48px 48px 32px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border);
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
}

.section-count {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* WORK GRID */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.work-card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg2);
}

.work-card:nth-child(3n) { border-right: none; }

.work-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: grayscale(30%);
}

.work-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.work-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card:hover .work-thumb { transform: scale(1.04); filter: grayscale(0%); }
.work-card:hover .work-thumb-placeholder { background: var(--bg2); }

.work-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  transform: translateY(4px);
  transition: transform 0.3s ease;
}

.work-card:hover .work-overlay { transform: translateY(0); }

.work-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.work-cat {
  font-size: 10px;
  color: rgba(240,237,230,0.5);
  letter-spacing: 0.06em;
  text-transform: none;
}

.work-year {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 10px;
  color: rgba(240,237,230,0.4);
  letter-spacing: 0.06em;
}

/* SERVICES */
.section-services {
  border-top: 1px solid var(--border);
  padding: 64px 48px;
}

.services-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
}

.services-count {
  font-size: 14px;
  color: var(--text-dim);
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.service-num {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.service-name {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
}

.service-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ABOUT */
.section-about {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-left {
  padding: 64px 48px;
  border-right: 1px solid var(--border);
}

.about-right {
  padding: 64px 48px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* CURRICULUM */
.section-curriculum {
  border-top: 1px solid var(--border);
  padding: 64px 48px;
}

.curriculum-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 48px;
}

.cv-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 80px;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cv-company { font-size: 14px; color: var(--text); font-weight: 400; }
.cv-date { font-size: 13px; color: var(--text-muted); }
.cv-role { font-size: 13px; color: var(--text-muted); }
.cv-city { font-size: 11px; color: var(--text-dim); letter-spacing: 0.06em; text-align: right; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy { font-size: 11px; color: var(--text-dim); letter-spacing: 0.04em; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  cursor: pointer;
}

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

/* PROJECT PAGE */
.project-page {
  padding-top: 80px;
}

.project-ticker-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 0;
  background: var(--bg);
  white-space: nowrap;
}

.project-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.project-ticker-item {
  font-family: 'Inter', sans-serif;
  font-size: clamp(72px, 13vw, 200px);
  letter-spacing: -0.04em;
  color: var(--text);
  padding-right: 60px;
  line-height: 1;
  font-weight: 700;
  padding-top: 8px;
  padding-bottom: 16px;
}

.project-ticker-item span {
  color: var(--text);
  margin: 0 24px;
  font-weight: 700;
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.project-left {
  padding: 48px 48px 48px;
  border-right: 1px solid var(--border);
}

.project-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.project-right {
  padding: 48px 48px;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.project-meta-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: none;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.project-meta-value {
  font-size: 14px;
  color: var(--text);
}

/* VIDEO GRID */
.project-videos {
  padding: 48px;
  border-bottom: 1px solid var(--border);
}

.videos-label {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}

.videos-description,
.supervision-description,
.idolos-section-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 640px;
}

/* MEDIA SPLIT — videos left + images right (matched row heights) */
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.media-split > .row-top-left { grid-column: 1; grid-row: 1; }
.media-split > .row-top-right { grid-column: 2; grid-row: 1; }
.media-split > .row-bot-left { grid-column: 1; grid-row: 2; }
.media-split > .row-bot-right { grid-column: 2; grid-row: 2; }

/* Vertical block — 3 columns for shorts/reels */
.videos-block-vertical {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.media-split .videos-block-vertical {
  align-self: center;
}

.video-wrapper-vertical {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16 ratio */
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

/* Horizontal block — full width 16:9 */
.videos-block-horizontal { width: 100%; }

.video-wrapper-horizontal {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

/* IMAGES GRID — 4:5 row (2 images) + 9:16 row (3 images) */
.images-row-45 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.images-row-916 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.img-wrapper-45 {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 ratio */
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.img-wrapper-916 {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16 ratio */
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.img-wrapper-45 img,
.img-wrapper-916 img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: none;
  background: var(--bg2);
}

/* Default 2-column grid (legacy) */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

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

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

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




/* MAYRA CAROUSEL */
.mayra-carousel-wrap {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.mayra-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mayra-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.mayra-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mayra-slide .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  background: var(--bg2);
}

.mayra-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  color: var(--text);
  font-size: 16px;
}

.mayra-arrow:hover { background: var(--text); color: var(--bg); }
.mayra-arrow.prev { left: 12px; }
.mayra-arrow.next { right: 12px; }

.mayra-credit {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 9px;
  color: rgba(240,237,230,0.4);
  letter-spacing: 0.06em;
  pointer-events: none;
  z-index: 5;
}

.mayra-counter {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 9px;
  color: rgba(240,237,230,0.3);
  letter-spacing: 0.06em;
  z-index: 5;
}

/* IDOLOS CUSTOM LAYOUT */
.idolos-section {
  padding: 48px;
  border-bottom: 1px solid var(--border);
}

.idolos-section-label {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}

/* BSO — 2 videos 16:9 side by side */
.bso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.video-16-9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

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

/* CONTENT DAY row 1 — gallery + video */
.content-day-row1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

/* PHOTO GALLERY */
.photo-gallery {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  aspect-ratio: 16/9;
}

.gallery-thumb {
  overflow: hidden;
  background: var(--bg3);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover img { transform: scale(1.05); }

.gallery-credit {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 9px;
  color: rgba(240,237,230,0.4);
  letter-spacing: 0.06em;
  pointer-events: none;
}

/* CONTENT DAY row 2 — 6 shorts 9:16 */
.shorts-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.video-9-16 {
  position: relative;
  width: 100%;
  padding-top: 177.77%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  .idolos-section { padding: 32px 24px; }
  .bso-grid { grid-template-columns: 1fr; }
  .content-day-row1 { grid-template-columns: 1fr; }
  .shorts-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

/* SUPERVISION SECTION */
.project-supervision {
  padding: 48px;
  border-bottom: 1px solid var(--border);
}

.supervision-label {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}

.supervision-split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* CAROUSEL */
.poster-carousel {
  position: relative;
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  padding-top: 125%; /* 4:5 ratio */
}

.carousel-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  background: var(--bg2);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(10,10,10,0.75);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  color: var(--text);
  font-size: 18px;
  font-family: 'Inter', sans-serif;
}

.carousel-arrow:hover {
  background: var(--text);
  color: var(--bg);
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240,237,230,0.3);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  padding: 0;
}

.carousel-dot.active { background: var(--text); }

/* TRAILERS BLOCK */
.trailers-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trailer-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16 */
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.trailer-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .project-supervision { padding: 32px 24px; }
  .supervision-split { grid-template-columns: 1fr; }
  .trailers-block { grid-template-columns: 1fr 1fr; }
}



/* AUDIO PLAYER */
.audio-section {
  margin-top: 24px;
}

.audio-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.audio-tracks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audio-track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg2);
  transition: border-color 0.2s;
}

.audio-track:hover { border-color: var(--border-hover); }

.audio-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  font-size: 12px;
}

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

.audio-info {
  flex: 1;
  min-width: 0;
}

.audio-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-progress-wrap {
  flex: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-progress {
  flex: 1;
  height: 2px;
  background: var(--bg3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  background: var(--text);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.audio-time {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}

/* KIOSKS GRID */
.kiosks-section {
  margin-top: 32px;
}

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

.kiosk-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 ratio for kiosk shots */
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.kiosk-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .kiosks-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* PROJECT NAV */
.project-nav {
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-nav-btn {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

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

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  padding: 0;
}

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

/* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-center { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .hero-left { padding: 48px 24px; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-right { border-left: none; border-bottom: 1px solid var(--border); min-height: 280px; }
  .hero-big-title-track { justify-content: flex-start; animation: title-scroll-left 12s linear infinite; }
  .hero-big-title-dupe { display: inline-block; }
  .hero-about-row { grid-template-columns: 1fr; }
  .hero-about-left { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-about-right { padding: 48px 24px; }
  .meta-bar { padding: 14px 24px; flex-wrap: wrap; gap: 8px; font-size: 9px; }
  .category-ticker-track { padding-left: 24px; gap: 48px; font-size: 12px; }
  .secondary-ticker { padding: 10px 0; }
  .ticker-item { font-size: clamp(28px, 10vw, 48px); padding-right: 32px; }
  .section-header { padding: 32px 24px 20px; }
  .section-title { font-size: clamp(28px, 10vw, 48px); }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 16/9; border-right: none; }
  .work-overlay { transform: translateY(0); }
  .section-services { padding: 32px 24px; }
  .service-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .service-num { display: none; }
  .service-name { font-size: 18px; }
  .service-desc { font-size: 13px; }
  .section-about { grid-template-columns: 1fr; }
  .about-left { padding: 48px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .about-right { padding: 48px 24px; }
  .section-curriculum { padding: 48px 24px; }
  .cv-item { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cv-city { display: none; }
  footer { padding: 20px 24px; flex-direction: column; gap: 16px; }
  .project-content { grid-template-columns: 1fr; }
  .project-left { padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .project-right { padding: 32px 24px; }
  .project-videos { padding: 32px 24px; }
  .videos-grid { grid-template-columns: 1fr; }
  .videos-grid-two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-split { grid-template-columns: 1fr; grid-template-rows: auto; }
  .media-split > .row-top-left,
  .media-split > .row-top-right,
  .media-split > .row-bot-left,
  .media-split > .row-bot-right {
    grid-column: 1;
    grid-row: auto;
  }
  .videos-block-vertical { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .images-row-45 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .images-row-916 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .trailers-block { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .project-nav { padding: 20px 24px; }
  .project-ticker-item { font-size: clamp(28px, 10vw, 48px); }
}

@media (max-width: 560px) {
  .videos-grid-two-column { grid-template-columns: 1fr; }
}

/* MADRID BLOOMS LAYOUT */
.madrid-blooms-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.blooms-carousel-wrap {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blooms-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blooms-slide {
  flex: 0 0 100%;
  height: 100%;
}

.blooms-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blooms-slide .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  background: var(--bg2);
}

.blooms-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  color: var(--text);
  font-size: 16px;
}

.blooms-arrow:hover { background: var(--text); color: var(--bg); }
.blooms-arrow.prev { left: 12px; }
.blooms-arrow.next { right: 12px; }

.blooms-counter {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 9px;
  color: rgba(240,237,230,0.3);
  letter-spacing: 0.06em;
  z-index: 5;
}

.blooms-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.blooms-video-wrap video,
.blooms-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

@media (max-width: 768px) {
  .madrid-blooms-split { grid-template-columns: 1fr; }
}


/* GOIKO LAYOUT */
.goiko-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.goiko-video-45 {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 = 1080x1350 */
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.goiko-video-45 video,
.goiko-video-45 iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.goiko-gallery-45 {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.goiko-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.goiko-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
}

.goiko-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.goiko-gallery-slide .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-dim);
  background: var(--bg2);
}

.goiko-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  color: var(--text);
  font-size: 16px;
}

.goiko-arrow:hover { background: var(--text); color: var(--bg); }
.goiko-arrow.prev { left: 12px; }
.goiko-arrow.next { right: 12px; }

.goiko-counter {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 9px;
  color: rgba(240,237,230,0.3);
  letter-spacing: 0.06em;
  z-index: 5;
}

/* 4 carruseles en fila */
.goiko-carruseles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.goiko-car-wrap {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  /* 1217x2244 ≈ 9:16.6 — use padding-top for ratio */
  padding-top: 184.4%;
}

.goiko-car-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.goiko-car-slide {
  flex: 0 0 100%;
  height: 100%;
}

.goiko-car-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.goiko-car-slide .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-dim);
  background: var(--bg2);
}

.goiko-car-arrow {
  position: absolute;
  bottom: 10px;
  width: 28px;
  height: 28px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  color: var(--text);
  font-size: 12px;
}

.goiko-car-arrow:hover { background: var(--text); color: var(--bg); }
.goiko-car-arrow.prev { left: 8px; }
.goiko-car-arrow.next { right: 8px; }

/* Banners — 4 filas, cada una 2244x295 ≈ ratio 7.6:1 */
.goiko-banners {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goiko-banner {
  position: relative;
  width: 100%;
  padding-top: 13.15%; /* 295/2244 */
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.goiko-banner img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.goiko-banner .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-dim);
  background: var(--bg2);
}

@media (max-width: 768px) {
  .goiko-top { grid-template-columns: 1fr; }
  .goiko-carruseles { grid-template-columns: 1fr; gap: 12px; }
  .goiko-banners-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}



/* LOGOS 3-ROW MARQUEE */
.logos-grid-pattern {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logos-row {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}

.logos-row-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: logos-scroll 40s linear infinite;
}

.logos-cell {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-cell.has-logo img {
  max-width: 85%;
  max-height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.75);
  transition: opacity 0.2s;
}

.logos-cell.has-logo img:hover { opacity: 1; }

@keyframes logos-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* VIDEO LIGHTBOX */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.video-lightbox.open {
  display: flex;
}

.video-lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  cursor: default;
}

.video-lightbox-content iframe,
.video-lightbox-content video {
  max-width: 90vw;
  max-height: 90vh;
  border: none;
}

.video-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 28px;
  color: rgba(240,237,230,0.5);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
  z-index: 1001;
}

.video-lightbox-close:hover { color: var(--text); }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 2px;
  cursor: default;
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 28px;
  color: rgba(240,237,230,0.5);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
  z-index: 1001;
}

.lightbox-close:hover { color: var(--text); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(240,237,230,0.08);
  border: 1px solid rgba(240,237,230,0.15);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 20px;
  transition: all 0.2s;
  z-index: 1001;
}

.lightbox-nav:hover { background: rgba(240,237,230,0.18); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(240,237,230,0.3);
  letter-spacing: 0.1em;
}


/* WARNER LAYOUT */
.warner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.warner-triple-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.warner-triple-row .warner-section {
  border-right: 1px solid var(--border);
}

.warner-triple-row .warner-section:last-child {
  border-right: none;
}

.warner-triple-row .warner-section-title {
  font-size: clamp(22px, 2.5vw, 32px);
}

.warner-triple-row .warner-section-desc {
  min-height: 3.2em;
}

.warner-triple-row .warner-section-meta {
  grid-template-columns: 1fr 1fr;
}

.warner-section {
  padding: 48px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.warner-rows-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.warner-rows-container .warner-row {
  margin-bottom: 0;
}

.warner-section:nth-child(2n) { border-right: none; }

/* Full row section */
.warner-section.full-row {
  grid-column: 1 / -1;
  border-right: none;
}

/* Triple row — 3 sections in one row */
.warner-section.triple-col {
  border-right: 1px solid var(--border);
}
.warner-section.triple-col:last-child {
  border-right: none;
}

.warner-section-header-block {
  margin-bottom: 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.warner-section-info {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  flex: 1;
}

.warner-section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}

.warner-section-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 4.8em;
}

.warner-section-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px 20px;
  margin-top: auto;
}

.warner-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.warner-meta-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.warner-meta-value {
  font-size: 14px;
  color: var(--text);
}

.warner-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.warner-row:last-child { margin-bottom: 0; }

.warner-row.cols-1 { grid-template-columns: 1fr; }
.warner-row.cols-2 { grid-template-columns: 1fr 1fr; }
.warner-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.warner-row.cols-4 { grid-template-columns: repeat(4, 1fr); }

.warner-block {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.warner-block.aspect-9-16 { aspect-ratio: 9/16; }
.warner-block.aspect-16-9 { aspect-ratio: 16/9; }
.warner-block.aspect-4-5 { aspect-ratio: 4/5; }
.warner-block.aspect-1-1 { aspect-ratio: 1/1; }

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

.warner-block-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 12px;
  flex-direction: column;
}

.warner-gallery-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.warner-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
}

.warner-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.warner-gallery-slide .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-dim);
}

.warner-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  color: var(--text);
  font-size: 16px;
}

.warner-gallery-arrow:hover { background: var(--text); color: var(--bg); }
.warner-gallery-arrow.prev { left: 12px; }
.warner-gallery-arrow.next { right: 12px; }

.warner-gallery-counter {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 9px;
  color: rgba(240,237,230,0.3);
  letter-spacing: 0.06em;
  z-index: 5;
}

@media (max-width: 1024px) {
  .warner-grid { grid-template-columns: 1fr; }
  .warner-triple-row { grid-template-columns: 1fr; }
  .warner-triple-row .warner-section-title { font-size: clamp(28px, 3vw, 44px); }
  .warner-triple-row .warner-section-meta { grid-template-columns: 1fr 1fr 1fr; }
  .warner-section { border-right: none; }
  .warner-section.full-row { grid-column: 1; }
  .warner-triple-row .warner-section { border-right: none; }
}

@media (max-width: 768px) {
  .warner-section { padding: 24px 20px; }
  .warner-section-header-block { min-height: auto; margin-bottom: 24px; }
  .warner-section-title { font-size: clamp(24px, 6vw, 36px); }
  .warner-row.cols-2 { grid-template-columns: 1fr; gap: 12px; }
  .warner-row.cols-3,
  .warner-row.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .warner-rows-container { gap: 12px; }
  .ergo-multi-gallery { grid-template-columns: 1fr; gap: 12px; }
}


/* ERGO LAYOUT */
.ergo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ergo-section {
  padding: 48px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.ergo-section:nth-child(2n) { border-right: none; }

.ergo-section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}

.ergo-section-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 2.6em;
}

.ergo-gallery-wrap {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.ergo-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ergo-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
}

.ergo-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ergo-gallery-slide .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-dim);
}

.ergo-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  color: var(--text);
  font-size: 16px;
}

.ergo-gallery-arrow:hover { background: var(--text); color: var(--bg); }
.ergo-gallery-arrow.prev { left: 12px; }
.ergo-gallery-arrow.next { right: 12px; }

.ergo-gallery-counter {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 9px;
  color: rgba(240,237,230,0.3);
  letter-spacing: 0.06em;
  z-index: 5;
}

.ergo-multi-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ergo-multi-gallery .ergo-gallery-wrap {
  aspect-ratio: 1/1;
}

@media (max-width: 1024px) {
  .ergo-grid { grid-template-columns: 1fr; }
  .ergo-section { border-right: none; }
}

@media (max-width: 768px) {
  .ergo-section { padding: 32px 20px; }
  .ergo-section-title { font-size: clamp(24px, 6vw, 36px); }
}


/* FIEBRE LAYOUT */
.fiebre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.fiebre-section {
  padding: 48px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.fiebre-section:last-child { border-right: none; }

.fiebre-section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}

.fiebre-section-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 2.6em;
}

.fiebre-gallery-wrap {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.fiebre-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fiebre-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
}

.fiebre-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fiebre-gallery-slide .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-dim);
}

.fiebre-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  color: var(--text);
  font-size: 16px;
}

.fiebre-gallery-arrow:hover { background: var(--text); color: var(--bg); }
.fiebre-gallery-arrow.prev { left: 12px; }
.fiebre-gallery-arrow.next { right: 12px; }

.fiebre-gallery-counter {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 9px;
  color: rgba(240,237,230,0.3);
  letter-spacing: 0.06em;
  z-index: 5;
}

@media (max-width: 1024px) {
  .fiebre-grid { grid-template-columns: 1fr; }
  .fiebre-section { border-right: none; }
  .fiebre-dual-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .fiebre-section { padding: 32px 20px; }
  .fiebre-section-title { font-size: clamp(24px, 6vw, 36px); }
}

.fiebre-section.full-row {
  grid-column: 1 / -1;
  border-right: none;
}

.fiebre-dual-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fiebre-dual-right-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fiebre-dual-gallery .fiebre-gallery-wrap.aspect-4-5 { aspect-ratio: 4/5; }
.fiebre-dual-gallery .fiebre-gallery-wrap.aspect-16-9 { aspect-ratio: 16/9; }
