/*  © 2025 All rights reserved by Irene Becker Studio
   Tipografía Aesthetic Regular: https://nirmanavisual.com/product/aesthetic
   Licencia Standard a nombre de Irene Herrero Becker */

   /* -------------------------------------------
   RESET GENERAL ANTI-SAFARI
   (Para evitar estilos automáticos en flechas,
   botones, enlaces, inputs, imágenes, etc.)
-------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;

}

/* Elimina estilos que Safari añade por defecto */
a, button {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  text-decoration: none;
  color: inherit;
  cursor: pointer;

}

/* Evita que Safari cambie la tipografía de símbolos como ◀ ▶ */
a, button, .icon, .flecha {
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

/* Evita que Safari ajuste line-height en imágenes (muy importante para flechas PNG/SVG) */
img {
  display: block;
  max-width: 100%;
  height: auto;
/* 
 */
}

/* Elimina decoración automática que Safari mete en inputs */
input, textarea, select {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  font-family: inherit;
}

/* Elimina flechas de input[type=number] en Safari/WebKit */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Evita comportamiento raro en botones dentro de contenedores flex */
button {
  line-height: 1;
  padding: 0;
}

/* Evita que Safari cree espacios invisibles en flexbox */
.flex-fix {
  display: flex;
  gap: inherit;
  align-items: inherit;
  justify-content: inherit;
}


/* =========================
   BASE / VARIABLES / RESET
   ========================= */
:root {
  /* Colores */
  --color-primario: #000000;
  --color-secundario: #D99BFF;
  --color-acento: #FCAFDD;
  --color-fondo: #ffffff;
  --color-texto: #000000;

  /* Tipografía */
  --fuente-principal: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", 
  Helvetica, Arial, "Lucida Grande", sans-serif;
  --fuente-secundaria: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", 
  Helvetica, Arial, "Lucida Grande", sans-serif;

  /* Espaciados y sombras */
  --spacing-xs: .25rem;
  --spacing-sm: .5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --shadow-soft: 0 8px 24px rgba(0,0,0,.08);

  /* Tamaños de texto (fluido) */
  --h1-size: clamp(3rem, 8vw, 10rem);
  --h1-line: 1.05;

  --h2-size: clamp(1.6rem, 6vw, 8rem);
  --h2-line: 1.1;

  --h3-size: clamp(1.2rem, 3vw, 7rem);
  --h3-line: 1.15;

  --h4-size: clamp(1.25rem, 3vw, 4rem);
  --h4-line: 1.2;

  --p-size: clamp(1rem, .8rem + .6vw, 1.25rem);
  --p-line: 1.6;
}
.text-light { 
  color: #fff; 
}
.text-dark  { 
  color: #000; 
}


html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* Evita scroll lateral accidental y define tipografía global */
html, body {
  font-family: var(--fuente-principal);
  color: var(--color-texto);
  background-color: var(--color-fondo);
}

body {
  width: 100%;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: scroll;
  position: relative;
 
}

/* =========================
   TITULOS / TEXTOS / LINKS
   ========================= */
h1, h2, h3 {
  color: var(--color-primario);
  font-family: var(--fuente-secundaria);
}

h1 { font-size: var(--h1-size); line-height: var(--h1-line); }
h2 { font-size: var(--h2-size); line-height: var(--h2-line); font-weight: 100; }
h3 { font-size: var(--h3-size); line-height: var(--h3-line); font-weight: 100; }
h4 {
  font-size: var(--h4-size);
  line-height: var(--h4-line);
  font-family: var(--fuente-principal);
  font-weight: 100;
}

p {
  font-size: var(--p-size);
  line-height: var(--p-line);
  color: var(--color-texto);
  font-weight: 100;
}

/* Accesibilidad foco */
a, button { 
  outline: none; 
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-acento);
  outline-offset: 2px;
}

a:link, a:visited, a:active {
  text-decoration: none;
  font-family: var(--fuente-secundaria);
  color: var(--color-primario);
}
a:hover { color: var(--color-acento);
  
 }

