:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-size-h1: 3rem;
  --font-size-h2: 2.25rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;

  --forest-950: #0a2418;
  --forest-900: #103522;
  --forest-800: #184b31;
  --forest-700: #22633f;
  --botanical-600: #347a50;
  --botanical-500: #4d9067;
  --sage-50: #f6f8f2;
  --sage-100: #edf2e8;
  --sage-200: #dfe8d9;
  --cream-50: #fdfbf4;
  --cream-100: #f7f1e4;
  --paper: #fffef9;
  --ink: #17231c;
  --muted: #687269;
  --warm-gray: #8a8579;
  --gold: #a78245;
  --gold-soft: #d8c49d;
  --line: #dfe5da;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5d;

  --container: 1180px;
  --container-pad: clamp(1rem, 3vw, 2rem);
  --section-space: clamp(3.25rem, 6vw, 4.75rem);
  --section-space-compact: clamp(2.5rem, 4.5vw, 3.75rem);

  --radius-xs: 7px;
  --radius-sm: 11px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-xs: 0 2px 8px rgba(16, 53, 34, 0.05);
  --shadow-sm: 0 10px 28px rgba(16, 53, 34, 0.08);
  --shadow-md: 0 18px 44px rgba(16, 53, 34, 0.11);

  --transition: 180ms ease;
  --header-height: 122px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream-50);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main,
section,
article,
aside,
nav,
header,
footer,
figure {
  display: block;
}

img,
picture,
video,
canvas,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
textarea,
select {
  width: 100%;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--forest-950);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: 1.04;
}

h2 {
  font-size: var(--font-size-h2);
  line-height: 1.1;
}

h3 {
  font-size: var(--font-size-h3);
  line-height: 1.2;
}

h4 {
  font-size: var(--font-size-h4);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  padding-left: 0;
  list-style: none;
}

::selection {
  color: var(--forest-950);
  background: #cfe3d3;
}

:focus-visible {
  outline: 3px solid rgba(167, 130, 69, 0.45);
  outline-offset: 3px;
}

.main-content {
  min-height: 60vh;
}

.sr-only,
.site-search__label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 760px) {
  :root {
    --font-size-h1: 2.3rem;
    --font-size-h2: 1.85rem;
    --font-size-h3: 1.3rem;
    --font-size-h4: 1.1rem;
    --section-space: 3rem;
    --section-space-compact: 2.35rem;
    --header-height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
