/* =========================================================
   MILLIMETER VISUALS — CONTACT PAGE
========================================================= */


/* =========================================================
   01 — TOKENS & RESET
========================================================= */

:root {
  --black: #0a0a0a;
  --white: #f8f8f1;
  --grey: #9a9a93;
  

  --line: rgba(248, 248, 241, 0.14);
  --line-strong: rgba(248, 248, 241, 0.22);

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 22px;

  --nav-height: 78px;
  --nav-height-mobile: 64px;
}


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  width: 100%;
  scroll-behavior: smooth;
}


body {
  width: 100%;
  overflow-x: hidden;

  font-family: "Archivo", sans-serif;

  background: var(--black);
  color: var(--white);

  opacity: 0;

  transition: opacity 0.6s ease;
}


body.loaded {
  opacity: 1;
}


body.policy-open {
  overflow: hidden;
}


a {
  color: inherit;
  text-decoration: none;
}


button {
  border: 0;
  background: none;

  cursor: pointer;

  font-family: inherit;
}


/* =========================================================
   02 — NAVIGATION — fijo siempre visible (igual que About;
   a diferencia del home, acá NO se oculta ni aparece con el scroll)
========================================================= */

.nav {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: var(--nav-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5%;

  z-index: 1500;

  background: var(--black);

  border-bottom: px solid transparent;

  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.nav {
  background: transparent !important;
}


.nav.is-scrolled {
  border-bottom-color: var(--line);

  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02);
}


.logo {
  font-family: "Archivo", sans-serif;

  font-weight: 900;

  font-size: clamp(1.2rem,
      2.4vw,
      1.85rem);

  line-height: 1;

  letter-spacing: -0.01em;

  text-transform: uppercase;

  color: var(--white);
}


.logo sup {
  font-size: 0.45em;       /* Proporción visual limpia respecto al logo del nav */
  vertical-align: top;     /* Se alinea con el tope superior de la S */
  position: relative;
  top: 0.08em;             /* Ajuste fino para la altura del nav */
  margin-left: 1px;        /* Espaciado exacto tras la palabra VISUALS */
  line-height: 1.2;          /* Previene que empuje o agrande la altura del header */
  font-weight: 700;
}

.menu-btn {
  display: flex;
  align-items: center;

  gap: 7px;

  color: var(--white);

  font-weight: 700;

  font-size: 1.2rem;

  line-height: 1;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition: opacity 0.25s ease;
}


.menu-btn:hover {
  opacity: 0.6;
}


.menu-plus {
  display: inline-block;

  font-size: 1.15rem;

  font-weight: 500;

  line-height: 1;

  transition:
    transform 0.3s var(--ease);
}


.menu-btn:hover .menu-plus {
  transform: rotate(90deg);
}


/* =========================================================
   03 — FULLSCREEN MENU
========================================================= */

.fullscreen-menu {
  position: fixed;

  inset: 0;

  width: 100%;
  height: 100vh;
  height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--black);
  color: var(--white);

  z-index: 1400;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s var(--ease);

  overflow: hidden;
}


.fullscreen-menu.active {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;
}


.menu-inner {
  width: 100%;

  display: flex;
  justify-content: center;
}


.fullscreen-nav {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 14px;

  text-align: center;
}


.fullscreen-nav a {
  display: inline-block;

  font-weight: 900;

  font-size: clamp(2.4rem,
      6vw,
      5.5rem);

  line-height: 0.9;

  letter-spacing: -0.03em;

  text-transform: uppercase;

  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    color 0.3s ease;
}


.fullscreen-menu.active .fullscreen-nav a {
  opacity: 1;

  transform: translateY(0);
}


.fullscreen-menu.active .fullscreen-nav a:nth-child(1) {
  transition-delay: 0.08s;
}


.fullscreen-menu.active .fullscreen-nav a:nth-child(2) {
  transition-delay: 0.16s;
}


.fullscreen-nav a:hover {
  color: var(--grey);
}


/* =========================================================
   04 — CONTACT PAGE
========================================================= */

.contact-page {
  width: 100%;
}

/* =========================================================
   05 — CONTACT INTRO (AJUSTE VERTICAL Y CENTRADO)
========================================================= */

.contact-intro {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  gap: 50px;

  padding: 100px 5% 60px;
}

/* ENCABEZADO SUPERIOR */