/* =========================
   PORTADAS / BACKGROUNDS
   ========================= */
#portada, #portada_press,
#portada_about,
#portada_work,
#portada_more,
#portada_cv {
  position: relative;
  width: 100%;
  min-height: 100vh;          
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: right;
  align-items:end;
  z-index: 0;
}
#portada_about img{
  width: 25%;
  position: relative; 
  z-index: 9999;

}
#franja_rosa{
  width: 25%;
  height: 20px;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  background-color: #FCAFDD;
  z-index: 9999;
  text-align: left;
  padding-left: 3%;
}
#portada {
  background-image: url(img/Rocio_taller.jpeg);
}
#portada p{
  padding-right: 5px;
  font-size: 12px;
  font-weight: 300;
  color:black;
}
#portada_work p,
#portada_more p{
  padding-left: 5px;
  font-size: 12px;
  font-weight: 300;
  color:white;
}
#portada_press {
  background-image: url(img/img_portada/estudio_ad.jpg);

}
#portada_press--copy{
  padding-left: 5px;
  font-size: 12px;
}
#portada_about {
  background-image: url(img/Rocio_artista_taller.jpeg);

}
#portada_work{
  background-image: url(img/img_portada/Portada_press.jpeg);
  justify-content: space-between;

}
#portada_more{
  background-image: url(img/Rocio_lapiz.jpeg);
  background-position:top;
  justify-content: space-between;

}
#portada_cv{
  background-image: url(img/rocio_blur.jpeg);

}
#portada::before,
#portada_press::before,
#portada_about::before,
#portada_work::before,
#portada_more::before{
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,.3);
  pointer-events: none;            
  z-index: 1;
}
#portada_cv::before{
  width: 100%;
  height: 100%;
   content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,.3);
  pointer-events: none;
  z-index: -1; /* SIEMPRE detrás */
}

/* =========================
   HEADER / LOGO / MENÚ
   ========================= */
header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  z-index: 1001;
  transition: filter .3s ease;
  mix-blend-mode:difference;/* preguntar a Rocío si le parece bien */

}

#logo_rocio {
  height: 50px;
  inline-size: auto;
  transition: .3s ease;

}

.menu-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 22px;
  font-weight: bold;
  color: white;
  z-index: 1003;
  transition: color .2s ease;
  cursor: pointer;
  text-decoration: none;

}
.menu-btn:hover { 
  color: var(--color-acento);

}

/* =========================
   OVERLAY Y PANEL LATERAL
========================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,.4);
  display: flex;             
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 1002;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-panel {
  width: 100%;
  max-width: 100%;
  height: 100%;
/*   background: url('img/Rocio_lapiz.jpeg') top/cover no-repeat; */
  background-color: rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transform: translateX(100%);
  transition: transform .5s ease;
}
.menu-overlay.active .side-panel { 
  transform: translateX(0); 
}

.close-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 22px;
  font-weight: bold;
 /*  color: var(--color-fondo); */
  z-index: 1003;
  transition: color .2s ease;
  cursor: pointer;
}
.close-btn:hover { 
  color: var(--color-acento);
}

.side-panel nav {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.side-panel nav a {
  text-decoration: none;
  font-size: clamp(2rem, 6vw, 10rem);
  line-height: 1.2;
  font-weight: 100;
  color: var(--color-fondo);
  transition: color .2s ease;
  padding-left: 15%;
}
.side-panel nav a:hover { 
  color: var(--color-acento);
}

/* =========================
   BOTONES (GENÉRICOS)
   ========================= */
button {
  background-color: var(--color-primario);
  color: var(--color-fondo);
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--fuente-secundaria);
  font-weight: 100;
  border: none;
  cursor: pointer;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background-color: black;
  color: #fff;
  padding-top: 80px;
  padding-left: 80px;
  padding-right: 80px;
}

.footer-content {
  width: 100%;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 150px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color .3s ease;
}
.footer-col a:hover { 
  color: var(--color-acento); }

