/* HHM Chile: estilos locales, sin fuentes externas ni dependencias de UI. */
:root {
  --ink: #1b312c;
  --muted: #56655e;
  --green: #72b62b;
  --forest: #285b38;
  --paper: #f6f7f2;
  --line: #dce2d7;
  --white: #fff;
  --radius: 5px;
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font:
    400 17px/1.7 Arial,
    Helvetica,
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--forest);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #397a1a;
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 600;
}
h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.35rem);
  margin-bottom: 26px;
}
h2 {
  font-size: clamp(1.95rem, 3.3vw, 3rem);
  margin-bottom: 24px;
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
p {
  margin-bottom: 22px;
}
p:last-child {
  margin-bottom: 0;
}
.container {
  width: min(var(--max), calc(100% - 72px));
  margin-inline: auto;
}
.section {
  padding-block: 60px;
}
.section-soft {
  background: var(--paper);
}
.eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 22px;
}
.lede {
  font-size: 1.17rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}
.muted {
  color: var(--muted);
}
.narrow {
  max-width: 760px;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-heading p {
  color: var(--muted);
}
.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}
.split-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
}
.split-heading p {
  max-width: 350px;
  color: var(--muted);
  margin-bottom: 3px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 15px 24px;
  background: var(--green);
  color: #182b13;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 50px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #83c53f;
  border-color: #83c53f;
  transform: translateY(-2px);
}
.button-outline {
  background: transparent;
  border-color: #9aa99b;
  color: var(--ink);
}
.button-outline:hover {
  background: #edf2e7;
  border-color: var(--ink);
}
.button-small {
  padding: 11px 18px;
  font-size: 0.8rem;
  min-height: 44px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.text-link {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--forest);
  padding-bottom: 3px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.topbar {
  font-size: 0.73rem;
  letter-spacing: 0.02em;
  background: #212934;
  color: #edf3e6;
}
.topbar-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.topbar a {
  color: #edf3e6;
  text-decoration: none;
}
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  width: 114px;
  flex-shrink: 0;
}
.brand img {
  width: 114px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}
.main-nav a {
  color: #212934;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-block: 10px;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--forest);
}
.main-nav a.active:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--green);
  bottom: 3px;
  left: 0;
  width: 22px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  padding: 8px 12px;
  font-size: 0.9rem;
}
.menu-toggle[hidden] {
  display: none;
}
.hero {
  background: var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  gap: 65px;
  align-items: center;
  padding-block: 64px;
}
.hero-copy {
  padding-block: 12px;
}
.hero h1 {
  text-align: justify;
}
.hero-title-main {
  font-size: 0.97em;
}
.hero h1 em {
  font-size: 0.85em;
  font-style: normal;
  color: var(--forest);
}
.hero-copy .lede {
  font-size: 1.06rem;
  max-width: 500px;
}
.hero-photo {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 450px;
}
.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  border-radius: 2px;
}
.hero-photo figcaption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  padding: 13px 18px;
  font-size: 0.72rem;
  max-width: calc(100% - 40px);
  box-shadow: 0 5px 20px #15251b12;
}
.hero-photo figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}
.hero-note {
  font-size: 0.77rem;
  color: var(--muted);
  margin-top: 24px;
}
.proof-strip {
  border-block: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 27px;
}
.proof-item {
  padding-inline: 30px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 17px;
}
.proof-item:first-child {
  padding-left: 0;
}
.proof-item:last-child {
  border-right: 0;
}
.proof-item strong {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--forest);
  letter-spacing: -0.04em;
}
.proof-item span {
  font-size: 0.77rem;
  line-height: 1.5;
  color: var(--muted);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.service-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}
.service-card .image-link {
  display: block;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--paper);
}
.service-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  transition: transform 0.35s;
}
.service-card .image-link:hover img {
  transform: scale(1.025);
}
.card-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 1.9rem;
}
.service-card p {
  max-width: 490px;
  color: var(--muted);
  font-size: 0.96rem;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.feature-image {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.feature-list li {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  font-size: 0.95rem;
}
.feature-list li:before {
  content: "↗";
  color: var(--forest);
}
.feature-list strong {
  display: block;
}
.feature-list span {
  color: var(--muted);
}
.project-preview {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
}
.project-preview figure {
  margin: 0;
}
.project-preview img {
  width: 100%;
  height: 305px;
  object-fit: cover;
}
.project-preview figcaption {
  font-size: 0.8rem;
  margin-top: 14px;
  color: var(--muted);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: steps;
}
.process-step {
  border-top: 1px solid #a5b49e;
  padding-top: 22px;
  counter-increment: steps;
}
.process-step:before {
  content: "0" counter(steps);
  display: block;
  color: var(--forest);
  font-size: 0.77rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 23px 32px 23px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  font-size: 1.4rem;
  font-weight: 400;
  top: 17px;
}
details[open] > summary:after {
  content: "−";
}
details p,
details ul {
  color: var(--muted);
  font-size: 0.94rem;
  padding-right: 20px;
  padding-bottom: 7px;
}
.cta-band {
  padding-block: 65px;
  background: var(--ink);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  max-width: 680px;
  margin-bottom: 15px;
}
.cta-band p {
  color: #d0ddce;
  font-size: 0.95rem;
}
.cta-band .button {
  flex-shrink: 0;
}
.local-box {
  border: 1px solid var(--line);
  padding: 36px;
}
.local-box address {
  font-style: normal;
  color: var(--muted);
  margin-bottom: 24px;
}
.local-box h3 {
  font-size: 1.2rem;
}
