/* Full-width sunny hero artwork, with the existing homepage copy in its white area. */
.site-header .header-actions .header-quote { order: 1; }
.site-header .header-actions .language {
  order: 2;
  color: #003584;
  background: #effcfd;
  border: 2px solid #19d9e7;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  box-shadow: 0 5px 16px #0079dc24;
}

.hero#inicio {
  display: block !important;
  position: relative;
  width: 100%;
  height: calc(100vw * .64516 + clamp(140px, 12vw, 220px));
  min-height: 0 !important;
  overflow: hidden;
  background: #fff;
}
.hero#inicio .hero-visual {
  position: absolute !important;
  inset: 0 auto auto 0;
  width: 100%;
  height: calc(100vw * .64516);
  min-height: 0 !important;
  clip-path: none !important;
  overflow: hidden;
  background: transparent;
}
.hero#inicio .hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top left;
  opacity: 1 !important;
}
.hero#inicio .photo-shade,
.hero#inicio .hero-visual::before,
.hero#inicio .hero-visual::after,
.hero#inicio .clean-card,
.hero#inicio .floating-chip {
  display: none !important;
}
.hero#inicio .hero-copy {
  position: absolute;
  z-index: 5;
  top: calc(100vw * .4374);
  left: max(5vw, 30px);
  width: min(58%, 1200px);
  max-width: 1200px;
  padding: 0 !important;
  margin: 0;
}
.hero#inicio .hero-copy h1 {
  max-width: 100%;
  font-size: clamp(40px, 4.2vw, 76px);
  line-height: 1.01;
}
.hero#inicio .hero-copy .eyebrow { margin-bottom: 10px; }
.hero#inicio .hero-actions { gap: 10px; }
.hero#inicio .hero-actions .button {
  min-height: 48px;
  padding-inline: 18px;
  font-size: 12px;
}
.hero#inicio .trust-row {
  gap: 14px;
  margin-top: 18px;
  font-size: 11px;
}

@media (max-width: 1400px) {
  .hero#inicio {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0 !important;
    overflow: visible;
  }
  .hero#inicio .hero-visual {
    position: relative !important;
    inset: auto;
    order: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1984 / 1280;
    min-height: 0 !important;
  }
  .hero#inicio .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    order: 2;
    width: 100%;
    max-width: none;
    padding: 30px max(5vw, 22px) 44px !important;
    background: #fff;
  }
  .hero#inicio .hero-copy h1 { font-size: clamp(38px, 6vw, 64px); }
  .hero#inicio .trust-row { margin-top: 22px; }
}

@media (max-width: 560px) {
  .hero#inicio .hero-copy { padding: 26px 20px 38px !important; }
  .hero#inicio .hero-copy h1 { font-size: clamp(36px, 9vw, 50px); }
  .hero#inicio .hero-actions { gap: 8px; }
  .hero#inicio .hero-actions .button { min-height: 44px; padding-inline: 13px; font-size: 11px; }
}

/* Keep the uploaded cover image visible at every responsive breakpoint. */
.hero#inicio .hero-visual { display: block !important; visibility: visible !important; }

/* Clear inherited hero spacing so the photo begins immediately below the header. */
.hero#inicio { padding: 0 !important; }
.hero#inicio .hero-visual { margin: 0 !important; border-radius: 0 !important; }

/* Integrate the homepage copy with the white area built into the photo artwork. */
.hero#inicio,
.hero#inicio .hero-visual,
.hero#inicio .hero-copy {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.hero#inicio .hero-copy { background: transparent !important; }

@media (max-width: 1400px) {
  .hero#inicio {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden;
  }
  .hero#inicio .hero-visual {
    grid-area: 1 / 1;
    position: relative !important;
    inset: auto;
    order: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1984 / 1280;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #fff;
  }
  .hero#inicio .hero-copy {
    grid-area: 1 / 1;
    position: relative;
    align-self: start;
    justify-self: stretch;
    order: 0;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: calc(100vw * .4374) 0 0 !important;
    padding: 0 max(5vw, 22px) 44px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 5;
  }
}
@media (max-width: 560px) {
  .hero#inicio .hero-copy {
    margin-top: calc(100vw * .4374) !important;
    padding: 0 20px 38px !important;
  }
}
/* Remove the inherited frosted panel from the cover copy. */
.hero#inicio .hero-copy {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}


/* Keep every line and action inside the clear white region. */
.hero#inicio {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  height: auto !important;
  overflow: hidden;
}
.hero#inicio .hero-visual {
  grid-area: 1 / 1;
  position: relative !important;
  inset: auto !important;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1984 / 1280;
  align-self: start;
}
.hero#inicio .hero-copy {
  grid-area: 1 / 1;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  align-self: start;
  justify-self: start;
  box-sizing: border-box;
  width: 52% !important;
  max-width: none !important;
  margin: calc(100vw * .4365 + 24px) 0 0 5% !important;
  padding: 0 0 40px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.hero#inicio .hero-copy h1 {
  font-size: clamp(30px, 3.4vw, 64px);
  overflow-wrap: break-word;
}
.hero#inicio .hero-copy .eyebrow {
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}
.hero#inicio .hero-actions { display: flex; flex-wrap: wrap; }
.hero#inicio .hero-actions .button { max-width: 100%; white-space: normal; }
@media (max-width: 900px) {
  .hero#inicio .hero-visual { grid-area: 1 / 1; }
  .hero#inicio .hero-copy {
    grid-area: 2 / 1;
    width: auto !important;
    margin: 0 !important;
    padding: 24px 20px 38px !important;
    justify-self: stretch;
  }
  .hero#inicio .hero-copy h1 { font-size: clamp(32px, 6vw, 48px); }
  .hero#inicio .hero-actions { display: grid; grid-template-columns: 1fr; }
}

/* Reflow the remaining benefits after removing the service count. */
.impact-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.impact-strip > div { flex: 1 1 240px; }
.impact-strip > i { display: none; }
.impact-strip > a { flex: 0 0 auto; max-width: 100%; }
@media (max-width: 700px) {
  .impact-strip { flex-direction: column; }
  .impact-strip > div { flex: 0 0 auto; }
  .impact-strip > a { align-self: stretch; text-align: center; }
}

/* Dedicated free quote form anchor, clear of the top edge. */
form#cotizacion { scroll-margin-top: 24px; }


/* Use the clear white area beside the lower hexagons on phones. */
@media (max-width:560px) {
  .hero#inicio .hero-copy {
    grid-area:1 / 1;
    align-self:start;
    margin:calc(100vw * .4365 + 16px) 0 0 !important;
    padding:0 20px 32px !important;
  }
  .hero#inicio .hero-copy .eyebrow {
    width:62%;
    max-width:62%;
    padding:10px 12px;
    font-size:clamp(12px,3.3vw,14px);
    line-height:1.3;
    margin-bottom:18px;
  }
}