
@font-face {
  font-family: 'Bimbo';
  src: url('/assets/fonts/Bimbo-Pro-Regular-TRIAL.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BimboFinetip';
  src: url('/assets/fonts/Bimbo-Pro-Finetip-TRIAL.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BimboBallpoint';
  src: url('/assets/fonts/Bimbo-Pro-Ballpoint-TRIAL.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}




:root {
  --font-hand: 'BimboFinetip', 'Bimbo', cursive;
  --font-hand-soft: 'BimboBallpoint', 'BimboFinetip', 'Bimbo', cursive;
  --green: #347d34;
  --green-dark: #2f7d32;
  --bg-soft: #f2f2f2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: var(--green-dark);
}

html {
  scroll-behavior: smooth;
}

body.overlay-open {
  overflow: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(47, 125, 50, 0.78);
  outline-offset: 5px;
}

a.work-card{text-decoration:none!important;    color: var(--green-dark);}

body {
  overflow-x: hidden;
}

.menu-button {
  position: fixed;
  top: 26px;
  right: 28px;
  z-index: 200;
  width: 42px;
  height: 34px;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.72)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.menu-button:hover,
.menu-button:focus-visible,
.menu-button.active {
  background: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.82)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.24));
}

.menu-button span {
  display: block;
  width: 34px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: var(--green-dark);
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.3s ease;
}

.menu-button.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: var(--green-dark);
}

.menu-button.active span:nth-child(2) {
  opacity: 0;
}

.menu-button.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: var(--green-dark);
}

.language-switcher {
  position: fixed;
  top: 25px;
  left: 28px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 2px 5px rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: text-shadow 0.3s ease;
}

.language-switcher a {
  position: relative;
  padding: 5px 0;
  color: var(--green-dark);
  text-decoration: none;
  opacity: 0.62;
  transition: color 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
}

.language-switcher a.active,
.language-switcher a:hover {
  opacity: 1;
}

.language-switcher a:hover {
  transform: translateY(-1px);
}

.language-switcher a::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 3px;
  bottom: 1px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.language-switcher a.active::after {
  opacity: 0.7;
  transform: scaleX(1);
}

/* Contraste afinado para la fotografía del hero: claro a la izquierda,
   oscuro a la derecha. El resto del sitio conserva el color de marca. */
body.hero-controls-on-image .language-switcher {
  text-shadow: 0 1px 2px rgba(22, 36, 19, 0.82), 0 2px 7px rgba(0, 0, 0, 0.24);
}

body.hero-controls-on-image .language-switcher a {
  color: #f4edda;
}

body.hero-controls-on-image .menu-button {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.82)) drop-shadow(0 2px 5px rgba(20, 42, 22, 0.22));
}

