:root {
  --color-header: #000000;
  --color-texto: #FFFFFF;
  --color-hover: #70E000;
  --color-buttons: #38B000;
  --color-description: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(1,1,77,1) 92%);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Mozilla+Headline:wght@200..700&display=swap');

/* Fuente */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

/* Header */
header {
  background-color: #000; /* fondo negro */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo img {
  height: 60px;
}


/* Estilos base del nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background-color: #000;
  flex-wrap: wrap;
}

/* Logo */
nav .logo {
  max-width: 180px;
}

/* Menú */
nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  font-size: 0.95rem; /* tamaño más pequeño y profesional */
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #38B000; /* verde corporativo */
}

/* Botón idioma y cotizar */
nav .actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav .idioma button {
  background: #000;
  color: #fff;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

nav .idioma button:hover {
  color: #38B000;
}

nav .cotizar-btn {
  background-color: #38B000;
  color: #000;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

nav .cotizar-btn:hover {
  background-color: #70E000;
}


/* Idioma */
.idioma button {
  background-color: #000; /* mismo fondo negro del nav */
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 2rem;
  transition: color 0.3s ease;
}

.idioma button:hover {
  color: #38B000; /* verde al hover */
}

/* Botón Cotizar */
.btn {
  background-color: #38B000;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 1rem;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #70E000;
}

/* Contenedor de descripción */
.description {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(90deg, #000 0%, #01114d 92%);
  color: #fff;
  border-radius: 16px;
  margin: 2rem auto;
  max-width: 1200px;
}

/* Texto */
.description-text {
  max-width: 500px;
}
.description-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.description-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.schedule {
  background-color: #38B000;
  color: #000;
}
.schedule:hover {
  background-color: #70E000;
}
.contact {
  background-color: transparent;
  border: 2px solid #38B000;
  color: #38B000;
}
.contact:hover {
  background-color: #38B000;
  color: #000;
}

/* Imagen */
.description-image {
  flex: 1; /* ocupa todo el espacio disponible */
}
.carimg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* llena el espacio sin deformarse */
  border-radius: 12px;
}


/* Sección Por Qué Elegirnos */
.whychooseus {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #f4f4f4;
}

.whychoosetitle {
  font-size: 2.5rem; /* título más grande */
  margin-bottom: 2rem;
  color: #000;       /* texto negro */
}

.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  width: 250px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #000; /* texto negro */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05); /* efecto acercar */
  box-shadow: 0 6px 20px rgba(0,0,0,0.2); /* sombra más fuerte */
}

.icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background-color: #38B000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon i {
  color: #fff;
  font-size: 1.5rem;
}


/* Galeria*/
.gallery {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  overflow: hidden;
}

