
/* LH Construcciones — responsive auto-ajustado */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin-left: 0;
  margin-right: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.container, .wrap, .content, .site-container, .main-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .container, .wrap, .content, .site-container, .main-container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Keep the hero title fully inside the phone viewport. */
  .hero h1, .hero-title, .hero .title {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    font-size: clamp(2rem, 10vw, 3.5rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .hero, .hero-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .container, .wrap, .content, .site-container, .main-container {
    width: min(100% - 48px, 1200px);
  }
}
