:root {
    --verde-pastel: #3e7c59;
    --verde-pastel-claro: #6fb98f;
    --verde-pastel-muy-claro: #d4e8dd;
    --crema: #f9f7f1;
    --crema-oscuro: #f0ece0;
    --negro: #181818;
    --gris-suave: #e6ede7;
    --gris-texto: #3e4c3a;
    --sombra-suave: 0 4px 6px rgba(0, 0, 0, 0.05);
    --sombra-media: 0 8px 16px rgba(0, 0, 0, 0.1);
    --transicion-rapida: all 0.2s ease-in-out;
    --transicion-media: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--crema);
    color: var(--negro);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  

  h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transicion-rapida);
  }


  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  /* Animación circular */
  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulse 2s ease-in-out infinite;
  }
  
  .logo {
    width: 100px;
    height: auto;
    animation: spin 2s ease-in-out;
  }

  .logo-qaiju {
    transition: transform 1s ease;
  }
  
  .animar-logo {
    transform: rotate(360deg);
  }
  
  .nombre {
    color: white;
    font-size: 2rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeIn 1.5s forwards 1.2s;
  }
  
  /* Animaciones */
  @keyframes spin {
    0% { transform: scale(0) rotate(90deg); opacity: 0; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 1; }
    100% { transform: scale(1) rotate(360deg); }
  }
  
  @keyframes fadeIn {
    to { opacity: 1; }
  }
  

  .header {
    background: var(--negro);
    color: var(--crema);
    padding: 0.8rem 0;
    box-shadow: var(--sombra-suave);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: fadeDown 0.5s ease-out;
    width: 100%;
  }
  
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0rem;
  }
  
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    gap: 0.8rem;
  }
  
  .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transicion-rapida);
  }
  
  .logo-link:hover {
    transform: scale(1.05);
  }
  
  .logo-img {
    height: clamp(50px, 7vw, 80px);
    width: auto;
    transition: var(--transicion-rapida);
  }
  
  .logo-link:hover .logo-img {
    transform: rotate(-5deg) scale(1.1);
  }
  
  .nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0rem 2rem;
  }
  
  .nav-list a {
    color: var(--crema);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
  }
  
  .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde-pastel-claro);
    transition: var(--transicion-rapida);
  }
  
  .nav-list a:hover::after {
    width: 100%;
  }
  

  .hero {
    background: linear-gradient(135deg, var(--crema) 0%, var(--crema-oscuro) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle at 70% 50%, var(--verde-pastel-muy-claro) 0%, transparent 60%);
    opacity: 0.6;
    z-index: 0;
  }

  @media (max-width: 768px) {
    .hero::before {
      top: -20%;
      right: -20%;
      width: 100%;
      height: 140%;
      background: radial-gradient(circle at 70% 50%, var(--verde-pastel-muy-claro) 0%, transparent 60%);
      opacity: 0.4;
    }
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
  }
  
  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--verde-pastel);
    line-height: 1.1;
  }
  
  .hero-desc {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--gris-texto);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .curva-superior {
    position: relative;
    margin-bottom: -4px;
    z-index: 1;
  }
  
  .curva-superior svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 1));
    z-index: 0;
  }

  .curva-inferior {
    position: relative;
    margin-top: -4px;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 1));
    z-index: 1;
  }
  
  .curva-inferior svg {
    display: block;
    width: 100%;
    height: auto;
    z-index: 0;
  }
  
.proyecto-hddprocalc {
    background-color: #400000;
    color: #fff;
    padding: 5rem 0 12rem;
    position: relative;
    z-index: 1;
}

.proyecto-laquinta {
  margin-top: -1rem;
  background-color: #f9f7f1;
  color: #181818;
  padding: 5rem 0 5rem;
  position: relative;
  z-index: 1;
}

.curva-laquinta {
  position: relative;
  margin-top: -1px;
  z-index: 0;
  
  background-color:#e6ede7 ;
}