body.hero-controls-on-image .menu-button span,
body.hero-controls-on-image .menu-button.active span:nth-child(1),
body.hero-controls-on-image .menu-button.active span:nth-child(3) {
  background: #245b2a;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(242, 242, 242, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-box {
  width: min(600px, 78vw);
  min-height: 430px;
  max-height: calc(100vh - 80px);
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 50px 38px 48px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.045);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.menu-overlay.open .menu-box {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.menu-brand {
  color: var(--green);
  font-family: var(--font-hand);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  margin-bottom: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-brand:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.menu-subtitle {
  
  
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-family: "Courier New", Courier, monospace;
  margin-top:18px;;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.44;
  margin-bottom: 6px;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
}

.menu-nav::before {
  content: "";
  width: 48px;
  height: 1px;
  margin-bottom: 5px;
  background: var(--green);
  opacity: 0.28;
}

.menu-item-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.menu-link,
.menu-category-link {
  color: rgba(47, 125, 50, 0.84);
  font-family:Helvetica, sans-serif;
  text-transform:uppercase;
  
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-link {
     font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    /*color: var(--green);*/
	color:#925b1d;
    opacity: 0.44;
    margin-bottom: 6px;
}

.menu-category-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 1px;
}

.menu-category-link {
  color: rgba(47, 125, 50, 0.68);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.menu-nav a:hover {
  opacity: 0.68;
  transform: translateY(-1px);
}

.menu-nav a.active {
  /*color: var(--green-dark);*/
   color:#a76112;
  opacity: 1;
  position: relative;
}

.menu-link.active::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--green);
  margin: 7px auto 0;
  opacity: 0.38;
}

.menu-category-link.active {
  color: rgba(47, 125, 50, 0.92);
}

.home {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  text-align: center;
}

.hero {
  position: relative;
  width: 100%;
  height: calc(100vh + 2px);
  height: calc(100dvh + 2px);
  overflow: hidden;
  background-color: #f2f2ee;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-background {
  position: absolute;
  inset: 0 0 -2px;
  z-index: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.foto-home {
  position: absolute;
  left: 50%;
  bottom: -3px;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  display: block;
  opacity: 0;
  transform: translateX(-50%) translateY(115px);
  animation: subirFoto 1.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-quote {
  position: absolute;
  top: auto;
  bottom: clamp(52px, 8vh, 82px);
  right: clamp(54px, 6vw, 118px);
  z-index: 3;
  width: min(31vw, 430px);
  margin: 0;
  padding-left: 22px;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.72);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(17px, 1.18vw, 20px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.65;
  text-align: left;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.88),
    0 5px 22px rgba(0, 0, 0, 0.78);
  opacity: 0;
  transform: translateY(18px);
  animation: subirElemento 1s ease-out 1.05s forwards;
}

@media (min-width: 601px) {
  .hero .hero-quote--top-left,
  .hero .hero-quote--top-right {
    top: clamp(112px, 18vh, 154px);
    bottom: auto;
  }

  .hero .hero-quote--center-left,
  .hero .hero-quote--center-right {
    top: 50%;
    bottom: auto;
    transform: translateY(calc(-50% + 18px));
    animation-name: subirElementoCentro;
  }

  .hero .hero-quote--top-left,
  .hero .hero-quote--center-left,
  .hero .hero-quote--bottom-left {
    right: auto;
    left: clamp(54px, 6vw, 118px);
  }
}

@keyframes subirElementoCentro {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 18px));
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.home > .hero-quote--below-hero {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px clamp(28px, 6vw, 110px) 24px;
  color: var(--green-dark);
  border-left: 0;
  text-align: center;
  text-shadow: none;
}

.hero-quote--below-hero + .home-intro {
  padding-top: 34px;
}

.home-intro {
  width: 940px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 105px 0 110px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 76px;
  align-items: center;
  text-align: left;
}

.home-intro-portrait-wrap {
  position: relative;
}

.home-intro-portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: 0;
  border: 1px solid rgba(47, 125, 50, 0.18);
  border-radius: 48% 48% 44% 44%;
}

.home-intro-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  border-radius: 48% 48% 44% 44%;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.home-intro-copy {
  max-width: 510px;
}

.home-intro-text {
  color: #444444;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  line-height: 1.85;
}

.home-intro-text p {
  margin: 0;
}

.home-intro-text p + p {
  margin-top: 1.15em;
}

.home-intro-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--green);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-intro-link:hover {
  opacity: 0.68;
  transform: translateX(3px);
}

.hero--background-only .logo-home {
  top: 42%;
  width: min(320px, 52vw);
  max-width: none;
  transform: translateX(-50%) rotate(-12deg);
}

.logo-home {
  position: absolute;
  left: 50%;
  top: 24%;
  z-index: 3;
  width: 260px;
  max-width: 28vw;
  transform: translateX(-150%) rotate(-18deg);
  opacity: 0;
  animation: aparecerLogo 1.1s ease-out 0.85s forwards;
}

.redes-home {
  width: 100%;
  min-height: 85px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.redes-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 62px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(22px);
  animation: subirElemento 1s ease-out 1.1s forwards;
}

.red-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 5px;
  transition: opacity 0.25s ease;
}

.red-link:hover {
  opacity: 0.65;
}

.red-link img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.red-link.mail {
  letter-spacing: 5px;
}

.simple-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
}

.simple-page a {
  color: var(--green-dark);
}

