
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Preload fonts for better performance on mobile */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/librebaskerville/v14/kmKnZrc3Hgbbcjq75U4uslyuy4kn0pNeYc4VQ.woff2') format('woff2');
}

@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/librebaskerville/v14/kmKiZrc3Hgbbcjq75U4uslyuy4kn0qviTgY3KcU.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuGKYAZ9hiJ-Ek-_EeA.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYAZ9hiJ-Ek-_EeA.woff2') format('woff2');
}  

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    overflow-x: hidden;
    background-color: #1b1b1b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Optimización de rendimiento - Lazy loading para imágenes */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}


.split-projects {
  position: relative;
  width: 100%;
  background: #121212;
  padding: 80px 0;
}

.split-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  overflow: hidden;
}

.split-card.reverse { grid-template-columns: 1fr 1.1fr; }
.split-card.reverse .split-content { order: 2; }
.split-card.reverse .split-media { order: 1; }

.split-content { color: #fff; }

.split-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hex-badge {
  width: 90px;
  height: 90px;
  position: relative;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #131313;
  box-shadow: 0 10px 25px rgba(212,175,55,0.35);
}
.hex-badge i { font-size: 28px; }

.project-badge {
  display: inline-block;
  background: #D4AF37;
  color: #181818;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
}

.split-title,
.split-content h2.split-title {
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif !important;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  margin: 10px 0 14px 0;
  white-space: nowrap;
}

.split-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #cfcfcf;
  line-height: 1.7;
  max-width: 650px;
}