.footer-logo {
  text-align: center;
  padding-bottom: 50px;
}
.footer-logo img { 
  max-height: 150px;
  width: auto; 
}

.footer-note {
  padding-bottom: 20px;
  font-size: 12px;
  text-align: start;
  color: #fff;
}
.footer-note a {
  font-size: 12px;
  color: #fff;
}

#enlace_p_p a { 
  color: #fff; text-decoration: underline; }
#enlace_p_p a:hover { 
  color: var(--color-acento); }

#btn_contact { font-weight: 400; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  #franja_rosa{
  width: 40%;
  height: 18px;
  font-size: 18px;

}
#franja_rosa-workpages{
  height: 18px;
  font-size: 18px;
}
#logo_rocio {
  height: 40px;
}

  .footer-logo {
    padding-bottom: 20px;
    padding-top: 20px;
    margin: 0 auto;
  }

  .footer {
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer-note { 
    text-align: center; }
}

/* móviles */
@media (max-width: 480px) {
  #portada, #portada_press,
  #portada_about,
  #portada_work {
  min-height: 95vh;          
}
#portada::before,
#portada_press::before,
#portada_about::before,
#portada_work::before{
  height: 95vh;

}
  header { 
    padding: 20px 20px; }

  #logo_rocio {
  height: 20px;
  margin-top:10px;
  }

  #portada_about h1 {
    font-size: 50px;
    align-items: center;
    text-align: center;
  }
  #franja_rosa{
  width: 40%;
  height: 14px;
  font-size: 14px;
  padding-left: 5%;

}
#franja_rosa-workpages{
  width: calc(100% - 20px);
  height: 14px;
  font-size: 14px;
  padding-left: 5%;
}

  .side-panel { 
    max-width: 100vw; }

  .menu-btn { 
    top: 30px;
    right: 20px;
    padding: 0%;
    font-size: 18px;
 }

  .side-panel nav a {
    font-size: 50px;         /* fallback para muy pequeño */
    line-height: 50px;
    padding-left: 10px;
  }

  .close-btn { 
    top: 30px;
    right: 20px;
    padding: 0%;
  font-size: 18px;
}

  .footer-content { width: 100%; margin: 0 auto; }
  .footer-columns { gap: 30px; }
  .footer-col a { font-size: 16px; }
  .footer-logo img { max-height: 100px; margin-bottom: 0; }
  .footer-logo img { 
  max-height: 80px;
}

  .footer-note {
    margin-top: 20px;
    padding-bottom: 20px;
    text-align: left;
    line-height: 20px;
  }
  #portada_press--copy,
  #portada p, #portada_work p{
    font-size: 10px;
  }

}
/* =========================
   PÁGINA GENÉRICO /
   CONTENEDOR PRINCIPAL
   ========================= */
