@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;600;700;900&display=swap');


* {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
 font-family: 'Raleway', sans-serif;
 font-size: 20px;
}

:root {
 --main: #e15100;
 --White: #ffffff;
 --dark: #353535;
 --second: #042d5e;
 --gris: #e1e2e4;
 --textP: 'Raleway', sans-serif;
 --bg: rgb(222, 228, 250);
 --dot-bg: #ffffff;
 --dot-color: #042d5e;
 --dot-size: 1.5px;
 --dot-space: 22px;
 --height: 100px;
 --width: 200px;
}



body {
 font-family: var(--textP);
 background: var(--bg);
 /* background: linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
 linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
 var(--dot-color); */
}

a {
 text-decoration: none;
}


/*carousel*/



.container {
 padding: 2rem;
}

.slider-wrapper {
 position: relative;
 max-width: 100rem;
 margin: 0 auto;
}

.slider {
 display: flex;
 aspect-ratio: 16 / 9;
 overflow-x: auto;
 scroll-snap-type: x mandatory;
 scroll-behavior: smooth;
 box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
 border-radius: 0.5rem;
 -ms-overflow-style: none;
 /* Hide scrollbar IE and Edge */
 scrollbar-width: none;
 /* Hide scrollbar Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slider::-webkit-scrollbar {
 display: none;
}

.slider img {
 flex: 1 0 100%;
 scroll-snap-align: start;
 object-fit: cover;
}

.slider-nav {
 display: flex;
 column-gap: 1rem;
 position: absolute;
 bottom: 1.25rem;
 left: 50%;
 transform: translateX(-50%);
 z-index: 1;
}

.slider-nav a {
 width: 0.5rem;
 height: 0.5rem;
 border-radius: 50%;
 background-color: var(--main);
 opacity: 0.75;
 transition: opacity ease 250ms;
}

.slider-nav a:hover {
 opacity: 1;
}

/*card buying*/
.cartoon { 
 
 font-family: "Raleway";
 font-weight: bold;
 color: var(--second);
 display: flex;
 flex-direction: column;
 align-content: center;
 position: relative;
 text-align: center;
 width: 200px;
 border: 2px solid var(--second);
 /* Agrega un borde */
 border-radius: 10px;
 /* Redondea las esquinas */
 box-shadow: 0 4px 6px rgba(0, 119, 255, 0.1);
 /* Agrega una sombra */
}

.image-container {
 position: relative;
 width: 100%;
 height: 200px;
}

.image {
 position: absolute;
 width: 100%;
 height: 100%;
 transition: opacity 0.5s ease;
}

.image.overlay {
 opacity: 0;
}

.Bitn {
 
 height: auto;
 width: 50%;
 position: relative;
 z-index: 1;
 padding: 10px 10px;
 font-size: 16px;
 text-decoration: none;
 color: var(--gris);
 border: 2px solid var(--gris);
 background: var(--main);
 border-radius: 100px;
 cursor: pointer;
 transition: transform 0.3s ease, opacity 0.3s ease;
 opacity: 0;
 margin-left: 44px;
}

.text {
 font-size: 20px;
 transition: opacity 0.3s ease;
 margin-top:-20px;
}

.cartoon:hover .image.overlay {
 opacity: 1;
}

.cartoon:hover .image:not(.overlay) {
 opacity: 0;
}

.cartoon:hover .Bitn {
 transform: translateY(-10px);
 opacity: 1;
}

.cartoon:hover .text {
 opacity: 0;
}
/* .cartoon:hover{
 
} */

.cartoon .image-container, .cartoon .Bitn{
 display: flex;
 align-items: center;
 justify-content: center;
 flex-direction: column;
}

.cartoon-container{
 display: flex;
 flex-direction: row;
 row-gap: 10px;
}
@media (max-width: 768px) {
 .cartoon { 
 
 font-family: "Raleway";
 font-weight: bold;
 color: var(--second);
 display: flex;
 flex-direction: column;
 align-content: center;
 position: relative;
 text-align: center;
 width: 130px;
 border: 2px solid var(--second);
 /* Agrega un borde */
 border-radius: 10px;
 /* Redondea las esquinas */
 box-shadow: 0 4px 6px rgba(0, 119, 255, 0.1);
 /* Agrega una sombra */
 
 }
 
 .image-container {
 position: relative;
 width: 100%;
 height: 120px;
 }
 
 .image {
 position: absolute;
 width: 100%;
 height: 100%;
 transition: opacity 0.5s ease;
 }
 
 .image.overlay {
 opacity: 0;
 }
 
 .Bitn {
 
 height: auto;
 width: 50%;
 position: relative;
 z-index: 1;
 padding: 10px 10px;
 font-size: 10px;
 text-decoration: none;
 color: var(--gris);
 border: 2px solid var(--second);
 background: var(--main);
 border-radius: 20px;
 cursor: pointer;
 transition: transform 0.3s ease, opacity 0.3s ease;
 opacity: 0;
 margin-left: 32px;
 }
 
 .text {
 font-size: 17px;
 transition: opacity 0.3s ease;
 margin-top:-20px;
 }
 
 
}

/*Promos*/



.contenedor-cartas-promocion{
 display: grid;
 grid-template-columns: repeat(4,1fr);
 place-items: center;
 margin: 30px;

 @media (max-width: 768px) {
 display: grid;
 grid-template-columns: repeat(2,1fr);
 margin: 15px;
 row-gap: 25px;
 
 }
}
 

/*boton*/

.cta {

 display: flex;
 padding: 11px 33px;
 text-decoration: none;
 font-family: 'Poppins', sans-serif;
 font-size: 20px;
 color: white;
 background: var(--main);
 transition: 1s;
 box-shadow: 6px 6px 0 var(--second);
 transform: skewX(-15deg);
 border: none;
 margin: auto;
 width: 250px;
 height: 50px;


 @media (max-width: 768px) {
 padding: 7px 22px;
 text-decoration: none;
 font-family: 'Poppins', sans-serif;
 font-size: 8px;
 color: white;
 background: var(--main);
 transition: 1s;
 box-shadow: 3px 3px 0 var(--second);
 transform: skewX(-15deg);
 border: none;
 margin: auto;
 width: 110px;
 height: 30px;
 }
}

.cta:focus {
 outline: none;
}

.cta:hover {
 transition: 0.5s;
 box-shadow: 10px 10px 0 var(--second);
}

.cta .second {
 transition: 0.5s;
 margin-right: 0px;
}

.cta:hover .second {
 transition: 0.5s;
 margin-right: 45px;
}

.span {
 transform: skewX(15deg);
 justify-content: center;

 @media (max-width: 768px) {
 font-size: 11px;
 font-weight: bold;
 display: flex;
 justify-content: center;
 align-items: center;
 }
}

.second {
 width: 20px;
 margin-left: 30px;
 position: relative;
 top: 12%;
}

.second svg {
 @media (max-width: 768px) {
 width: 40px;
 height: 10px;
 display: flex;
 align-items: center;
 }

}

.one {
 transition: 0.4s;
 transform: translateX(-60%);
}

.two {
 transition: 0.5s;
 transform: translateX(-30%);
}

.cta:hover .three {
 animation: color_anim 1s infinite 0.2s;
}

.cta:hover .one {
 transform: translateX(0%);
 animation: color_anim 1s infinite 0.6s;
}

.cta:hover .two {
 transform: translateX(0%);
 animation: color_anim 1s infinite 0.4s;
}

@keyframes color_anim {
 0% {
 fill: white;
 }

 50% {
 fill: var(--second);
 }

 100% {
 fill: white;
 }
}


/* Bottom Card Section */

.property-description {
 background-color: #ffffff;
 height: 12em;
 width: 14em;
 position: absolute;
 bottom: 0em;
 -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
 -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
 transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
 padding: 0.5em 1em;
 text-align: center;
}

/* Social Icons */

.property-social-icons {
 width: 1em;
 height: 1em;
 background-color: var(--main);
 position: absolute;
 bottom: 1em;
 left: 1em;
 -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
 -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
 transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Property Cards Hover States */

.property-card:hover .property-description {
 height: 0em;
 padding: 0px 1em;
}

.property-card:hover .property-image {
 height: 18em;
}

.property-card:hover .property-social-icons {
 background-color: white;
}

.property-card:hover .property-social-icons:hover {
 background-color: var(--second);
 cursor: pointer;
}




.property-image-title {
 text-align: center;
 position: Relative;
 top: 30%;
 opacity: 0;
 transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
 color: black;
 font-size: 1.2em;
}

.property-card:hover .property-image-title {
 opacity: 1;
}



/*map*/



.locations {
 display: flex;

 flex-direction: row;
 align-items: center;
 justify-content: center;
 flex-wrap: wrap;
 gap: 2rem;
 padding: 1.5rem;

 @media screen and (max-width:780px) {
 display: flex;
 flex-direction: column;
 padding: 1.5rem;
 }

}

.locations iframe {

 display: flex;
 justify-content: center;

 @media screen and (max-width:780px) {
 width: 100%;
 height: auto;
 }
}

/* =========================================================
   Footer Nuevo — Diseño Premium
   ========================================================= */

.footer-new {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #031d3f 0%, #042d5e 55%, #0a4080 100%);
  color: #c8d8ef;
  font-family: var(--textP);
  margin-top: 0;
}

/* ---- Waves ---- */
.footer-waves {
  position: absolute;
  top: -99px; /* Sit right on top of the footer edge */
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background:
    radial-gradient(55px 22px at 25px 100%, rgba(255, 255, 255, 0.95) 98%, transparent 100%) 0 0 / 120px 100px repeat-x,
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  background-size: 900px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

.body-has-fixed-navbar {
  padding-top: 78px;
}

.navbar-pinytex-fixed {
  background: #042d5e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(3, 24, 53, 0.32);
  z-index: 1030;
}

.navbar-pinytex-fixed .navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar-pinytex-fixed .navbar-brand {
  margin-left: 8rem;
}

.navbar-pinytex-fixed .container-fluid {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.navbar-pinytex-fixed .navbar-nav {
  margin-left: auto;
  gap: 0.55rem;
}

.navbar-pinytex-fixed .nav-link {
  color: #ffffff;
  font-weight: 600;
  padding: 0.8rem 0.75rem;
}

.navbar-pinytex-fixed .nav-link:hover,
.navbar-pinytex-fixed .nav-link:focus {
  color: #d9ecff;
}

.navbar-pinytex-fixed .nav-link.active {
  color: #ffffff;
}

@media (max-width: 991px) {
  .body-has-fixed-navbar {
    padding-top: 72px;
  }

  .navbar-pinytex-fixed .navbar-collapse {
    margin-top: 0.5rem;
    background: #042d5e;
    border-radius: 8px;
    padding: 0.5rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .navbar-pinytex-fixed .navbar-nav {
    align-items: flex-end;
    gap: 0.15rem;
  }
}

@keyframes animateWaves {
  0%   { background-position-x: 1000px; }
  100% { background-position-x: 0px; }
}

@keyframes animate {
  0%   { background-position-x: -1000px; }
  100% { background-position-x: 0px; }
}

/* ---- Body grid ---- */
.footer-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2.5rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);

  @media (max-width: 900px) {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  @media (max-width: 560px) {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.5rem;
  }
}

/* ---- Brand column ---- */
.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.9rem;
  display: block;
  filter: brightness(1.1);
}

.footer-tagline {
  font-size: 0.78rem;
  color: #8daec8;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #b8cfe8;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  border: 1px solid rgba(255,255,255,0.12);
}

.footer-social__link:hover {
  background: var(--main);
  color: #fff;
  transform: translateY(-4px);
  border-color: var(--main);
}

/* ---- Column titles ---- */
.footer-col__title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--main);
  border-radius: 2px;
}

/* ---- Link lists ---- */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links li a {
  font-size: 0.82rem;
  color: #8daec8;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-links li a:hover {
  color: #fff;
  padding-left: 4px;
}

/* ---- Contact list ---- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: #8daec8;
  line-height: 1.5;
}

.footer-contact-list li ion-icon {
  font-size: 1rem;
  color: var(--main);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list li a {
  color: #8daec8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list li a:hover {
  color: #fff;
}

/* ---- Bottom bar ---- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2.5rem;

  @media (max-width: 560px) {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.5rem;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #6a90b0;
  margin: 0;
}

.footer-bottom strong {
  color: var(--main);
  font-weight: 700;
}


/*titulos*/
.titulo {
 font-family: var(--textP);
 color: var(--main);
 font-size: 3.5rem;
 text-align: center;
 text-transform: uppercase;
 font-weight: 700;
 margin: 1rem;


 @media screen and (max-width: 768px) {
 font-size: 1.5rem;
 margin: 20px;
 }
}

.titulo-location {
 font-family: var(--textP);
 color: var(--main);
 font-size: 1.5rem;
 text-align: center;
 text-transform: uppercase;
 font-weight: 700;
 /* margin: 1rem; */
 margin-top: 5rem;


 @media screen and (max-width: 768px) {
 font-size: 1.2rem;
 margin: 20px;
 margin-top: 5rem;
 }
}

.titulo-promo {
 font-family: var(--textP);
 color: var(--second);
 font-size: 3.5rem;
 text-align: center;
 text-transform: uppercase;
 font-weight: 700;
 margin: 1rem;
 margin-top: 2rem;


 @media screen and (max-width: 768px) {
 font-size: 1.2rem;
 margin: 10px;
 margin-top: 2rem;
 }
}

.subrayado {
 font-family: var(--textP);
 color: var(--main);
 font-size: 3.5rem;
 text-align: center;
 text-transform: uppercase;
 font-weight: 700;
 margin: 1rem;
 margin-top: 10rem;


 @media screen and (max-width: 768px) {
 font-size: 1.2rem;
 margin: 10px;
 margin-top: 2rem;
 }
}

.titulo-form {
 color: var(--main);
 text-align: center;
 margin-top: 5rem;
 font-weight: 600;
 font-family: var(--textP);

 @media screen and (max-width:780px) {
 font-size: 1.2rem;
 margin: 3rem auto;
 }
}

.alertas {
 font-size: 1rem;
 font-weight: 550;
 justify-content: center;
 text-align: center;
 margin: 2rem auto;
 color: var(--second);

 @media screen and (max-width:780px) {
 font-size: 0.9rem;
 font-weight: 550;
 text-align: center;
 margin: 1rem;
 }
}

.titulo-compras {
 font-weight: 550;
 justify-content: center;
 text-align: center;
 color: var(--main);

 @media (max-width: 768px) {
 font-size: 0.8rem;
 margin: 0 1rem;
 }
}


.titulo-telling {
 font-size: 1.5rem;
 margin: auto 3rem;
 margin-bottom: 1.5rem;
 color: var(--main);
 font-weight: 550;

 @media (max-width: 768px) {
 font-size: 0.8rem;
 margin: auto 1rem;
 font-weight: 550;
 }

}

.resaltar {
 font-size: 1.4rem;
 font-weight: 550;
 color: var(--second);

 @media (max-width: 768px) {
 font-size: 0.8rem;
 font-weight: 550;
 }
}

/*Pagina de promociones*/

.pasta-container {
 display: grid;
 grid-template-columns: repeat(4,1fr);
 place-items: center;
 margin: 30px;

 @media (max-width: 768px) {
 display: grid;
 grid-template-columns: repeat(2,1fr);
 margin: 15px;
 row-gap: 25px;
 
 }
}

.pint-interiores-container {
 display: grid;
 grid-template-columns: repeat(2,1fr);
 place-items: center;
 margin: 30px;

 @media (max-width: 768px) {
 display: grid;
 grid-template-columns: repeat(2 , 1fr);
 margin: 15px;
 row-gap: 25px;
 
 }
 }


.esgrafiado-container {
 display: grid;
 grid-template-columns: repeat(4,1fr);
 place-items: center;
 margin: 30px;

 @media (max-width: 768px) {
 display: grid;
 grid-template-columns: repeat(2,1fr);
 margin: 15px;
 row-gap: 25px;
 
 }
}

/*formulario*/
.container-form {
 display: flex;
 align-items: center;
 justify-content: center;
 flex-direction: column;
 text-align: center;
}

.form_area {
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction: column;
 background-color: #ff9853;
 height: auto;
 width: auto;
 border: 2px solid var(--second);
 border-radius: 20px;
 box-shadow: 3px 4px 0px 1px var(--second);
}

.title {
 color: var(--dark);
 font-weight: 900;
 font-size: 1.5rem;
 margin-top: 20px;

 @media screen and (max-width:780px),
 print {
 margin-top: 20px;
 font-size: 1rem;
 }
}


.sub_title {
 font-weight: 600;
 margin: 5px 0;
}

.form_group {
 display: flex;
 flex-direction: column;
 align-items: baseline;
 margin: 10px;
}

.form_style {
 outline: none;
 border: 2px solid #264143;
 box-shadow: 3px 4px 0px 1px var(--second);
 width: 410px;
 padding: 12px 10px;
 border-radius: 4px;
 font-size: 15px;

 @media screen and (max-width:780px) {
 width: 250px;
 padding: 10px 10px;
 border-radius: 4px;
 font-size: 12px;
 }
}

.form_style:focus,
.btn-enviar:focus {
 transform: translateY(4px);
 box-shadow: 1px 2px 0px 0px var(--main);
}

.btn-enviar {
 padding: 15px;
 margin: 25px 0px;
 width: 290px;
 font-size: 15px;
 background: var(--second);
 border-radius: 10px;
 font-weight: 800;
 box-shadow: 3px 3px 0px 0px var(--White);
 color: var(--White);

 @media screen and (max-width:780px) {
 width: 250px;
 }
}

.btn-enviar:hover {
 opacity: .9;
}

/*compras*/

.parametros {
 display: flex;
 justify-content: center;
 align-items: center;
 margin-top: 5rem;

 @media (max-width: 768px) {
 margin-top: 1rem;
 }
}

.botones {
 display: grid;
 grid-template-columns: repeat(2, 1fr);



 @media (max-width: 768px) {
 display: grid;
 grid-template-columns: repeat(1, 1fr);
 gap: 15px;
 margin: 0;
 }
}

.parche {
 display: grid;
 grid-template-columns: repeat(1, 1fr);
 gap: 15px;
}

/*Historia*/

.contenedor-letras {
 display: flex;
 justify-content: center;
 align-items: center;
 margin-top: 3rem;

 @media (max-width: 768px) {
 margin-top: 1rem;
 }
}

.imagenes {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 align-items: center;
 justify-items: center;
}

.imagen-uno {
 box-shadow: 30px 30px 59px #adadad,
 -30px -30px 59px #ffffff;
 margin-top: 1rem;
 width: 20rem;
 height: 15rem;
 border-radius: 25px;

 @media (max-width: 768px) {
 width: 6rem;
 height: 4rem;
 border-radius: 7px;
 }
}

.imagen-uno:hover {
 width: 25rem;
 height: 23rem;

 @media (max-width: 768px) {
 width: 10rem;
 height: 8rem;
 border-radius: 7px;
 justify-content: center;
 }

}

.un-elemento {
 display: grid;
 grid-template-columns: repeat(1, 1fr);
 align-items: center;
 justify-items: center;
}


.tres-columns {
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 4rem;
 padding: 8rem;
}

.carta {
 position: absolute;
 height: 350px;
 width: 100%;
 max-width: 850px;
 margin: auto;
 background-color: #ffffff;
 border-radius: 25px;
 box-shadow: 10px 0 50px rgba(0, 0, 0, 0.5);
}

.carta .inner_part {
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 0 0 0 30px;
 height: 350px;
 position: absolute;
}

#slideImg:checked~.inner_part {
 padding: 0;
 transition: .1s ease-in;
}

