:root {
  --primary: #2E3A44;           /* Más oscuro y sobrio que el actual */
  --primary-light: #6C7A88;     /* Todavía claro, pero menos brillante */
  --primary-dark: #1F262D;      /* Un tono más profundo y con más carácter */
  --accent: #C77423;            /* Naranja más quemado, sigue elegante */
  --bg: #E7E2DB;                /* Beige más oscuro que #F5F1EB */
  --text: #1F1F1F;              /* Más oscuro, mejora legibilidad sin ser negro puro */
  --gray-light: #AFAFAF;        /* Un gris más neutro y menos brillante */
  --gray-medium: #6F6F6F;       /* Gris medio más profundo */
  --white-transparent: rgba(231, 226, 219, 0.12);         /* Más neutro */
  --white-transparent-strong: rgba(231, 226, 219, 0.75);  /* Menos clara */
  --overlay-dark: rgba(31, 31, 31, 0.6);                  /* Más sutil y uniforme */
}


  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
    padding-top: 0px;
    user-select: none;
  }

  /* Top Bar */
  #top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(2,47,64, 0.7);
    color: white;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 1.5rem;
    z-index: 1100;
    font-weight: 500;
    backdrop-filter: saturate(180%) blur(6px);
  }

  #top-bar .socials,
  #top-bar .contacts {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  #top-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  #top-bar a:hover {
    color: var(--accent);
  }

  /* Navigation */
  nav {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    z-index: 1050;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
  nav.scrolled {
    background: rgba(0, 0, 0, 0.4); /* negro opaco */
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

  nav ul {
    list-style: none;
    display: flex;
    gap: 2.6rem;
  }

  /* 👇 Agregá aquí el nuevo bloque del logo */
  .logo {
    margin-right: 2rem;
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 48px;
    width: auto;
    max-width: 143px;
    max-height: 88px;
    transition: transform 0.3s ease;
  }

  .logo img:hover {
    transform: scale(1.05);
  }

  
  nav ul li {
    position: relative;
  }

  nav ul li a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding-bottom: 4px; /* espacio para que el subrayado no tape texto */
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;      /* que cubra solo el ancho del texto */
  height: 2px;      /* grosor del subrayado */
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a:focus::after {
  transform: scaleX(1);
}


  /* Dropdown */
nav ul li ul.dropdown {
  position: absolute;
  top: 100%;  /* pegado justo abajo */
  left: 0;
  background: var(--white-transparent-strong);
  border-radius: 8px;
  min-width: 200px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1200;
  pointer-events: none;
}

/* Mostrar dropdown al hacer hover en el li padre */
nav ul li:hover > ul.dropdown,
nav ul li:focus-within > ul.dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  animation: dropdownFade 0.35s ease forwards;
  pointer-events: auto;
}

/* Links del dropdown */
nav ul li ul.dropdown li a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: var(--primary-dark);
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 6px;
}

nav ul li:hover > ul.dropdown,
nav ul li ul.dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: dropdownFade 0.35s ease forwards;
}


/* Animación suave para   el dropdown */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  /* Header */
  header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
  }

  /* Estilo para transición de fondo suave y profesional */
.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.6s ease-in-out;
  animation: zoomInOut 10s ease-in-out infinite;
}

/* Zoom suave para dar vida */
@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

 /* termina  lo de las imagenes */


  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.75);
  }

  .hero-content p {
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
  }

  .btn {
    background-color: #d67112;
    border: 2px solid var(--accent);
    color: #fff var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: none;
  }

  .btn:hover,
  .btn:focus {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 6px 18px rgba(242, 163, 101, 0.4);
    outline: none;
    transform: translateY(-2px);
  }

  /* Arrows */
  .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}

.arrow svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}


  /* Servicios destacados */
#servicios-destacados {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.texto-mejorado {
  flex: 1 1 460px;
  color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  line-height: 1.7;
}

