:root {
  --ink: #173632;
  --green: #174943;
  --cream: #f6f5f0;
  --line: #dce5e0;
}

body { color: var(--ink); background: #fdfdfb; }
.wrap { width: min(1240px, 90%); }
header { background: #fdfdfb; border-color: var(--line); }
.nav { min-height: 76px; }
.nav .logo { width: clamp(145px, 16vw, 190px); }
.links { column-gap: clamp(12px, 2.4vw, 30px); }
.links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.btn { color: white; background: var(--green); border-radius: 3px; }
.btn:hover { color: white; background: #22625a; }
.btn.outline { background: transparent; color: var(--green); border-color: #8aa8a0; }
.btn.outline:hover { background: #eaf2ee; color: var(--green); }

.hero { display: flex; flex-direction: column; min-height: 0; background: transparent; color: var(--ink); }
.hero-copy { align-self: auto; padding: clamp(44px, 7vw, 105px) 0 36px; }
.hero h1 { max-width: 930px; font-size: clamp(42px, 6.6vw, 96px); font-weight: 640; text-wrap: balance; }
.hero .kicker { color: #79522c; }
.hero p { max-width: 59ch; color: #455957; }
.hero img { height: clamp(255px, 40vw, 510px); border-radius: 4px; object-position: center 52%; }
.section { padding-block: clamp(54px, 7.5vw, 110px); }
h2 { font-weight: 640; text-wrap: balance; }

.facts { background: var(--cream); border-block: 1px solid var(--line); padding-block: 24px; }
.light { background: #eff4f0; }
.grid { gap: clamp(16px, 2.5vw, 34px); }
.grid article { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; }
.grid article img, .split img { border-radius: 4px; }
.grid .card { padding: 20px 0 24px; }
.card h3 { font-size: clamp(21px, 2.4vw, 26px); }
.card a, #certificaciones a { text-underline-offset: 4px; }
#certificaciones .certification-seals { justify-content: center; }
.service-gallery img { height: clamp(235px, 26vw, 320px); border-radius: 4px; }
.gallery-arrow { inset-block-start: min(160px, max(117.5px, 13vw)); }
.contact { background: #143c37; }
.contact .panel { background: #214d46; }
footer { background: #102e29; }

@media (max-width: 820px) {
  .nav { align-items: flex-start; }
}

@media (max-width: 520px) {
  html { scroll-padding-top: 145px; }
  .links { column-gap: 12px; }
  .links .btn { padding: 7px 10px; }
  .hero .actions { gap: 10px; }
  .whatsapp-link img { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.hero { width: min(1240px, 90%); margin-inline: auto; }
