.hp-brand{display:inline-flex;align-items:center;gap:.625rem;white-space:nowrap}
.hp-brand__mark{display:block;width:2.5rem;height:2.5rem;flex:none}
.hp-brand__name{font-size:1.125rem;font-weight:800;line-height:1;letter-spacing:-.035em}
.hp-brand__name strong{font-weight:900}
.hp-brand--footer{color:inherit}
.hp-quote{right:calc(.875rem + env(safe-area-inset-right, 0px));bottom:calc(.875rem + env(safe-area-inset-bottom, 0px));min-height:48px;padding:.7rem .95rem;background:#146c43;color:#fff;white-space:nowrap;text-decoration:none}
.hp-quote:hover{background:#105636}
.hp-quote:focus-visible{outline:3px solid #146c43;outline-offset:3px}
.hp-quote__label{font-size:.875rem;font-weight:700}
footer{padding-bottom:calc(4.25rem + env(safe-area-inset-bottom, 0px))}
@media(min-width:768px){.hp-quote{right:calc(1.75rem + env(safe-area-inset-right, 0px));bottom:calc(1.75rem + env(safe-area-inset-bottom, 0px))}}

/* Section hierarchy for the existing Astro layouts */
main > section {
  --hp-ink: #172526;
  --hp-line: #dce5de;
  --hp-accent: #79b467;
}
main > section > div > h2,
main > section > div > div > h2 {
  text-wrap: balance;
}
main > section#servicios {
  background: radial-gradient(ellipse at 95% 0%, #e2ede0 0%, transparent 54%), #f3f7f2;
  border-top: 4px solid var(--hp-accent);
  border-bottom: 1px solid var(--hp-line);
  scroll-margin-top: 5rem;
}
#servicios > div > h2,
#servicios > div > div > h2 {
  max-width: 24ch;
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
#servicios > div > .grid > :is(a, article) {
  position: relative;
  background: #fff;
  border-color: #d6e2d7;
  box-shadow: 0 6px 18px #17252609;
}
#servicios > div > .grid > a {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#servicios > div > .grid > a > span:first-child {
  background: #dbeed8;
  color: #284e32;
}
#servicios > div > .grid > a > span:last-child {
  margin-top: auto;
  padding-top: .9rem;
}
@media (hover: hover) {
  #servicios > div > .grid > a:hover {
    border-color: #558651;
    box-shadow: 0 12px 24px #17252616;
  }
}
#servicios a:focus-visible,
main > section details > summary:focus-visible {
  outline: 2px solid #3e7139;
  outline-offset: 4px;
}
#servicios > div > .grid > article:has(img) {
  background: var(--hp-ink);
  border-color: var(--hp-ink);
  color: #fff;
}
#servicios > div > .grid > article:has(img) :is(h3, p) { color: inherit; }
#servicios > div > .grid > article img { display: block; }
main > section[aria-label*="antes y después"] {
  background: #fafaf7;
  border-color: #e6e9e3;
}
main > section[aria-label*="antes y después"] > div > .grid {
  padding: clamp(.5rem, 2vw, 1.25rem);
  background: #e9eee8;
  border-radius: 1.25rem;
}
main > section:has(> div > ol.grid) {
  background: #202f30;
  border-color: #314746;
}
main > section:has(> div > ol.grid) > div > h2 { color: #fff; }
main > section > div > ol.grid > li {
  padding: 1.15rem;
  background: #f7f9f5;
  border: 1px solid #dce5de;
  border-radius: .95rem;
}
main > section#faq {
  background: #f6f6f1;
  scroll-margin-top: 5rem;
}
#faq details[open] {
  background: #eeF5eb;
}
main > section#zonas {
  background: #edf2ed;
  scroll-margin-top: 5rem;
}
main > section:has(> div > div > iframe) {
  background: #edf2ed;
}
main > section.bg-ink {
  background: #162426;
  border-top: 4px solid var(--hp-accent);
}
@media (min-width: 640px) {
  #servicios > div > .grid:has(> article img) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