.texto-mejorado h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.texto-mejorado .destacado {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.texto-mejorado .descripcion {
  color: var(--gray-medium);
  font-weight: 400;
}

.texto-mejorado .presupuesto {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.texto-mejorado .experiencia {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.4rem;
}

#servicios-destacados .imagen {
  flex: 1 1 480px;
}

#servicios-destacados img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

  

  #servicios-destacados img:hover {
    transform: scale(1.05);
  }

  /* Experticia */
  #experticia {
    background: var(--primary-light);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto 5rem;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  }

  #experticia img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
  }

  /* Galería */
  #galeria-servicios {
    max-width: 960px;
    margin: 4rem auto 6rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 1.6rem;
  }

  .servicio-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
  }

  .servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.18);
  }

  .servicio-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .servicio-card:hover img {
    transform: scale(1.1);
  }

  .servicio-info {
    padding: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-dark);
    text-align: center;
  }

  /* Contacto */
  #contacto {
    max-width: 600px;
    margin: 5rem auto 6rem;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--primary-dark);
    transition: all 0.3s ease;
  }

  #contacto h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  #contacto .subtitulo {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-medium);
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
  }

  .info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
  }

  .info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
  }

  .info-item a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
  }

  .info-item a:hover {
    color: var(--accent);
  }

  .btn-solid {
    background-color: var(--accent);
    color: white;
    padding: 0.9rem 2.4rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(242, 163, 101, 0.4);
  }

  .btn-solid:hover {
    background-color: #e6914c;
    transform: translateY(-2px);
  }

  /* WhatsApp */
  #whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1150;
  }

  #whatsapp-float:hover {
    background: #1ebe57;
  }

  #whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
  }

  /* Botón sólido para contacto */
  .btn-solid {
    background-color: var(--accent);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(242, 163, 101, 0.4);
  }

  .btn-solid:hover {
    background-color: #ff7a00;
    transform: translateY(-2px);
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
  }

  .modal.active {
    display: flex;
  }

  .modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease;
  }

  .modal-content h3 {
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
    text-align: center;
  }

  .modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .modal-content input,
  .modal-content select,
  .modal-content textarea {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    font-family: inherit;
    font-size: 1rem;
  }

  .modal-content textarea {
    resize: vertical;
  }

  #cerrar-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--gray-medium);
    cursor: pointer;
  }

  #cerrar-modal:hover {
    color: var(--accent);
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .experticia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
  }

  .experticia-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .experticia-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  }

  .experticia-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
  }

  .experticia-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    will-change: transform, box-shadow, filter;
    position: relative;
  }

  .experticia-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    pointer-events: none;
    box-shadow: 0 0 8px 3px rgba(242, 163, 101, 0.3);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
  }

  .experticia-item:hover::before,
  .experticia-item:focus::before {
    opacity: 1;
  }

  .experticia-item:hover,
  .experticia-item:focus {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(242, 163, 101, 0.35);
    filter: brightness(1.05);
    z-index: 2;
  }

  .experticia-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    transition: transform 0.4s ease;
    display: block;
  }

  .experticia-item:hover img,
  .experticia-item:focus img {
    transform: scale(1.1);
    filter: brightness(1.1);
  }

  .experticia-item h3 {
    padding: 1rem;
    font-size: 1.3rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
    font-weight: 700;
    user-select: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  }

  .experticia-item:hover h3 {
    color: var(--accent);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3), 0 0 10px var(--accent);
  }

  @keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .experticia-item {
    /* ya tenés mucho de esto, solo agregamos animación: */
    animation: fadeUp 0.8s ease both;
    animation-delay: calc(var(--order) * 0.1s); /* efecto en cadena */
  }


  /*cambios de chatgpt rapidos empiezan aqui */
  

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  nav .logo {
    margin: 0 auto 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
  }

  .arrow {
    padding: 6px;
  }

  #servicios-destacados,
  #experticia,
  #galeria-servicios {
    flex-direction: column;
    padding: 1rem;
  }

  #servicios-destacados .imagen,
  #servicios-destacados .texto {
    flex: 1 1 100%;
  }

  .experticia-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  #contacto {
    padding: 2rem 1rem;
    margin: 3rem 1rem;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  #top-bar {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
  }

  #top-bar .contacts,
  #top-bar .socials {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  #whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  #whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
.alerta {
  position: fixed;
  top: 80px;
  right: 30px;
  background: #f2fdf6;
  border-left: 5px solid #38b000;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #225c2d;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 9999;
  max-width: 400px;
}

.alerta.visible {
  opacity: 1;
  transform: translateY(0);
}

.alerta.error {
  background: #fff3f3;
  border-left-color: #d90429;
  color: #8b0000;
}
/*cambios de mensaje de cotizacion rapidos empiezan aqui */