.inner_part .ilus {
 height: 260px;
 width: 260px;
 overflow: hidden;
 flex-shrink: 0;
 border-radius: 20px;
 box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

#slideImg:checked~.inner_part .ilus {
 height: 350px;
 width: 850px;
 z-index: 99;
 transition: .3s .2s ease-in;
}

.ilus img {
 height: 100%;
 width: 100%;
 cursor: pointer;
 opacity: 0;
 transition: .6s;
}

#slide_1:checked~.inner_part .img_1,
#slide_2:checked~.inner_part .img_2,
#slide_3:checked~.inner_part .img_3 {
 opacity: 1;
 transition-delay: .2s;
}

.content {
 padding: 0 20px 0 35px;
 width: 530px;
 margin-left: 50px;
 opacity: 0;
 transition: .6s;
}

#slideImg:checked~.inner_part .content {
 display: none;
}

#slide_1:checked~.inner_part .content_1,
#slide_2:checked~.inner_part .content_2,
#slide_3:checked~.inner_part .content_3 {
 opacity: 1;
 margin-left: 0;
 z-index: 100;
 transition-delay: .3s;
}

.content .title {
 font-size: 30px;
 font-weight: 700;
 color: #0d0925;
 margin: 0 0 20px 0;
}

.content .text {
 font-size: 19px;
 color: #4e4a67;
 margin: 0 auto 30px auto;
 line-height: 1.5em;
 text-align: justify;
}

