/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #3b3b3b;
  background-color: #fefefe;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* WhatsApp Button */
.whatsapp-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.whatsapp-message {
  background: #fefefe;
  border: 2px solid #25d366;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  order: 2;
}

.whatsapp-message p {
  color: #25d366;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  margin: 0;
}

.whatsapp-button {
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
  order: 1;
}

.whatsapp-button:hover {
  transform: scale(1.05);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ccda6e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  height: 4rem;
  width: auto;
}

.desktop-nav {
  display: none;
  gap: 2rem;
}

.nav-item {
  background: none;
  font-size: 1.15em;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  color: #6e5230;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.5rem 0;
}

.nav-item:hover,
.nav-item.active {
  color: #a6c946;
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #6e5230;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #ccda6e;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-item {
  background: none;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  color: #6e5230;
  cursor: pointer;
  text-align: left;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: #a6c946;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('DSC_0301.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-logo {
  width: 12rem;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #fefefe;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
  margin-top: -2em;
  font-size: 2rem;
  font-weight: 800;
  color: #3B3B3B;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 0 1rem;
}

.hero-location {
  font-size: 1.25rem;
  color: #3B3B3B;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
  padding: 3rem 0;
  background: #fefefe;
}

.section-alt {
  background: #ccda6e;
}

#impresion3d {
  min-height: 80vh;
  background-image: url('3dfondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #3b3b3b;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 1.25rem;
  margin-top: -1.05em;
  color: #3B3B3B;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: #fefefe;
  border: 2px solid #ccda6e;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #3b3b3b;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #6e5230;
  font-size: 0.875rem;
}

/* Content Card */
.content-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fefefe;
  border: 2px solid #a6c946;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-list {
  list-style: none;
  space-y: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  color: #6e5230;
  margin-bottom: 1.5rem;
}

.bullet {
  width: 0.75rem;
  height: 0.75rem;
  background: #a6c946;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 1;
  background: #fefefe;
  border: 2px solid #a6c946;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  overflow: hidden; /* evita que la imagen sobresalga */
}

.imagentrabajo{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* mantiene proporción y no sobresale */
}

.gallery-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* About Content */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.about-content p {
  font-size: 1.25rem;
  color: #6e5230;
  line-height: 1.8;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.review-card {
  background: #fefefe;
  border: 2px solid #a6c946;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stars {
  margin-bottom: 1.5rem;
}

.stars span {
  color: #a6c946;
  font-size: 1.25rem;
}

.review-card p {
  font-style: italic;
  font-size: 1.125rem;
  color: #6e5230;
  margin-bottom: 1.5rem;
}

.review-card h4 {
  font-weight: 600;
  color: #3b3b3b;
}

.contenedor {
  display: flex;
  justify-content: center; /* Centra horizontal */
  align-items: center;     /* Centra vertical dentro del contenedor */
  height: 120px;           /* Altura del contenedor */
}

.botonreview {
  background-color: #ffffff;
  color: #3b3b3b;
  border: none;
  padding: 24px 32px;
  border-radius: 60px;
  cursor: pointer;
  font-size: 28px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  margin-top: 80px;
  font-family: "Open Sans", sans-serif;
}

.botonreview:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #3b3b3b;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #6e5230;
  font-size: 1.125rem;
}

.map-container {
  background: #ccda6e;
  border-radius: 1.5rem;
  padding: 1rem;
  width: 100%;
  max-width: 1200px; /* O lo que quieras */
  margin: 0 auto;
}

.mapa, .map-container iframe {
  width: 100%;       /* Ocupa todo el ancho del contenedor */
  max-width: 100%;   /* No se desborda */
  height: 100%;      /* Mantiene la altura del contenedor */
  border-radius: 1.5rem;
  display: block;    /* Evita margenes internos extra */
}

.mapa{
  border-radius: 1.5rem;
}
.map-placeholder {
  background: #fefefe;
  border-radius: 1rem;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.map-placeholder p {
  color: #6e5230;
  margin-top: 1rem;
}

.map-placeholder p:first-of-type {
  font-weight: 600;
  font-size: 1.125rem;
}

/* Footer */
.footer {
  background: #f8f8f8;
  padding: 2rem 0;
  text-align: center;
}

.footer-logo {
  height: 5rem;
  width: auto;
}

.footer p {
  color: #6e5230;
}

/* Responsive Design */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-logo {
    width: 32rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-location {
    font-size: 1.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-icon {
    width: 6rem;
    height: 6rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .section-subtitle {
    font-size: 1.5rem;
  }

  .whatsapp-container {
    bottom: 1.5rem;
    right: 1.5rem;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .whatsapp-message {
    order: 1;
  }

  .whatsapp-button {
    width: 4rem;
    height: 4rem;
    order: 2;
  }

  .whatsapp-message p {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
