/**
 * La Villa Hermosa — Base / Reset / Typography
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--bg-base);
  font-variation-settings: "opsz" 14;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.white {
  background: var(--bg-surface)!important;
}
/* ---- Display / Heading styles ---- */
.text-display-xxl, .text-display-lg, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  color: var(--text-primary);
  margin: 0;
}
.text-display-xxl { font-size: var(--text-display-xxl); line-height: var(--lh-display-xxl); letter-spacing: var(--ls-display-xxl); }
.text-display-lg { font-size: var(--text-display-lg); line-height: var(--lh-display-lg); letter-spacing: var(--ls-display-lg); }
.h1 { font-size: var(--text-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
.h2 { font-size: var(--text-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
.h3 { font-size: var(--text-h3); line-height: var(--lh-h3); }
.h4 { font-size: var(--text-h4); line-height: var(--lh-h4); }
.h5 { font-size: var(--text-h5); line-height: var(--lh-h5); font-family: var(--font-body); font-weight: 700; }

.body-lg { font-size: var(--text-body-lg); line-height: var(--lh-body-lg); }
.body-default { font-size: var(--text-body); line-height: var(--lh-body); }
.body-sm { font-size: var(--text-body-sm); line-height: var(--lh-body-sm); }
.body-xs { font-size: var(--text-body-xs); line-height: var(--lh-body-xs); }

.label { font-size: var(--text-label); line-height: var(--lh-label); font-weight: 500; }
.label-sm { font-size: var(--text-label-sm); line-height: var(--lh-label-sm); font-weight: 500; }
.caption { font-size: var(--text-caption); line-height: var(--lh-caption); color: var(--text-secondary); }
.caption-sm { font-size: var(--text-caption-sm); line-height: var(--lh-caption-sm); color: var(--text-muted); }

.eyebrow {
  font-size: var(--text-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-brand);
}

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-on-dark { color: var(--text-on-dark); }
.text-on-dark-muted { color: var(--text-on-dark-muted); }

.section {
  padding-block: var(--space-24);
}
.section--tight { padding-block: var(--space-16); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--sand { background: var(--bg-sand); }
.section--raised { background: var(--bg-base); }

.section-head { max-width: 640px; margin-bottom: var(--space-12); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