.content button {
 padding: 15px 20px;
 border: none;
 font-size: 16px;
 color: #fff0e6;
 font-weight: 600;
 letter-spacing: 1px;
 border-radius: 50px;
 cursor: pointer;
 outline: none;
 background: #000000;
 float: right;
}

.content button:hover {
 background: #cecece;
 color: #000000;
}

.slideres {
 position: absolute;
 bottom: 25px;
 left: 55%;
 transform: translateX(-50%);
 z-index: 1;
}

#slideImg:checked~.slider {
 display: none;
}

.slideres .slide {
 position: relative;
 height: 10px;
 width: 50px;
 background: #d9d9d9;
 border-radius: 5px;
 display: inline-flex;
 margin: 0 3px;
 cursor: pointer;
}


.slideres .slide:before {
 position: absolute;
 content: '';
 top: 0;
 left: 0;
 height: 100%;
 width: -100%;
 background: #000000;
 ;
 border-radius: 10px;
 transform: scaleX(0);
 transition: transform .6s;
 transform-origin: left;
}

#slide_1:checked~.slideres .slide_1:before,
#slide_2:checked~.slideres .slide_2:before,
#slide_3:checked~.slideres .slide_3:before {
 transform: scaleX(1);
 width: 100%;
}

.ice {
 display: none;
}