.pages_container{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 15%;
  padding-bottom: 15%;
}
.pages-section{
  width: 60%;
  height: auto;
  padding-left: 50px;

}
.pages_section__title{
  width: 100%;
  justify-content: center;
  align-content: flex-start;
  font-size: 50px;
  margin-bottom: 50px;
}
.pages_section__title-date{
  font-size: 40px;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 20px;
}
.pages_section__text p{
  font-size: 22px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.pages_seccion p{
  font-size: 22px;
}
.pages-section a,.pages-section a {
    font-size: 22px;
  }
.pages-section__img{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pages-section__img img{
  padding-top: 10%;
  width: 60%;
  height: auto;

}
.pages-section__btn{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: end;
  padding-top: 5%;

}
.pages-section__btn a{ 
  width: 60%;
  height: 100px;
  border: solid 3px black;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  transition: transform 0.3s ease;
}
.pages-section__btn a:hover{ 
 transform: scale(0.98);
 border: solid 3px var(--color-acento);
}
/* =========================
   PÁGINA GENÉRICO
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .pages-section{
    width: 70%;
    padding-left: 30px;
  }
  .pages_section__title{
    font-size: 40px;
    margin-bottom: 40px;
  }
  .pages_section__title-date{
    font-size: 30px;
    margin-bottom: 10px;
  }
  .pages_section__text p{
    font-size: 20px;
  }
  .pages_seccion p{
    font-size: 20px;
  }
  .pages-section a,.pages-section a {
    font-size: 20px;
  }
  .pages-section__img img{
    width: 70%;
  }
  .pages-section__btn a{ 
    width: 70%;
    height: 90px;
    font-size: 40px;
  }
   
}
/* móviles */
@media (max-width: 480px) {
  .pages-section{
    width: 90%;
    padding-left: 20px;
  }
  .pages_section__title{
    font-size: 30px;
    margin-bottom: 30px;
  }
  .pages_section__title-date{
    font-size: 20px;
  }
  .pages_section__text p{
    font-size: 16px;
  }
  .pages_seccion p{
    font-size: 16px;
  }
  .pages-section a,.pages-section a {
    font-size: 18px;
  }
  .pages-section__img img{
   width: 80%;
  }
  .pages-section__btn{
    padding-top: 10%;
  }
 .pages-section__btn a{ 
    width: 80%;
    height: 80px;
    font-size: 30px;
  }
}
/* =========================
   PÁGINA PRESS + RESPONSIVE
   ========================= */
#pages-section__press{
  border-left:solid 5px black;
  padding-left:50px;

}
.press-item{
  padding-top: 15px;
  padding-bottom: 15px;

}
.press-item span{
  font-weight: bold;
}
@media (max-width: 480px) {
  #pages-section__press{
    border-left:solid 3px black;
    padding-left:20px;
  }
}
/* =========================
   WORK PAGE /
   + RESPONSIVE
   ========================= */
   #pages_container-work{
    background-image: url(img/rocio_blur.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    display: flex;
    justify-content:center;
    align-items: center;
    position: relative; 
    z-index: 0;
    }
    #pages_container-work::before {
      content: "";
      position: absolute;
      inset: 0;                 
      background-color: rgba(0,0,0,0.3); /* overlay negro 30% */
      pointer-events: none;
       z-index: -1;              
      }
   .pages_container-work__one,
   .pages_container-work__two{
     width: 60%;
     height: auto;
     display: flex;
     gap:0;
     flex-direction: row;

   }
   .pages_container-work__one div{
     width: 33.33%;
     margin: 0;
     height:auto;
     display: flex;
     align-items:flex-end;
     justify-content:left;
     transition: transform 0.3s ease;

   }
    .pages_container-work__one div:hover,
    .pages_container-work__two div:hover{
     transform: scale(1.01);

   }
   
   .pages_container-work__two div{
     width: 33.33%;
     height: auto;
     display: flex;
     align-items:start;
     justify-content:left;
     transition: transform 0.3s ease;

   }
   .pages_container-work__two a,
   .pages_container-work__one a{
    margin:10%;
    width: 100%;
    height: 100%;
    display: inline-block;
    font-size: 4vw;
    line-height: 4vw;
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    letter-spacing: -3.5px;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px var(--color-acento); 
    transition: background-image .3s ease, opacity .3s ease;

    }
   .pages_container-work__one a{
    align-content: flex-end;

    }
     .pages_container-work__two a{
    align-content: flex-start;

    }
   .pages_container-work__one a:hover,
   .pages_container-work__two a:hover{
    background-image: url("img/Rocio_taller.jpeg");
    background-size: cover;
    background-position: center;
    
   }
   .pages_container-work__one div:first-child,
   .pages_container-work__one div:nth-child(2),
   .pages_container-work__one div:last-child{
     width: 100%;
     height:500px;
     background-repeat: no-repeat;
     background-size: contain;
     background-position: bottom;

   }
   .pages_container-work__one div:first-child{
    background-image: url(img/work/percepción.png);
  }
    
   .pages_container-work__one div:nth-child(2){
     background-image: url(img/work/retrato.png);

   }
   .pages_container-work__one div:last-child{
     background-image: url(img/work/laquema.png);

   }

   .pages_container-work__two div:first-child,
   .pages_container-work__two div:nth-child(2),
   .pages_container-work__two div:last-child
   {
     width: 100%;
     height: 500px;
     background-repeat: no-repeat;
     background-size: contain;
     background-position: top;

   }
   .pages_container-work__two div:first-child{
    background-image: url(img/work/nudus.png);
  }
    
   .pages_container-work__two div:nth-child(2){
     background-image: url(img/work/un\ viaje.png);

   }
   .pages_container-work__two div:last-child{
     background-image: url(img/work/escultura.png);

   }

