/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Kanit:wght@400;700&family=Oswald:wght@400;700&family=Rubik:wght@400;700&display=swap');

:root {
  --color1: #254252;
  --color2: #EAB56F;
  --color3: #e37239;
  --color4: #f9982f;
  --color5: #171c2d;
  --color6: #e50000;
  --color7: #64e8ea;
  --color8: #08558d;
  --color9: #0b1d66;
  --font-title: 'Oswald', 'Kanit', 'Rubik', 'DM Sans', sans-serif;
  --font-main: 'DM Sans', 'Kanit', 'Rubik', 'Oswald', sans-serif;
}

a {
  text-decoration: none; /* Quita el subrayado */
  color: inherit;        /* Hereda el color del elemento padre, o pon otro color */
}

.back-to-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;              /* que ocupe todo el ancho */
  background-color: rgba(0, 0, 0, 1); /* opcional, depende de tu diseño */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
  color: white !important;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Header styles */
.main-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 98.5vw;
  padding: 0;
  z-index: 10;
  background: transparent;
  font-family: var(--font-main);
  transition: background 0.3s;
}

.pre-header {
  display: flex;
  align-items: center;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 32px;
  height: 74px;
  min-height: 60px;
  gap: 28px;
  position: relative; /* <-- AGREGAR ESTO */
  z-index: 1;
}

/* Barra de progreso animada sobre el borde */
.pre-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* justo sobre el borde */
  height: 2px;
  width: 0;
  background: rgba(50, 150, 255, 0.7); /* cambia el color a tu gusto */
  border-radius: 1px;
  pointer-events: none;
   z-index: 2;
  /* Animación solo si tiene la clase .progress-active */
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: none;
}

.pre-header.progress-active::after {
  animation: progressBarAnim 4s linear infinite;
}

@keyframes progressBarAnim {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  92% {
    transform: scaleX(1);
    opacity: 1;
  }
  98% {
    transform: scaleX(1);
    opacity: 0;  /* Se desvanece al final */
  }
  100% {
    transform: scaleX(0);
    opacity: 0;  /* Sigue invisible al volver al inicio */
  }
}

/* Activa la animación añadiendo la clase .progress-active con JS */
.pre-header.progress-active::after {
  width: 100%;
}

.pre-social-icons{
  margin-right: 0;
  display: flex;
  gap: 13px;
  align-items: center;
}

.pre-social-icons h4{
  color: var(--color2);
  font-size: 12px;
}

.pre-social-icons a{
  color: var(--color2);
  margin-bottom: -1vh;
}

.header-container {
  display: flex;
  align-items: center;
  max-width: 95vw;
  margin: 0 auto;
  padding: 0 32px;
  height: 74px;
  min-height: 60px;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-title);
  color: var(--color4);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-right: 18px;
  user-select: none;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

#mainNavd{
  display: none;
}


.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-main);
  color: var(--color2);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 9px 15px;
  transition: background 0.18s, color 0.18s;
  border-bottom: 5px solid transparent;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}
.main-nav a:hover,
.main-nav a:focus {
  border-bottom: 3px solid var(--color3);
  background: none; /* quita el fondo */
  color: #fff;
}

/* Submenú genérico */
.has-submenu {
  position: relative;
}