/*new car slider*/

.cartas {
 background: var(--White);
}

.cartas .img-box {
 height: 200px;
}

.cartas .img-box img {
 height: 100%;
}

.cartas .profile-details img {
 height: 40px;
 width: 40px;
}

/*productos*/

.producto {
 display: flex;
 height: 32rem;
 width: 100%;
 justify-content: space-around;
 flex-direction: row;
 gap: 9rem;

 @media (max-width: 768px) {
 display: flex;
 height: 14rem;
 width: 100%;
 justify-content: space-around;
 flex-direction: row;
 gap: 0.5rem;

 }
}

.img-pro {
 flex-basis: 50%;
 height: 100%;
 width: 100%;

 @media (max-width: 768px) {
 flex-basis: 30%;
 width: 50%;
 }
}

.img-pro-derecha {
 flex-basis: 50%;
 height: 100%;
 width: 100%;
 transform: scaleX(-1);

 @media (max-width: 768px) {
 width: 50%;
 }
}

.producto-acceso {
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction: column;

 @media (max-width: 768px) {
 flex-basis: 80%;
 }
}

.producto-acceso h2 {
 font-weight: bold;
 text-transform: capitalize;
 font-size: 2rem;
 text-align: center;

 @media (max-width: 768px) {
 font-size: 0.7rem;
 }
}

.producto-acceso p {
 font-size: 1rem;
 font-weight: 600;
 padding: 0px 2rem;
 text-align: center;

 @media (max-width: 768px) {
 font-size: 0.6rem;
 font-weight: 600;
 padding: 0px 1rem;
 text-align: center;
 }
}

.titulo-productos {
 display: flex;
 font-size: 4rem;
 text-transform: uppercase;
 font-weight: bold;
 justify-content: center;
 color: var(--main);


 @media (max-width: 768px) {
 display: flex;
 font-size: 1.5rem;
 text-transform: uppercase;
 font-weight: bold;
 justify-content: center;
 color: var(--main);
 padding: 0.3rem;
 }
}

.recipiente {
 height: 10rem;
 width: auto;
 margin-top: 4rem;

 @media (max-width: 768px) {
 display: none;
 }
}

/*botonera*/
.calls {
 overflow: hidden;
 display: flex;
 justify-content: center;
 align-items: center;
 font-family: sans-serif;
}

.botonera {
 width: calc(4 * var(--width));
 height: calc(4 * var(--height));
 display: flex;
 justify-content: center;
 align-items: center;
}

.btn {
 border-radius: 20px;
 position: relative;
 width: calc(0.9 * var(--width));
 height: calc(0.7 * var(--height));
 display: flex;
 justify-content: center;
 align-items: center;
 cursor: pointer;
 overflow: hidden;
 margin: 0 0.8rem;
 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.1);
 transition: all 0.3s cubic-bezier(0, 0.22, .3, 1);

 &:before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(0, 0, 0, 0.1);
 }

 .botonera span {
 color: #fff;
 font-size: 0.7rem;
 z-index: 10;
 text-transform: uppercase;
 letter-spacing: 2px;
 position: absolute;
 }

 &._1 {
 background: #042D5E
 }

 &._2 {
 background: #E15100
 }

 &._3 {
 background: #042D5E
 }

 &._4 {
 background: #E15100
 }


 .back {
 position: absolute;
 width: 0;
 height: 0;
 filter: url(#filter);
 border-radius: 50%;
 z-index: 5;
 transition: all 2.5s cubic-bezier(0.1, 0.22, .3, 1);
 }

 &._1 .back {
 left: -50%;
 top: -50%;
 background: #27ae60;
 }

 &._2 .back {
 right: -50%;
 top: -50%;
 background: #c0392b;

 }

 &._3 .back {
 left: -50%;
 bottom: -50%;
 background: #34495e;
 }

 &._4 .back {
 right: -50%;
 bottom: -50%;
 background: #2980b9;
 }

 &:hover .back {
 width: calc(2 * var(--width));
 height: calc(2 * var(--height));
 }
}

@media only screen and (max-width: 750px) {
 .botonera {
 flex-direction: column;
 }

 .btn {
 margin: 0.8rem 0;
 }
}



.support {
 position: absolute;
 right: 10px;
 bottom: 10px;
 padding: 10px;
 display: flex;
}

.botonera a {
 margin: 0 20px;
 color: #fff;
 font-size: 1.2rem;
 transition: all 400ms ease;
}

.botonera a:hover {
 color: #fcf8f8;
}



/* fichas */

.plantilla-producto {
 display: flex;
 justify-content: center;
 align-items: center;
 margin-top: 50px;

}

.plantilla-producto h1 {
 font-size: 5rem;
 font-weight: 540;
 color: var(--main);
 margin-bottom: -5rem;
}

.consola {
 width: 80%;
 display: flex;
 flex-direction: row;
 margin: 8rem;
 background-color: rgb(250, 237, 204);
 flex-wrap: wrap;
 align-items: center;

}

.consola-carousel {
 width: 50%;
 height: auto;
}

.consola-text {
 width: 50%;
 height: auto;
 background: rgb(250, 237, 204);
}

.consola-text p {
 font-size: 20px;
 font-weight: 600;
 color: var(--second);
 margin: 50px;
}


/*carta de arte*/

.carta-arte {
 margin: 2rem;
 display: flex;
 flex-direction: row;
 justify-content: center;
}

.arte-card {
 display: flex;
 justify-content: center;
 align-items: center;
 width: 40rem;
 height: 20rem;
 border-radius: 50px;
 background: #fafafa;
 box-shadow: 20px 20px 60px #bebebe,
 -20px -20px 60px #ffffff;
}

.arte-card-img {
 margin: 2rem 3rem;
}