.gallerytitle {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.galleryimg {
  display: flex;
  transition: transform 0.6s ease;
}

.group img {
  flex: 1;
  min-width: 0;
  height: 300px;      /* ← aumenta este valor, estaba en 200px */
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.group {
  padding: 0 60px;
  gap: 1rem;
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

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

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(56,176,0,0.8);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.prev { left: 5px; }
.next { right: 5px; }
.prev:hover, .next:hover { background: #70E000; }

/* Sección Servicios */
.services {
  text-align: center;
  padding: 3rem 2rem;
  background-color: #f4f4f4;
}

.services h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.services p {
  margin-bottom: 2rem;
  color: #333;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Cards uniformes */
.scard {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  width: 300px;
  min-height: 420px; /* altura fija para todas */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* empuja botones al fondo */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scard:hover {
  transform: scale(1.05); /* zoom suave */
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Ícono superior */
.scard .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  background-color: #38B000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scard .icon i {
  color: #fff;
  font-size: 1.5rem;
}

/* Lista con íconos */
.scard ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.scard ul li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.8rem;
}
.scard ul li::before {
  content: "\f00c"; /* Font Awesome check icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #38B000;
  position: absolute;
  left: 0;
  top: 0;
}

/* Botones */
.card-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.card-buttons button {
  flex: 1;
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.card-buttons .schedule {
  background-color: #38B000;
  color: #000;
}
.card-buttons .schedule:hover {
  background-color: #70E000;
}
.card-buttons .appoint {
  background-color: transparent;
  border: 2px solid #38B000;
  color: #38B000;
}
.card-buttons .appoint:hover {
  background-color: #38B000;
  color: #000;
}


/* Contenedor del formulario */
/* Sección del formulario */
/* Contenedor del formulario */
.form-section {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Títulos principales */
.form-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.form-section p {
  margin-bottom: 2rem;
  color: #555;
}

/* Títulos de secciones */
.form-section h3,
.form-section legend {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 1.5rem 0 0.8rem;
  color: #000;
  border: none;   /* elimina borde de fieldset */
  padding: 0;
}

/* Inputs uniformes */
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;             /* todos ocupan el mismo ancho */
  height: 48px;            /* altura uniforme */
  padding: 0.9rem;
  border: 2px solid #38B000;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;  /* asegura que padding no rompa el tamaño */
  margin-bottom: 1rem;     /* espacio entre campos */
}

.quote-form textarea {
  height: 120px; /* altura mayor para notas */
  resize: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #70E000;
  box-shadow: 0 0 6px rgba(56,176,0,0.4);
  outline: none;
}

/* Contenedor de selección */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dos columnas */
  gap: 1rem 2rem;                /* espacio entre filas y columnas */
  margin-top: 1rem;
}

/* Cada opción */
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.checkbox-group label:hover {
  transform: scale(1.03); /* efecto zoom suave */
}

/* Checkbox */
.checkbox-group input[type="checkbox"] {
  accent-color: #38B000; /* color verde en el check */
  width: 18px;
  height: 18px;
}

/* Contenedor de radios */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* espacio entre opciones */
  margin-top: 1rem;
}

/* Cada opción */
.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.radio-group label:hover {
  transform: scale(1.03); /* efecto zoom suave */
}

/* Radio */
.radio-group input[type="radio"] {
  accent-color: #38B000; /* color verde corporativo */
  width: 18px;
  height: 18px;
}

/* Notas adicionales */
textarea {
  width: 100%;
  height: 120px;
  padding: 0.9rem;
  border: 2px solid #38B000;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: none;
  margin-top: 1rem;
}

textarea:focus {
  border-color: #70E000;
  box-shadow: 0 0 6px rgba(56,176,0,0.4);
  outline: none;
}


/* Términos y condiciones sin fieldset */
/* Contenedor de consentimiento */
.consent {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

/* Checkbox */
.consent input[type="checkbox"] {
  accent-color: #38B000; /* verde corporativo */
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.consent a {
  color: #000;              /* negro por defecto */
  text-decoration: none;    /* sin subrayado */
  font-weight: 600;
  transition: color 0.3s ease;
}

.consent a:hover {
  color: #38B000;           /* verde corporativo al hover */
}


/* Texto */
.consent label {
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.3s ease;
}

.consent label:hover {
  color: #38B000; /* verde al pasar el cursor */
}


/* Botón enviar */
.submit-btn {
  background-color: #38B000;
  color: #000;
  padding: 1rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%; /* botón ocupa todo el ancho */
}

.submit-btn:hover {
  background-color: #70E000;
}




/* Footer */
.footer {
  background-color: #111;
  color: #fff;
  padding: 3rem 1.5rem; /* más espacio interno */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem; /* espacio entre columnas */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* espacio entre elementos dentro de cada columna */
}

.footer-logo {
  width: 160px;
  margin-bottom: 1rem;
}

.footer h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #38B000; /* verde corporativo */
}

.footer p {
  line-height: 1.5;
  color: #ccc;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Columna de enlaces rápidos */
.footer-col.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* espacio entre cada enlace */
}

.footer-col.quick-links h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #38B000; /* verde corporativo */
}

.footer-col.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col.quick-links ul li {
  margin-bottom: 0.6rem;
}

.footer-col.quick-links ul li a {
  color: #fff; /* blanco por defecto */
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-col.quick-links ul li a:hover {
  color: #38B000; /* verde al hover */
  transform: translateX(5px); /* pequeño movimiento lateral */
}



.footer ul li a:hover {
  color: #38B000;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  font-size: 1.4rem;
  color: #fff;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #38B000;
}

.footer-rights {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid #333; /* línea divisoria superior */
  padding-top: 1rem;
}

/* Responsivo */
@media (max-width: 768px) {
  /* NAV */
  nav {
    display: flex;
    flex-direction: row;          /* fila en móvil */
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    flex-wrap: wrap;
  }

  nav ul {
    display: flex;
    flex-direction: row;          /* menú horizontal */
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex: 1;
  }

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

  nav .actions {
    display: flex;
    flex-direction: row;          /* idioma + cotizar juntos */
    gap: 0.8rem;
    align-items: center;
    margin-top: 0.5rem;
  }

  nav .cotizar-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  /* GALERÍA */
/* GALERÍA 768px */
.group {
  padding: 0 55px;
}

.group img {
  height: 160px;
}

  /* FOOTER */
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .social-icons {
    display: flex;
    flex-direction: row;          /* fila horizontal */
    justify-content: center;
    gap: 1rem;
  }
}


/* Media query para celulares */
@media (max-width: 480px) {
  nav {
    display: flex;
    flex-direction: column;     /* dos filas */
    padding: 0.5rem 1rem;
    gap: 0;
  }

  /* Fila 1: menú centrado arriba */
  nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.2rem;
    order: 1;                   /* va primero */
    width: 100%;
    padding: 0.4rem 0;
    border-bottom: 1px solid #222; /* separador sutil */
    margin: 0;
  }

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

  /* Fila 2: logo + idioma + cotizar */
  nav .logo {
    order: 2;
  }

  nav .logo img {
    max-width: 100px;
  }

  nav .actions {
    order: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
  }

  /* Fila 2 como una sola línea */
  nav {
    flex-wrap: nowrap;
  }

  nav ul {
    flex-wrap: nowrap;
  }

  /* Contenedor de fila 2 */
  nav .logo,
  nav .actions {
    display: flex;
    align-items: center;
  }

  /* Segunda fila: logo izquierda, acciones derecha */
  nav > *:not(ul) {
    display: flex;
    align-items: center;
  }

  nav .cotizar-btn {
    font-size: 0.82rem;
    padding: 0.45rem 0.9rem;
    white-space: nowrap;        /* evita que el texto rompa línea */
  }
}

  /* GALERÍA */
/* GALERÍA 480px */
  .prev, .next {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    top: 50%;
    background: rgba(56,176,0,0.95);
  }

  .prev { left: 2px; }
  .next { right: 2px; }

  /* Reduce el padding del grupo para dar espacio a los botones */
  .group {
    padding: 0 42px;
    gap: 0.3rem;
  }

  .group img {
    height: 110px;
    border-radius: 6px;
  }

/* .group {
  padding: 0 48px;
  gap: 0.3rem;
}

.group img {
  height: 110px;
  border-radius: 6px;
} */

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .social-icons {
    display: flex;
    flex-direction: row;          /* fila horizontal */
    justify-content: center;
    gap: 1rem;
  }

  .social-icons a {
    font-size: 1.4rem;
    color: #fff;
    transition: color 0.3s ease;
  }

  .social-icons a:hover {
    color: #38B000;
  }

  @media (min-width: 1024px) {
  .group img {
    height: 380px;    /* más grandes en pantallas grandes */
  }

  .group {
    padding: 0 70px;
    gap: 1.5rem;
  }
}