#btn__transparent{
  background: transparent;
}
#btn__transparent a{ 
  border: solid 3px white;
  color: white;
}
#btn__transparent a:hover{ 
  border: solid 3px var(--color-acento);
  color: var(--color-acento);
}
/* =========================
  WORK PAGE /
  RESPONSIVE
  ========================= */
@media (max-width: 768px) {
   .pages_container-work__one,
   .pages_container-work__two{
     width: 70%;
   }
   .pages_container-work__one div:first-child,
   .pages_container-work__one div:nth-child(2),
   .pages_container-work__one div:last-child,
   .pages_container-work__two div:first-child,
   .pages_container-work__two div:nth-child(2),
   .pages_container-work__two div:last-child{
     height:300px;

   }
}  
/* móviles */
@media (max-width: 480px) {
  .pages_container-work__one,
  .pages_container-work__two{
     width: 80%;
  }
  .pages_container-work__one div:first-child,
  .pages_container-work__one div:nth-child(2),
  .pages_container-work__one div:last-child,
  .pages_container-work__two div:first-child,
  .pages_container-work__two div:nth-child(2),
  .pages_container-work__two div:last-child{
     height:200px;
   }

  .pages_container-work__two a,
  .pages_container-work__one a{
    margin:5%;
    font-size: 5.5vw;
    line-height: 6vw;
    letter-spacing: -1px;
  }

}
/* =========================
   WORK PAGES / RETRATO
   + RESPONSIVE
   ========================= */
  #pages_container-retrato{
    width: 100%;
    height: auto;
    height: auto;
    display: flex;
    justify-content: center;
  }
  .pages-section__work-pages{
    width: 60%;
    height: auto;
    display: flex;
    flex-direction: column;

  }
/* Thumbs */
.gallery,
.gallery__two-images {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;

}
.contenedor_img{
  width: 100%;
}
.contenedor_img img,
.gallery__two-images img{
  width: 100%;
  height: auto;
  padding-top:8%;
  padding-bottom:2%;
}
#img_escultura-left{
  border-right: solid 15px white;
  width: 50%;

}
#img_escultura-right{
  border-left: solid 15px white;
  width: 50%;

}
.texto_paginas_work{
  padding-top: 5%;
}
.texto_paginas_work p{
  padding-top: 2%;
  font-size: 20px;
  font-weight: 100;
  font-style: normal;
}
#zoom img{
  cursor: zoom-in;
}
.gallery__two-images p,
.gallery p{
  font-size: 16px;
  line-height: 24px;
}
/* Lightbox base (oculto) */
.lightbox {
  position: fixed; inset: 0;
  display: none;
}
.lightbox:target { display: block; }

/* Overlay */
.lightbox .overlay {
  position: absolute; inset: 0;
  /* background: white; */
  background-color: rgba(0,0,0,.8);
}
/* Contenido centrado */
.lightbox .content {
  position: absolute; inset: 0;
  display: flex; justify-content: center;
  align-items: center;
  padding: 12vmin;
}
.lightbox img {
  max-width: 92vw; max-height: 70vh; object-fit: contain;

}
/* Controles */
.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; display: flex; flex-direction: center;
  color: var(--color-acento); text-decoration: none; font-size: 30px; line-height: 1;
  font-weight: 300; align-items: center;
}

.lightbox .close {
  top:50vh;right: 60px;transform: none; font-size: 20px;
  font-weight: bold;
  align-self: flex-end;
}
.lightbox .prev { left: 24px; }
.lightbox .next { right: 24px; }

