/*
Theme Name: PRODUCED by Bestep
Description: Tema personalizado para la agencia creativa PRODUCED by Bestep
Version: 1.0
Author: Bestep
*/

@import url('https://fonts.cdnfonts.com/css/bdo-grotesk');

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.18);
  --accent-red: #c8252e;
  --content-w: 1320px;
  --gutter: 40px;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'BDO Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- Site Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 36px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.back-arrow {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--fg);
  transition: transform .2s ease, opacity .2s ease;
}
.back-arrow:hover { transform: translateX(-4px); opacity: .8; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--fg);
}
.brand .mark {
  width: 22px;
  height: 32px;
  flex: 0 0 22px;
}

/* ---------- Page Nav ---------- */
.page-nav {
  position: absolute;
  top: 80px;
  right: 36px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--fg);
  text-transform: uppercase;
}
.page-nav a { opacity: .9; transition: opacity .2s ease; padding: 4px 0; }
.page-nav a:hover { opacity: 1; }
.page-nav a.active { border-bottom: 1px solid var(--fg); }
.page-nav .sep { opacity: .5; }

/* ---------- Produced wordmark ---------- */
.produced-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--fg);
  font-family: 'BDO Grotesk', sans-serif;
}
.produced-mark .word {
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: 0.02em;
}
.produced-mark .by {
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: 0.45em;
  margin-top: 6px;
  padding-left: 0.45em;
  font-family: 'BDO Grotesk', sans-serif;
  font-weight: 500;
}
.produced-mark.sm .word { font-size: clamp(40px, 5vw, 64px); }
.produced-mark.sm .by   { font-size: 14px; letter-spacing: 0.4em; margin-top: 4px; }
.produced-mark.xs .word { font-size: 22px; letter-spacing: 0.04em; }
.produced-mark.xs .by   { font-size: 9px; letter-spacing: 0.3em; margin-top: 2px; }

/* ---------- Sections ---------- */
section { position: relative; }

.wrap {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Media placeholder ---------- */
.media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(60,60,70,.55), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(40,40,50,.4), transparent 60%),
    linear-gradient(135deg, #1a1a1d 0%, #0c0c0e 60%, #050505 100%);
  isolation: isolate;
}
.media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.media .label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 22px;
  color: rgba(255,255,255,0.85);
  z-index: 2;
}

