@font-face {
font-family: 'SemanaSerif-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-Black.ttf);
}
@font-face {
font-family: 'SemanaSerif-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-ExtraBold.ttf);
}
@font-face {
font-family: 'SemanaSerif-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-Bold.ttf);
}
@font-face {
font-family: 'SemanaSerif-BoldItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-BoldItalic.ttf);
}
@font-face {
font-family: 'SemanaSerif-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-Medium.ttf);
}
@font-face {
font-family: 'SemanaSerif-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-Regular.ttf);
}
@font-face {
font-family: 'SemanaSerif-RegularItalic';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-RegularItalic.ttf);
}
@font-face {
font-family: 'SemanaSerif-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSerif-Light.ttf);
}
@font-face {
font-family: 'SemanaSans-Black';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-Black.ttf);
}
@font-face {
font-family: 'SemanaSans-ExtraBold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-ExtraBold.ttf);
}
@font-face {
font-family: 'SemanaSans-Bold';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-Bold.ttf);
}
@font-face {
font-family: 'SemanaSans-Light';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-Light.ttf);
}
@font-face {
font-family: 'SemanaSans-Medium';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-Medium.ttf);
}
@font-face {
font-family: 'SemanaSans-Regular';
src: url(https://multimedia.elpais.com.co/2024/style/fuentes-semana/SemanaSans-Regular.ttf);
}
.body {
font-family: 'SemanaSans-Regular';
font-weight: 400;
font-style: normal;
line-height: 200%;
}
.main {
width: 100%;
margin: 160px auto;
text-align: center;
}
.centrar{
display: flex;
justify-content: center;
z-index: 1;
}	
h1 {
margin-bottom: 30px;
font-size: 44px;
}
h2 {
margin-bottom: 5px;
font-size: 21px;
margin-top: 10px;
line-height: 24px;
text-align: left;
font-family: 'SemanaSans-Medium';
font-weight: 500;
font-style: normal;
color: #303440;
}
h3 {
font-size: 15px;
font-family: 'SemanaSans-Medium';
font-weight: 300;
font-style: normal;
text-align: left;
line-height: 20px;
color: #303440;
}
p {
font-size: 18px;
color: #303440;
}
.linea{
width: 80%;
height: 1px;
border-bottom: 1.5px solid #4C342A;
}
.img-fondo{
transform: scale(2.5);
}
/*-------------------------------1-------------------------*/
.btn {
margin-top: 30px;
padding: 2.2% 5.5%;
display: inline-block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #fff;
font-size: 22px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #333;
}
.btn:hover {
opacity: 0.75;
}
.popup-wrap {
width: 100%;
height: 100%;
display: none;
justify-content: center;
position: absolute;
top: 0px;
left: 0px;
content: "";
z-index: 1;
}
.popup-box {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 450px;
padding: 1.5%;
position: absolute;
margin-top: 25%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 3px;
background: #fff;
text-align: center;
overflow: hidden;
border-radius: 9px;
border: 1px solid #D0855D;
}
.popup-box .close-btn {
width: 30px;
height: 30px;
display: inline-block;
position: absolute;
top: 5px;
right: 5px;
font-size: 25px;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
border-radius: 1000px;
background: #ff7e3a;
font-weight: bold;
text-decoration: none;
color: #fff;
line-height: 24px;
font-family: "montserrat", sans-serif;
font-weight: 300;
font-style: normal;
}
/*
.popup-box .close-btn:hover {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}*/
.transform-in, .transform-out {
display: flex;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
}
.fondo-popup{
background-repeat: no-repeat;
top: 0;
display: flex;
position: absolute;
height: 100%;
width: auto;
}
/*-----------------------------------2----------------------------------------*/
.btn2 {
margin-top: 30px;
padding: 2.2% 5.5%;
display: inline-block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #fff;
font-size: 22px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #333;
}
.btn2:hover {
opacity: 0.75;
}
.popup-wrap2 {
width: 100%;
height: 100%;
display: none;
justify-content: center;
position: absolute;
top: 0px;
left: 0px;
content: "";
z-index: 1;
}
.popup-box2 {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 450px;
padding: 1.5%;
position: absolute;
margin-top: 25%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 3px;
background: #fff;
text-align: center;
overflow: hidden;
border-radius: 9px;
border: 1px solid #D0855D;
}
.popup-box2 .close-btn2 {
width: 30px;
height: 30px;
display: inline-block;
position: absolute;
top: 5px;
right: 5px;
font-size: 25px;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
border-radius: 1000px;
background: #ff7e3a;
font-weight: bold;
text-decoration: none;
color: #fff;
line-height: 24px;
font-family: "montserrat", sans-serif;
font-weight: 300;
font-style: normal;
}
/*
.popup-box .close-btn:hover {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}*/
.transform-in2, .transform-out2 {
display: flex;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
}
/*-----------------------------------3----------------------------------------*/
.btn3 {
margin-top: 30px;
padding: 2.2% 5.5%;
display: inline-block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #fff;
font-size: 22px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #333;
}
.btn3:hover {
opacity: 0.75;
}
.popup-wrap3 {
width: 100%;
height: 100%;
display: none;
justify-content: center;
position: absolute;
top: 0px;
left: 0px;
content: "";
z-index: 1;
}
.popup-box3 {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 450px;
padding: 1.5%;
position: absolute;
margin-top: 25%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 3px;
background: #fff;
text-align: center;
overflow: hidden;
border-radius: 9px;
border: 1px solid #D0855D;
}
.popup-box3 .close-btn3 {
width: 30px;
height: 30px;
display: inline-block;
position: absolute;
top: 7%;
right: 7%;
font-size: 25px;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
border-radius: 1000px;
background: #ff564d;
font-weight: bold;
text-decoration: none;
color: #fff;
line-height: 24px;
font-family: "montserrat", sans-serif;
font-weight: 300;
font-style: normal;
}
/*
.popup-box .close-btn:hover {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}*/
.transform-in3, .transform-out3 {
display: flex;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
}
.fondo-popup3{
background-repeat: no-repeat;
top: 0;
display: flex;
position: absolute;
height: 100%;
width: auto;
}
/*-----------------------------------4----------------------------------------*/
.btn4 {
margin-top: 30px;
padding: 2.2% 5.5%;
display: inline-block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #fff;
font-size: 22px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #333;
}
.btn4:hover {
opacity: 0.75;
}
.popup-wrap4 {
width: 100%;
height: 100%;
display: none;
justify-content: center;
position: absolute;
top: 0px;
left: 0px;
content: "";
z-index: 1;
}
.popup-box4 {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 450px;
padding: 1.5%;
position: absolute;
margin-top: 25%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 3px;
background: #fff;
text-align: center;
overflow: hidden;
border-radius: 9px;
border: 1px solid #D0855D;
}
.popup-box4 .close-btn4 {
width: 30px;
height: 30px;
display: inline-block;
position: absolute;
top: 7%;
right: 7%;
font-size: 25px;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
border-radius: 1000px;
background: #ff7e3a;
font-weight: bold;
text-decoration: none;
color: #fff;
line-height: 24px;
font-family: "montserrat", sans-serif;
font-weight: 300;
font-style: normal;
}
/*
.popup-box .close-btn:hover {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}*/
.transform-in4, .transform-out4 {
display: flex;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
}
.fondo-popup4{
background-repeat: no-repeat;
top: 0;
display: flex;
position: absolute;
height: 100%;
width: auto;
}
/*-----------------------------------5----------------------------------------*/
.btn5 {
margin-top: 30px;
padding: 2.2% 5.5%;
display: inline-block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #fff;
font-size: 22px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #333;
}
.btn5:hover {
opacity: 0.75;
}
.popup-wrap5 {
width: 100%;
height: 100%;
display: none;
justify-content: center;
position: absolute;
top: 0px;
left: 0px;
content: "";
z-index: 1;
}
.popup-box5 {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 450px;
padding: 1.5%;
position: absolute;
margin-top: 25%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 3px;
background: #fff;
text-align: center;
overflow: hidden;
border-radius: 9px;
border: 1px solid #D0855D;
}
.popup-box5 .close-btn5 {
width: 30px;
height: 30px;
display: inline-block;
position: absolute;
top: 7%;
right: 7%;
font-size: 25px;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
border-radius: 1000px;
background: #ff7e3a;
font-weight: bold;
text-decoration: none;
color: #fff;
line-height: 24px;
font-family: "montserrat", sans-serif;
font-weight: 300;
font-style: normal;
}
/*
.popup-box .close-btn:hover {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}*/
.transform-in5, .transform-out5 {
display: flex;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
}
.fondo-popup5{
background-repeat: no-repeat;
top: 0;
display: flex;
position: absolute;
height: 100%;
width: auto;
}
/*-----------------------------------6----------------------------------------*/
.btn6 {
margin-top: 30px;
padding: 2.2% 5.5%;
display: inline-block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #fff;
font-size: 22px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #333;
}
.btn6:hover {
opacity: 0.75;
}
.popup-wrap6 {
width: 100%;
height: 100%;
display: none;
justify-content: center;
position: absolute;
top: 0px;
left: 0px;
content: "";
z-index: 1;
}
.popup-box6 {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 450px;
padding: 1.5%;
position: absolute;
margin-top: 25%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 3px;
background: #fff;
text-align: center;
overflow: hidden;
border-radius: 9px;
border: 1px solid #D0855D;
}
.popup-box6 .close-btn6 {
width: 30px;
height: 30px;
display: inline-block;
position: absolute;
top: 5px;
right: 5px;
font-size: 25px;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
border-radius: 1000px;
background: #ff7e3a;
font-weight: bold;
text-decoration: none;
color: #fff;
line-height: 24px;
font-family: "montserrat", sans-serif;
font-weight: 300;
font-style: normal;
}
/*
.popup-box .close-btn:hover {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}*/
.transform-in6, .transform-out6 {
display: flex;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
}
.fondo-popup6{
background-repeat: no-repeat;
top: 0;
display: flex;
position: absolute;
height: 100%;
width: auto;
}
/*-----------------------------------7----------------------------------------*/
.btn7 {
margin-top: 30px;
padding: 2.2% 5.5%;
display: inline-block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #fff;
font-size: 22px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #333;
}
.btn7:hover {
opacity: 0.75;
}
.popup-wrap7 {
width: 100%;
height: 100%;
display: none;
justify-content: center;
position: absolute;
top: 0px;
left: 0px;
content: "";
z-index: 1;
}
.popup-box7 {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 450px;
padding: 1.5%;
position: absolute;
margin-top: 25%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 3px;
background: #fff;
text-align: center;
overflow: hidden;
border-radius: 9px;
border: 1px solid #D0855D;
}
.popup-box7 .close-btn7 {
width: 30px;
height: 30px;
display: inline-block;
position: absolute;
top: 7%;
right: 7%;
font-size: 25px;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
border-radius: 1000px;
background: #ff7e3a;
font-weight: bold;
text-decoration: none;
color: #fff;
line-height: 24px;
font-family: "montserrat", sans-serif;
font-weight: 300;
font-style: normal;
}
/*
.popup-box .close-btn:hover {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}*/
.transform-in7, .transform-out7 {
display: flex;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
}
.fondo-popup7{
background-repeat: no-repeat;
top: 0;
display: flex;
position: absolute;
height: 100%;
width: auto;
}
/*-----------------------------------8----------------------------------------*/
.btn8 {
margin-top: 30px;
padding: 2.2% 5.5%;
display: inline-block;
-webkit-transition: all linear 0.15s;
transition: all linear 0.15s;
border-radius: 3px;
background: #fff;
font-size: 22px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
color: #333;
}
.btn8:hover {
opacity: 0.75;
}
.popup-wrap8 {
width: 100%;
height: 100%;
display: none;
justify-content: center;
position: absolute;
top: 0px;
left: 0px;
content: "";
z-index: 1;
}
.popup-box8 {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 450px;
padding: 1.5%;
position: absolute;
margin-top: 25%;
box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
border-radius: 3px;
background: #fff;
text-align: center;
overflow: hidden;
border-radius: 9px;
border: 1px solid #D0855D;
}
.popup-box8 .close-btn8 {
width: 30px;
height: 30px;
display: inline-block;
position: absolute;
top: 5px;
right: 5px;
font-size: 25px;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
border-radius: 1000px;
background: #ff7e3a;
font-weight: bold;
text-decoration: none;
color: #fff;
line-height: 24px;
font-family: "montserrat", sans-serif;
font-weight: 300;
font-style: normal;
}
/*
.popup-box .close-btn:hover {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}*/
.transform-in8, .transform-out8 {
display: flex;
-webkit-transition: all ease 0.5s;
transition: all ease 0.5s;
}
.fondo-popup8{
background-repeat: no-repeat;
top: 0;
display: flex;
position: absolute;
height: 100%;
width: auto;
}
/*-----------------------------------fin----------------------------------------*/
.iframe{
width: 100%;
overflow: hidden;
border: 1.5px solid #c8ad89;
}
.transform-in {
	display: flex;
	/*
-webkit-transform: translate(-50%, -50%) scale(1);
transform: translate(-50%, -50%) scale(1);
	*/
}
.transform-out {
	display: flex;
	/*
-webkit-transform: translate(-50%, -50%) scale(0.5);
transform: translate(-50%, -50%) scale(0.5);
	*/
}
@media(max-width:1400px){
.popup-box{
max-width: 430px;
}
.popup-box2{
max-width: 430px;
}
.popup-box3{
max-width: 430px;
}
.popup-box4{
max-width: 430px;
}
.popup-box5{
max-width: 430px;
}
.popup-box6{
max-width: 430px;
}
.popup-box7{
max-width: 430px;
}
.iframe{
width: 100%;
border-radius: 9px;
}
.linea{
width: 70%;
margin-top: 15px;
}
}
@media(max-width:768px){
.linea{
width: 80%;
}
.popup-box{
width: 80%;
padding: 15px;
margin-top: 22%;
}
.popup-box2{
width: 80%;
padding: 15px;
margin-top: 22%;
}
.popup-box3{
width: 80%;
padding: 15px;
margin-top: 22%;
}
.popup-box4{
width: 80%;
padding: 15px;
margin-top: 22%;
}
.popup-box5{
width: 80%;
padding: 15px;
margin-top: 22%;
}
.popup-box6{
width: 80%;
padding: 15px;
margin-top: 22%;
}
.popup-box7{
width: 80%;
padding: 15px;
margin-top: 22%;
}
.iframe{
width: 100%;
border-radius: 9px;
}
h2{
margin-bottom: 10px;
margin-top: 10px;
font-size: 21px;
}
h3{
font-size: 14px;
line-height: 19px;
}
}
/* El envoltorio cubre el mapa completo */
.popup-wrap,
.popup-wrap2,
.popup-wrap3,
.popup-wrap4,
.popup-wrap5 {
  position: absolute;
  inset: 0;        /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  display: none;   /* visible solo al abrir */
  z-index: 3;
  margin: 0;
  padding: 0;
}

/* Caja interior: ocupa todo sin márgenes ni padding */
.popup-box,
.popup-box2,
.popup-box3,
.popup-box4,
.popup-box5 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

/* Imagen dentro del popup */
.popup-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* o 'cover' si prefieres que llene recortando */
  display: block;
}

