/* Global styles */
:root {
  --primary: #00c58e;
  --primary-dark: #008c63;
  --light-bg: #f8fefc;
  --text-dark: #404040;
  --text-light: #6c6c6c;
  --section-spacing: 4rem;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.5rem;
}

.logo i {
  font-size: 1.5rem;
}

.brand-name {
  text-transform: lowercase;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s;
}


.nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block !important;
  background-color: var(--primary) !important;
  color: #fff !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.3s !important;
  text-align: center !important;
}

.btn:hover {
  background-color: var(--primary-dark) !important;
}

.cotizar-btn {
  margin-left: 1rem !important;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  background-color: var(--light-bg);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 45%;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero-btn {
  font-size: 1rem !important;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hexagon {
  width: 300px;
  height: 260px;
  position: relative;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
  overflow: hidden;
  border: 6px solid var(--primary);
  border-radius: 12px;
}

.hexagon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Descripción */
.descripcion {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  background-color: #fff;
  text-align: center;
}

.descripcion h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.descripcion p {
  max-width: 800px;
  margin: 0.5rem auto 2rem;
  color: var(--text-light);
  font-size: 1rem;
}

.titulo-decorado {
  margin: 2rem auto;
  display: inline-block;
  position: relative;
  --decor-height: 8px;
}

.titulo-decorado span {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  position: relative;
  display: block;
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.servicios-grid {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));*/
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.servicio-card {
  background-color: var(--primary);
  color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.servicio-card:hover {
  transform: translateY(-5px);
}

.servicio-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.servicio-card p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.ver-servicios {
  margin-top: 1rem;
}

.link {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.link:hover {
  opacity: 0.7;
}

/* Agenda tu cita */
.agenda-cita {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  background-color: var(--light-bg);
  text-align: center;
}

.cta-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  max-width: 180px;
  transition: color 0.3s;
}

.cta-item:hover {
  color: var(--primary-dark);
}

.icon-wrapper {
  width: 100px;
  height: 100px;
  /*background-color: rgba(0, 197, 142, 0.1);*/
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
}


.cta-item span{
  font-size: 20px;
}

.icon-wrapper i {
  color: var(--primary);
}

.icon-wrapper img {
  width: 60%;
  height: auto;
  display: block;
}

/* Por qué elegir */
.porque-elegir {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  background-color: #fff;
}

.porque-wrapper {
  text-align: center;
}

.porque-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.porque-imagen,
.porque-texto {
  flex: 1 1 45%;
  max-width: 500px;
}

.porque-texto p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.porque-lista {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  list-style: disc !important;
}

.porque-lista li {
  /*display: flex;*/
  align-items: center;
  gap: 0.5rem;
  list-style: disc !important;
  text-align: justify;
}

.porque-lista i {
  color: var(--primary);
}

/* Testimonios */
.testimonios {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  background-color: var(--light-bg);
  text-align: center;
}

.subheading {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonio-card {
  background-color: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonio-card h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.1rem;
}

.testimonio-card p {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.stars {
  color: #f1c40f;
  font-size: 1rem;
}

/* Ubicación y contacto */
.ubicacion-contacto {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  background-color: #fff;
}

.ubicacion-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.ubicacion-info {
  flex: 1 1 50%;
  font-size: 1rem;
}

.ubicacion-info ul li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.ubicacion-info a {
  color: var(--primary);
}

.ubicacion-imagen {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.contact-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.contact-form {
  background-color: #e9f9f2;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #d0e9e0;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.6rem 0.8rem;
  border: 1px solid #cde9e1;
  border-radius: 6px;
  font-size: 0.9rem;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 197, 142, 0.2);
}

.enviar-btn {
  /*width: 100% !important;*/
  margin-top: 0.5rem !important;
}

.mapa img {
  width: 100%;
    height: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.mapa{
  width: 100%;
    height: 100%;
}
/* CTA final */
.cta-final {
  padding: 3rem 0;
  background-color: var(--light-bg);
  text-align: center;
}

.cta-final p {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: #f6f7f6;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-light);
}

.social-links a {
  margin-left: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-dark);
}

/* Fade up animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--i-delay, 0s);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.servicio-card p{
  color:white;
}

select#tipoCliente {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}


.iframe {
    border: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    padding-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image .hexagon {
    width: 250px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  }

  .nav ul.open {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image,
  .porque-imagen,
  .porque-texto,
  .ubicacion-info,
  .ubicacion-imagen {
    flex: 1 1 100%;
  }

  .ubicacion-wrapper {
    flex-direction: column;
  }

  .nav a {
    padding: 0.75rem 1rem;
  }

  .servicios-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .contact-map {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .mapa iframe {
    width: 100%;
    height: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 0.5rem;
  }
}