/* Media variants */
.media.v-action {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(110,80,60,.55), transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(60,80,90,.45), transparent 60%),
    linear-gradient(135deg, #2a1f1a 0%, #11100f 70%, #050505 100%);
}
.media.v-court {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(170,120,70,.45), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(50,50,70,.5), transparent 60%),
    linear-gradient(135deg, #1c130c 0%, #0b0b0e 70%, #030305 100%);
}
.media.v-stadium {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(70,90,110,.5), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(40,50,70,.6), transparent 60%),
    linear-gradient(135deg, #1b2027 0%, #0a0d12 70%, #02030a 100%);
}
.media.v-red {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(180,40,40,.45), transparent 60%),
    linear-gradient(135deg, #2b1010 0%, #150505 70%, #050202 100%);
}
.media.v-orange {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(200,110,40,.55), transparent 60%),
    linear-gradient(135deg, #2a160a 0%, #170b04 70%, #060301 100%);
}
.media.v-dark {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(30,30,40,.65), transparent 70%),
    linear-gradient(135deg, #0d0d12 0%, #060609 70%, #020203 100%);
}
.media.v-warm {
  background:
    radial-gradient(ellipse at 60% 40%, rgba(120,80,50,.55), transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(90,50,30,.45), transparent 60%),
    linear-gradient(135deg, #20140d 0%, #100905 70%, #050201 100%);
}
.media.v-haze {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(190,170,130,.45), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(70,90,110,.4), transparent 60%),
    linear-gradient(135deg, #2a241c 0%, #14110d 70%, #050402 100%);
}
.media.v-curtain {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(120,30,30,.55), transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(50,20,15,.55), transparent 60%),
    linear-gradient(180deg, #1a0808 0%, #0d0404 60%, #050202 100%);
}

.media.motion::before {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 28px);
  opacity: .8;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 90px 0 36px;
  background: #000;
  isolation: isolate;
  overflow: hidden;
}
.site-footer .bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 60%, rgba(150,90,60,.45), transparent 55%),
    radial-gradient(ellipse at 60% 50%, rgba(180,120,80,.25), transparent 60%),
    linear-gradient(135deg, #0a0807 0%, #0a0807 100%);
  z-index: -1;
}
.site-footer .bg img {
  opacity: 0.4;
}
.site-footer .bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.contact-link {
  display: block;
  text-align: center;
  font-size: 15px;
  margin-bottom: 26px;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer-logo { display: flex; justify-content: center; margin-bottom: 38px; }

.socials {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 0 var(--gutter);
  margin-bottom: 26px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--fg);
  transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin: 0 var(--gutter) 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 14px;
}
.footer-col h4 {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.footer-col a { color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  max-height: 820px;
  overflow: hidden;
}
.hero .media { position: absolute; inset: 0; }
.hero .label  { font-size: 26px; }

.hero-produced {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

.hero-title {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 9% 0 0;
}
.hero-title h1 {
  font-weight: 700;
  font-size: clamp(48px, 5.5vw, 76px);
  letter-spacing: -0.01em;
}

.hero-project {
  position: absolute; inset: 0; z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
}
.hero-project h1 {
  font-weight: 700;
  font-size: clamp(48px, 5.5vw, 80px);
  letter-spacing: -0.01em;
}
.hero-project .play {
  width: 96px; height: 96px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}
.hero-project .play:hover { transform: scale(1.05); background: rgba(255,255,255,0.16); }
.hero-project .play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }

.hero-brand-top {
  position: absolute;
  top: 80px;
  left: 36px;
  z-index: 5;
}

/* ---------- Agencia Creativa ---------- */
.agencia {
  background: #000;
  padding: 80px 0 50px;
}
.agencia .inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  height: 560px;
  overflow: hidden;
}
.agencia .media-bg { position: absolute; inset: 0; }
.agencia .content {
  position: relative; z-index: 3;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 60px;
}
.agencia h2 {
  font-weight: 700;
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.01em;
}
.proj-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -0.01em;
  text-align: right;
}
.proj-list .row {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
  transition: opacity .2s ease;
}
.proj-list .row:hover { opacity: .75; }
.proj-list .year {
  font-size: 14px;
  font-weight: 400;
  opacity: .9;
}
.agencia .corner {
  position: absolute;
  right: 18px; bottom: 14px;
  width: 14px; height: 14px;
  border: 1.5px solid rgba(255,255,255,0.7);
  z-index: 4;
}
.agencia .corner::before, .agencia .corner::after {
  content: ""; position: absolute; background: rgba(255,255,255,0.7);
}
.agencia .corner::before { left: 6px; top: -3px; width: 1.5px; height: 8px; }
.agencia .corner::after  { left: -3px; top: 6px; width: 8px; height: 1.5px; }

/* ---------- Servicios ---------- */
.servicios {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
}
.servicios .media-bg { position: absolute; inset: 0; }
.servicios .content {
  position: relative; z-index: 3;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 9%;
}
.servicios .left { text-align: center; }
.servicios .left .vlabel {
  font-size: 22px;
  opacity: .85;
  margin-bottom: 90px;
}
.servicios .left h2 {
  font-weight: 700;
  font-size: clamp(36px, 4vw, 60px);
}
.serv-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-weight: 700;
  font-size: clamp(22px, 2.1vw, 32px);
  letter-spacing: -0.005em;
}
.serv-list a { transition: opacity .2s ease; }
.serv-list a:hover { opacity: .7; }

/* ---------- Thumbnails ---------- */
.thumbs {
  padding: 90px 0 60px;
  background: #000;
}
.thumbs .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.thumb {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease;
}
.thumb:hover { transform: translateY(-6px); }
.thumb .label { font-size: 20px; }
.thumbs .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.thumbs .dots i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.thumbs .dots i.on { background: #fff; }

/* ---------- Projects page ---------- */
.proj-big {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}
.proj-big .img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.proj-big .listing {
  position: relative;
  margin-top: -38%;
  z-index: 2;
  padding: 0 6% 50px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.proj-big .listing .row {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity .2s ease;
  position: relative;
}
.proj-big .listing .row:hover { opacity: .75; }
.proj-big .listing .row.active {
  background: var(--accent-red);
  padding: 4px 22px 6px 22px;
}
.proj-big .listing .row.active::before {
  content: "\2190";
  position: absolute;
  left: -54px; top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 32px;
  color: var(--fg);
}
.proj-big .listing .row .year {
  font-size: 14px;
  font-weight: 400;
  opacity: .9;
}
.proj-big .listing .extra {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: opacity .2s ease;
}
.proj-big .listing .extra:hover { opacity: .7; }

/* ---------- Project detail ---------- */
.detail-meta {
  padding: 80px 0 70px;
  background: #000;
}
.detail-meta .grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
}
.detail-meta .field { margin-bottom: 40px; }
.detail-meta .field h3 {
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 32px);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.detail-meta .field p {
  font-size: 16px;
  color: rgba(255,255,255,0.92);
}
.detail-meta .description {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.75;
  color: #fff;
}
.detail-meta .cliente-row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 8px;
}
.detail-meta .cliente-logo {
  height: 70px;
  color: #fff;
}

