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

body {
  background-color: #f7f1e8;
  color: #2b2118;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

/* HEADER */
.header {
  width: 100%;
  padding: 14px 8%;
  background-color: #f7f1e8;
  color: #2b2118;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 4px solid #d6a85f;
  box-shadow: 0 4px 18px rgba(43,33,24,0.13);
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo img {
  width: auto;
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.logo-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo h1 {
  font-size: 26px;
  letter-spacing: 1.5px;
  color: #2b2118;
  font-weight: 800;
  margin: 0;
}

.logo-subtitulo {
  font-size: 13px;
  color: #d6a85f;
  font-style: italic;
  letter-spacing: 2px;
  font-weight: 500;
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.menu a {
  color: #2b2118;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d6a85f;
  transition: width 0.3s ease;
}

.menu a:hover {
  color: #d6a85f;
}

.menu a:hover::after {
  width: 100%;
}

.btn-login {
  background-color: #2b2118;
  color: #d6a85f !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: bold;
  letter-spacing: 0.5px;
  border: 2px solid #2b2118;
  transition: background 0.3s, color 0.3s;
}

.btn-login:hover {
  background-color: #d6a85f !important;
  color: #2b2118 !important;
  border-color: #d6a85f;
}

.btn-login::after {
  display: none;
}

/* HERO */
.hero {
  min-height: 55vh;
  background: linear-gradient(rgba(43, 33, 24, 0.70), rgba(43, 33, 24, 0.70)),
              url("../img/portada.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  padding: 30px 6%;
  gap: 25px;
}

.hero-contenido {
  max-width: 350px;
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 10px;
}

/* Contenedor del carrusel en el hero */
.hero-carrusel {
  flex: 1;
  max-width: 750px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

/* CARRUSEL COMPACTO */
.carrusel-compacto {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.carrusel-slide-compacto {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrusel-inner-compacto {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carrusel-slide-compacto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carrusel-slide-compacto.slide-completo {
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.carrusel-slide-compacto.slide-completo.escalera {
  background-size: cover;
  background-position: center;
}

.carrusel-slide-compacto.slide-completo.slide-vertical {
  background-size: cover;
  background-position: center 50%;
}

.carrusel-slide-compacto.slide-completo img {
  display: none;
}

/* Botones de navegación del carrusel compacto */
.carrusel-btn-compacto {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(43, 33, 24, 0.9);
  color: white;
  border: 3px solid #d6a85f;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carrusel-btn-compacto:hover {
  background-color: #d6a85f;
  color: #2b2118;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(214, 168, 95, 0.5);
}

.carrusel-prev-compacto {
  left: 10px;
}

.carrusel-next-compacto {
  right: 10px;
}

/* Indicadores de puntos del carrusel compacto */
.carrusel-indicators-compacto {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carrusel-indicator-compacto {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid #d6a85f;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carrusel-indicator-compacto:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carrusel-indicator-compacto.active {
  background-color: #d6a85f;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(214, 168, 95, 0.6);
}

/* Responsive para hero con carrusel */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 35px 5%;
    gap: 20px;
    min-height: auto;
  }

  .hero-contenido {
    max-width: 100%;
    text-align: center;
  }

  .hero-carrusel {
    max-width: 100%;
    width: 100%;
  }

  .carrusel-compacto {
    height: 320px;
  }

  .hero-estadisticas {
    justify-content: center;
    gap: 15px;
  }

  .estadistica-item {
    gap: 5px;
  }

  .estadistica-item span {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 5%;
    min-height: auto;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero p {
    font-size: 11px;
  }

  .carrusel-compacto {
    height: 280px;
  }

  .botones {
    justify-content: center;
  }

  .hero-estadisticas {
    gap: 12px;
  }

  .estadistica-item svg {
    width: 20px;
    height: 20px;
  }

  .estadistica-item span {
    font-size: 9px;
  }

  .carrusel-btn-compacto {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 4%;
  }

  .hero h2 {
    font-size: 16px;
  }

  .hero p {
    font-size: 10px;
  }

  .carrusel-compacto {
    height: 220px;
  }

  .botones {
    justify-content: center;
  }

  .hero-estadisticas {
    gap: 10px;
  }

  .estadistica-item svg {
    width: 18px;
    height: 18px;
  }

  .estadistica-item span {
    font-size: 8px;
  }

  .carrusel-btn-compacto {
    width: 34px;
    height: 34px;
  }

  .carrusel-indicator-compacto {
    width: 10px;
    height: 10px;
  }

  .btn-principal,
  .btn-secundario {
    padding: 5px 8px;
    font-size: 9px;
  }
}

.etiqueta {
  display: inline-block;
  background-color: #d6a85f;
  color: #2b2118;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 13px;
}
/* Estilos para el titulo de la seccion hero */
.hero h2 {
  font-size: 26px;
  line-height: normal;
  margin-bottom: 15px;
}

.hero p {
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Estadísticas del hero */
.hero-estadisticas {
  display: flex;
  gap: 0;
  margin-top: 25px;
  margin-left: -15px;
  align-items: stretch;
  justify-content: space-between;
}

.estadistica-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
  padding: 10px 15px 5px 15px;
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  min-height: 70px;
}

.estadistica-item:last-child {
  border-right: none;
}

.estadistica-item svg {
  height: 24px;
  width: 24px;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
}
/* Sección de botones para separlos visualmente */
.botones {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  flex-direction: row;
}
/* Estilos para los botones  de catalogo y cotizacion */
.btn-principal,
.btn-secundario {
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  display: block;
  transition: 0.3s;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.btn-principal {
  background-color: #d6a85f;
  color: #2b2118;
}

.btn-principal:hover {
  background-color: #c49345;
}

.btn-secundario {
  border: 2px solid white;
  color: white;
}

.btn-secundario:hover {
  background-color: white;
  color: #2b2118;
}

/* SECCIONES */
.seccion {
  padding: 75px 8%;
  text-align: center;
}

.seccion h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.seccion p {
  max-width: 900px;
  margin: auto;
  font-size: 18px;
}

/* HERO MVV (Misión, Visión, Valores) */
.hero-mvv {
  min-height: 40vh;
  background: linear-gradient(rgba(43, 33, 24, 0.75), rgba(43, 33, 24, 0.75)),
              url("../img/portada.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  padding: 40px 8%;
}

/* HERO SERVICIOS */
.hero-servicios {
  padding: 50px 8%;
  text-align: center;
  background-color: #f7f1e8;
}

.hero-servicios h2 {
  color: #2b2118;
  font-size: 36px;
  margin-bottom: 30px;
  font-weight: 600;
}

/* HERO PROCESO (¿Cómo trabajamos?) */
.hero-proceso {
  background-color: #2b2118;
  color: white;
  text-align: center;
  /* ajustar tamaño del hero */
  padding-bottom: 5px;
  padding-top: 3px;
}
/* Titulo del hero proceso modificaciones */
.hero-proceso h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 15px;
  margin-top: -30px;
  font-weight: 600;
}

.proceso-descripcion {
  color: white;
  font-size: 16px;
  margin-bottom: 25px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.proceso-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr 2fr 1fr 2fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.proceso-item {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

.proceso-item.animado {
  animation: fadeInUp 0.8s ease forwards;
}

.proceso-item.animado:nth-child(1) {
  animation-delay: 0.2s;
}

.proceso-item.animado:nth-child(3) {
  animation-delay: 0.4s;
}

.proceso-item.animado:nth-child(5) {
  animation-delay: 0.6s;
}

.proceso-item.animado:nth-child(7) {
  animation-delay: 0.8s;
}

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

/* Animación para flechas */
.flecha-animacion {
  opacity: 0;
  transform: translateX(-10px);
  transition: none;
}

.flecha-animacion.animado {
  animation: slideInRight 1.2s ease forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.proceso-flecha {
  grid-column: span 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.proceso-flecha svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(214, 168, 95, 0.3));
  transition: transform 0.3s ease;
}

.proceso-flecha:hover svg {
  transform: scale(1.2);
}

.proceso-item {
  position: relative;
  text-align: center;
  padding: 25px 20px;
  background-color: rgba(214, 168, 95, 0.15);
  border: 1px solid rgba(214, 168, 95, 0.4);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease;
}

.proceso-item:hover {
  transform: translateY(-8px);
  background-color: rgba(214, 168, 95, 0.25);
  border-color: rgba(214, 168, 95, 0.6);
  box-shadow: 0 12px 30px rgba(214, 168, 95, 0.4);
}

.proceso-icono {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.proceso-icono img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(214, 168, 95, 0.3)) brightness(0) saturate(100%) invert(40%) sepia(30%) saturate(1000%) hue-rotate(10deg);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.proceso-numero {
  position: absolute;
  top: -10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: #2b2118;
  border: 2px solid #d6a85f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #d6a85f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.proceso-item h3 {
  color: #d6a85f;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proceso-item p {
  color: white;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-wrapper {
  display: flex;
  flex-direction: column;
}

.servicio-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(214, 168, 95, 0.15);
  height: 350px;
  position: relative;
}

.servicio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-color: rgba(214, 168, 95, 0.3);
}

.servicio-imagen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.servicio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.servicio-item:hover .servicio-imagen img {
  transform: scale(1.05);
}

.servicio-descripcion {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(43, 33, 24, 0.9), rgba(43, 33, 24, 0.7));
  padding: 15px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.servicio-item:hover .servicio-descripcion {
  opacity: 1;
  transform: translateY(0);
}

.servicio-descripcion p {
  color: white;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.servicio-titulo {
  color: white;
  padding: 15px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(to top, rgba(43, 33, 24, 0.95), rgba(43, 33, 24, 0.7));
  border-radius: 0 0 12px 12px;
  border-top: 2px solid #d6a85f;
  position: relative;
  margin-top: -5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.mvv-tarjeta {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(214, 168, 95, 0.2);
}

.mvv-tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border-color: rgba(214, 168, 95, 0.4);
}

.mvv-icono {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mvv-icono svg {
  filter: drop-shadow(0 2px 4px rgba(214, 168, 95, 0.3));
}

.mvv-tarjeta h3 {
  color: #7a4d25;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mvv-tarjeta .linea-decorativa {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #d6a85f, #8b6f47);
  margin: 0 auto 15px;
  border-radius: 2px;
}

.mvv-tarjeta p {
  font-size: 14px;
  line-height: 1.5;
  color: #2b2118;
}

.valores-hero-lista {
  font-size: 13px;
  color: #2b2118;
  line-height: 2;
  text-align: center;
  display: block;
}

.valores-hero-lista span {
  display: inline;
  vertical-align: baseline;
}

.valores-hero-lista span:nth-child(even) {
  color: #d6a85f;
  font-size: 13px;
  font-weight: bold;
  margin: 0 3px;
}

.linea-decorativa {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #d6a85f, #8b6f47);
  margin: 0 auto 12px;
  border-radius: 2px;
}

/* TRABAJOS PREVIEW */
.trabajos-preview {
  padding: 30px 8%;
  text-align: center;
  background-color: #efe3d1;
  position: relative;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(43, 33, 24, 0.85) 0%,
    rgba(43, 33, 24, 0.55) 50%,
    rgba(43, 33, 24, 0.3) 100%
  );
  z-index: 1;
}

.trabajos-content {
  position: relative;
  z-index: 2;
}

.trabajos-preview h2 {
  font-size: 38px;
  margin-bottom: 10px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.trabajos-preview p {
  margin-bottom: 30px;
  font-size: 18px;
  color: #efe3d1;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.trabajos-preview .btn-principal {
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 6px;
  width: fit-content;
  max-width: 200px;
  margin: 0 auto;
  display: inline-block;
  background: linear-gradient(135deg, #d6a85f 0%, #8b6f47 100%);
  color: #2b2118;
  text-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.galeria-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 35px;
}

.foto {
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.foto:hover {
  transform: scale(1.02);
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA */
.cta {
  background-color: #2b2118;
  color: white;
  /* modificacion del texto  */
  text-align: center;
  padding: 15px 8%;
}

.cta h2 {
  font-size: 38px;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 25px;
  font-size: 18px;
}

.cta .botones {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1;
  min-width: 250px;
}

.cta-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #2b2118;
}

.cta-text p {
  font-size: 18px;
  color: #5a4a3a;
}

.cta-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 2s ease-in-out infinite;
  margin-top: 30px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.cta .btn-principal {
  padding: 18px 40px;
  font-size: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d6a85f 0%, #8b6f47 100%);
  box-shadow: 0 8px 25px rgba(214, 168, 95, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
}

.cta .btn-principal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta .btn-principal:hover::before {
  left: 100%;
}

.cta .btn-principal:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(214, 168, 95, 0.6);
  background: linear-gradient(135deg, #e5b876 0%, #d6a85f 100%);
}

.cta .btn-principal:active {
  transform: translateY(-2px);
}

.cta .btn-secundario {
  padding: 18px 40px;
  font-size: 18px;
  border-radius: 12px;
  border: 2px solid #d6a85f;
  background-color: transparent;
  color: #d6a85f;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta .btn-secundario:hover {
  background-color: #d6a85f;
  color: #2b2118;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(214, 168, 95, 0.4);
}

/* FOOTER */
.footer {
  background-color: #1b1510;
  color: white;
}

.footer-divisor-dorado {
  height: 4px;
  background: linear-gradient(to right, transparent, #d6a85f, transparent);
}

.footer-columnas {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 8% 36px;
}

.footer-col-titulo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d6a85f;
  margin: 0 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(214,168,95,0.25);
}

/* Columna 1 */
.footer-logo-nuevo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo-nuevo img {
  width: auto;
  height: 110px;
  object-fit: contain;
}

.footer-logo-nuevo h3 {
  margin: 0;
  font-size: 22px;
  color: #d6a85f;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-logo-nuevo span {
  font-size: 12px;
  color: rgba(214,168,95,0.7);
  font-style: italic;
  letter-spacing: 1.5px;
}

.footer-slogan-nuevo {
  font-size: 13px;
  color: #d6a85f;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0;
}

/* Columna 2 */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s, padding-left 0.25s;
  display: inline-block;
}

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

/* Columna 3 - Redes con textura madera */
.footer-redes-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: -10px 0 18px 0;
}

.footer-social-grid {
  display: flex;
  gap: 16px;
}

.footer-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.footer-social-btn span {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.footer-social-circulo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-image: url('../img/carrusel/carrusel-mesa1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(214,168,95,0.4);
  transition: transform 0.3s ease, border-color 0.3s;
}

.footer-social-circulo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,21,16,0.52);
  transition: background 0.3s;
}

.footer-social-circulo svg {
  position: relative;
  z-index: 1;
}

.footer-social-btn:hover .footer-social-circulo {
  transform: translateY(-4px) scale(1.08);
  border-color: #d6a85f;
}

.footer-social-btn:hover .footer-social-circulo::before {
  background: rgba(27,21,16,0.25);
}

.footer-social-btn:hover span {
  color: #d6a85f;
}

/* Barra de copyright */
.footer-copy-bar {
  border-top: 1px solid rgba(214,168,95,0.15);
  text-align: center;
  padding: 16px 8%;
}

.footer-copy-bar p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* SECCIÓN DE CONTACTO SIMPLE */
.contacto-simple {
  background-color: #2b2118;
  color: white;
  text-align: center;
  padding: 40px 8%;
}

.contacto-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contacto-container h2 {
  color: #d6a85f;
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
}

.contacto-simple p {
  margin-bottom: 25px;
  font-size: 18px;
}

.contacto-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.contacto-item:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.contacto-icon {
  font-size: 32px;
}

.contacto-item strong {
  display: block;
  color: #d6a85f;
  font-size: 16px;
  margin-bottom: 5px;
}

.contacto-item p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* CORTEZA_WHATSAPP_CONTACTOS_PUBLICOS_CSS_V1 */
.contacto-item-whatsapp {
  cursor: default;
  align-items: flex-start;
}

.contacto-item-whatsapp:hover {
  background-color: rgba(255,255,255,0.1);
  transform: none;
}

.contacto-whatsapp-contenido {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.contacto-whatsapp-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 10px;
}

.contacto-whatsapp-persona {
  min-width: 0;
}

.contacto-whatsapp-nombre {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.25;
  margin-bottom: 2px;
}

.contacto-whatsapp-numero {
  display: inline-block;
  color: #d6a85f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.contacto-whatsapp-numero:hover {
  color: #ffffff;
  text-decoration: underline;
}

.contacto-whatsapp-numero:focus-visible {
  outline: 2px solid #d6a85f;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  .contacto-whatsapp-lista {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}


/* CORTEZA_CONTACTO_DISENO_PREMIUM_CSS_V2 */

/* Distribución general: WhatsApp recibe un poco más de espacio */
.contacto-items {
  grid-template-columns: 1.18fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

/* Acabado general de las cuatro tarjetas */
.contacto-item {
  min-height: 205px;
  padding: 26px 24px;
  border: 1px solid rgba(214,168,95,0.10);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* Tarjetas que sí son enlaces completos */
.contacto-item:not(.contacto-item-whatsapp):hover {
  border-color: rgba(214,168,95,0.35);
}

/* Iconos más definidos */
.contacto-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(214,168,95,0.08);
}

/* Contenido de las tarjetas normales */
.contacto-item:not(.contacto-item-whatsapp) > div {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.contacto-item strong {
  font-size: 17px;
  margin-bottom: 6px;
}

.contacto-item p {
  line-height: 1.35;
}

/* Segunda línea discreta */
.contacto-detalle {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.52);
  font-size: 12px;
  line-height: 1.35;
}

/* WhatsApp */
.contacto-item-whatsapp {
  padding: 22px;
}

.contacto-whatsapp-lista {
  gap: 8px 10px;
  margin-top: 12px;
}

.contacto-whatsapp-persona {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
}

.contacto-whatsapp-nombre {
  font-size: 12px;
  color: rgba(255,255,255,0.68);
}

.contacto-whatsapp-numero {
  font-size: 13.5px;
  letter-spacing: 0.1px;
}

/* Karen centrada en la tercera fila */
.contacto-whatsapp-persona:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 5px);
  text-align: center;
}

/* Tablet */
@media (max-width: 1000px) {
  .contacto-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .contacto-whatsapp-persona:nth-child(5) {
    width: 100%;
    text-align: left;
  }
}


/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero h2 {
    font-size: 42px;
  }

  .galeria-preview {
    grid-template-columns: 1fr;
  }

  .header {
    gap: 18px;
  }
}

@media (max-width: 650px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 75vh;
  }

  .hero h2 {
    font-size: 34px;
  }

  .hero p {
    font-size: 17px;
  }

  .contacto-items {
    grid-template-columns: 1fr;
  }

  .contacto-item {
    padding: 20px;
  }

  .footer {
    flex-direction: column;
    gap: 25px;
  }

}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.modal.mostrar {
  display: flex;
}

.modal-contenido {
  background-color: white;
  border-radius: 14px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-cabecera {
  background-color: #2b2118;
  color: white;
  padding: 20px 25px;
  border-radius: 14px 14px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-cabecera h2 {
  font-size: 22px;
  margin: 0;
}

.btn-cerrar {
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.btn-cerrar:hover {
  color: #d6a85f;
}

.modal-cuerpo {
  padding: 30px 25px;
}

.form-grupo {
  margin-bottom: 20px;
}

.form-grupo label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #2b2118;
}

.form-grupo input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.3s;
  box-sizing: border-box;
}

.form-grupo input:focus {
  outline: none;
  border-color: #d6a85f;
  box-shadow: 0 0 0 3px rgba(214, 168, 95, 0.2);
}

.mensaje-error {
  color: #e74c3c;
  font-size: 14px;
  margin-bottom: 15px;
  display: none;
  padding: 10px;
  background-color: #fee;
  border-radius: 6px;
  border-left: 4px solid #e74c3c;
}

.mensaje-error.mostrar {
  display: block;
}

.btn-completo {
  width: 100%;
  text-align: center;
}

/* ==========================================
   RESPONSIVE MEJORADO - MÓVIL PRIMERO
   ========================================== */

/* Tablet y móvil (hasta 768px) */
@media (max-width: 768px) {
  /* Header mejorado */
  .header {
    padding: 12px 4%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .logo img {
    width: auto;
    height: 85px;
  }

  .logo h1 {
    font-size: 20px;
  }

  .logo-subtitulo {
    font-size: 11px;
  }

  /* Menú hamburguesa */
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    padding: 10px 0;
    background: #f7f1e8;
    border-top: 1px solid #d6a85f;
  }

  .menu.activo {
    display: flex;
  }

  .menu a {
    font-size: 14px;
    padding: 10px 15px;
    text-align: center;
    width: 100%;
  }

  /* Botón hamburguesa */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    color: #2b2118;
    cursor: pointer;
    padding: 5px 10px;
  }

  /* Hero móvil */
  .hero {
    min-height: auto;
    padding: 30px 4%;
    flex-direction: column;
  }

  .hero-contenido {
    max-width: 100%;
    text-align: center;
    order: 1;
  }

  .hero h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .botones {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .btn-principal,
  .btn-secundario {
    padding: 12px 24px;
    font-size: 14px;
    min-width: 200px;
  }

  /* Estadísticas en 2 columnas */
  .hero-estadisticas {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .estadistica-item {
    width: 45%;
    min-width: 140px;
  }

  /* Carrusel */
  .hero-carrusel {
    order: 2;
    max-width: 100%;
    height: 250px;
    margin-top: 20px;
  }

  /* Sección Misión/Visión/Valores */
  .hero-mvv {
    padding: 40px 4%;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .valores-hero-lista {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .valores-hero-lista span {
    font-size: 12px;
    padding: 4px 10px;
  }

  /* Servicios */
  .hero-servicios {
    padding: 40px 4%;
  }

  .hero-servicios h2 {
    font-size: 24px;
  }

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

  .servicio-item {
    height: 180px;
  }

  .servicio-titulo {
    font-size: 16px;
  }

  /* Trabajos */
  .trabajos-preview {
    padding: 40px 4%;
  }

  .trabajos-content h2 {
    font-size: 24px;
  }

  .galeria-preview {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* CTA */
  .cta {
    padding: 30px 4%;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-text h2 {
    font-size: 22px;
  }

  .cta-icon {
    width: 60px;
    height: 60px;
  }

  /* Proceso */
  .hero-proceso {
    padding: 40px 4%;
  }

  .hero-proceso h2 {
    font-size: 24px;
  }

  .proceso-descripcion {
    font-size: 15px;
  }

  .proceso-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .proceso-flecha {
    transform: rotate(90deg);
    margin: 5px auto;
  }

  .proceso-item {
    padding: 20px;
  }

  /* Contacto */
  .contacto-simple {
    padding: 40px 4%;
  }

  .contacto-container h2 {
    font-size: 24px;
  }

  .contacto-items {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contacto-item {
    padding: 18px 20px;
    gap: 12px;
    justify-content: flex-start;
    text-align: left;
  }

  .contacto-item > div {
    flex: 1;
    min-width: 0;
  }

  .contacto-item strong {
    font-size: 15px;
    margin-bottom: 3px;
    display: block;
    text-align: left;
  }

  .contacto-item p {
    font-size: 14px;
    text-align: left;
    word-break: break-word;
  }

  .contacto-icon {
    font-size: 28px;
    min-width: 32px;
    text-align: center;
    flex-shrink: 0;
  }

  /* Footer */
  .footer {
    padding: 30px 4%;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-columnas {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-col-titulo {
    text-align: center;
  }

  .footer-logo-nuevo {
    justify-content: center;
  }

  .footer-social-grid {
    justify-content: center;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer-links li a {
    padding: 8px 0;
  }

}

/* Móvil pequeño (hasta 480px) */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .estadistica-item {
    width: 100%;
  }

  .estadistica-item span {
    font-size: 13px;
  }

  .hero-carrusel {
    height: 200px;
  }

  .proceso-icono svg {
    width: 48px;
    height: 48px;
  }

  .contacto-item {
    padding: 15px;
  }
}

/* Ocultar botón hamburguesa en desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}