.submenu-horizontal {
  position: fixed;
  top: 135px;         /* justo debajo del header */
  left: 0;
  width: 98vw;      /* ocupa todo el ancho de la pantalla */
  background: rgba(0, 0, 0, 0.5);  
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 0;
  height: 74px;      /* misma altura que header-container */
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.submenu-horizontal a {
  font-family: var(--font-main);
  color: var(--color2);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 9px 0px;
  transition: background 0.18s, color 0.18s, border-bottom 0.18s;
  border-bottom: 5px solid transparent;
  border-radius: 2px;
}

/* Hover en enlaces del submenú */
.submenu-horizontal a:hover,
.submenu-horizontal a:focus {
  border-bottom: 3px solid var(--color3);
  background: none;
  color: #fff;
}

/* Mostrar submenú al hacer hover */
.has-submenu:hover .submenu-horizontal {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-content {
  position: fixed;
  top: 220px; /* 135px (header) + 74px (submenu) */
  left: 0;
  width: 10px;
  background: rgba(0, 0, 0, 0.5);  
  padding: 0px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  display: none; /* oculto por defecto */
  z-index: 999;
}

.gap{
  gap: 6rem !important;
}

.social-icons {
  margin-left: auto;
  display: flex;
  gap: 13px;
  align-items: center;
}
.social-icons a {
  color: var(--color2);
  background: transparent;
  border-radius: 50%;
  padding: 6px;
  transition: color 0.2s, background 0.2s;
}
.social-icons a:hover {
  color: var(--color3);
  background: var(--color5);
}

/* Hamburger nav (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  z-index: 20;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color2);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--color5);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--color5);
}

/* Responsive styles */

/* Mobile menu */

/* --- Overlay text styles --- */
.carousel-overlay-text {
  position: absolute;
  top: 0; left: 0; 
  width: 100vw; 
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: end;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-overlay-text img{
  height: 70vh;
  bottom: 0;
  opacity: 0;
  animation: fadeInUp 2s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;          /* Empieza invisible */
    transform: translateY(20px);  /* Desplazado abajo */
  }
  100% {
    opacity: 1;          /* Termina visible */
    transform: translateY(0);     /* En su lugar */
  }
}

/* --- Other styles (carrusel, secciones, etc) --- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: #f9f9f9;
  min-height: 100vh;
  overflow-x: hidden ;
  scroll-behavior: smooth;
  width: 100vw;
}
.top-section {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.swiper {
  height: 100vh;
  width: 100vw;
  z-index: 0;
}
.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  position: relative;
  z-index: 0;
}
.swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.21) 60%, rgba(23,28,45,0.54) 100%);

}

/* Secciones debajo */

.content-banner {
  top: -5vh;
  margin: 0 auto;
  display: flex;
  position: relative;
  z-index: 2;
  width: 80vw;
  height: 12vh;
  min-height: 150px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px 0 #e0e0e0;
  transform: translateY(60px);
  transition: transform 1s ease;
}

.content-banner.show {

  transform: translateY(0);
}

.content-banner-1,
.content-banner-2 {
  width: 50%;
  display: flex;
  align-items: stretch;
}

.content-banner-1 {
  background: var(--color2);
}

.content-banner-1 .text-content-banner{
  color: var(--color1) !important;
}

.content-banner-2 {
  background: var(--color1);
}

.content-banner-2 .text-content-banner{
  color: var(--color2) !important;
}

.banner-inner {
  display: flex;
  align-items: stretch;
  height: 150px;
  width: 100%;
}

.side-img {
  width: 12vw;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0 0 0 0;
}

.text-content-banner {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content-banner h1 {
  margin: 0 0 12px 0;
  font-size: 1.3rem;
}

.text-content-banner h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: normal;
}

/* Responsive para móviles */

.content-sec {
  width: 100vw;
  background: url("../images/shape-1-ca.png") no-repeat;
  background-position: top left;
  position: relative; /* <-- Para que z-index funcione si lo necesitas */
  z-index: 1;       
}

.content-section {
  top: -6vh;
  padding: 60px 20px;
  justify-content: center;
  max-width: 90vw;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  font-family: var(--font-main);
  display: flex;
  flex-wrap: wrap; /* para que en móvil se apile */
  gap: 10vw;
  border-bottom: 1px solid var(--color4);

}

#about .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#about .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.collage-wrapper {
  position: relative;
  top: 0vh;
  width: 300px;   /* Ajusta al tamaño que necesites */
  height: 400px;  /* Ajusta al tamaño que necesites */
}

/* Caja flotante */
.image-content {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color1);
  color: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  text-align: center;
  z-index: 5; /* Encima de todas las fotos */
}

.image-content .inner h2 {
  font-size: 2rem;
  margin: 0;
}

.image-content .inner h5 {
  margin: 0;
  font-size: 0.9rem;
}

/* Collage con fotos superpuestas */
.collage {
  position: relative; /* clave para usar position absolute en hijos */
  width: 100%;
  height: 100%;
}