/* Botón cerrar arriba a la derecha */
.close-btn,
.close-btn2,
.close-btn3,
.close-btn4,
.close-btn5 {
  position: absolute;
  top: 7%;
right: 7%;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  z-index: 4;
}
/* El envoltorio cubre el mapa completo */
.popup-wrap,
.popup-wrap2,
.popup-wrap3,
.popup-wrap4,
.popup-wrap5 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 3;
  margin: 0 !important;
  padding: 0 !important;
}

/* Caja interna a full */
.popup-box,
.popup-box2,
.popup-box3,
.popup-box4,
.popup-box5 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

/* Imagen llena exactamente el mapa */
.popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* llena exacto; usa 'contain' si no quieres recorte */
  object-position: center;
  display: block;
}

/* Botón cerrar */
.close-btn,
.close-btn2,
.close-btn3,
.close-btn4,
.close-btn5 {
  position: absolute;
  top: 7%;
right: 7%;
  width: 34px;
  height: 34px;
  line-height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 22px;
  z-index: 4;
}

/* Forzar que el popup siga la forma del mapa */
figure { 
  position: relative;
  border-radius: 10px;  /* mismo radio que .mapa */
  overflow: hidden;     /* recorta el popup a las esquinas del mapa */
}
/* === OVERRIDE FINAL: popup del tamaño exacto del mapa === */
figure{
  position: relative;
  border-radius: 10px;      /* mismo radio del .mapa */
  overflow: hidden;         /* recorta a las esquinas del mapa */
}