.arte-card .arte-card-img img {
 height: 12rem;
 width: 12rem;
 border-radius: 3%;
}

/*Ficha tecnica*/
.ficha-plantilla {
 display: flex;
 justify-content: center;
}

.ficha-plantilla h2 {
 text-transform: capitalize;
 font-size: 3rem;
 font-weight: 600;
 color: var(--main);
}

.ficha-tecnica {
 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 box-sizing: border-box;
 margin: 0px 20px;
}

.ficha-tecnica-text {
 box-sizing: border-box;
 width: 50%;
 margin-bottom: 20px;
 padding: 0px 30px;
}

.ficha-tecnica-descripcion {
 color: #242424;
 font-weight: 600;
 text-align: start;
 box-sizing: border-box;
 height: 100%;
 width: auto;
 padding: 10px;
}

.ficha-tecnica-descripcion h3 {
 font-weight: bold;
 font-size: 2rem;
 color: var(--main);
}

.color-linked {
 height: auto;
 width: 2rem;
 text-decoration: none;
 padding: 1.3em 3em;
 font-size: 12px;
 text-transform: uppercase;
 letter-spacing: 2.5px;
 font-weight: 500;
 color: #000;
 background-color: #fdd4ae;
 border: none;
 border-radius: 45px;
 box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
 transition: all 0.3s ease 0s;
 cursor: pointer;
 outline: none;
 margin-bottom: 1rem;
}

.color-linked:hover {
 background-color: #2384c4;
 box-shadow: 0px 15px 20px rgba(46, 156, 229, 0.4);
 color: #fff;
 transform: translateY(-7px);
}

.color-linked:active {
 transform: translateY(-1px);
}


/*RESPONSIVE*/

@media (max-width: 768px) {
 main {
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction: column;
 }

 .plantilla-producto {
 display: flex;
 justify-content: center;
 align-items: center;
 margin-top: 20px;

 }

 .plantilla-producto h1 {
 font-size: 3rem;
 font-weight: 540;
 text-align: center;
 color: var(--main);
 }

 .consola {
 width: 80%;
 display: flex;
 flex-direction: row;
 background-color: rgb(250, 237, 204);
 flex-wrap: wrap;
 align-items: center;
 justify-content: center;
 }

 .consola-carousel {
 width: 100%;
 height: auto;

 }

 .consola-text {
 width: 100%;
 height: auto;
 background: rgb(250, 237, 204);
 }

 .consola-text p {
 font-size: 15px;
 font-weight: 600;
 color: var(--second);

 }

 /*carta de arte*/

 .carta-arte {
 margin: 1rem;
 display: flex;
 flex-direction: row;
 justify-content: center;
 }

 .arte-card {
 display: flex;
 justify-content: center;
 align-items: center;
 width: 95%;
 height: 10rem;
 border-radius: 10px;
 background: #fafafa;
 box-shadow: 20px 20px 60px #bebebe,
 -20px -20px 60px #ffffff;
 }

 .arte-card-img {
 margin: 2rem;
 }

 .arte-card .arte-card-img img {
 height: 6rem;
 width: 6rem;
 border-radius: 4%;
 }

 .arte-card-text p {
 font-size: 10px;
 font-weight: 600;
 }

 .arte-card-text h3 {
 font-size: 1rem;
 font-weight: 600;
 }

 .ficha-plantilla {
 display: flex;
 justify-content: center;
 }

 .ficha-plantilla h2 {
 text-transform: capitalize;
 font-size: 2.5rem;
 font-weight: 600;
 color: var(--main);
 }

 .ficha-tecnica {
 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 box-sizing: border-box;
 margin: 0px -10px;
 }

 .ficha-tecnica-text {
 box-sizing: border-box;
 width: 80%;
 margin-bottom: 20px;
 padding: 0px 10px;
 }

 .ficha-tecnica-descripcion {
 color: #242424;
 font-weight: 600;
 text-align: start;
 box-sizing: border-box;
 height: 33.3%;
 padding: 10px;
 }

 .ficha-tecnica-descripcion h3 {
 font-weight: bold;
 font-size: 1.5rem;
 color: var(--main);
 }

 .ficha-tecnica-descripcion p {
 font-size: 1rem;
 }
}

/*carousel card*/

@media screen and (min-width:568px) {
 .card-wrapper {
 display: flex;
 justify-content: center;
 box-shadow: 20px 20px 60px #bebebe,
 -20px -20px 60px #ffffff;
 border-radius: 50px;
 }

 .card {
 margin: 0 0.5em;
 width: calc(100%/3);
 }

 .img-wrapper {
 height: 22vw;
 margin: 0 auto;
 /* display: flex;
 align-items: center;
 justify-content: center; */
 }

 .img-wrapper img {
 width: 450px;
 height: auto;
 max-width: 100%;
 max-height: 100%;
 }
}

@media screen and (max-width:567px) {
 .card {
 width: 230px;
 height: auto;
 margin: 10% 20%;
 justify-content: center;
 }

 .card-wrapper {
 display: block;
 }

 .card:not(:first-child) {
 display: none;

 }

 .card:first-child {
 display: grid;
 place-items: center;
 }

 .img-wrapper img {
 width: 229px;
 }

 .card .card-text p {
 font-size: 0.8rem;
 color: #000000;
 text-align: center;
 font-weight: 500;
 justify-content: center;
 }
}

.card .card-text p {
 font-size: 1rem;
 font-weight: 500;
}

br {
 margin-top: 10px;
}

.carousel
.carousel-inner
.carousel-item img .art-pic {
 height: auto;
 width: auto;

 @media (max-width: 768px) {
 width: 10rem;
 height: 10rem;
 }
}

.somos{
 width: auto;
 height: 500px;
 display: grid;
 grid-template-columns: repeat(2fr, 1fr);
 background-color: var(--dot-color);
}

.somos-text h2{
font-size: 3rem;
color: var(--White)
}

.somos-text p{
 color: var(--White);
 font-weight: 500;
}

/* —— Grupo Pinytex: holding / industrias (hub corporativo) —— */

/* Carrusel hero estilo corporativo (referencia tipo Siemens) */
.carousel-hero-corp {
  position: relative;
  background: #020d1f;
}

.carousel-hero-corp .carousel-inner {
  border-radius: 0;
}

.carousel-hero-corp .carousel-item {
  position: relative;
  min-height: min(62vh, 560px);
  max-height: min(72vh, 660px);
}

@media (max-width: 576px) {
  .carousel-hero-corp .carousel-item {
    min-height: min(56vh, 460px);
    max-height: min(66vh, 560px);
  }
}

.carousel-hero-corp__bg {
  position: absolute;
  inset: 0;
  background-color: var(--second);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-hero-corp__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(2, 18, 42, 0.92) 0%,
    rgba(2, 18, 42, 0.72) 32%,
    rgba(2, 18, 42, 0.4) 52%,
    rgba(2, 18, 42, 0.12) 70%,
    transparent 85%
  );
  pointer-events: none;
}