/* ---------- Media Day ---------- */
.media-day-hero {
  position: relative;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 24px;
}
.media-day-hero .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.media-day-hero .top-text {
  position: absolute;
  top: 14%;
  right: 8%;
  z-index: 3;
  text-align: right;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 300;
}
.media-day-hero .top-text b { font-weight: 700; }
.media-day-hero .title-left {
  position: absolute;
  left: 6%;
  bottom: 32%;
  z-index: 3;
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: -0.01em;
}
.media-day-hero .vlabel {
  position: absolute;
  left: 0; right: 0;
  bottom: 18%;
  text-align: center;
  font-size: 22px;
  z-index: 3;
}

.feature-frame {
  max-width: 880px;
  margin: 80px auto 0;
  padding: 0 24px;
}
.feature-frame .frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.feature-frame .logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  z-index: 3;
  color: #fff;
}

.media-day-grid {
  max-width: 1240px;
  margin: 80px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.media-day-grid .card {
  position: relative;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease;
}
.media-day-grid .card:hover { transform: translateY(-6px); }
.media-day-grid .card .team-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  z-index: 3;
  opacity: .92;
  color: #fff;
}
.media-day-grid .card .label {
  bottom: 8%;
  inset: auto 0 8% 0;
  top: auto;
  font-size: 18px;
}