.contact-intro-header {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--grey);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-intro-header h1 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--white);
}

/* =========================================================
   06 — CONTACT DETAILS (DETALLES VERTICALES)
========================================================= */

.contact-details {
  width: 100%;
  max-width: 700px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 40px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.contact-detail-label {
  display: block;
  color: var(--grey);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.contact-detail-value {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s ease;
}

a.contact-detail-value:hover {
  color: #ff3b00;
}

/* =======================================================
   07 — BOOKING SECTION
========================================================= */

.booking-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 78px 5% 40px;
}


.booking-header {
  max-width: 800px;
  width: 100%;

  text-align: center;

  margin-bottom: 40px;
}


.booking-small {
  display: block;

  margin-bottom: 16px;

  color: var(--grey);

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}


.booking-header h2 {
  margin: 0;

  font-weight: 900;

  font-size: clamp(2.5rem,
      5vw,
      5rem);

  line-height: 0.9;

  letter-spacing: -0.04em;

  text-transform: uppercase;
}


.booking-header p {
  margin-top: 20px;

  color: var(--grey);

  font-size: 0.95rem;
}


/* =========================================================
   08 — FORM
========================================================= */

.contact-form {
  width: 100%;
  max-width: 650px;

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 22px;

  text-align: left;
}


.form-row {
  display: flex;

  gap: 22px;
}


.form-group {
  flex: 1;

  display: flex;

  flex-direction: column;

  gap: 8px;
}


.form-group label {
  color: var(--white);

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;
}


.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 15px;

  border: 1px solid var(--line-strong);

  border-radius: 8px;

  outline: none;

  background: rgba(248,
      248,
      241,
      0.04);

  color: var(--white);

  font-family: inherit;

  font-size: 0.95rem;

  transition:
    border-color 0.3s ease;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey);
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--white);
}


.form-group select option {
  background: var(--black);

  color: var(--white);
}


.form-group textarea {
  min-height: 120px;

  resize: vertical;
}


/* =========================================================
   09 — SUBMIT
========================================================= */

.submit-area {
  width: 100%;

  margin-top: 10px;

  text-align: center;
}


.submit-button {
  width: 100%;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 18px 32px;

  border-radius: 999px;

  background: var(--white);

  color: var(--black);

  font-size: 0.85rem;

  font-weight: 800;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  transition: opacity 0.3s ease;
}


.submit-button:hover {
  opacity: 0.8;
  color:  #ff3b00;
}


.submit-button:disabled {
  cursor: wait;

  opacity: 0.6;
}


.form-success {
  display: none;

  margin-top: 15px;

  color:  #ff3b00;

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;
}


.form-success.show {
  display: block;
}


/* =========================================================
   10 — CONTACT FOOTER
========================================================= */

.contact-footer-info {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 30px;

  margin-top: 70px;

  padding-top: 25px;
}


.footer-contact-block a {
  display: flex;

  align-items: center;

  gap: 8px;

  color: var(--white);

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 1px;
}


.footer-contact-block a:hover {
  opacity: 0.6;
}


.policy-launch-wrap {
  width: auto;

  margin-left: auto;

  display: flex;

  align-items: center;

  gap: 15px;
}


.policy-launch-note {
  color: var(--grey);

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}


.policy-launch {
  display: flex;

  align-items: center;

  gap: 6px;

  color: var(--white);

  font-size: 0.85rem;

  font-weight: 700;

  letter-spacing: 0.5px;

  border-bottom: 1px solid var(--white);
}


/* =========================================================
   12 — TABLET
========================================================= */

@media (max-width: 900px) {

  .contact-intro {
    grid-template-columns: 1fr;

    gap: 80px;

    min-height: auto;

    padding-top: 90px;

    padding-bottom: 90px;
  }


  .contact-intro-main h1 {
    font-size: clamp(4rem,
        12vw,
        7rem);
  }


  .contact-details {
    gap: 45px;
  }


  .contact-detail-value {
    font-size: clamp(1.8rem,
        6vw,
        3.5rem);
  }


  .booking-section {
    min-height: auto;
    padding: 80px 5%;
  }


  .form-row {
    flex-direction: column;
  }

}


/* =========================================================
   13 — MOBILE (AJUSTADO PARA QUE NADA SE CORTE)
========================================================= */