.lightbox .close:hover,
.lightbox .prev:hover,
.lightbox .next:hover { color: var(--color-fondo); }

/* Accesibilidad mínima */
.lightbox:target .content { outline: none; }

/* =========================
  WORK retrato PAGE /
  RESPONSIVE
  ========================= */
@media (max-width: 768px) {
   .pages-section__work-pages{
    width: 70%;

   }
   .gallery p,
   .gallery__two-images p{
    font-size: 14px;
    line-height: 22px;
  }
  .texto_paginas_work{
  padding-top: 5%;
}
.texto_paginas_work p{
  font-size: 18px;
}
}  
/* móviles */
@media (max-width: 480px) {
  .pages-section__work-pages{
    width: 90%;

   }
    .gallery p{
    font-size: 12px;
    line-height: 20px;
  }

.texto_paginas_work p{

  font-size: 16px;

}
  .gallery__two-images {
    flex-direction: column;
  
    }
    .contenedor_img{
      width:100%; 
    }
    #img_escultura-left{
      border-right: 0px;
      width: 100%;
    }
    #img_escultura-right{
      border-left:0px;
      width: 100%;
    }
    .lightbox .content {
      padding: 5vmin;
    }
  
    .lightbox img {
      max-width: 90vw;
      max-height: 70vh;
    }
    .lightbox .close {
      top:85vh;
      right: 80px;
      transform: none;
      align-self: flex-end;
    }
   /* Controles */
   .lightbox .close,
   .lightbox .prev,
   .lightbox .next {
    width: 20px;
    height: 20px; 
    font-size: 16px;
  }
  .lightbox .prev { left: 0px; }
  .lightbox .next { right: 0px; }
  .lightbox .close{ right:60px; }

  }

/* =========================
   LEGAL PAGES / FOOTER
   ========================= */
#legal_page{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 15%;
  padding-bottom: 10%;
}
#privacidad{
  width: 60%;
  height: auto;

}
#privacidad h4{
  padding-top: 30px;
  padding-bottom: 30px;

}
#privacidad h4:first-child{
  padding-top: 0px;

}
#privacidad h3{
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  text-decoration: 2px underline var(--color-acento);
  padding-bottom: 1%;


}
#privacidad p{
  font-size: 20px;
  font-weight: 100;
  padding-bottom: 15px;

}
#privacidad p:last-child{
  padding-bottom: 0px;

}
.legal-section__img{
  padding-top: 5%;

}
.legal-section__img img{
  width: 100px;
  height: auto;

}
/* =========================
   LEGAL PAGES / FOOTER
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {

   #legal_page{
    padding-top: 200px;
  }
  #privacidad{
    width: 70%;
  }
  #privacidad h4{
    font-size: 30px;
  }
  #privacidad h3{
    font-size: 22px;
  }
  #privacidad p{
    font-size: 18px;
  }
  .legal-section__img img{
    width: 80px;
  }
   
}
/* móviles */
@media (max-width: 480px) {

#privacidad{
  width: 80%;

}
#privacidad h4{
  font-size: 25px;
}
#privacidad h3{
  font-size: 20px;
}
#privacidad p{
  font-size: 16px;
}
.legal-section__img{
  padding-top: 10%;
}
.legal-section__img img{
  width: 50px;

}

}
/* =========================
  cv
  PAGE 
  ========================= */
.pages_section__text_cv{
  padding-bottom: 15%;
}
.pages_section__text_cv p{
  font-size: 22px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.pages_section__text_cv p span{
  font-weight: bold;
}
.cv_list{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  border-left:solid 5px black;
  margin-top: 5%;
  margin-bottom: 5%;
  padding-left: 5%;
}
/* =========================
  MORE PAGE /
  RESPONSIVE
  ========================= */
@media (max-width: 768px) {
  .pages_section__text_cv p{
  font-size: 20px;
}

}

@media (max-width: 480px) {
.pages_section__text_cv p{
  font-size: 16px;
}
  .cv_list{
  border-left:solid 3px black;
  padding-left:20px;
}

}
/* =========================
  CONTACT
  PAGE 
  ========================= */
#pages_container-contact {
  width: 100%;
  min-height: 100vh; /* añade esto mejor que height:auto */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(img/cuadros_blancoynegro.jpeg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;   /* CAMBIA ESTO a 0 */
}

#pages_container-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%; /* IMPORTANTE: no auto */
  background-color: rgba(0,0,0,.3);
  z-index: 1;
}
#data{
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background-image:url(img/tape_pink.png) ;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
  margin-top: 50px;
}
#data h4,
#data p{
  color:white;
  font-weight: 100; 
}
#data h4{
  font-size: 60px;
}
#data p{
  font-size: 16px;
}