section.spacer { height: 50px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page-nav { font-size: 10px; gap: 12px; top: 72px; right: 20px; }
  .site-header { padding: 18px 20px; }
  .hero-brand-top { left: 20px; top: 70px; }
  .agencia .content,
  .servicios .content { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .agencia .inner { height: auto; min-height: 460px; }
  .servicios { height: auto; padding: 90px 0; }
  .proj-list { align-items: flex-start; text-align: left; }
  .serv-list { align-items: flex-start; }
  .thumbs .row { grid-template-columns: 1fr 1fr; }
  .media-day-grid { grid-template-columns: 1fr 1fr; }
  .detail-meta .grid { grid-template-columns: 1fr; gap: 30px; }
  .proj-big .listing { padding-right: 0; align-items: flex-start; }
  .proj-big .listing .row.active::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .socials { justify-content: center; }
  .hero-title { padding-right: 20px; justify-content: center; }
}

/* WordPress overrides */
.wp-admin-bar { display: none !important; }
body.admin-bar .site-header { top: 0; }


/* ========== LA VILLA DEL BASKET ========== */

/* Villa Hero */
.villa-badge {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.3em;
  padding: 10px 30px;
  border: 2px solid rgba(255,255,255,0.9);
  text-transform: uppercase;
}
.villa-title {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  margin-top: 20px;
}
.villa-sub {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: 0.15em;
  opacity: 0.85;
  margin-top: 24px;
  text-transform: uppercase;
}

/* Villa Wrap */
.villa-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section titles */
.section-title {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 50px;
}

/* Intro */
.villa-intro {
  padding: 100px 0;
  background: #000;
}
.villa-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.villa-intro h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.villa-intro p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 16px;
}
.villa-intro-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* Formato / Días */
.villa-formato {
  padding: 100px 0;
  background: var(--bg-2);
}
.dias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dia-card {
  padding: 40px 28px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color .3s ease, transform .3s ease;
}
.dia-card:hover {
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-4px);
}
.dia-num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 20px;
}
.dia-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.dia-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* Juegos */
.villa-juegos {
  padding: 100px 0 0;
  background: #000;
}
.juegos-showcase {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.juegos-row {
  display: grid;
  gap: 24px;
}
.juegos-row.tres { grid-template-columns: repeat(3, 1fr); }
.juegos-row.dos  { grid-template-columns: repeat(2, 1fr); }

.juego-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease;
  display: block;
}
.juego-card:hover { transform: translateY(-6px); }
.juego-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 30px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.juego-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.5);
  margin-bottom: 10px;
  opacity: 0.9;
}
.juego-info h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Torneo */
.villa-torneo {
  padding: 100px 0;
  background: #000;
}
.torneo-desc {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin-bottom: 50px;
}
.torneo-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.torneo-card {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  transition: transform .3s ease;
}
.torneo-card:hover { transform: translateY(-4px); }
.torneo-label {
  position: absolute;
  bottom: 20px; left: 24px;
  z-index: 3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Produced section */
.villa-produced {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.villa-produced-content {
  position: relative;
  z-index: 3;
  text-align: center;
}
.villa-produced-content p {
  font-size: 18px;
  opacity: 0.8;
  margin-top: 30px;
  letter-spacing: 0.05em;
}

/* CTA */
.villa-cta {
  padding: 100px 0;
  background: var(--bg-2);
}
.villa-cta h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.cta-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.cta-socials a {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.8);
  transition: background .2s ease, transform .2s ease;
}
.cta-socials a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* ========== RESPONSIVE VILLA ========== */
@media (max-width: 900px) {
  .villa-intro-grid { grid-template-columns: 1fr; }
  .dias-grid { grid-template-columns: 1fr 1fr; }
  .juegos-row.tres { grid-template-columns: 1fr 1fr; }
  .juegos-row.dos  { grid-template-columns: 1fr; }
  .torneo-grid { grid-template-columns: 1fr; }
  .cta-socials { flex-direction: column; align-items: center; }
}
@media (max-width: 600px) {
  .dias-grid { grid-template-columns: 1fr; }
  .juegos-row.tres { grid-template-columns: 1fr; }
}

/* Más que Basket / Sentimental */
.villa-sentimiento {
  padding: 100px 0;
  background: var(--bg-2);
}
.senti-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.senti-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  transition: transform .3s ease;
}
.senti-card:hover { transform: translateY(-4px); }
.senti-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.senti-label {
  position: absolute;
  bottom: 20px; left: 24px;
  z-index: 3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}
@media (max-width: 900px) {
  .senti-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .senti-grid { grid-template-columns: 1fr; }
}

/* Brand Logo */
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.footer-brand-logo {
  height: 30px;
  width: auto;
  display: block;
  margin: 0 auto;
}









/* Hero image swap system */
.hero-swap-zone { position: relative; overflow: hidden; }
.hero-swap-zone .swap-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 1.4s ease-in-out, transform 3s ease-out;
  will-change: opacity, transform;
}
.hero-swap-zone .swap-base {
  opacity: 1; z-index: 1;
  transform: scale(1);
}
.hero-swap-zone .swap-base.hide {
  opacity: 0;
  transform: scale(1.02);
}
.hero-swap-zone .swap-img[data-for] {
  opacity: 0; z-index: 2;
  transform: scale(1.04);
}
.hero-swap-zone .swap-img[data-for].show {
  opacity: 1; z-index: 3;
  transform: scale(1);
}

/* Row hover dim + slide */
[data-swap-list] a {
  transition: padding-left 0.5s ease, opacity 0.8s ease;
}
[data-swap-list]:hover a {
  opacity: 0.4;
}
[data-swap-list] a:hover {
  padding-left: 10px;
  opacity: 1 !important;
}

/* Auto-rotation active row */
[data-swap-list].auto-cycling a {
  opacity: 0.4;
}
[data-swap-list] a.auto-active {
  opacity: 1 !important;
  padding-left: 10px;
}
/* Contact form */
.contact-form-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.contact-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.contact-sub {
  font-size: 16px;
  opacity: 0.6;
  margin: 0 0 40px;
  line-height: 1.5;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
  box-sizing: border-box;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.09);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  align-self: flex-start;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  letter-spacing: -0.01em;
}
.form-submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.form-submit:disabled {
  opacity: 0.5;
  cursor: wait;
}
.form-status {
  font-size: 14px;
  min-height: 20px;
  margin-top: 4px;
}
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
}