.split-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 16px;
  margin: 22px 0 24px 0;
}
.stat-box {
  background: #1b1b1b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  text-align: center;
  padding: 18px 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.stat-value {
  color: #D4AF37;
  font-size: 36px;
  font-weight: 800;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.stat-label {
  color: #bdbdbd;
  font-size: 14px;
  margin-top: 6px;
}

.split-actions { display: flex; align-items: center; gap: 12px; }

.btn-split {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s ease;
}
.btn-split.primary {
  background: #D4AF37;
  color: #181818;
}
.btn-split.primary:hover { background: #E4C85C; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,175,55,.35); }

.btn-icon {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: all .25s ease;
  text-decoration: none;
}
.btn-icon:hover { border-color: #D4AF37; color: #D4AF37; transform: translateY(-2px); }

.location-btn:hover { 
  border-color: #D4AF37; 
  color: #D4AF37; 
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.1);
}

.split-media { position: relative; }
.media-card {
  height: 360px;
  border-radius: 20px;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  box-shadow: inset 0 -80px 120px rgba(0,0,0,0.25), 0 20px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.media-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%);
}
.media-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 60px rgba(0,0,0,.45); filter: saturate(1.05); }


.media-card.oceanview { background-image: url('Fotos/Caribbean View.png'); background-size: cover; background-position: center; }
.media-card.corporate { background-image: url('Fotos/Edificio Caribbean.jpg'); background-size: cover; background-position: center; }

.media-tags {
  position: absolute;
  left: 20px; right: 20px; bottom: 16px;
  display: flex; justify-content: space-between;
  gap: 12px;
}
.media-tags span {
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Posicionamiento específico para esquina derecha - Desktop y Large Desktop */
.media-tags-right {
  left: auto !important;
  right: 20px !important;
  bottom: 16px !important;
  justify-content: flex-end !important;
}

/* Para móvil y tablet - posicionar en esquina izquierda */
@media (max-width: 1024px) {
  .media-tags-right {
    left: 20px !important;
    right: auto !important;
    bottom: 16px !important;
    justify-content: flex-start !important;
  }
}


.split-card { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.split-card.visible { opacity: 1; transform: translateY(0); }


@media (max-width: 1024px) {
  .split-card,
  .split-card.reverse { grid-template-columns: 1fr; }
  .split-card.reverse .split-content { order: 1; }
  .split-card.reverse .split-media { order: 2; }
  .media-card { height: 280px; }
}

/* Ajuste específico para todas las versiones de tablet - imagen completa */
@media (min-width: 481px) and (max-width: 1024px) {
  .media-card { 
    height: 400px; 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}

@media (max-width: 768px) {
  .split-card.reverse .split-content { order: 1; }
  .split-card.reverse .split-media { order: 2; }
}

@media (max-width: 480px) {
  .split-projects { padding: 50px 0; }
  .split-card { padding: 20px; gap: 20px; }
  .split-stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat-value { font-size: 28px; }
  .media-tags span { font-size: 12px; padding: 8px 10px; }
}

@media (max-width: 768px) {
  .fourth-page {
    display: flex;
    flex-direction: column;
  }
  
  .footer-main {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.2rem 1rem !important;
  }
  
  .footer-main .footer-col:nth-of-type(1) {
    margin-bottom: 1rem !important;
  }
  
  .footer-main .footer-col:nth-of-type(2),
  .footer-main .footer-col:nth-of-type(3) {
    margin-top: 0 !important;
    margin-right: 0 !important;
  }
  
  .footer-logo {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin-bottom: 0.6rem !important;
    right: 6px !important;
    top: 5px !important;
  }
  
  .footer-main p {
    position: relative !important;
    bottom: auto !important;
    margin-bottom: 0.6rem !important;
    font-size: 16px !important;
    line-height: 28px !important;
    left: 0px !important;
  }
  
  .footer-col h4 {
    margin-bottom: 0.6rem !important;
  }
  
  .footer-col ul li {
    margin-bottom: 0.4rem !important;
    line-height: 28px !important;
  }
}

/* Estilos móviles para la sección de contacto */
@media (max-width: 768px) {
  .contactanos {
    order: 1;
    position: relative;
    width: 100%;
    padding: 2rem 1rem 4rem 0.5rem;
    text-align: left;
  }
  
  .contact-form {
    order: 2;
    position: relative;
    width: 100% !important;
    min-width: auto;
    right: auto;
    bottom: 20px !important;
    padding: 1rem 1rem 4rem 1rem !important;
    margin: 0 !important; 
  }
  
  .contactanos h2 {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 1rem !important;
    font-size: 2rem !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }
  
  .contactanos p {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 4.5rem !important;
    margin-top: 0.5rem !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }
  
  .direccion, .phone, .email {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 3rem !important;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.5rem;
  }
  
  .location-pin, .phone-icon, .email-icon {
    width: 40px !important;
    height: 40px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }
  
  .direccion h4, .phone h4, .email h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.3rem !important;
    margin-top: 0 !important;
    position: relative;
    right: 15px;
  }
  
  .direccion p, .phone p, .email p {
    font-size: 0.9rem !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }
  
  .social-icons {
    position: relative;
    top: auto;
    right: auto;
    justify-content: flex-start;
    margin-top: 4rem !important;
    gap: 1.2rem !important;
  }
  
  .social-icons .icon {
    width: 3rem !important;
    height: 3rem !important;
    font-size: 22px !important;
  }
  
  .contact-form label {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 24px 24px;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .btn-form {
    padding: 24px 0;
    font-size: 1.3rem;
  }
}

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


.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-header .header-line {
    width: 100px;
    height: 2px;
    background: #D4AF37;
    display: inline-block;
    margin: 0 1rem;
    vertical-align: middle;
}

.timeline-title {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    color: #fff;
    margin: 0 2rem;
    display: inline-block;
    vertical-align: middle;
    font-weight: 700;
}

.timeline-description {
    color: #c4c3c3;
    font-size: 1.2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 2rem auto 0;
}


.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 95px; 
    bottom: auto; 
    height: 1100px; 
    width: 2px;
    background: #D4AF37;
    transform: translateX(-50%);
    z-index: -1; 
}


.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; 
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    cursor: pointer;
}

.timeline-icon:hover {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    filter: saturate(1.2);
}

.timeline-icon i {
    font-size: 1.5rem;
    color: #1b1b1b;
    z-index: 3;
}


.timeline-card {
    width: 45%;
    min-width: 320px; 
    max-width: 380px; 
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    cursor: pointer;
}

.timeline-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    filter: saturate(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}


.timeline-card.left {
    margin-right: auto !important;
    margin-left: 0 !important;
    margin-right: 3rem !important;
    text-align: right !important;
}

.timeline-card.right {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: left !important;
}


@media (min-width: 769px) {
    .timeline-card.right {
        margin-left: auto !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
}

.card-title {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-card.left .card-title,
.timeline-card.right .card-title {
    color: #D4AF37;
    
}

.timeline-card.left .card-title:nth-of-type(1),
.timeline-card.right .card-title:nth-of-type(1) {
    color: #D4AF37;
    text-align: left;
}

.timeline-card.left .card-title:nth-of-type(2),
.timeline-card.right .card-title:nth-of-type(2) {
    color: #D4AF37;
}

.timeline-card.left .card-title:nth-of-type(3),
.timeline-card.right .card-title:nth-of-type(3) {
    color: #fff;
}

.timeline-card.left .card-title:nth-of-type(4),
.timeline-card.right .card-title:nth-of-type(4) {
    color: #fff;
}

.timeline-card.left .card-title:nth-of-type(5),
.timeline-card.right .card-title:nth-of-type(5) {
    color: #fff;
}

.card-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem; 
    line-height: 1.5; 
    margin: 0;
    max-width: 100%; 
    text-align: left; 
    hyphens: none; 
    word-wrap: break-word; 
}

.timeline-card.left .card-description,
.timeline-card.right .card-description {
    color: #c4c3c3;
}

.timeline-card.left .card-description:nth-of-type(1),
.timeline-card.right .card-description:nth-of-type(1) {
    color: #c4c3c3;
}

.timeline-card.left .card-description:nth-of-type(2),
.timeline-card.right .card-description:nth-of-type(2) {
    color: #c4c3c3;
}

.timeline-card.left .card-description:nth-of-type(3),
.timeline-card.right .card-description:nth-of-type(3) {
    color: #8b8888;
}

.timeline-card.left .card-description:nth-of-type(4),
.timeline-card.right .card-description:nth-of-type(4) {
    color: #8b8888;
}

.timeline-card.left .card-description:nth-of-type(5),
.timeline-card.right .card-description:nth-of-type(5) {
    color: #8b8888;
}


/* Tablet pequeña (635px-780px) */
@media (max-width: 780px) and (min-width: 635px) {
    .timeline-line {
        height: 195vh;
        top: 100px;
    }
}

/* Tablet mediana pequeña (781px-800px) */
@media (max-width: 800px) and (min-width: 781px) {
    .timeline-line {
        height: 195vh;
        top: 100px;
    }
}

/* Tablet mediana (801px-860px) */
@media (max-width: 860px) and (min-width: 801px) {
    .timeline-line {
        height: 188vh;
        top: 100px;
    }
}

/* Tablet mediana grande (861px-900px) */
@media (max-width: 900px) and (min-width: 861px) {
    .timeline-line {
        height: 180vh;
        top: 100px;
    }
}

/* Tablet grande (901px-1024px) */
@media (max-width: 1024px) and (min-width: 851px) {
    .timeline-line {
        height: 175vh;
        top: 100px;
    }
}

/* Desktop/laptop: restaurar altura original */
@media (min-width: 1024px) and (max-width: 1279px) {
    .timeline-line { height: 1100px; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
    .timeline-line { height: 1100px; }
}
@media (min-width: 1440px) {
    .timeline-line { height: 1100px; }
}

@media (max-width: 768px) {
    .timeline-container {
        padding: 0 1rem;
    }
    
    .timeline-title {
        font-size: 2.5rem;
        margin: 0 1rem;
    }
    
    .timeline-header .header-line {
        width: 60px;
        margin: 0 0.5rem;
    }
    
    .timeline-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .timeline-line {
        left: 50%;
        top: 50px; 
        height: 1320px;
        transform: translateX(-50%);
        z-index: 1 !important;
        position: absolute !important;
    }
    
    .timeline-icon {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        z-index: 10 !important;
        position: relative;
    }
    
    .timeline-icon i {
        font-size: 1.2rem;
        z-index: 11 !important;
    }
    
    .timeline-card {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        padding: 1.5rem;
        margin-bottom: 1rem;
        z-index: 5 !important;
        position: relative;
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    
    .timeline-card.left,
    .timeline-card.right {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        z-index: 5 !important;
        position: relative;
    }
    
    .timeline-icon {
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto;
        z-index: 10 !important;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
        flex-direction: column;
        position: relative;
        z-index: 5;
    }
    
    .timeline-item .timeline-card {
        order: 2;
        margin-top: 1rem;
        z-index: 5 !important;
        position: relative;
    }
    
    .timeline-item .timeline-icon {
        order: 1;
        margin-bottom: 0.5rem;
        z-index: 10 !important;
        position: relative;
    }
}

/* Regla ultra específica para forzar la línea por detrás en móviles */
@media (max-width: 768px) {
    .second-page .timeline-wrapper .timeline-line {
        z-index: -10 !important;
        position: absolute !important;
    }
    
    .second-page .timeline-wrapper .timeline-item {
        z-index: 10 !important;
        position: relative !important;
    }
    
    .second-page .timeline-wrapper .timeline-card {
        z-index: 15 !important;
        position: relative !important;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .second-page .timeline-wrapper .timeline-icon {
        z-index: 20 !important;
        position: relative !important;
    }
}

/* Regla específica para iPhone con selector ultra específico */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .second-page .timeline-container .timeline-wrapper .timeline-line {
            z-index: -100 !important;
            position: absolute !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-item {
            z-index: 100 !important;
            position: relative !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-card {
            z-index: 150 !important;
            position: relative !important;
            background: rgba(255, 255, 255, 0.1) !important;
            backdrop-filter: blur(15px) !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-icon {
            z-index: 200 !important;
            position: relative !important;
        }
    }
}

/* Solución específica para Safari iOS - usar transform3d para forzar capa de composición */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .second-page .timeline-container .timeline-wrapper {
            transform: translate3d(0, 0, 0);
            -webkit-transform: translate3d(0, 0, 0);
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-line {
            z-index: -999 !important;
            position: absolute !important;
            transform: translate3d(-50%, 0, -1px) !important;
            -webkit-transform: translate3d(-50%, 0, -1px) !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-item {
            z-index: 1 !important;
            position: relative !important;
            transform: translate3d(0, 0, 0) !important;
            -webkit-transform: translate3d(0, 0, 0) !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-card {
            z-index: 2 !important;
            position: relative !important;
            transform: translate3d(0, 0, 1px) !important;
            -webkit-transform: translate3d(0, 0, 1px) !important;
            background: rgba(255, 255, 255, 0.12) !important;
            backdrop-filter: blur(20px) !important;
            -webkit-backdrop-filter: blur(20px) !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-icon {
            z-index: 3 !important;
            position: relative !important;
            transform: translate3d(0, 0, 2px) !important;
            -webkit-transform: translate3d(0, 0, 2px) !important;
        }
    }
}

/* Solución alternativa para iPhone usando isolation */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .second-page .timeline-container {
            isolation: isolate !important;
            -webkit-isolation: isolate !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-line {
            z-index: -1 !important;
            position: absolute !important;
            isolation: isolate !important;
            -webkit-isolation: isolate !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-item {
            z-index: 1 !important;
            position: relative !important;
            isolation: isolate !important;
            -webkit-isolation: isolate !important;
        }
        
        .second-page .timeline-container .timeline-wrapper .timeline-card {
            z-index: 2 !important;
            position: relative !important;
            isolation: isolate !important;
            -webkit-isolation: isolate !important;
            background: rgba(255, 255, 255, 0.15) !important;
            backdrop-filter: blur(25px) !important;
            -webkit-backdrop-filter: blur(25px) !important;
        }
    }
}






.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

.project-modal.active {
    display: block;
}

/* Ocultar scrollbar usando position fixed - sin afectar comportamiento */
body.hide-scrollbar {
    position: fixed;
    width: 100%;
    left: 0;
    overflow: hidden;
}

.project-modal-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #1b1b1b;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.project-modal-header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10001;
    padding: 20px;
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 20px;
}

.close-modal-btn:hover {
    color: #d4af37;
}

.project-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px 30px;
}



.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
}

.breadcrumb-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #d4af37;
}

.breadcrumb-separator {
    color: #6b7280;
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}



.back-to-projects-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
}

.back-to-projects-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #d4af37;
    transform: translateX(-4px);
}

.back-to-projects-btn i {
    transition: transform 0.3s ease;
}

.back-to-projects-btn:hover i {
    transform: translateX(-4px);
}



.project-header {
    text-align: left;
    margin-bottom: 32px;
}

.project-title {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.1;
    white-space: nowrap;
}

/* Responsive adjustments for mobile project titles */
@media (max-width: 480px) {
    .project-title {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
        white-space: normal;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 375px) {
    .project-title {
        font-size: clamp(1.9rem, 7vw, 2rem);
        line-height: 1.3;
    }
}

.project-description {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
}

/* Solo para desktop y tablet - texto en una línea */
@media (min-width: 769px) {
    .project-description {
        white-space: nowrap;
    }
}



.project-image-container {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-slider { position: relative; width: 100%; height: 100%; touch-action: pan-y; }
.slides { 
  display: flex; 
  width: 100%; 
  height: 100%; 
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  touch-action: pan-y;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.slide { 
  min-width: 100%; 
  height: 100%; 
  position: relative;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.slide img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  border-radius: 16px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.slider-btn { display: none; }
.slider-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: transform 0.2s, background 0.2s; }
.slider-dot.active { background: #d4af37; transform: scale(1.1); }

/* Optimización específica para móviles - Slider más rápido y smooth */
@media (max-width: 768px) {
  .slides {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  .slide img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

.project-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}



.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
    align-items: stretch;
}

.details-column,
.features-column {
    display: flex;
    flex-direction: column;
    height: 96%;
}

.features-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn-elegant {
    margin-top: auto;
}

.details-column h2,
.features-column h2 {
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}



.detail-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.detail-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
    color: #000000;
    font-size: 18px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
}

.detail-content h3 {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content p {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}



.features-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
    backdrop-filter: blur(10px);
}

.features-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.features-card li {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
    padding-left: 20px;
    position: relative;
}

.features-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #d4af37;
    border-radius: 50%;
}



.btn-elegant {
    position: relative;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Asegurar que el enlace se vea como botón */
a.btn-elegant {
    color: #000000;
    text-decoration: none;
    display: inline-block;
}

a.btn-elegant:hover {
    color: #000000;
    text-decoration: none;
}

a.btn-elegant:visited {
    color: #000000;
    text-decoration: none;
}

.btn-elegant:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-elegant:hover .btn-shimmer {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 1;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-detail-container > * {
    animation: slideInUp 0.6s ease-out;
}

.project-detail-container > *:nth-child(1) { animation-delay: 0.1s; }
.project-detail-container > *:nth-child(2) { animation-delay: 0.2s; }
.project-detail-container > *:nth-child(3) { animation-delay: 0.3s; }
.project-detail-container > *:nth-child(4) { animation-delay: 0.4s; }
.project-detail-container > *:nth-child(5) { animation-delay: 0.5s; }








.success-notification {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  min-width: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 2002;
  pointer-events: none;
}

.success-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification-content h3 {
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.notification-content p {
  color: #9ca3af;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  margin-top: 15px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 2px;
  width: 0%;
  transition: width 4s ease;
}

.success-notification.show .progress-fill {
  width: 100%;
}


.optional {
  color: #888;
  font-weight: normal;
  font-size: 0.9em;
}



.footer { 
  background: #181818;
  color: #bdbdbd;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  border-top: 1px solid #232323;
}

.footer-main { 
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-main p { 
    line-height: 25px;
    position: relative;
    bottom: 25px;
    right: 10px;
    font-size: 16px;
}

.mobile-version {
  display: none;
}

.footer-col { 
  flex: 1 1 0;
  min-width: 180px;
  margin-bottom: 32px;
}


.footer-main .footer-col:nth-of-type(2),
.footer-main .footer-col:nth-of-type(3) {
  margin-top: 26px;
  margin-right: -30px;
}

.footer-logo { 
  width: 200px;
  height: 120px;
  position: relative;
  bottom: 7px;
  right: 15px;
}

.footer-col h4 { 
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: bold;
}

.footer-col ul { 
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 23px;
}

.footer-col ul li { 
  margin-bottom: 10px;
}

.footer-col ul li a { 
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { 
  color: #d4af37;
  transition: 0.2s;
}

.footer-hours li { 
  color: #bdbdbd;
  font-size: 15px;
  white-space: nowrap;
  position: relative;
  top: 35px;
}

.footer-horario-title { 
  position: relative;
  top: 33px;
}

.footer-bottom { 
  margin-top: 18px;
  padding: 40px 73px 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #181818;
  position: relative; 
}

.footer-bottom::before { 
  content: "";
  display: block;
  width: 93%;
  height: 1px;
  background: #2c2c2c;
  position: absolute;
  top: 0;
  left: 3%; 
}

.footer-bottom span { 
    font-size: 13px;
    position: relative;
    bottom: 15px;
    left: 15px;
}

.floating-back-to-top {
  
  position: fixed;
  bottom: 15px; 
  right: 15px;  
  z-index: 2001;  
  
  
  width: 3rem;  
  height: 3rem; 
  
  
  border-radius: 50%;
  border: none;
  
  
  background: #D4AF37; 
  color: #121212;      
  
  
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.15);
  
  
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  
  cursor: pointer;
  outline: none;
  pointer-events: auto;
  
  
  opacity: 0;
  transform: scale(0.5);
  visibility: hidden;
}


.floating-back-to-top.visible {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}


.floating-back-to-top:hover {
  background: #C9A55F; 
  transform: scale(1.05);
  box-shadow: 
    0 6px 20px rgba(212, 175, 55, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.2);
}


.floating-back-to-top:active {
  transform: scale(0.95);
  transition: transform 150ms ease;
}


.floating-back-to-top i {
  font-size: 1.125rem; 
  font-weight: 600;
  transition: transform 300ms ease;
}


.floating-back-to-top:hover i {
  transform: translateY(-1px);
}


.floating-back-to-top:focus {
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.15),
    0 0 0 3px rgba(212, 175, 55, 0.3);
}


@media (max-width: 768px) {
  .floating-back-to-top {
    bottom: 15px;
    right: 15px;
    width: 2.75rem;
    height: 2.75rem;
  }
  
  .floating-back-to-top i {
    font-size: 1rem;
  }
}

@media (max-width: 600px) and (min-width: 481px) {
  .timeline-title {
    font-size: 2.2rem;
    margin: 0 0.75rem;
    text-align: center;
    line-height: 1.3;
  }
  
  .timeline-header .header-line {
    width: 50px;
    margin: 0 0.5rem;
  }
  
  .timeline-description {
    font-size: 0.95rem;
    padding: 0 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) and (min-width: 401px) {
  .timeline-title {
    font-size: 2rem;
    margin: 0 0.5rem;
    text-align: center;
    line-height: 1.2;
  }
  
  .timeline-header .header-line {
    width: 40px;
    margin: 0 0.25rem;
  }
  
  .timeline-description {
    font-size: 0.9rem;
    padding: 0 0.5rem;
    text-align: center;
  }
}

@media (max-width: 400px) and (min-width: 321px) {
  .timeline-title {
    font-size: 1.8rem;
    margin: 0 0.25rem;
    text-align: center;
    line-height: 1.1;
  }
  
  .timeline-header .header-line {
    width: 30px;
    margin: 0 0.2rem;
  }
  
  .timeline-description {
    font-size: 0.85rem;
    padding: 0 0.25rem;
    text-align: center;
  }
}

@media (max-width: 320px) {
  .timeline-title {
    font-size: 1.6rem;
    margin: 0 0.2rem;
    text-align: center;
    line-height: 1.1;
  }
  
  .timeline-header .header-line {
    width: 25px;
    margin: 0 0.15rem;
  }
  
  .timeline-description {
    font-size: 0.8rem;
    padding: 0 0.2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .floating-back-to-top {
    bottom: 15px;
    right: 15px;
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .floating-back-to-top i {
    font-size: 0.875rem;
  }
}


.enlaces-rapidos {
    position: relative;
    left: 60px;
    top: 35px
}



.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  opacity: 1;
  pointer-events: auto;
  transition: background 0.5s cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
  height: 80px;
}

.navbar--visible {
  background: #121212;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.navbar-logo a {
  display: inline-block;
  text-decoration: none;
}

.navbar-logo img {
  height: 110px;
  width: 190px;
  position: relative;
  top: 0px;
  right: 0px;
  transform: translateX(5px);
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}

.navbar-logo {
  padding-left: 40px;
}

.navbar-menu {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 30px;
}

.navbar-menu {
  margin-left: auto;
}

.navbar-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  position: relative;
  padding: 8px 18px;
  border-radius: 3px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.navbar-menu a:not(.contactanos):hover {
  color: #d4af37;
  transform: translateY(-2px);
}

.navbar-menu a.contactanos {
  background: #D4AF37;
  color: #181818;
  border: none;
  padding: 11px 28px;
  border-radius: 3px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-family: "Inter", sans-serif;
}

.navbar-menu a.contactanos:hover {
  background: #e4c85c;
  color: #000;
  transform: translateY(-2px);
}

.navbar-menu a > * { pointer-events: auto; }

.navbar-menu a.contactanos::after {
  display: none !important;
}


@media (max-width: 1024px) {
  
}

  
  /* Logo de Caribbean grande */
  .navbar-menu.active .mobile-logo {
    position: absolute;
    top: -10px;
    left: 40px;
    width: 180px;
    height: 130px;
    background: url('Fotos/Caribbeanlogo.png') no-repeat center;
    background-size: contain;
    filter: brightness(0) invert(1);
  }
  
  /* Botón cerrar X dentro del menú */
  .navbar-menu.active .close-menu {
    position: absolute;
    top: 15px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    transition: color 0.3s ease;
  }
  
  .navbar-menu.active .close-menu:hover {
    color: #FFD23F;
  }
  
  /* Navegación alineada a la izquierda */
  .navbar-menu.active .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
    width: 100%;
  }
  
  .navbar-menu.active .mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 15px 25px;
    border-radius: 8px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
  }
  
  .navbar-menu.active .mobile-nav a::before {
    content: "→";
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #D4AF37;
    font-size: 18px;
  }
  
  .navbar-menu.active .mobile-nav a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    transform: translateX(8px);
  }
  
  .navbar-menu.active .mobile-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Botón CTA destacado */
  .navbar-menu.active .mobile-cta {
    background: linear-gradient(135deg, #FFD23F 0%, #F6C90E 100%);
    color: #000000;
    border: none;
    border-radius: 12px;
    padding: 16px 35px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
  }
  
  .navbar-menu.active .mobile-cta:hover {
    background: linear-gradient(135deg, #C9A55F, #B8954F);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  }

@media (min-width: 1025px) {
  .navbar-toggle { display: none !important; }
}





/* Responsive styles for modal */
@media (max-width: 768px) {
  .project-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .details-column {
    order: 1;
  }
  
  .features-column {
    order: 2;
  }
}

@media (max-width: 850px) and (min-width: 641px) {
  .timeline-line {
    height: 185vh;
    top: 100px;
  }
}

/* ======================
   TIMELINE SECTION - NOSOTROS
   ====================== */

/* Variables CSS para el timeline */
:root {
  /* Colores específicos del timeline */
  --timeline-bg-start: hsl(0, 0%, 12.9%);          /* #212120 */
  --timeline-bg-end: hsl(0, 0%, 10.6%);            /* #1b1b1b */
  --timeline-gold: hsl(48, 83.3%, 47.1%);          /* #D4AF37 */
  --timeline-text-primary: hsl(0, 0%, 100%);       /* #ffffff */
  --timeline-text-secondary: hsl(0, 0%, 76.5%);    /* #c4c3c3 */
  --timeline-card-bg: hsla(0, 0%, 100%, 0.05);
  --timeline-card-hover-bg: hsla(0, 0%, 100%, 0.08);
  --timeline-card-border: hsla(0, 0%, 100%, 0.1);
  --timeline-card-hover-border: hsla(48, 83.3%, 47.1%, 0.3);
  
  /* Fuentes */
  --font-serif: 'Libre Baskerville', serif;
  --font-sans: 'Inter', sans-serif;
}

/* Timeline principal */
.timeline-section {
  position: relative;
  width: 100%;
  min-height: 200vh;
  background: linear-gradient(135deg, var(--timeline-bg-start) 0%, var(--timeline-bg-end) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

/* Asegurar que funcione como sección */
.timeline-section.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.timeline-section.section.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Header del timeline */
.timeline-header {
  text-align: center;
  margin-bottom: 4rem;
}

.timeline-header .header-line {
  width: 100px;
  height: 2px;
  background: #D4AF37;
  display: inline-block;
  margin: 0 1rem;
  vertical-align: middle;
}

.timeline-section .timeline-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--timeline-text-primary);
  margin: 0 2rem;
  display: inline-block;
  vertical-align: middle;
  font-weight: 700;
  line-height: 1.2;
}

.timeline-description {
  color: var(--timeline-text-secondary);
  font-size: 1.2rem;
  font-family: var(--font-sans);
  line-height: 1.6;
  max-width: 800px;
  margin: 2rem auto 0;
}

/* Estructura timeline */
.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-section .timeline-line {
  position: absolute;
  left: 50%;
  top: 95px;
  bottom: auto;
  height: 1100px;
  width: 2px;
  background: #D4AF37;
  transform: translateX(-50%);
  z-index: 0;
}

/* Ajustes desktop/laptop: restaurar altura original */
@media (min-width: 1024px) and (max-width: 1279px) {
  .timeline-section .timeline-line { height: 1100px; }
  
  /* Reducir altura de línea en Chrome y Edge para desktop pequeño */
  .is-chrome .timeline-section .timeline-line,
  .is-edge .timeline-section .timeline-line {
    height: 1090px;
  }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .timeline-section .timeline-line { height: 1100px; }
  
  /* Reducir altura de línea en Chrome y Edge para desktop mediano */
  .is-chrome .timeline-section .timeline-line,
  .is-edge .timeline-section .timeline-line {
    height: 1090px;
  }
}
@media (min-width: 1440px) and (max-width: 1919px) {
  .timeline-section .timeline-line { height: 1100px; }
  
  /* Reducir altura de línea en Chrome y Edge para large desktop */
  .is-chrome .timeline-section .timeline-line,
  .is-edge .timeline-section .timeline-line {
    height:   950px;
  }
}
@media (min-width: 1920px) {
  .timeline-section .timeline-line { height: 1100px; }
  
  /* Reducir altura de línea en Chrome y Edge para extra large desktop */
  .is-chrome .timeline-section .timeline-line,
  .is-edge .timeline-section .timeline-line {
    height: 1090px;
  }
}

/* Browser-specific tweaks */
@media (min-width: 1024px) {
  /* Edge: reducir altura de línea para que quede dentro del icono */
  .is-edge .timeline-section .timeline-line { height: 1090px; }
  /* Chrome: reducir altura de línea para que quede dentro del icono */
  .is-chrome .timeline-section .timeline-line { height: 1090px; }
}

/* Items del timeline */
.timeline-section .timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-section .timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Iconos timeline */
.timeline-section .timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: #D4AF37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.timeline-section .timeline-icon:hover {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  filter: saturate(1.2);
}

.timeline-section .timeline-icon i {
  font-size: 1.5rem;
  color: #1b1b1b;
  z-index: 3;
}

/* Tarjetas timeline */
.timeline-section .timeline-card {
  width: 45%;
  min-width: 320px;
  max-width: 380px;
  background: var(--timeline-card-bg);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--timeline-card-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  z-index: 5;
  position: relative;
}

.timeline-section .timeline-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  filter: saturate(1.05);
  background: var(--timeline-card-hover-bg);
  border-color: var(--timeline-card-hover-border);
}

.timeline-section .timeline-card.left {
  margin-right: auto;
  margin-left: 0;
  margin-right: 3rem;
  text-align: right;
}

.timeline-section .timeline-card.right {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.timeline-section .card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #D4AF37;
}

.timeline-section .card-description {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  max-width: 100%;
  text-align: left;
  color: var(--timeline-text-secondary);
}

/* ======================
   RESPONSIVE DESIGN TIMELINE
   ====================== */

/* Desktop grande (1200px+) */
@media (min-width: 1200px) {
  .timeline-section .timeline-container {
    max-width: 1200px;
    padding: 0 3rem;
  }
  
  .timeline-section .timeline-title {
    font-size: 3.5rem;
  }
  
  .timeline-section .timeline-description {
    font-size: 1.3rem;
    max-width: 900px;
  }
}

/* Desktop mediano (1025px-1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
  .timeline-section .timeline-container {
    max-width: 1000px;
    padding: 0 2.5rem;
  }
  
  .timeline-section .timeline-title {
    font-size: 3.5rem;
  }
}

/* Tablet grande (901px-1024px) */
@media (max-width: 1024px) and (min-width: 901px) {
  .timeline-section .timeline-line {
    height: 175vh;
    top: 100px;
  }
  
  .timeline-section .timeline-container {
    padding: 0 2rem;
  }
  
  .timeline-section .timeline-title {
    font-size: 3.5rem;
    margin: 0 1.5rem;
  }
  
  .timeline-section .timeline-card {
    max-width: 350px;
    padding: 1.8rem;
  }
}

/* Tablet mediano grande (861px-900px) */
@media (max-width: 900px) and (min-width: 861px) {
  .timeline-section .timeline-line {
    height: 180vh;
    top: 100px;
  }
  
  .timeline-section .timeline-title {
    font-size: 3.5rem;
    margin: 0 1.5rem;
  }
  
  .timeline-section .timeline-description {
    font-size: 1.1rem;
  }
}

/* Tablet mediano (801px-860px) */
@media (max-width: 860px) and (min-width: 801px) {
  .timeline-section .timeline-line {
    height: 188vh;
    top: 100px;
  }
  
  .timeline-section .timeline-title {
    font-size: 3.5rem;
    margin: 0 1.2rem;
  }
  
  .timeline-section .timeline-header .header-line {
    width: 80px;
    margin: 0 0.8rem;
  }
}

/* Tablet pequeño grande (781px-800px) */
@media (max-width: 800px) and (min-width: 781px) {
  .timeline-section .timeline-line {
    height: 195vh;
    top: 100px;
  }
  
  .timeline-section .timeline-title {
    font-size: 3.5rem;
    margin: 0 1rem;
  }
}

/* Tablet pequeño (635px-780px) */
@media (max-width: 780px) and (min-width: 635px) {
  .timeline-section .timeline-line {
    height: 195vh;
    top: 100px;
  }
  
  .timeline-section .timeline-title {
    font-size: 3.5rem;
    margin: 0 1rem;
  }
  
  .timeline-section .timeline-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .timeline-section .timeline-card {
    min-width: 280px;
    max-width: 320px;
    padding: 1.5rem;
  }
}

/* Móvil grande (481px-634px) */
@media (max-width: 634px) and (min-width: 481px) {
  .timeline-section .timeline-container {
    padding: 0 1.5rem;
  }
  
  .timeline-section .timeline-title {
    font-size: 2.5rem;
    margin: 0 0.8rem;
  }
  
  .timeline-section .timeline-header .header-line {
    width: 60px;
    margin: 0 0.5rem;
  }
  
  .timeline-section .timeline-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Móvil - 480px y menor */
@media (max-width: 480px) {
  .timeline-section {
    padding: 2rem 0;
    min-height: 150vh;
  }
  
  .timeline-section .timeline-container {
    padding: 0 1rem;
  }
  
  .timeline-section .timeline-title {
    font-size: 2rem;
    margin: 0 0.5rem;
    line-height: 1.3;
  }
  
  .timeline-section .timeline-header .header-line {
    width: 40px;
    margin: 0 0.3rem;
  }
  
  .timeline-section .timeline-description {
    font-size: 0.9rem;
    padding: 0 0.5rem;
    line-height: 1.5;
  }
}

/* Móvil principal - 768px y menor */
@media (max-width: 768px) {
  /* Contenedor */
  .timeline-section .timeline-container {
    padding: 0 1rem;
  }
  
  /* Header responsive */
  .timeline-section .timeline-title {
    font-size: 2.5rem;
    margin: 0 1rem;
  }
  
  .timeline-section .timeline-header .header-line {
    width: 60px;
    margin: 0 0.5rem;
  }
  
  .timeline-section .timeline-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  /* OCULTAR LA LÍNEA DORADA EN MÓVILES */
  .timeline-section .timeline-line {
    display: none !important;
  }
  
  /* Iconos centrados */
  .timeline-section .timeline-icon {
    position: relative;
    left: auto;
    transform: none;
    margin: 0 auto 0.5rem auto;
    width: 50px;
    height: 50px;
    z-index: 10 !important;
  }
  
  .timeline-section .timeline-icon i {
    font-size: 1.2rem;
    z-index: 11 !important;
  }
  
  /* Tarjetas centradas y verticales */
  .timeline-section .timeline-card {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    padding: 1.5rem;
    margin-bottom: 1rem;
    z-index: 5 !important;
    position: relative;
    background: var(--timeline-card-hover-bg) !important;
  }
  
  .timeline-section .timeline-card.left,
  .timeline-section .timeline-card.right {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    z-index: 5 !important;
    position: relative;
  }
  
  /* Items verticales */
  .timeline-section .timeline-item {
    margin-bottom: 2rem;
    flex-direction: column;
    position: relative;
    z-index: 5;
  }
  
  .timeline-section .timeline-item .timeline-card {
    order: 2;
    margin-top: 1rem;
  }
  
  .timeline-section .timeline-item .timeline-icon {
    order: 1;
  }
  
  .timeline-section .card-description {
    text-align: center !important;
  }
}

/* Reglas específicas para móviles (sin línea dorada) */
@media (max-width: 768px) {
  .timeline-section .timeline-wrapper .timeline-item {
    z-index: 10 !important;
    position: relative !important;
  }
  
  .timeline-section .timeline-wrapper .timeline-card {
    z-index: 15 !important;
    position: relative !important;
    background: var(--timeline-card-hover-bg) !important;
    backdrop-filter: blur(10px) !important;
  }
  
  .timeline-section .timeline-wrapper .timeline-icon {
    z-index: 20 !important;
    position: relative !important;
  }
}

/* Móvil muy pequeño - 320px y menor */
@media (max-width: 320px) {
  .timeline-section .timeline-title {
    font-size: 1.6rem;
    margin: 0 0.3rem;
  }
  
  .timeline-section .timeline-header .header-line {
    width: 30px;
    margin: 0 0.2rem;
  }
  
  .timeline-section .timeline-description {
    font-size: 0.85rem;
    padding: 0 0.3rem;
  }
  
  .timeline-section .timeline-card {
    padding: 1rem;
  }
  
  .timeline-section .card-title {
    font-size: 1.2rem;
  }
  
  .timeline-section .card-description {
    font-size: 0.85rem;
  }
}

/* ===========================================
   SECCIÓN NOSOTROS - DISEÑO MÓVIL EXCLUSIVO
   =========================================== */

/* Variables CSS para la sección nosotros */
:root {
  --nosotros-bg-start: #212120;
  --nosotros-bg-end: #1b1b1b;
  --nosotros-gold: #D4AF37;
  --nosotros-gold-light: #E4C85C;
  --nosotros-text-primary: #ffffff;
  --nosotros-text-secondary: #c4c3c3;
  --nosotros-card-bg: rgba(255, 255, 255, 0.05);
  --nosotros-card-hover-bg: rgba(255, 255, 255, 0.08);
  --nosotros-card-border: rgba(212, 175, 55, 0.2);
  --nosotros-card-hover-border: rgba(212, 175, 55, 0.4);
}

/* SECCIÓN NOSOTROS MÓVIL - SOLO VISIBLE EN MÓVILES */
.nosotros-section {
  min-height: 100vh;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--nosotros-bg-start) 0%, var(--nosotros-bg-end) 100%);
  position: relative;
  overflow: hidden;
  display: block;
}

/* Fondo animado */
.nosotros-bg-animated {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: nosotrosRotate 20s linear infinite;
  pointer-events: none;
}

/* Desactivar animación de wave en móvil */
@media (max-width: 768px) {
  .nosotros-bg-animated {
    animation: none;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 30%, transparent 70%);
  }
}

@keyframes nosotrosRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Contenedor principal */
.nosotros-container {
  max-width: 100%;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

/* Header móvil */
.nosotros-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.nosotros-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  line-height: 1.2;
  background: linear-gradient(45deg, #fff, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.nosotros-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  color: var(--nosotros-text-secondary);
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* Contenedor de servicios */
.nosotros-services {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Tarjetas de servicios */
.service-card {
  width: 100%;
  background: var(--nosotros-card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--nosotros-card-border);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  touch-action: manipulation;
  will-change: transform;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nosotros-gold), var(--nosotros-gold-light));
  border-radius: 15px 15px 0 0;
}

.service-card:active {
  transform: scale(1.02);
  transition: transform 150ms ease;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  filter: saturate(1.05);
  background: var(--nosotros-card-hover-bg);
  border-color: var(--nosotros-card-hover-border);
}

/* Iconos de servicios */
.service-icon {
  text-align: center;
  margin-bottom: 1rem;
}

.service-icon i {
  font-size: 2rem;
  color: var(--nosotros-gold);
}

/* Títulos de servicios */
.service-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  color: var(--nosotros-text-primary);
  margin-bottom: 0.8rem;
  text-align: center;
  font-weight: bold;
}

/* Descripciones de servicios */
.service-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--nosotros-text-secondary);
  line-height: 1.5;
  text-align: center;
}

/* Sección misión */
.nosotros-mission {
  background: rgba(212, 175, 55, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--nosotros-card-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  cursor: pointer;
}

.nosotros-mission:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  filter: saturate(1.05);
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--nosotros-card-hover-border);
}

.mission-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.3rem;
  color: var(--nosotros-gold);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
}

.mission-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--nosotros-text-secondary);
  line-height: 1.6;
  text-align: center;
}