.curva-laquinta svg {
  display: block;
  width: 100%;
  height: auto;
  z-index: 0;
  filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.5));
}


.la-quinta-proyecto .proyecto-content {
  flex-direction: row-reverse;
}

.la-quinta-proyecto  .proyecto-carousel-container {
  order: 1;
}

.proyecto-laquinta .proyecto-info-container {
  order: 2;
}

.proyecto-laquinta .proyecto-info h3 {
  color: #181818;
}

.proyecto-laquinta .proyecto-info p {
  color: #181818;
}

.proyecto-laquinta .btn-outline {
  border: 2px solid #181818;
  color: #181818;
}

.proyecto-laquinta .btn-outline:hover {
  background: #181818;
  color: #ffffff;
  border-color: #181818;
}
  
.proyecto-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 8rem;
  margin: 0 auto;
}

.proyecto-info-container {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

.proyecto-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.proyecto-icon {
  filter: drop-shadow(0 4px 15px rgba(0,0,0,1));
  width: 128px;
  height: auto;
  margin-bottom: 1rem;
}

.proyecto-info h3 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
  color: #ffffff;
}

.proyecto-info p {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.6;
  color: #ffffff;
}

.proyecto-carousel-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
  
  .carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.carousel-images {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.carousel-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  object-fit: contain;
}


  .carousel-image[src*=".jpg"],
  .carousel-image[src*=".png"] {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 1))
  }

  .carousel-image[src*=".jpg"] {
    max-width: 90%;
    max-height: 90%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 1));
}

.carousel-image[src*="mockup-screen"] {
  max-width: 280px;
  max-height: 90%;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 1));
}

  .carousel-image.active {
    opacity: 1;
    position: absolute;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #400000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.carousel-btn-prev {
  left: -30px;
}

.carousel-btn-next {
  right: -30px;
}

  .carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
  }


  .curva-superior svg,
  .curva-inferior svg {
    margin-top: -18vh;
    padding: 0;
    line-height: 0;
    z-index: 10;
  }
  
  .btn {
    display: inline-block;
    background: var(--verde-pastel);
    color: var(--crema);
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion-media);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--verde-pastel-claro);
    transition: var(--transicion-media);
    z-index: -1;
  }
  
  .btn:hover {
    color: var(--negro);
    transform: translateY(-3px);
    box-shadow: var(--sombra-media);
  }
  
  .btn:hover::before {
    width: 100%;
  }
  
  .btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
  }
  
  .btn-outline:hover {
    background: var(--verde-pastel);
    color: #ffffff;
    border-color: var(--verde-pastel);
  }
  
  

  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--verde-pastel);
    text-align: center;
    position: relative;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--verde-pastel-claro);
    margin: 1rem auto 0;
    border-radius: 2px;
  }
  
  .proyectos-section {
    background: var(--gris-suave);
    animation: fadeInUp 0.8s ease-out;
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  

  .proyectos-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .proyecto-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion-media);
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .proyecto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-media);
  }
  
  .proyecto-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  
  .proyecto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicion-media);
  }
  
  .proyecto-card:hover .proyecto-img {
    transform: scale(1.05);
  }
  
  .proyecto-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .proyecto-info h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.8rem;
  }
  
  .proyecto-info p {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
  }
  
  .proyecto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
  }
  
  .tag {
    background: var(--verde-pastel-muy-claro);
    color: var(--verde-pastel);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  

  .mas-proyectos-section {
  background: var(--gris-suave);
  padding: 5rem 0;
  animation: fadeInUp 0.8s ease-out;
}

.proyectos-futuros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.proyecto-futuro {
  background: white;
  border-radius: 18px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion-media);
  position: relative;
  overflow: hidden;
}

.proyecto-futuro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--verde-pastel), var(--verde-pastel-claro));
  transform: scaleX(0);
  transition: var(--transicion-media);
}

