:root {
  --hd-forest: #0b1f11;
  --hd-paper: #faf8f2;
  --hd-cream: #f6f1e6;
  --hd-gold: #b07828;
  --hd-gold-light: #d4a050;
  --hd-ink: #1a1916;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: "DM Sans", Arial, sans-serif !important;
  color: var(--hd-ink);
  -webkit-font-smoothing: antialiased;
}

body [style*="Libre Baskerville"] {
  font-family: "DM Sans", Arial, sans-serif !important;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

p[style*="font-style:italic"] {
  font-style: normal !important;
}

p[style*="color:rgba(246,241,230,.5)"],
p[style*="color:rgba(246,241,230,.6)"] {
  color: rgba(246, 241, 230, 0.76) !important;
}

main [style*="font-size:11px"],
main [style*="font-size:11.5px"] {
  font-size: 12px !important;
}

main [style*="letter-spacing:.2em"] {
  letter-spacing: 0.14em !important;
}

[id] {
  scroll-margin-top: 84px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 14px;
  color: var(--hd-forest);
  background: var(--hd-gold-light);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a,
button,
summary,
input,
textarea {
  transition: color 180ms ease, background-color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--hd-gold-light) !important;
  outline-offset: 3px;
}

input:focus-visible,
textarea:focus-visible {
  border-color: var(--hd-gold-light) !important;
  box-shadow: 0 0 0 4px rgba(212, 160, 80, 0.2);
}

.site-header__row {
  min-width: 0;
}

.site-brand {
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-header__actions {
  min-width: 0;
}

.navrow a:hover,
.locale-switcher a:hover {
  color: var(--hd-forest) !important;
  background: rgba(11, 31, 17, 0.07);
}

.site-header a[href*="wa.me"],
.hero-cta a,
.contact-grid a {
  text-decoration: none;
}

.site-header a[href*="wa.me"]:hover,
.hero-cta a:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 31, 17, 0.18);
}

.hero-cta a:nth-child(2):hover {
  color: var(--hd-cream) !important;
  border-color: rgba(246, 241, 230, 0.52) !important;
  background: rgba(246, 241, 230, 0.06) !important;
}

.site-header a[href*="wa.me"]:active,
.hero-cta a:active,
.contact-grid a:active,
button:active {
  transform: translateY(1px);
}

.site-section > .mw {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.hero-mini-compare,
.start-commitments {
  display: none !important;
}

#comparison {
  display: none !important;
}

.start-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: none;
}

.start-grid > div:first-child {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.start-grid > div:first-child > div {
  min-width: 0;
}

.regional-proof {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid rgba(246, 241, 230, 0.14);
  border-bottom: 2px solid var(--hd-forest);
  background: var(--hd-forest);
}

.regional-proof img {
  display: block;
  width: 100%;
  height: clamp(190px, 22vw, 300px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.03);
}

.regional-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(11, 31, 17, 0.02) 30%,
    rgba(11, 31, 17, 0.68) 100%
  );
}

.regional-proof figcaption {
  position: absolute;
  z-index: 1;
  right: max(20px, calc((100% - 1108px) / 2));
  bottom: 18px;
  left: max(20px, calc((100% - 1108px) / 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: var(--hd-cream);
}

.regional-proof__place {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.regional-proof__note {
  max-width: 52ch;
  color: rgba(246, 241, 230, 0.8);
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.contact-grid a:hover {
  background: rgba(176, 120, 40, 0.16) !important;
  transform: translateY(-2px);
}

.site-footer a {
  color: rgba(246, 241, 230, 0.64) !important;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--hd-cream) !important;
}

.site-footer [style*="color:rgba(246,241,230,.2)"] {
  color: rgba(246, 241, 230, 0.54) !important;
}

@media (max-width: 820px) {
  .site-header__row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px !important;
    padding: 10px 16px !important;
  }

  .site-brand {
    min-width: 0;
    font-size: 17px !important;
  }

  .site-brand > span {
    width: 18px !important;
    height: 18px !important;
  }

  .site-header__actions {
    display: flex !important;
    grid-column: 2;
    gap: 6px !important;
  }

  .site-header__actions > a {
    display: none !important;
  }

  .locale-switcher {
    flex: 0 0 auto;
  }

  .locale-switcher a,
  .locale-switcher span {
    padding: 7px 8px !important;
  }

  .burger {
    display: flex !important;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
  }

  .hero-shell {
    padding-top: 54px !important;
  }

  .hero-shell > div:first-child {
    line-height: 1.55 !important;
  }

  .hero-pillars {
    margin-top: 40px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .hero-pillars .g1 > div {
    padding: 26px 24px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(246, 241, 230, 0.14);
  }

  .hero-pillars .g1 > div:last-child {
    border-bottom: 0;
  }

  .site-section > .mw {
    padding-top: 52px !important;
    padding-bottom: 56px !important;
  }

  .start-grid > div:first-child {
    grid-template-columns: 1fr;
  }

  .regional-proof figcaption {
    right: 20px;
    bottom: 14px;
    left: 20px;
    display: block;
  }

  .regional-proof__note {
    margin-top: 8px;
    font-size: 11px;
    text-align: left;
  }

  .price-grid > * {
    padding: 18px 20px !important;
  }

  .contact-grid a {
    padding: 22px !important;
  }

  .site-footer .gf > div {
    min-width: 0;
    width: 100%;
  }

  .site-footer .gf > div:nth-child(2) {
    gap: 14px !important;
    justify-content: center;
  }

  .site-footer [style*="white-space:nowrap"] {
    white-space: normal !important;
  }
}

@media (max-width: 430px) {
  .site-header__row {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .site-brand {
    gap: 7px !important;
    font-size: 15.5px !important;
    letter-spacing: 0 !important;
  }

  .locale-switcher {
    font-size: 10.5px !important;
    letter-spacing: 0.04em !important;
  }

  .locale-switcher a,
  .locale-switcher span {
    padding: 7px 6px !important;
  }

  .hero-cta {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