.carousel-hero-corp__content {
  position: relative;
  z-index: 2;
  min-height: min(62vh, 560px);
  max-height: min(72vh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3.1rem 1.25rem 5.5rem;
  max-width: 720px;
}

@media (max-width: 576px) {
  .carousel-hero-corp__content {
    min-height: min(56vh, 460px);
    max-height: min(66vh, 560px);
    padding: 2.4rem 1rem 5rem;
  }
}

.carousel-hero-corp__crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-decoration: none;
}

.carousel-hero-corp__crumb:hover {
  color: #fff;
}

.carousel-hero-corp__title {
  color: #fff;
  font-size: clamp(1.55rem, 3.8vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.carousel-hero-corp__desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 36rem;
  font-weight: 400;
}

.carousel-hero-corp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.carousel-hero-corp__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #021a2e;
  background: #2ec4e0;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.carousel-hero-corp__btn-primary:hover {
  background: #5bd4eb;
  color: #021a2e;
}

.carousel-hero-corp__btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.carousel-hero-corp__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.carousel-hero-corp .carousel-control-prev,
.carousel-hero-corp .carousel-control-next {
  top: auto;
  bottom: 1.1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 1;
  z-index: 5;
}

.carousel-hero-corp .carousel-control-prev {
  left: 1rem;
}

.carousel-hero-corp .carousel-control-next {
  right: 1rem;
}

.carousel-hero-corp .carousel-control-prev:hover,
.carousel-hero-corp .carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.65);
}

.carousel-hero-corp .carousel-control-prev-icon,
.carousel-hero-corp .carousel-control-next-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.carousel-hero-corp__toolbar {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-hero-corp__pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: 0.9;
}

.carousel-hero-corp__pause:hover {
  opacity: 1;
}

.carousel-hero-corp__pause .icon-play {
  display: none;
}

.carousel-hero-corp__pause.is-paused .icon-pause {
  display: none;
}

.carousel-hero-corp__pause.is-paused .icon-play {
  display: block;
}

.carousel-hero-corp .carousel-indicators.carousel-hero-corp__indicators {
  position: static;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.carousel-hero-corp .carousel-indicators.carousel-hero-corp__indicators button {
  width: 2.25rem;
  height: 3px;
  border: none;
  border-radius: 1px;
  margin: 0;
  padding: 0;
  text-indent: -9999px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: background 0.2s, height 0.2s;
}

.carousel-hero-corp .carousel-indicators.carousel-hero-corp__indicators button.active {
  background: #fff;
  height: 4px;
}

.carousel-hero-corp.carousel-fade .carousel-item {
  transition-property: opacity;
  transition-duration: 0.35s;
  transform: none;
}

.holding-hero {
  background: linear-gradient(135deg, var(--second) 0%, #0a4a8c 55%, #063056 100%);
  color: var(--White);
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
}

.holding-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.holding-hero .lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  max-width: 42rem;
  margin: 0 auto 1.75rem;
  opacity: 0.92;
  line-height: 1.55;
}

.holding-hero .btn-holding {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--second);
  background: var(--White);
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.holding-hero .btn-holding:hover {
  background: transparent;
  color: var(--White);
  border-color: rgba(255, 255, 255, 0.85);
}

.holding-hero .btn-holding--outline {
  background: transparent;
  color: var(--White);
  border-color: rgba(255, 255, 255, 0.55);
  margin-left: 0.5rem;
}

.holding-hero .btn-holding--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--White);
}

@media (max-width: 576px) {
  .holding-hero .btn-holding--outline {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}

.allies-marquee {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  border-top: 1px solid rgba(4, 45, 94, 0.08);
  border-bottom: 1px solid rgba(4, 45, 94, 0.08);
  padding: 1.15rem 0 1.35rem;
}

.allies-marquee--brands {
  background: linear-gradient(180deg, #edf3fb 0%, #e8f0fb 100%);
  border-top: none;
  padding-top: 1rem;
}

.allies-marquee__inner {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.allies-marquee__title {
  text-align: center;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--second);
  margin: 0 0 0.9rem;
}

.allies-marquee__viewport {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.allies-marquee__track {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  animation: alliesSlide 58s linear infinite;
}

.allies-marquee__item {
  width: 150px;
  height: 68px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(4, 45, 94, 0.08);
  box-shadow: 0 4px 14px rgba(4, 45, 94, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.65rem;
}

.allies-marquee__item img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 767px) {
  .allies-marquee__item {
    width: 130px;
    height: 62px;
  }

  .allies-marquee__item img {
    max-height: 36px;
  }
}

@keyframes alliesSlide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.industries-preview {
  padding: 2.5rem 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.industries-preview__title {
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--second);
  margin-bottom: 0.5rem;
}

.industries-preview__sub {
  text-align: center;
  font-size: 1rem;
  color: var(--dark);
  opacity: 0.85;
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.preview-industry-card {
  display: block;
  background: var(--White);
  border: 1px solid rgba(4, 45, 94, 0.12);
  border-radius: 10px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 14px rgba(4, 45, 94, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  color: inherit;
  height: 100%;
}

.preview-industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(4, 45, 94, 0.1);
  border-color: var(--main);
}

.preview-industry-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--second);
  margin-bottom: 0.5rem;
}

.preview-industry-card p {
  font-size: 0.9rem;
  color: var(--dark);
  opacity: 0.88;
  line-height: 1.45;
  margin: 0;
}

.preview-industry-card .preview-meta {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--main);
}

.page-industries {
  padding-bottom: 3rem;
}

.industries-page-hero {
  background: linear-gradient(180deg, var(--second) 0%, #063056 100%);
  color: var(--White);
  padding: 2.75rem 1.25rem 2.25rem;
  text-align: center;
}

.industries-page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.industries-page-hero p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.55;
}

.industries-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(4, 45, 94, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.65rem 1rem;
}

.industries-sticky-nav .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
}

.industries-sticky-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: var(--second);
  background: var(--gris);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.industries-sticky-nav a:hover {
  background: var(--second);
  color: var(--White);
}

.industry-section {
  scroll-margin-top: 5.5rem;
  padding: 2.75rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.65);
}

.industry-section__head {
  border-left: 4px solid var(--main);
  padding-left: 1.1rem;
  margin-bottom: 1.5rem;
}

.industry-section__head h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--second);
  margin-bottom: 0.35rem;
}

.industry-section__head p {
  font-size: 0.98rem;
  color: var(--dark);
  opacity: 0.88;
  line-height: 1.5;
  margin: 0;
  max-width: 48rem;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

#oil-gas .company-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199px) {
  #oil-gas .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #oil-gas .company-grid {
    grid-template-columns: 1fr;
  }
}

.company-tile {
  background: var(--White);
  border: 1px solid rgba(4, 45, 94, 0.1);
  border-radius: 10px;
  padding: 1.25rem 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.company-tile h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--second);
  margin-bottom: 0.45rem;
}

.company-tile p {
  font-size: 0.9rem;
  color: var(--dark);
  opacity: 0.9;
  line-height: 1.45;
  flex: 1;
  margin: 0;
}

.company-tile .company-tile__cta {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--main);
}

.company-tile a.company-tile__cta {
  text-decoration: none;
}