figure > .popup-wrap,
figure > .popup-wrap2,
figure > .popup-wrap3,
figure > .popup-wrap4,
figure > .popup-wrap5{
  position: absolute !important;
  inset: 0 !important;      /* top/right/bottom/left: 0 */
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: none;            /* se muestra con JS */
  z-index: 3 !important;
}

figure > .popup-wrap  > .popup-box,
figure > .popup-wrap2 > .popup-box2,
figure > .popup-wrap3 > .popup-box3,
figure > .popup-wrap4 > .popup-box4,
figure > .popup-wrap5 > .popup-box5{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: none !important;     /* por si hay clases transform-** */
}

.popup-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;              /* usa 'contain' si no quieres recorte */
  object-position: center;
  display: block;
}
/* Escalar las imágenes un 10% menos */
.popup-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;

  transform: scale(0.9);       /* reduce tamaño al 90% */
  transform-origin: center;    /* mantiene centrado el escalado */
}
.popup-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;

  transform: scale(0.9);          /* mantiene el 90% */
  transform-origin: center;

  /* 🔥 sombra suave alrededor de la imagen */
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border-radius: 8px;             /* opcional, para suavizar bordes */
}
/* Galería dentro del popup */
.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-container .popup-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(0.9);
  transform-origin: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-container .popup-img.active {
  opacity: 1;
  z-index: 1;
}