form {
  width: 60%;
  font-family: Helvetica, Arial, sans-serif;
  position: relative;
  z-index: 10;
  padding-top: 100px;
  
}

.hidden {
  display: none;
}

.campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  color: white;
}

label {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 100;
}

input,
textarea {
  border: none;
  text-decoration: none;
  border-bottom: 2px solid white;
  padding: 10px;
  color: white;
  font-size: 20px;
  font-family: Helvetica, Arial, sans-serif;
  background: transparent;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

/* Hover / focus */
input:focus,
textarea:focus,
input:hover,
textarea:hover {
  border-color: var(--color-acento);
  background: #FCAFDD10;
  outline: none;
}

/* Estado de error */
.campo.error input,
.campo.error textarea {
  border-color: #ff4d4d;
}

.error-text {
  font-size: 12px;
  color: #ff4d4d;
  margin-top: 4px;
  min-height: 14px;
}

/* Estado de éxito en el campo (opcional, suave) */
.campo.success input,
.campo.success textarea {
  border-color: #7acb5a;
}

#submit-btn {
  width: 100%;
  height: 100px;
  border: solid 3px white;
  color:white;
  background-color: transparent;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  transition: transform 0.3s ease;
  margin-top: 10%;
}

#submit-btn:hover,
#submit-btn:active{ 
  color: var(--color-acento);
  border: solid 3px var(--color-acento);
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mensaje general del formulario */
.form-status {
  margin-top: 10px;
  font-size: 14px;
}

.form-status.success {
  color: #1a7f37;
}

.form-status.error {
  color: #ff4d4d;
}
/* =========================
  CONTACT PAGE /
  RESPONSIVE
  ========================= */
@media (max-width: 768px) {
  #data{
  width: 350px;
}
#data h4{
  font-size: 50px;
}
.form {
  width: 70%;
}
#submit-btn{ 
    height: 90px;
    font-size: 40px;
  }
}
@media (max-width: 480px) {
  #data{
  width: 260px;
  height: auto;
}
#data h4{
  font-size: 25px;
}
#data p{
  font-size: 12px;
  line-height: 14px;
}
form{
  width: 80%;
}
label {
  font-size: 16px;
}

input,
textarea {
  padding: 5px;
  font-size: 16px;

}
#submit-btn{ 
    height: 80px;
    font-size: 30px;
  }

}
/* =========================
  MORE
  PAGE
  ========================= */
#pages_container-more{
    width: 100%;

  }
.pages_container-more__div {
  width: 60%;
  margin: 0 auto;  
  display: flex;
  flex-wrap: wrap;  
  gap: 30px;         
}

.pages_container-more__div > div {
  flex: 0 1 auto;
}

#more_items a {   
  display: inline-block;
  font-size: 8vw;
  line-height: 6.5vw;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  letter-spacing: -3.5px;
  font-style: normal;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 3px var(--color-acento); 
  transition: background-image .3s ease, opacity .3s ease;

}

#more_items a:hover {
  opacity: 1;
  -webkit-text-stroke: 3px var(--color-acento);
}

#more_items div:nth-child(1) a:hover {
  background-image: url("img/more/Premio_Cervantes/premio_cervantes_1.jpeg");
  background-size: cover;
  background-position: center;

}

#more_items div:nth-child(2) a:hover {
  background-image: url("img/more/Museo_Sorolla/museo_sorolla_3.jpeg");
  background-size: cover;
  background-position: center;

}