@media (max-width: 600px) {

  .nav {
    height: var(--nav-height-mobile);
    padding: 0 5%;
  }

  .logo {
    font-size: 1.05rem;
  }

  .menu-btn {
    gap: 4px;
    font-size: 0.95rem;
  }

  .menu-plus {
    font-size: 0.9rem;
  }

  /* INTRO DE CONTACTO */
  .contact-intro {
    gap: 35px;
    padding: 100px 5% 40px;
    /* Suficiente espacio superior para no chocar con el nav */
    min-height: auto;
  }

  .contact-intro-header h1 {
    font-size: clamp(2.5rem, 11vw, 4.2rem);
    /* Tamaño adaptativo para que no sobresalga */
    line-height: 0.9;
  }

  .contact-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }

  /* DETALLES DE CONTACTO */
  .contact-details {
    gap: 30px;
  }

  .contact-detail-label {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
  }

  .contact-detail-value {
    font-size: clamp(1.1rem, 5.5vw, 1.8rem);
    /* Escala suavemente según el ancho */
    line-height: 1.1;
    white-space: normal;
    word-break: break-word;
    /* Rompe el email largo si la pantalla es muy estrecha */
    overflow-wrap: anywhere;
  }

  /* SECCIÓN DE RESERVA / FORMULARIO */
  .booking-section {
    padding: 50px 5% 40px;
    min-height: auto;
  }

  .booking-header {
    margin-bottom: 30px;
  }

  .booking-header h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .form-row {
    gap: 16px;
  }

  .submit-button {
    padding: 16px 24px;
  }
}


/* =========================================================
   14 — SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

  .logo {
    font-size: 0.9rem;
  }


  .menu-btn {
    font-size: 0.85rem;
  }


  .contact-intro-main h1 {
    font-size: 3rem;
  }


  .contact-detail-value {
    font-size: 1.45rem;
  }

}



/* =========================================================
   FOOTER CON REGLA MILIMÉTRICA (MM)
========================================================= */

.film-credits-footer {
  width: 100%;
  background: #0a0a0a;
  border-top: 0px solid var(--line);
  padding: 80px 0 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-family: "Archivo", sans-serif;
  color: var(--white);
  overflow: hidden;
}

.credits-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 5%;
}

.credits-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--grey);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.credits-title {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}

/* GRID DE CRÉDITOS */
.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding: 0 5%;
}

.credits-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.credits-role {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--grey);
  text-transform: uppercase;
  margin-top: 10px;
}

.credits-role:first-child {
  margin-top: 0;
}

.credits-name {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

.credits-link {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s ease;
}

.credits-link:hover {
  color: #ff3b00;
}

/* NOMBRE ENORME EN EL FOOTER */
.credits-brand-giant {
  font-weight: 900;
  font-size: clamp(2.5rem, 9vw, 8.5rem);
  letter-spacing: -0.04em;
  text-align: center;
  line-height: 0.85;
  color: var(--white);
  text-transform: uppercase;
  padding: 20px 2% 0;
  user-select: none;
}

/* DETALLES DE CINE */
.credits-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 5%;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--grey);
  text-transform: uppercase;
}

.credits-specs {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =========================================================
   REGLA DE MILÍMETROS (MM RULER BAR)
========================================================= */

.mm-ruler-container {
  width: 100%;
  background: #0a0a0a;
  padding: 15px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mm-ruler-container::-webkit-scrollbar {
  display: none;
}

.mm-ruler {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-width: 900px;
  width: 100%;
  padding: 0 40px;
  height: 35px;
  box-sizing: border-box;
}

.mm-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

/* Líneas de la regla */
.mm-mark::before {
  content: "";
  width: 1px;
  height: 12px;
  background: var(--grey);
  position: absolute;
  bottom: 0;
}

/* Números sobre las marcas */
.mm-mark::after {
  content: attr(data-mm);
  font-size: 0.65rem;
  font-family: monospace;
  font-weight: 600;
  color: var(--grey);
  position: absolute;
  top: 0;
}

/* Marca del Cero (Destacada) */
.mm-mark.main-zero::before {
  height: 20px;
  background: #ff3b00;
  width: 2px;
}

.mm-mark.main-zero::after {
  color: #ff3b00;
  font-weight: 800;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .credits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credits-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   CAMBIAR COLOR DEL ICONO DE CALENDARIO A BLANCO
========================================================= */

/* Para navegadores basados en WebKit (Chrome, Safari, Edge, Opera) */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}