@charset "UTF-8";
/* scss/style.scss */
/* scss/_variables.scss */
/* scss/style.scss */
/* === Reset & base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #222;
  /* Gradiente diagonal: sup. izquierda (blanco) → inf. derecha (verde más fuerte) */
  background-color: #DFE8DF;
  background-image: linear-gradient(135deg, #FAFCFA 0%, rgb(241.9, 246, 241.9) 40%, #DFE8DF 70%, rgb(177.25, 210.5, 177.25) 100%);
  min-height: 100vh; /* que cubra la ventana */
}

h1, h2, h3 {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.2;
}

/* Tamaño único para ambos logos (header/footer) */
.navbar-brand img,
.footer-logo img {
  height: 150px;
  width: auto;
  display: block;
}

/* Titulares base */
h1 {
  text-align: center;
  font-size: 50px;
  color: black;
}

h2 {
  text-align: center;
  font-size: 30px;
  color: black;
}

p {
  text-align: center;
  font-size: 20px;
  color: black;
}

/* === Mixins reutilizables === */
/* scss/style.scss */
/* === Layout general: header / footer / helpers === */
/* Header */
header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 18px;
  background: transparent;
}
header nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

/* Bootstrap navbar: empuja el colapso a la derecha */
@media (min-width: 768px) {
  .navbar .navbar-collapse {
    justify-content: flex-end;
  }
}
/* Footer */
.site-footer {
  background: transparent;
  color: #222;
  font-size: 20px;
  text-align: center;
  padding: 16px;
  border-top: 1px solid #e6e6e6;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  place-items: center;
  width: min(1100px, 92%);
  margin: 0 auto;
}
.site-footer .footer-logo img {
  display: block;
  margin: 0 auto 8px;
}
.site-footer .footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.site-footer .footer-info .footer-contact,
.site-footer .footer-info .footer-legal {
  text-align: center;
}
.site-footer .footer-social {
  text-align: center;
}
.site-footer .footer-social a {
  display: inline-block;
  margin: 0 6px;
}
.site-footer .footer-social .red {
  width: 40px;
  height: auto;
  vertical-align: middle;
}
.site-footer p {
  margin: 4px 0;
}
.site-footer {
  /* Tablet */
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .site-footer .footer-grid {
    grid-template-columns: auto 1fr auto;
    justify-content: center;
    align-items: center;
    column-gap: 24px;
  }
  .site-footer .footer-logo p {
    display: none;
  }
  .site-footer .footer-info {
    gap: 8px;
  }
}
.site-footer {
  /* Desktop */
}
@media (min-width: 992px) {
  .site-footer .footer-grid {
    grid-template-columns: auto 1fr auto;
    justify-content: center;
    align-items: center;
    column-gap: 28px;
  }
  .site-footer .footer-logo p {
    display: none;
  }
  .site-footer .footer-info {
    flex-direction: row;
    gap: 150px;
    white-space: normal;
    justify-content: center;
    align-items: center;
  }
  .site-footer .footer-info .footer-contact {
    white-space: nowrap;
  }
  .site-footer .footer-info .footer-legal {
    display: inline-block;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
}

/* scss/style.scss */
/* === Componentes / secciones === */
/* Home: imágenes centradas */
.home main img {
  display: block;
  margin: 0 auto;
  max-width: 80%;
  height: auto;
}

/* Página Services */
.services {
  /* H1 con imagen de fondo */
}
.services h1 {
  /* */
  background-image: url("../img/Servicios 1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 45vh;
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  -webkit-text-stroke: 2px white;
  font-size: 70px;
}
@media (min-width: 992px) {
  .services h1 {
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 520px;
    background-color: #DFE8DF;
  }
}
.services {
  /* Imagen barra de progreso dentro de section */
}
.services section img {
  display: block;
  margin-left: auto;
  max-width: 400px;
  height: auto;
}
.services {
  /* Grid de servicios */
}
.services .svc-section {
  padding: 16px;
  text-align: center;
}
.services .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .services .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.services .service-card {
  background: #f3f3f3;
  border: 1px solid #CFE0CF;
  border-radius: 6px;
  padding: 12px;
  transition: transform 0.2s, background-color 0.2s;
  color: #222;
}
.services .service-card:hover {
  background: #e9e9e9;
  transform: scale(1.03);
}
.services .services-progress {
  margin-top: 8px;
  text-align: center;
}
.services .services-progress img {
  display: block;
  width: 70%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}
.services .services-progress .progress-caption {
  margin: 8px 0 0;
  font-style: italic;
}

/* Formulario de contacto */
.contact-form {
  max-width: 900px;
  margin: 24px auto;
  padding: 16px;
  background: #FAFCFA;
  border: 1px solid #DDE7DD;
  border-radius: 8px;
}
.contact-form .form-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .contact-form .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form .form-grid .span-2 {
    grid-column: 1/-1;
  }
  .contact-form .form-grid { /* Comments a todo el ancho */ }
}
.contact-form .field label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.contact-form .field input, .contact-form .field select, .contact-form .field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #CFE0CF;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
}
.contact-form .field input:focus, .contact-form .field select:focus, .contact-form .field textarea:focus {
  outline: none;
  border-color: rgb(253.4810126582, 254.0189873418, 253.4810126582);
  box-shadow: 0 0 0 3px rgba(142, 194, 142, 0.2);
}
.contact-form .btn-submit {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  background: #289228;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
}
@media (min-width: 768px) {
  .contact-form .btn-submit {
    width: auto;
  }
}
.contact-form .btn-submit:hover {
  background: #277927;
  transform: translateY(-1px);
}
.contact-form .btn-submit:active {
  transform: translateY(0);
}