.company-tile a.company-tile__cta:hover {
  text-decoration: underline;
}

.company-tile span.company-tile__cta--muted {
  color: var(--dark);
  opacity: 0.55;
  font-weight: 500;
}

.company-tile__logo-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.25rem 0 1rem;
  padding: 0.5rem;
  background: linear-gradient(180deg, rgba(4, 45, 94, 0.04) 0%, transparent 100%);
  border-radius: 8px;
}

.company-tile__logo-wrap img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.company-tile--pinytex .company-tile__logo-wrap img {
  max-height: 40px;
}

.company-tile--nivaria .company-tile__logo-wrap {
  height: 94px;
}

.company-tile--nivaria .company-tile__logo-wrap img {
  max-height: 72px;
}

.division-intro {
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.9;
  line-height: 1.55;
  margin-bottom: 1.35rem;
  padding: 1rem 1.15rem;
  background: rgba(4, 45, 94, 0.06);
  border-radius: 8px;
  border-left: 4px solid var(--second);
}

.functional-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

@media (min-width: 992px) {
  .functional-preview-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.functional-preview-card {
  display: block;
  background: var(--White);
  border: 1px solid rgba(4, 45, 94, 0.1);
  border-radius: 10px;
  padding: 1.1rem 0.9rem;
  text-align: center;
  color: inherit;
  min-height: 100%;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.functional-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(4, 45, 94, 0.08);
  border-color: var(--main);
}

.functional-preview-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--second);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.functional-preview-card p {
  font-size: 0.78rem;
  color: var(--dark);
  opacity: 0.88;
  line-height: 1.4;
  margin: 0;
}

.functional-preview-card .preview-meta {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--main);
}

/* Nosotros — visión matriz (layout referencia corporativa) */
.nosotros-global {
  background: linear-gradient(90deg, #e8eaee 0%, #e8eaee 50%, #ffffff 50%, #ffffff 100%);
  min-height: 520px;
}

.nosotros-global .inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .nosotros-global {
    background: #f0f2f5;
  }

  .nosotros-global .inner {
    grid-template-columns: 1fr;
  }
}

.nosotros-global__text {
  padding: 3rem 2.5rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991px) {
  .nosotros-global__text {
    padding: 2.25rem 1.35rem;
  }
}

.nosotros-global__text h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 1.35rem;
}

.nosotros-global__text p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 1rem;
}

.nosotros-global__visual {
  position: relative;
  padding: 2.5rem 2rem 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .nosotros-global__visual {
    padding: 0 1.35rem 2.5rem;
  }
}

.nosotros-global__logo-main {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.nosotros-global__photo-wrap {
  position: relative;
  max-width: 340px;
  width: 100%;
  transform: rotate(-2deg);
  box-shadow: 12px 16px 40px rgba(0, 0, 0, 0.12);
  background: #fff;
  padding: 10px 10px 28px;
}

.nosotros-global__photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.25) contrast(1.02);
}

.nosotros-global__accent {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

@media (max-width: 991px) {
  .nosotros-global__accent {
    display: none;
  }
}

.nosotros-global__accent span {
  display: block;
  width: 10px;
  border-radius: 2px;
}

.nosotros-global__accent span:nth-child(1) {
  height: 48px;
  background: #5eb8e8;
}

.nosotros-global__accent span:nth-child(2) {
  height: 72px;
  background: var(--main);
}

.nosotros-global__accent span:nth-child(3) {
  height: 56px;
  background: var(--second);
}

.page-nosotros {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
  padding-bottom: 3rem;
}

.nosotros-hero {
  background: linear-gradient(180deg, var(--second) 0%, #063056 100%);
  color: #fff;
  padding: 2.75rem 1.25rem 3rem;
  text-align: center;
}

.nosotros-hero__eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.7rem;
}

.nosotros-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
}

.nosotros-hero p {
  max-width: 44rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.92;
}

.nosotros-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.3rem 1.25rem 0;
}

.nosotros-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.4rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .nosotros-intro {
    grid-template-columns: 1fr;
  }
}

.nosotros-intro__content {
  background: #fff;
  border: 1px solid rgba(4, 45, 94, 0.08);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 28px rgba(4, 45, 94, 0.08);
}

.nosotros-intro__content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  color: var(--second);
  font-weight: 800;
  margin: 0 0 0.85rem;
}

.nosotros-intro__content p {
  margin: 0 0 0.95rem;
  color: var(--dark);
  line-height: 1.7;
  font-size: 0.98rem;
}

.nosotros-kpis {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .nosotros-kpis {
    grid-template-columns: 1fr;
  }
}

.nosotros-kpi {
  border: 1px solid rgba(4, 45, 94, 0.12);
  border-radius: 10px;
  padding: 0.75rem 0.7rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  text-align: center;
}

.nosotros-kpi strong {
  display: block;
  color: var(--second);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.nosotros-kpi span {
  font-size: 0.78rem;
  color: var(--dark);
  opacity: 0.86;
  font-weight: 600;
}

.nosotros-intro__visual {
  border-radius: 14px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 10px 32px rgba(4, 45, 94, 0.18);
}

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

.nosotros-pillars {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 991px) {
  .nosotros-pillars {
    grid-template-columns: 1fr;
  }
}

.nosotros-card {
  background: #fff;
  border: 1px solid rgba(4, 45, 94, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.1rem;
  box-shadow: 0 8px 24px rgba(4, 45, 94, 0.08);
  height: 100%;
}

.nosotros-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--second);
  margin: 0 0 0.55rem;
}

.nosotros-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--dark);
}

.nosotros-card--accent {
  border-top: 4px solid var(--main);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.nosotros-cta {
  margin-top: 1.4rem;
  background: linear-gradient(135deg, var(--second) 0%, #07406f 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: 0 14px 34px rgba(4, 45, 94, 0.25);
}

.nosotros-cta h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 800;
  margin: 0 0 0.55rem;
}

.nosotros-cta p {
  max-width: 38rem;
  margin: 0 auto 1rem;
  line-height: 1.6;
  font-size: 0.98rem;
  opacity: 0.92;
}

.nosotros-cta a {
  display: inline-block;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.nosotros-cta a:hover {
  background: #fff;
  color: var(--second);
  border-color: #fff;
  transform: translateY(-1px);
}

/* —— Página Historia (editorial corporativo) —— */
.page-historia {
  background: var(--bg);
  padding-bottom: 3rem;
}

.historia-hero {
  background: linear-gradient(180deg, var(--second) 0%, #063056 100%);
  color: #fff;
  padding: 2.5rem 1.25rem 2.75rem;
  text-align: center;
}

.historia-hero h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.historia-hero p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.55;
  opacity: 0.9;
}

.historia-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.historia-hero__meta span {
  color: var(--main);
}

.historia-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.historia-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark);
  margin: 2.5rem 0 0;
}

.historia-prose strong,
.historia-prose .historia-brand {
  color: var(--second);
  font-weight: 700;
}

.historia-prose .historia-brand--accent {
  color: var(--main);
}

.historia-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem;
}