.proyecto-futuro:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-media);
}

.proyecto-futuro:hover::before {
  transform: scaleX(1);
}

.proyecto-futuro-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--verde-pastel-muy-claro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-pastel);
  transition: var(--transicion-media);
}

.proyecto-futuro:hover .proyecto-futuro-icon {
  background: var(--verde-pastel);
  color: white;
  transform: scale(1.1);
}

.proyecto-futuro h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--verde-pastel);
  margin-bottom: 1rem;
}

.proyecto-futuro p {
  color: var(--gris-texto);
  line-height: 1.6;
  margin: 0;
}

.contacto-section {
  background: var(--crema);
  padding: 6rem 1rem;
  animation: fadeIn 0.8s ease-out;
}
  
.contacto-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
  
.section-title {
  font-size: 2.5rem;
  color: var(--verde-pastel);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--verde-pastel);
  margin: 0.5rem auto 1rem;
  border-radius: 3px;
}

.contacto-form {
    background: white;
    border-radius: 18px;
    box-shadow: var(--sombra-suave);
    padding: 2.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--verde-pastel);
  }
  
  .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--verde-pastel-claro);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transicion-rapida);
    background: var(--crema);
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--verde-pastel);
    box-shadow: 0 0 0 3px rgba(111, 185, 143, 0.2);
  }
  
  textarea.form-control {
    min-height: 150px;
    resize: vertical;
  }
  .contacto-info {
    text-align: center;
    max-width: 600px;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #333;
  }
  
  .contacto-info a {
    color: var(--verde-pastel);
    font-weight: 600;
    text-decoration: underline;
  }
  
  .aclaracion {
    margin-top: 0.5rem;
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
  }
  
  .btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #e1306c;
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    margin-top: 1.2rem;
    transition: background-color 0.3s ease;
    border: none;
  }

  .contacto-info .btn-instagram {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
  }

  .correo-no-select {
    user-select: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--verde-pastel);
    text-decoration: underline;
  }


  .mensaje-copiado {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3e7c59;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
  z-index: 9999;
}