#more_items div:nth-child(3) a:hover {
  background-image: url("img/more/Residencia_Emabjada_Francesa/embajada_francesa_3.jpeg");
  background-size: cover;
  background-position: center;

}

#more_items div:nth-child(4) a:hover {
  background-image: url("img/more/Martirio_San_Pedro_Francisco_Rizi/retablo_martirio_spdfr_1.jpeg");
  background-size: cover;
  background-position: center;

}
/* Lightbox base (oculto) */
.lightbox_2 {
  position: fixed; inset: 0;
  display: none;
  z-index: 9998; 

}
.lightbox_2 p{
  margin-left: 20px;
  font-size: 18px;
  color:white;
}
.lightbox_2:target { display: block; }

/* Overlay */
.lightbox_2 .overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.8);
 /*  background: white; */
}
/* Contenido centrado */
.lightbox_2 .content {
  position: absolute; inset: 0;
  display: flex; justify-content:start;
  align-items:end;
  padding: 12vmin;
   z-index: 9999; /* ⭐ LO IMPORTANTE */

}
.lightbox_2 img {
  max-width: 92vw;
  max-height: 70vh; object-fit: contain;

}
/* Controles */
.lightbox_2 .close,
.lightbox_2 .prev,
.lightbox_2 .next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; display: flex; flex-direction: center;
  color: var(--color-acento); text-decoration: none!important; font-size: 22px; line-height: 1;
  font-weight: 900; align-items: center;
}

.lightbox_2 .close {
  top:90vh;
  right: 80px;
  transform: none;
  align-self: flex-end;
}
.lightbox_2 .prev { left: 24px; }
.lightbox_2 .next { right: 24px; }

.lightbox_2 .close:hover,
.lightbox_2 .prev:hover,
.lightbox_2 .next:hover { color: var(--color-fondo); }

/* Accesibilidad mínima */
.lightbox_2:target .content { outline: none; }


@media (max-width: 480px) {

.pages_container-more__div {
  width: 80%; 
  gap: 20px;         
}

  #more_items a {   
  font-size: 9vw;
  line-height: 9.5vw;
  letter-spacing: -1px;
  -webkit-text-stroke: 1px var(--color-acento);
  }
  #more_items a:hover {
  -webkit-text-stroke: 1.2px var(--color-acento);
  }

.lightbox_2 p{
  margin-left: 16px;
  font-size: 14px;
  justify-content: left;
  margin-left: 0px;
  padding-top: 20px;
  width: 85vw;
}
.lightbox_2 .content {
  flex-direction: column;
  justify-content: center;
  align-items:center;

}
.lightbox_2 img {
  max-width: 90vw;
  max-height: 65vh;

}
/* Controles */
.lightbox_2 .close,
.lightbox_2 .prev,
.lightbox_2 .next {
  width: 20px;
  height: 20px; 
  font-size: 16px;
}
.lightbox_2 .close {
  top:85vh;
}

.lightbox_2 .prev { left: 0px; }
.lightbox_2 .next { right: 0px; }
.lightbox_2 .close{ right:60px; }

}

.contenedor__2img_diferenteformato {
  width: 100%;
  height: auto;     
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8%;                
  box-sizing: border-box;
}
.contenedor__2img_diferenteformato img {
  height: 100%;  
  width: auto; 
  object-fit: cover;
  display: block;
  padding-top: 8%;
  padding-bottom: 2%;
}
.contenedor__2img_diferenteformato > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  object-fit: cover;
}

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

/* Responsive */
@media (max-width: 768px) {
  .contenedor__2img_diferenteformato {
    height: auto;   
    flex-direction: column;
    align-items: center;
  }

  .contenedor__2img_diferenteformato img {
    width: 100%;           
    height: auto;      
  }
  .contenedor__2img_diferenteformato > div {
   width: 100%;           
    height: auto;
}

.contenedor__2img_diferenteformato img {
  width: 100%;           
  height: auto;
}
}