.hand {
  font-family: var(--font-hand);
  font-weight: 400;
  text-decoration:none;
}

.works-list-page,
.work-detail-page {
  background: var(--bg-soft);
  color: var(--green);
  font-family: "Courier New", Courier, monospace;
  min-height: 100vh;
}

.works-list-page .top-space {
  height: 78px;
  background: var(--bg-soft);
}

/* PRODUCCIONES */

.hero-producciones {
  height: 210px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 28px;
}

.hero-producciones-logo {
  display: none;
}

.hero-producciones-brand {
  color: var(--green);
  font-family: var(--font-hand);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 16px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.85s ease-out 0.08s forwards;
}

.hero-producciones-kicker {
  /*color: var(--green);*/
  color:#a76112;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.85s ease-out 0.16s forwards;
  margin: 0;
}

.hero-producciones-line {
  width: 42px;
  height: 1px;
  background: var(--green);
  opacity: 0;
  margin: 18px 0 16px;
  transform: translateY(8px);
  animation: fadeUp 0.85s ease-out 0.22s forwards;
}

.hero-producciones h1 {
  display: block;
}

.hero-producciones-subtitle {
  max-width: 460px;
  margin: 0 auto;
  color: var(--green-dark);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.85s ease-out 0.28s forwards;
}

.works-grid {
  width: 760px;
  max-width: calc(100% - 40px);
  margin: 34px auto 80px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 85px;
  row-gap: 62px;
  align-items: start;
}

.work-card {
  width: 260px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  color: var(--green-dark);
  text-decoration: none !important;
  transition: transform 0.3s ease;
}

.work-card-img,
.work-card img {
  width: 260px;
  height: 260px;
  max-width: 100%;
  display: block;
  margin: 0 auto 10px;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  transition: opacity 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.work-card-title {
	text-align:center;
  display: block;
  width: 260px;
  max-width: 100%;
  margin: 8px auto 0;
  color: var(--green-dark);
  font-family: var(--font-hand);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.08;
 
}

.work-card:hover .work-card-img,
.work-card:hover img {
  opacity: 0.92;
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.11);
}

/* DETALLE DE OBRA */

.work-detail-page {
  padding-top: 34px;
}