.collage .photo {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Posiciona cada foto individualmente */
.collage .photo-1 {
  top: 50px;
  height: 100%;
  z-index: 1;
  transform: rotate(-5deg);
}

.collage .photo-2 {
  top: 35vh;
  left: 200px;
  width: 200px;
  z-index: 2;
  transform: rotate(8deg);
}

/* responsive para collage experiencia  */

.text-content {
  flex: 0 0 50%; 
}

.text-content h3{
  text-align: justify;
}

.content-section h2 {
  font-family: var(--font-title);
  color: var(--color1);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.content-section p {
  color: var(--color4);
  font-size: 1.13rem;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
  gap: 20px; /* espacio entre items */
  margin: 20px 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-item img {
  width: 20px;
  height: 20px;
}

.text-content h3 {
  color: var(--color1);
  font-size: 1.3rem;
  margin-top: 20px;
  text-align: justify;
}

.text-content h2, p{
    text-align: left;
}

/* ...tu CSS previo... */

.main-footer{
  display: flex;
  flex-direction: column;
  background: var(--color2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 100%;       /* ocupa todo el ancho */
  margin: 0 auto;
  padding: 0;         /* 2% de espacio a los lados */
  align-items: center;
  box-sizing: border-box;
  gap: 7rem;               /* espacio entre columnas */
}

.footer-column {
  flex: 0 0 30%;          /* cada columna exactamente 30% */
  color: var(--color5);
  min-width: 200px;       /* protección en pantallas pequeñas */
  box-sizing: border-box;
}


.footer-column h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}5rem

.footer-nav a {
  color: var(--color5);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--color3);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.footer-copy {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-logo img{
  width: 20vh;
}
.footer-subnav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 12px;
  margin-top: 4px;
}

.footer-subnav a {
  color: var(--color5);
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.85;
  transition: color 0.2s;
}

.footer-subnav a:hover {
  color: var(--color3);
}

.nav-group {
  margin-top: 10px;
}

.nav-group span {
  font-weight: bold;
  display: inline-block;
  margin-bottom: 6px;
}


.custom-cursor-outer,
.custom-cursor-inner {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.2s;
  mix-blend-mode: difference;
}

.custom-cursor-outer {
  width: 20px;
  height: 20px;
  margin-left: -10px; /* para centrar */
  margin-top: -10px;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 999999;
}

.custom-cursor-inner {
  width: 10px;
  height: 10px;
  margin-left: -5px; /* para centrar */
  margin-top: -5px;
  background: #fff;
  border-radius: 50%;
}

body,
a,
button,
input,
textarea,
select,
label,
[role="button"],
[role="link"] {
  cursor: none !important;
}

/* =============================
   CONTENEDOR GENERAL
============================= */
.content-section-offering {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 80vw;
  margin: 0 auto;
  padding: 60px 20px;
  border-radius: 12px;
  position: relative;
  top: -6vh;
  z-index: 1;
  font-family: var(--font-main);
}

.offering-one {
  min-width: 20vw;
  position: relative;
  overflow: hidden;
}

/* =============================
   IMAGEN + CORTINA
============================= */
.image-wrapper {
  margin-top: -10px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.image-wrapper img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

/* Cortina encima de la imagen */
.image-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: rgba(0, 0, 0, 0.6);
  transition: height 0.5s ease;
  z-index: 2;
  border-radius: 8px;
}

/* Hover solo en desktop */

/* Siempre visible en móvil */

/* =============================
   CONTENIDO SOBRE IMAGEN
============================= */
.lower-content-offering {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 3;
  padding-top: 30px;
  color: #fff;
}

.inner-offering {
  position: relative;
  z-index: 4;
  height: 80%;
  width: 23vw;
}

.inner-offering h3,
.inner-offering p,
.inner-offering .link {
  color: #fff;
}

.inner-offering .link p{
  color: fff;
}

.inner-offering .link a:hover {
  color: var(--color1);
}

/* =============================
   ESTRUCTURA VISUAL COMPLEMENTARIA
============================= */
.text-columns-offering {
  display: flex;
}

.text-columns-offering h1,
.text-columns-offering h4 {
  flex: 1;
  color: var(--color5);
}

.image-columns-offering {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.image-columns-offering > div {
  flex: 1 1 calc(33.333% - 20px);
}

.category-box-offering {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.category-offering {
  width: 80%;
  min-height: 40px;
  background: var(--color4);
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  font-family: var(--font-main);
}

.category-offering span {
  color: var(--color1);
  font-size: 0.9rem;
  padding: 5px;
  font-weight: bold;
}

.offering-one .text {
  height: 70%;
  color: #fff;
  padding: 0;
  font-family: var(--font-main);
}

.offering-one .link {
  text-align: center;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  font-family: var(--font-main);
}

.offering-one .link:hover {
  color: var(--color1);
  background: var(--color4);
}

/* =============================
   RESPONSIVE
============================= */

.content-section-contacto {
  display: flex;
  flex-direction: column;  /* Organiza las filas verticalmente */
  gap: 40px;               /* Espacio entre filas */
  max-width: 80vw;  scroll-behavior: smooth;
  background-color: rgba(255, 255, 255, 0.1); /* Blanco con 50% opacidad */

  margin: 0 auto;
  padding: 60px 20px;
  border-radius: 12px;
  position: relative;
  top: -6vh;
  z-index: 1;
  font-family: var(--font-main);
}

.content-section-contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/huella.png") no-repeat center/cover;
  opacity: 0.3; /* Ajusta la opacidad como desees */
  z-index: -1;
}

/* Fila 1: texto en 2 columnas */
.text-columns-contacto {
  display: flex;
  gap: 40px;
}

.text-columns-contacto h1 {
  flex: 1;
  color: var(--color5);
  font-size: 3rem;
}

.image-columns-contacto {
  display: flex;           
  gap: 30px;               
  flex-wrap: wrap;         
  justify-content: center; 
}

.contacto-one {
  flex: 1 1 45%;           
  max-width: 500px;        
}

.contact-form {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#message1 {
  resize: none;            
  height: 150px;           
  overflow-y: auto;        
  line-height: 1.5em;      
}

.contact-form button {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #2980b9;
}
.text-columns-contacto {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  position: relative;
}

.text-columns-contacto h1 {
  flex: 1;
  color: var(--color5);
  text-align: center;
  font-family: var(--font-main);
}

.text-columns-contacto h3 {
  flex: 1;
  color: var(--color5);
  font-family: var(--font-main);
}

.logo-contacto{
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  user-select: none;
}
.logo-contacto img {
  max-height: 100px;
  width: auto;
  display: block;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.fade-in:nth-child(1).visible {
  transition-delay: 0.1s;
}

.fade-in:nth-child(2).visible {
  transition-delay: 0.4s;
}

.fade-in:nth-child(3).visible {
  transition-delay: 0.7s;
}

.social-icons-contacto {
  margin-left: 0;
  margin-right: 0;
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
}
.social-icons-contacto a {
  color: var(--color1);
  background: transparent;
  border-radius: 50%;
  padding: 6px;
  transition: color 0.2s, background 0.2s;
}
.social-icons-contacto a:hover {
  color: var(--color3);
}

.pre-header-contacto {
  display: flex;
  flex-direction: column;      
  justify-content: center;     
  align-items: right;          
  gap: 1px;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0;
  padding-left: 32px;
  height: auto;                
  position: relative;
}

.pre-social-icons-contacto {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-contacto{
  width: 100%;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--color4);
}

.pre-social-icons-contacto h4{
  color: var(--color1);
  font-size: 20px;
  font-family: var(--font-main);
}

.pre-social-icons-contacto a{
  color: var(--color1);
  margin-bottom: -1vh;
}

/* =============================
   RESPONSIVE QUERIES
============================= */
@media (max-width: 980px) {
.footer-content {
    gap: 4rem;
  }
}

@media (max-width: 875px) {
  .header-container {
    padding: 0 14px;
    gap: 10px;
  }
  .logo {
    font-size: 1.25rem;
  }
  .main-nav a {
    font-size: 0.97rem;
    padding: 8px 14px;
  }
  .social-icons a svg {
    width: 18px; height: 18px;
  }
  .logo img {
    max-height: 36px;
  }
  .footer-content{
    gap: 1rem;
  }
  
}

@media (max-width: 875px) {
  
  .custom-cursor-outer,
  .custom-cursor-inner {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.2s;
    mix-blend-mode: difference;
  }

.back-to-top {
  font-size: 30px;
  padding: 1px 10px;
}

  .pre-header{
    display: none;
  }

  .main-header {
    background: transparent;
  }
  .header-container {
    height: 62px;
    gap: 0;
  }
  .main-nav {
    position: fixed;
    top: 0; right: -100vw;
    width: 210px;
    height: 100vh;
    background: var(--color2);
    box-shadow: -2px 0 18px rgba(23,28,45,0.09);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 62px;
    transition: right 0.3s;
    z-index: 19;
    opacity: 1;
  }
  .main-nav.open {
    right: 0;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-nav li {
    width: 100%;

  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 16px 28px;
    border-radius: 0;
    font-size: 1.09rem;
    border-bottom: 1px solid rgba(234,181,111,0.08);
    color: var(--color5);
  }
  #mainNavd{
    display: flex;
  }
  .social-icons {
    display: block;
  }
  .nav-toggle {
    display: block;
    left: 0;
  }


}

@media (max-width: 800px) {
  .carousel-text-content {
    padding: 22px 8vw;
  }
  .carousel-text-content h1 {
    font-size: 2.1rem;
  }
  .carousel-text-content h4 {
    font-size: 1.08rem;
  }
}

@media (max-width: 600px) {

  

  .carousel-text-content {
    padding: 14px 2vw;
  }
  .carousel-text-content h1 {
    font-size: 1.24rem;
  }
  .carousel-text-content h4 {
    font-size: 0.97rem;
  }
}

@media (max-width: 875px) {

  .content-sec {
    
    align-items: center;
    min-height: 85vh; /* ejemplo: ocupar toda la pantalla */
  }


  .content-banner {
    flex-direction: column;
    width: 95vw;
    height: auto;
    min-height: unset;
    margin: 0 auto;
  }
  .content-banner-1,
  .content-banner-2 {
    width: 100%;
    min-height: 120px;
  }
  .banner-inner {
    flex-direction: row;
    height: 100%;
  }
  .side-img {
    min-width: 80px;
    max-width: 110px;
  }
}

@media (max-width: 983px) {
  .collage-wrapper{
    top: 0;
  }
  .collage{
    height: 40vh;
  }
  .collage .photo-2{
    top: 28vh;
    left: 100px;
    width: 200px;
  }
  .image-content{
    top: 0vh;
  }
}

@media (max-width: 600px) {
  .content-section {
    padding: 32px 8px;
  }

  .text-content{
    flex: 0 100%;
  }

  .content-section h2 {
    font-size: 1.16rem;
  }
  .content-section p {
    font-size: 1rem;
  }
  .text-content h3{
    text-align: justify;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-column {
    width: 100%;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .info{
    display: none;
  }
}


@media (hover: hover) and (pointer: fine) {
  .offering-one:hover .image-wrapper::before {
    height: 100%;
  }
  .offering-one:hover .lower-content-offering {
    opacity: 1;
  }
  .offering-one:hover img {
    transform: scale(1.05);
  }
}

@media (max-width: 875px) {
  .image-wrapper::before {
    height: 100% !important;
  }
  .lower-content-offering {
    opacity: 1 !important;
  }
}

@media (max-width: 875px) {
  .lower-content-offering {
    height: 100% !important;
    display: flex;             
  }

  .inner-offering {
    display: flex;
    flex-direction: column;    
    justify-content: space-between;
    align-items: center;      
    width: 100%;              
    height: 100%;             
    text-align: center;
    bottom: -20px;
  }
  .inner-offering a{
    width: 90%;
  }

  .offering-one .text {
    width: 100%;
  }

  .offering-one .link {
    width: 90%;               
    background: var(--color4);
    color: var(--color5);
    padding: 12px;
    text-align: center;
    font-weight: bold;
  }

  .text-columns-offering {
    flex-direction: column;
    gap: 0;
  }

  .text-columns-offering h1 {
    text-align: center;
  }

  .text-columns-offering h4 {
    text-align: justify;
  }

  .offering-one .text{
    margin-top: 10px;
  }

  .offering-one .text p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    padding-left: 25px;
  }

  .image-columns-offering > div {
    flex: 1 1 calc(50% - 20px);
  }

  .lower-content-offering{
    height: 80% !important;
    padding-bottom: 10px;

  }

  .content-section-offering {
    padding: 0 20px;
  }
}

@media (max-width: 700px) {
  .text-columns-contacto {
    display: block;
  }
  .image-columns-contacto{
    display: block;
  }
  .social-icons-contacto{
    gap: 13px;
  }
  .pre-header-contacto {
    display: flex;
    align-items: center;     
    padding-left: 0 ;

  }
  .pre-social-icons-contacto h4{
    font-size: 15px;
    font-family: var(--font-main);
  }
  .content-section-contacto{
    gap: 0;
    padding: 0;
    top: 0;
  }
}

@media(max-width: 350px){
  .carousel-overlay-text{
    align-items: center;
    justify-content: center;
    margin-left: 0px;
  }
  .carousel-overlay-text img{
    width: 100%;
    height: auto;
  }
}


@media(max-width: 480px){

  .custom-cursor-outer,
    .custom-cursor-inner {
      display: none;
  }
}
@media (max-width: 600px) {
  .image-columns-offering > div {
    flex: 1 1 100%;
  }
  .offering-one .text{
    margin-top: 20px;
  }
}