.mensaje-copiado.mostrar {
  opacity: 1;
}
  
  .btn-instagram img {
    width: 20px;
    height: 20px;
  }
  
  .btn-instagram:hover {
    background-color: #c1275a;
  }
  
  .btn-enviar {
    background-color: var(--verde-pastel);
    color: white;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-enviar:hover {
    background-color: var(--verde-pastel-claro);
  }
  

  .footer {
    background: var(--negro);
    color: var(--crema);
    padding: 2.5rem 0;
    text-align: center;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-links a {
    color: var(--crema);
    transition: var(--transicion-rapida);
  }
  
  .footer-links a:hover {
    color: var(--verde-pastel-claro);
  }
  
  .copyright {
    font-size: 0.9rem;
    opacity: 0.8;
  }
  
  .btn-footer {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--crema);
    color: var(--crema);
    background: transparent;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
  }
  
  .btn-footer:hover {
    background-color: var(--crema);
    color: var(--negro);
  }
 
  
  @media (max-width: 576px) {
    .logo {
      font-size: 1.5rem;
    }
    
    .logo-img {
      height: 70px;
    }
    
    .logo-link:hover {
      transform: scale(1.03);
    }
    
    .nav-list {
      gap: 1rem;
    }
    
    .btn {
      padding: 0.8rem 1.8rem;
      font-size: 1rem;
    }
    
    .contacto-form {
      padding: 1.5rem;
    }
  }
  

  @media (hover: hover) {
    .proyecto-card {
      transform: translateY(0);
      transition: var(--transicion-media);
    }
    
    .btn {
      transform: translateY(0);
      transition: var(--transicion-media);
    }
  }

  @media (max-width: 768px) {
  .proyectos-futuros {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .proyecto-futuro {
    padding: 2rem;
  }
  
  .proyecto-futuro-icon {
    width: 60px;
    height: 60px;
  }
  
  .proyecto-futuro h3 {
    font-size: 1.3rem;
  }
  
  .proyecto-content {
      flex-direction: column;
      gap: 3rem;
      text-align: center;
  }
    
    .proyecto-laquinta .proyecto-content {
        flex-direction: column;
    }
    
    .proyecto-laquinta .proyecto-carousel-container {
        order: 1;
    }
    
    .proyecto-laquinta .proyecto-info-container {
        order: 2;
    }
    
    .proyecto-info-container {
        max-width: 100%;
        text-align: center;
    }
    
    .proyecto-info {
        align-items: center;
        text-align: center;
    }
    
    .proyecto-info h3 {
        font-size: 2rem;
    }
    
    .proyecto-info p {
        font-size: 1.1rem;
    }
    
    .proyecto-icon {
        width: 100px;
        height: auto;
    }
}





/*Ajustes Carrousel hasta 480px ancho */
@media (max-width: 480px) {
  .carousel-container {
      padding: 0 2.5rem; /* Reducido de 4rem para mejor uso del espacio */
      margin: 0 auto;
  }
  
  .carousel-images {
      height: auto; /* Cambiado de 350px fijo a flexible */
      min-height: 250px;
      max-height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  /* Reglas unificadas para todas las imágenes */
  .carousel-image {
      max-width: 100% !important;
      max-height: 55vh !important; /* Ajustado de 90% a viewport height */
      width: auto !important;
      height: auto !important;
      object-fit: contain !important;
  }
  
  /* Específico para imágenes JPG/PNG (landscape) */
  .carousel-image[src*=".jpg"],
  .carousel-image[src*=".png"] {
      max-height: 60vh !important; /* Más espacio para landscape */
  }
  
  /* Mockups de móvil */
  .carousel-image[src*="mockup-screen"] {
      max-width: 160px !important;
      max-height: 65vh !important; /* Ajustado de 90% */
  }
  
  /* Botones más accesibles */
  .carousel-btn {
      width: 50px;
      height: 50px;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  
  .carousel-btn-prev {
      left: -15px !important; /* Ajustado de -75px (demasiado lejos) */
  }
  
  .carousel-btn-next {
      right: -15px !important; /* Ajustado de -75px */
  }
  
  .carousel-btn svg {
      width: 22px; /* Aumentado ligeramente de 20px */
      height: 22px;
  }

  /* Ajuste adicional para orientación horizontal */
  @media (orientation: landscape) {
      .carousel-images {
          max-height: 70vh;
      }
      .carousel-image {
          max-height: 65vh !important;
      }
      .carousel-image[src*="mockup-screen"] {
          max-height: 75vh !important;
      }
  }
}



/*Ajuste Carrousel hasta 768px ancho*/
@media (max-width: 768px) {
  .nav-list {
    gap: 1.5rem;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .proyectos-list {
    grid-template-columns: 1fr;
  }

  .carousel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 600px;
  }

  .carousel-images {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: auto;
    max-height: 65vh;
    padding: 10rem;
    position: relative;
  }

  .carousel-image {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: none;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.8)) !important;
  }
  
  .carousel-image.active {
    display: block;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

.carousel-btn-prev {
  left: -1rem; /* Ajustá si hace falta */
}

.carousel-btn-next {
  right: -1rem;
}

  /* Mockups en formato móvil */
  .carousel-image[src*="mockup-screen"] {
    max-width: 200px ;
    max-height: 60vh !important;
  }

  /* Imagenes tipo JPG o PNG */
  .carousel-image[src*=".jpg"],
  .carousel-image[src*=".png"] {
    max-height: 60vh !important;
  }

  /* Orientación horizontal */
  @media (orientation: landscape) {
    .carousel-images {
      max-height: 75vh;
    }
    .carousel-image {
      max-height: 70vh;
    }
  }
}