/* Animaciones reveal */
.nosotros-section .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.nosotros-section .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation para tarjetas */
.nosotros-section .service-card.reveal:nth-child(1) { transition-delay: 0.1s; }
.nosotros-section .service-card.reveal:nth-child(2) { transition-delay: 0.2s; }
.nosotros-section .service-card.reveal:nth-child(3) { transition-delay: 0.3s; }
.nosotros-section .nosotros-mission.reveal { transition-delay: 0.4s; }

/* Responsive breakpoints para móviles */
@media (min-width: 320px) and (max-width: 480px) {
  .nosotros-container {
    padding: 0 1rem;
  }
  
  .nosotros-title {
    font-size: 1.8rem;
  }
  
  .service-title {
    font-size: 1rem;
  }
  
  .service-description {
    font-size: 0.85rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .nosotros-container {
    padding: 0 1.5rem;
  }
  
  .nosotros-title {
    font-size: 2.2rem;
  }
  
  .service-title {
    font-size: 1.2rem;
  }
  
  .service-description {
    font-size: 0.95rem;
  }
}

/* Breakpoint específico para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .nosotros-container {
    padding: 0 2rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .nosotros-title {
    font-size: 2.5rem;
  }
  
  .nosotros-description {
    font-size: 1.1rem;
    max-width: 90%;
  }
  
  .service-title {
    font-size: 1.3rem;
  }
  
  .service-description {
    font-size: 1rem;
  }
  
  .mission-title {
    font-size: 1.5rem;
  }
  
  .mission-description {
    font-size: 1.05rem;
  }
  
  /* Ajustar espaciado para tablets */
  .nosotros-services {
    gap: 2rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .nosotros-mission {
    padding: 2rem;
  }
}

/* OCULTAR SECCIÓN NOSOTROS EN DESKTOP */
@media (min-width: 1025px) {
  .nosotros-section {
    display: none !important;
  }
}

/* MOSTRAR TIMELINE DESKTOP EN DESKTOP */
@media (min-width: 1025px) {
  .timeline-section {
    display: block !important;
  }
}

/* OCULTAR TIMELINE DESKTOP EN MÓVILES Y TABLETS */
@media (max-width: 1024px) {
  .timeline-section {
    display: none !important;
  }
}

/* Soporte para reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nosotros-bg-animated {
    animation: none;
  }
  
  .nosotros-section .reveal {
    transition: none;
  }
  
  .service-card {
    transition: none;
  }
}

/* ===========================================
   MENÚ HAMBURGUESA SIMPLE - SOLO MÓVILES
   =========================================== */

/* Botón hamburguesa - Solo visible en móviles */
.hamburger-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animación del botón hamburguesa */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Menú móvil - Overlay completo */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

/* Contenido del menú móvil */
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.mobile-link {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: left 0.5s ease;
}

.mobile-link:hover::before {
  left: 100%;
}

.mobile-link:hover {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.mobile-link.mobile-cta {
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
  color: #181818;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.mobile-link.mobile-cta:hover {
  background: linear-gradient(135deg, #C9A55F 0%, #E4C85C 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.mobile-link.mobile-cta::before {
  display: none;
}

/* Mostrar solo en móviles */
@media (max-width: 1024px) {
  .hamburger-btn {
    display: block;
  }
  
  .navbar-menu {
    display: none;
  }
  
  /* Logo de Caribbean pegado a la izquierda en móviles */
  .navbar-logo {
    padding-left: 10px;
  }
  
  .navbar-logo img {
    height: 110px;
    width: 190px;
    transform: translateX(0px);
    top: 0;
  }
}

/* Ajustes específicos para móviles - logo pegado con tamaño original */
@media (max-width: 1024px) {
  .navbar-logo {
    padding-left: 10px;
  }
  
  .navbar-logo img {
    height: 110px;
    width: 190px;
    transform: translateX(0);
  }
}

/* Ocultar en desktop */
@media (min-width: 1025px) {
  .hamburger-btn,
  .mobile-menu {
    display: none !important;
  }
  
  .navbar-menu {
    display: flex !important;
  }
}