@media (max-width: 767px) {
  .historia-gallery {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.historia-gallery__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 28px rgba(4, 45, 94, 0.12);
  border: 1px solid rgba(4, 45, 94, 0.08);
}

.historia-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.historia-gallery__item:hover img {
  transform: scale(1.03);
}

.historia-quote {
  max-width: 720px;
  margin: 2.75rem auto 0;
  padding: 1.75rem 1.5rem 1.75rem 1.35rem;
  background: #fff;
  border-left: 4px solid var(--main);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 4px 20px rgba(4, 45, 94, 0.08);
}

.historia-quote p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #333;
  font-style: italic;
}

.historia-quote footer {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 700;
  color: var(--second);
}

.historia-feature {
  max-width: 900px;
  margin: 2.75rem auto 0;
  padding: 0 1.25rem;
}

.historia-feature__frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(4, 45, 94, 0.1);
}

.historia-feature__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.historia-cta-bar {
  max-width: 800px;
  margin: 2.5rem auto 0;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, rgba(4, 45, 94, 0.06) 0%, rgba(225, 81, 0, 0.08) 100%);
  border-radius: 10px;
  border: 1px solid rgba(4, 45, 94, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.historia-cta-bar p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--dark);
  flex: 1;
  min-width: 200px;
}

.historia-cta-bar a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--second);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.historia-cta-bar a:hover {
  background: #063056;
  color: #fff;
}

.historia-art {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(4, 45, 94, 0.12);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.65) 30%, #fff 100%);
}

.historia-art .historia-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}

.historia-art .historia-section-head h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--second);
  margin: 0 0 0.5rem;
}

.historia-art .historia-section-head p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--dark);
  opacity: 0.85;
  line-height: 1.5;
}

.historia-art-carousel {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem 0.5rem;
  position: relative;
}

.historia-art-carousel .carousel-inner {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(4, 45, 94, 0.1);
  border: 1px solid rgba(4, 45, 94, 0.08);
  padding-bottom: 2.5rem;
}

.historia-art-carousel .carousel-item {
  padding: 1.5rem 1rem 2rem;
}

@media (min-width: 768px) {
  .historia-art-carousel .carousel-item {
    padding: 2rem 2rem 2.25rem;
  }
}

.historia-art-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .historia-art-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.historia-art-card {
  background: var(--gris);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(4, 45, 94, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.historia-art-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eaee;
}

.historia-art-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.historia-art-card__body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}

.historia-art-card__body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--dark);
}

.historia-art-carousel .carousel-control-prev,
.historia-art-carousel .carousel-control-next {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(4, 45, 94, 0.85);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.historia-art-carousel .carousel-control-prev {
  left: 0.25rem;
}

.historia-art-carousel .carousel-control-next {
  right: 0.25rem;
}

.historia-art-carousel .carousel-control-prev:hover,
.historia-art-carousel .carousel-control-next:hover {
  background: var(--second);
}

.historia-art-carousel .carousel-indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.historia-art-carousel .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 4px;
  background: rgba(4, 45, 94, 0.25);
  border: none;
  opacity: 1;
}

.historia-art-carousel .carousel-indicators button.active {
  background: var(--main);
}

/* =========================================================
   Presencia Global — Mapa Interactivo
   ========================================================= */

.presencia-global {
  width: 100%;
  background: linear-gradient(180deg, #eef3fb 0%, #dce8f5 100%);
  padding: 3.5rem 1.5rem 2.5rem;
  margin-top: 2rem;
}

.global-titulo {
  font-family: var(--textP);
  color: var(--second);
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 2rem;

  @media (max-width: 768px) {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }
}

.worldmap-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.worldmap-inner {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(4, 45, 94, 0.22);
  min-height: 380px;
  background: #a8ccdf;
}

#worldmap {
  width: 100%;
  display: block;
}

#worldmap svg {
  display: block;
}

/* Pulse animation */
@keyframes map-pulse {
  0%   { r: 7;  opacity: 0.6; }
  100% { r: 18; opacity: 0;   }
}

.pulse-ring {
  animation: map-pulse 2.2s ease-out infinite;
}

/* Popup */
.map-popup {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 2px solid var(--second);
  border-radius: 10px;
  padding: 0.9rem 1.1rem 0.75rem;
  min-width: 175px;
  max-width: 230px;
  box-shadow: 0 6px 24px rgba(4, 45, 94, 0.28);
  z-index: 20;
  transform: translate(-50%, calc(-100% - 14px));
  pointer-events: auto;
}

.map-popup[hidden] { display: none; }

/* Small arrow under popup */
.map-popup::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 8px 0;
  border-style: solid;
  border-color: var(--second) transparent transparent;
}

.popup-close {
  position: absolute;
  top: 5px;
  right: 7px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--second);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.popup-close:hover { color: var(--main); }

.popup-pais {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--second);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
  padding-right: 1.2rem;
}

.popup-ciudad {
  font-size: 0.78rem;
  color: var(--main);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.popup-empresas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.empresa-badge {
  background: var(--second);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.empresa-pending {
  font-size: 0.72rem;
  color: #888;
  font-style: italic;
}

/* Quote */
.global-quote {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  max-width: 800px;
  margin: 2rem auto 0;
  line-height: 1.7;
  padding: 0 1rem;

  @media (max-width: 768px) {
    font-size: 0.85rem;
  }
}

/* =========================================================
   Nuestra Evolución - Timeline
   ========================================================= */

.evolution-timeline {
  padding: 5rem 1rem;
  background: #f8fbff;
  position: relative;
  overflow: hidden;
}

.evolution-timeline__title {
  text-align: center;
  font-family: var(--textP);
  font-size: 2.5rem;
  color: var(--second);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.evolution-timeline__sub {
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 4rem;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #d4e2f0;
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-line-fill {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  background: var(--second);
  transform: translateX(-50%);
  border-radius: 4px;
  height: 0%;
  transition: height 0.3s ease-out;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 2.5rem;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.timeline-item.left {
  left: 0;
  transform: translateX(-50px);
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  transform: translateX(50px);
  text-align: left;
}

.timeline-item.show {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid #d4e2f0;
  border-radius: 50%;
  z-index: 2;
  transition: border-color 0.4s ease;
}

.timeline-item.left .timeline-dot {
  right: -10px;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

.timeline-item.active .timeline-dot {
  border-color: var(--second);
  box-shadow: 0 0 10px rgba(225, 81, 0, 0.4);
}

.timeline-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(4, 45, 94, 0.08);
  border-bottom: 3px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.timeline-item.active .timeline-content {
  border-bottom-color: var(--second);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(4, 45, 94, 0.12);
}

.timeline-icon {
  font-size: 2.2rem;
  color: var(--main);
  margin-bottom: 1rem;
}

.timeline-item.left .timeline-icon {
  display: flex;
  justify-content: flex-end;
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--main);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.timeline-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-line, .timeline-line-fill {
    left: 30px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding: 1.5rem 1.5rem 1.5rem 60px;
    text-align: left;
    transform: translateX(30px);
  }
  .timeline-item.left .timeline-icon {
    justify-content: flex-start;
  }
  .timeline-dot {
    left: 20px !important;
    right: auto !important;
  }
}