/* Flechas */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  text-decoration: none;
  z-index: 5;
  cursor: pointer;
  transition: background 0.3s;
}

.gallery-arrow:hover {
  background: rgba(0,0,0,0.7);
}

.gallery-arrow.prev { left: 20px; }
.gallery-arrow.next { right: 20px; }
/* Flechas como div */
.izquierda,
.derecha {
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  z-index: 5;
  user-select: none;
  transition: background 0.3s;
}

.izquierda:hover,
.derecha:hover {
  background: rgba(0,0,0,0.7);
}

.izquierda { left: 20px; }
.derecha { right: 20px; }
/* Contenedor de flechas */
.izquierda,
.derecha {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  width: 40px;     /* ajusta según tamaño deseado */
  height: 40px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.izquierda { left: 20px; }
.derecha   { right: 20px; }

/* Imagen SVG dentro */
.izquierda img,
.derecha img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none; /* evita que bloquee el click */
}
/* Contenedor base de cada icono */
.icono {
  position: relative;
  width: 40px;   /* ajusta según tu diseño */
  height: 40px;
  border-radius: 50%;
  background: #E74C3C;   /* color de fondo del punto */
  z-index: 2;
}

/* Anillo extra discontínuo */
.icono::after {
  content: "";
  position: absolute;
  top: -8px;   /* separación entre punto y anillo */
  left: -8px;
  width: calc(100% + 11px);
  height: calc(100% + 11px);
  border: 2px dashed white;   /* mismo color que el punto, puedes cambiar */
  border-radius: 50%;
  animation: girar 4s linear infinite; /* animación infinita */
  z-index: 1;
}

/* Animación de rotación */
@keyframes girar {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