.breadcrumb {
  width: 940px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  color: rgba(47, 125, 50, 0.34);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

.breadcrumb a,
.breadcrumb span {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb-separator {
  display: inline-block;
  margin: 0 8px;
  opacity: 0.55;
}

.breadcrumb-list {
  margin: 0 auto -18px;
  position: relative;
  z-index: 2;
}

.breadcrumb-content {
  margin-bottom: 28px;
}

.detail-page-header {
  width: 940px;
  max-width: calc(100% - 40px);
  margin: 92px auto -56px;
  position: relative;
  z-index: 2;
}

.detail-page-brand {
  color: rgba(47, 125, 50, 0.66);
  font-family: var(--font-hand);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  margin: 26px 0 0;
  text-align: center;
}

.detail-page-header .breadcrumb {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.work-page {
  width: 940px;
  max-width: calc(100% - 40px);
  margin: 136px auto 90px;
  display: grid;
  grid-template-columns: 420px 420px;
  gap: 50px;
  align-items: start;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.85s ease-out 0.12s forwards;
}

.main-photo {
  width: 420px;
  max-width: 100%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.work-content {
  max-width: 420px;
  padding-top: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  color: #444444;
}

.content-page-subtitle {
  color: rgba(47, 125, 50, 0.46);
  font-family: var(--font-hand);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 14px;
}

.content-page-heading {
  margin: 0 0 28px;
}

.work-content h1 {
	 color: #925b1d;
  
  font-family: var(--font-hand);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 4px;
}

.work-content h1 span {
  display: block;
  margin-top: 6px;
  font-size: 0.48em;
  line-height: 1.15;
  font-family: "Courier New", Courier, monospace;
  font-weight: 400;
  color: #666666;
}

.year {
  font-size: 12px;
  color: #777777;
  margin-bottom: 28px;
}

.technique {
  font-size: 13px;
  color: #555555;
  margin-bottom: 30px;
}

.rich-content p {
  margin: 0 0 18px;
}

.rich-content .text-size-small, .hero-quote .text-size-small { font-size: .8em; }
.rich-content .text-size-normal, .hero-quote .text-size-normal { font-size: 1em; }
.rich-content .text-size-medium, .hero-quote .text-size-medium { font-size: 1.2em; }
.rich-content .text-size-large, .hero-quote .text-size-large { font-size: 1.45em; }
.rich-content .text-align-left, .hero-quote .text-align-left { text-align: left; }
.rich-content .text-align-center, .hero-quote .text-align-center { text-align: center; }
.rich-content .text-align-right, .hero-quote .text-align-right { text-align: right; }
.hero-quote p { margin: 0; }

.rich-content h2 {
  color: #925b1d;
}

.rich-content .poem,
.rich-content pre {
  margin-top: 38px;
  white-space: pre-line;
  font-family: inherit;
}

.back {
	 font-family:Helvetica, sans-serif;
  display: inline-block;
  margin-top: 28px;
  color: var(--green);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1.5px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-link {
  display: inline-block;
  margin: 10px 18px 0 0;
  color: rgba(47, 125, 50, 0.68);
  font-family: Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 5px;
  text-decoration: none;
  font-weight:700;
  text-transform: uppercase;
  transition: opacity 0.25s ease;
}

.gallery-link:hover {
  opacity: 0.65;
}

.back:hover {
  opacity: 0.65;
  transform: translateX(-3px);
}

.gallery {
  width: 940px;
  max-width: calc(100% - 40px);
  margin: 70px auto 90px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.gallery img {
  width: 100%;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.gallery-item {
  display: block;
  color: inherit;
  cursor: zoom-in;
  text-decoration: none;
}

.gallery-item img {
  height: auto;
  transition: opacity 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover img {
  opacity: 0.94;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.11);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  grid-template-columns: minmax(52px, 1fr) minmax(0, auto) minmax(52px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 56px 32px 34px;
  background: rgba(20, 24, 20, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.lightbox-image {
  max-width: min(1100px, calc(100vw - 190px));
  max-height: calc(100vh - 145px);
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.lightbox-caption,
.lightbox-counter {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.5;
}

.lightbox-caption {
  max-width: 720px;
  margin: 14px auto 0;
}

.lightbox-counter {
  margin-top: 10px;
  letter-spacing: 0.14em;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1;
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 38px;
}

.lightbox-nav {
  width: 54px;
  height: 74px;
  justify-self: center;
  font-size: 58px;
}

.lightbox-previous:hover {
  transform: translateX(-3px);
}

.lightbox-next:hover {
  transform: translateX(3px);
}

.content-page {
  min-height: 100vh;
  background: var(--bg-soft);
  color: #333333;
  font-family: "Courier New", Courier, monospace;
  padding: 130px 20px 80px;
}

.content-page-inner {
  width: 860px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.content-page-empty {
  padding-bottom: 58px;
}

.content-page-inner-single {
  grid-template-columns: minmax(0, 1fr);
}

.content-page-inner-empty {
  display: block;
  max-width: 680px;
  text-align: center;
}

.content-page-inner-empty .content-page-copy {
  padding-top: 10px;
}

.content-page-inner-empty .content-page-copy h1 {
  font-size: clamp(38px, 5vw, 52px);
  margin-bottom: 0;
}

.content-page-image {
  width: 100%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.page-media-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.content-page-media-stack .content-page-image {
  flex: 0 0 auto;
}

.page-media-item {
  position: relative;
  width: 100%;
  margin: 0 auto;
  color: #444444;
}

.page-media-item:not(.page-media-item--full)::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(47, 125, 50, 0.18);
  border-radius: 48% 48% 44% 44%;
  pointer-events: none;
}

.page-media-item--small {
  width: 70%;
}

.page-media-item--medium {
  width: 85%;
}

.page-media-item--large,
.page-media-item--full {
  width: 100%;
}

.page-media-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  border-radius: 48% 48% 44% 44%;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.page-media-player {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 48% 48% 44% 44%;
  background: #1f231f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  isolation: isolate;
}

.page-media-player-frame,
.page-media-player > iframe,
.page-media-poster {
  position: absolute;
  inset: 0;
}

.page-media-player-frame {
  z-index: 1;
}

.page-media-player > iframe {
  z-index: 1;
}

.page-media-player-frame iframe,
.page-media-player > iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: 222.23%;
  height: 100%;
  border: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-media-poster {
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-media-player.is-ready .page-media-poster {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-media-play,
.page-media-sound,
.page-media-fullscreen {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: rgba(18, 18, 16, 0.76);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.page-media-play {
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.page-media-play span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #ffffff;
}

.page-media-play:hover {
  background: rgba(18, 18, 16, 0.92);
  transform: translate(-50%, -50%) scale(1.05);
}

.page-media-player.is-playing .page-media-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-media-sound {
  left: 14%;
  bottom: 13%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.page-media-fullscreen {
  right: 14%;
  bottom: 13%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.page-media-control-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.page-media-sound-on {
  display: none;
}

.page-media-sound.is-sound-on .page-media-sound-off {
  display: none;
}

.page-media-sound.is-sound-on .page-media-sound-on {
  display: block;
}

.page-media-player.is-playing .page-media-sound:not(.is-sound-on) {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
}

.page-media-player.is-playing .page-media-sound:not(.is-sound-on):hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.page-media-sound:hover,
.page-media-fullscreen:hover {
  background: rgba(18, 18, 16, 0.92);
  transform: scale(1.05);
}

.page-media-caption {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #666666;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.page-media-full-stack {
  width: 940px;
  max-width: calc(100% - 40px);
  margin: 0 auto 90px;
  display: grid;
  gap: 42px;
}

.home-intro + .page-media-full-stack {
  margin-top: -42px;
}

.page-media-full-stack .page-media-player {
  aspect-ratio: 16 / 9;
  border-radius: 30px;
}

.page-media-full-stack .page-media-sound {
  left: 20px;
  bottom: 22px;
}

.page-media-full-stack .page-media-fullscreen {
  right: 20px;
  bottom: 22px;
}

.page-media-full-stack .page-media-player-frame iframe,
.page-media-full-stack .page-media-player > iframe {
  left: 0;
  width: 100%;
  transform: none;
}

.content-page-copy h1 {
  color: var(--green);
  font-family: var(--font-hand);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.content-download {
  display: inline-block;
  margin-top: 24px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
}

.content-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.content-instagram-link:hover {
  text-decoration: underline;
}

.content-instagram-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.content-page-cv .content-page-copy h1 {
  font-size: clamp(48px, 8vw, 76px);
}

.cv-download-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(52, 125, 52, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(36, 72, 36, 0.08);
}

.cv-download-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -76px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(52, 125, 52, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.cv-document-mark {
  position: relative;
  width: 54px;
  height: 68px;
  display: grid;
  place-items: end center;
  padding-bottom: 13px;
  border: 1.5px solid var(--green);
  border-radius: 5px 14px 5px 5px;
  color: var(--green);
}

.cv-document-mark::before,
.cv-document-mark::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 28px;
  height: 1px;
  background: rgba(52, 125, 52, 0.42);
}

.cv-document-mark::before {
  top: 20px;
}

.cv-document-mark::after {
  top: 29px;
}

.cv-document-mark span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.cv-download-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cv-download-copy strong {
  color: #333333;
  font-family: var(--font-hand-soft);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.1;
}

.cv-download-copy span {
  color: rgba(51, 51, 51, 0.62);
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.cv-download-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 218px;
  margin-top: 0;
  padding: 15px 17px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-size: 11px;
  line-height: 1.3;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cv-download-button:hover {
  background: transparent;
  color: var(--green);
  transform: translateY(-2px);
}

/* ANIMACIONES */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes subirFoto {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(115px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes aparecerLogo {
  from {
    opacity: 0;
    transform: translateX(-150%) rotate(-18deg) translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateX(-150%) rotate(-18deg) translateY(0);
  }
}

@keyframes subirElemento {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .foto-home {
    max-width: 700px;
  }

  .logo-home {
    width: 230px;
    transform: translateX(-135%) rotate(-18deg);
  }

  .hero .hero-quote {
    top: auto;
    bottom: 46px;
    right: 38px;
    width: min(34vw, 330px);
    font-size: 16px;
  }

  @keyframes aparecerLogo {
    from {
      opacity: 0;
      transform: translateX(-135%) rotate(-18deg) translateY(25px);
    }

    to {
      opacity: 1;
      transform: translateX(-135%) rotate(-18deg) translateY(0);
    }
  }

  .redes-inner {
    gap: 34px;
  }

  .red-link {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .home-intro {
    gap: 48px;
    padding: 82px 0 88px;
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  }

  .hero-producciones {
    height: 195px;
    padding-bottom: 24px;
  }

  .hero-producciones-brand {
    font-size: 40px;
    margin-bottom: 14px;
  }

  .hero-producciones-kicker {
    font-size: 10px;
    letter-spacing: 4px;
  }

  .hero-producciones-line {
    margin: 16px 0 14px;
  }

  .hero-producciones-subtitle {
    max-width: 360px;
    font-size: 11px;
  }

  .works-grid {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 46px;
    margin-top: 34px;
  }

 
  .work-card {
    width: 180px;
  }

  .work-card-img,
  .work-card img {
    width: 180px;
    height: 180px;
  }

  .work-card-title {
    width: 180px;
    font-size: 20px;
  }

  .work-page {
    width: 100%;
    margin: 100px auto 70px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .main-photo {
    width: 100%;
  }

  .work-content {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.7;
  }

  .work-content h1 {
    font-size: 36px;
  }

  .gallery {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .content-page-inner {
    grid-template-columns: 1fr;
  }

  .content-page-media-stack {
    width: min(420px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .menu-button {
    top: 20px;
    right: 20px;
  }

  .language-switcher {
    top: 20px;
    left: 20px;
  }

  .content-page {
    padding: 110px 18px 60px;
  }

  .cv-download-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 18px;
  }

  .cv-document-mark {
    width: 48px;
    height: 60px;
  }

  .cv-download-copy strong {
    font-size: 23px;
  }

  .cv-download-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .menu-box {
    width: 84vw;
    min-height: 410px;
    max-height: calc(100vh - 58px);
    padding: 44px 28px 42px;
  }

  .menu-brand {
    font-size: 36px;
  }

  .menu-subtitle {
    font-size: 9px;
    letter-spacing: 4px;
    margin-bottom: 6px;
  }

  .menu-nav {
    gap: 15px;
  }

  .menu-link {
    font-size: 31px;
  }

  .menu-category-list {
    gap: 6px;
  }

  .menu-category-link {
    font-size: 21px;
  }

  .hero {
    margin-bottom: 184px;
    overflow: visible;
    background-position: center top;
  }

  .page-media-item--small,
  .page-media-item--medium,
  .page-media-item--large {
    width: 100%;
  }

  .page-media-stack {
    gap: 28px;
  }

  .page-media-full-stack {
    max-width: calc(100% - 36px);
    margin-bottom: 64px;
  }

  .page-media-full-stack .page-media-player {
    border-radius: 20px;
  }

  .page-media-play {
    width: 64px;
    height: 64px;
  }

  .hero--quote-below {
    margin-bottom: 0;
  }

  .hero-background-image {
    object-position: center top;
  }

  .foto-home {
    max-width: 560px;
  }

  .logo-home {
    left: clamp(1.75rem, 8vw, 3rem);
    width: min(180px, 42vw);
    max-width: none;
    top: 23%;
    transform: rotate(-18deg);
    animation: aparecerLogoMobile 1.1s ease-out 0.85s forwards;
  }

  @keyframes aparecerLogoMobile {
    from {
      opacity: 0;
      transform: translateY(25px) rotate(-18deg);
    }

    to {
      opacity: 1;
      transform: rotate(-18deg);
    }
  }

  .hero .hero-quote {
    top: 100%;
    bottom: auto;
    right: 0;
    width: 100%;
    max-width: none;
    min-height: 184px;
    padding: 28px 28px 30px 48px;
    color: var(--green-dark);
    border: 0;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.65;
    text-shadow: none;
  }

  .hero .hero-quote::before,
  .home > .hero-quote--below-hero::before {
    content: "";
    position: absolute;
    top: 33px;
    left: 28px;
    width: 1px;
    height: 58px;
    background: rgba(47, 125, 50, 0.42);
  }

  .home > .hero-quote--below-hero {
    width: 100%;
    margin: 0;
    min-height: 184px;
    padding: 28px 28px 30px 48px;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
  }

  .hero-quote--below-hero + .home-intro {
    padding-top: 28px;
  }

  .redes-home {
    min-height: 170px;
  }

  .redes-inner {
    flex-direction: column;
    gap: 16px;
  }

  .home-intro {
    max-width: calc(100% - 48px);
    padding: 72px 0 78px;
    grid-template-columns: 1fr;
    gap: 46px;
    text-align: center;
  }

  .home-intro-portrait-wrap {
    width: min(220px, 72vw);
    margin: 0 auto;
  }

  .home-intro-copy {
    margin: 0 auto;
  }

  .home-intro-text {
    font-size: 13px;
    line-height: 1.75;
  }

  .red-link {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .hero-producciones {
    height: 185px;
    padding-bottom: 22px;
  }

  .hero-producciones-brand {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .hero-producciones-kicker {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .hero-producciones-line {
    margin: 15px 0 14px;
  }

  .hero-producciones-subtitle {
    max-width: 280px;
    font-size: 10px;
    line-height: 1.55;
    letter-spacing: 0.06em;
  }

  .works-grid {
    max-width: calc(100% - 32px);
    row-gap: 42px;
    margin: 30px auto 70px;
  }

  .work-card {
    width: 170px;
  }

  .work-card-img,
  .work-card img {
    width: 170px;
    height: 170px;
  }

  .work-card-title {
    width: 170px;
    font-size: 19px;
  }

  .work-page {
    max-width: calc(100% - 32px);
    margin-top: 105px;
  }

  .breadcrumb {
    max-width: calc(100% - 32px);
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .detail-page-header {
    max-width: calc(100% - 32px);
    margin: 72px auto -44px;
  }

  .detail-page-brand {
    font-size: 34px;
    margin-top: 20px;
  }

  .breadcrumb-list {
    margin: 0 auto -12px;
  }

  .breadcrumb-content {
    margin-bottom: 12px;
  }

  .work-content h1 {
    font-size: 34px;
  }

  .gallery {
    max-width: calc(100% - 32px);
  }

  .gallery img {
    border-radius: 16px;
  }

  .lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 4px;
    padding: 58px 8px 24px;
  }

  .lightbox-image {
    max-width: calc(100vw - 104px);
    max-height: calc(100vh - 150px);
  }

  .lightbox-nav {
    width: 42px;
    font-size: 46px;
  }

  .lightbox-close {
    top: 10px;
    right: 12px;
  }

  @keyframes aparecerLogo {
    from {
      opacity: 0;
      transform: translateX(-120%) rotate(-18deg) translateY(25px);
    }

    to {
      opacity: 1;
      transform: translateX(-120%) rotate(-18deg) translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .foto-home,
  .logo-home,
  .hero-quote,
  .redes-inner,
  .hero-producciones-brand,
  .hero-producciones-kicker,
  .hero-producciones-line,
  .hero-producciones-subtitle,
  .work-page {
    opacity: 1;
    animation: none;
  }

  .foto-home {
    transform: translateX(-50%) translateY(0);
  }

  .redes-inner,
  .hero-quote,
  .work-page {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 601px) {
  .hero .hero-quote--center-left,
  .hero .hero-quote--center-right {
    transform: translateY(-50%);
  }
}


@media (max-width: 767px) {
  /* estilos para celulares y tablets chicas */
  .menu-brand {
        font-size: 30px;
    }
	
  .menu-link {
    font-size: 12px;
   
}


}
