:root {
  --ink: #20252a;
  --charcoal: #273039;
  --charcoal-2: #1d252d;
  --paper: #f7f4ef;
  --muted: #d9e0e3;
  --line: rgba(255, 255, 255, 0.18);
  --gold: #b89a61;
  --field: #46515d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  min-height: 92vh;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(29, 37, 45, 0.92), rgba(29, 37, 45, 0.55) 32%, rgba(29, 37, 45, 0.18) 58%),
    linear-gradient(90deg, rgba(29, 37, 45, 0.85), rgba(29, 37, 45, 0.22)),
    url("assets/colchagua-hero.jpg") center / cover no-repeat;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.brand {
  display: grid;
  gap: 1px;
  justify-items: center;
}

.brand img {
  width: clamp(205px, 29vw, 380px);
  height: auto;
  display: block;
}

.brand span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-call {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(92vh - 104px);
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 30px 0 74px;
}

.hero-copy {
  width: min(660px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Julius Sans One", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: 4.6rem;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.26rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 13px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #172026;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--white);
}

.practice-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 28px 18px;
  background: #dfe7eb;
  color: #26313a;
  font-family: "Julius Sans One", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}

.practice-strip span + span::before {
  content: "/";
  margin-right: 28px;
  color: rgba(38, 49, 58, 0.38);
}

.section {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro {
  text-align: center;
}

.intro h2,
.section-heading h2,
.contact-copy h2 {
  font-size: 3.35rem;
}

.intro p {
  max-width: 760px;
  margin: 22px auto 0;
  color: #4d565e;
  font-size: 1rem;
  line-height: 1.8;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading p {
  margin: 0;
  color: #5a646b;
  line-height: 1.65;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.area-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(32, 37, 42, 0.12);
  border-radius: 8px;
  background: #fffdf9;
}

.area-grid h3 {
  color: #273039;
  font-size: 1.35rem;
}

.area-grid p {
  margin: 16px 0 0;
  color: #566068;
  line-height: 1.65;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: 40px;
  align-items: start;
  padding: 72px max(24px, calc((100vw - 1060px) / 2));
  color: var(--white);
  background: var(--charcoal);
}

.contact-copy p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

address {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: var(--field);
  color: var(--white);
  font: inherit;
  padding: 13px 14px;
}

.message-field {
  grid-row: span 2;
}

.contact-form button {
  align-self: end;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: #e3ebef;
  color: #273039;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
  padding: 24px 18px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--charcoal-2);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .site-header {
    min-height: 88vh;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .nav-call {
    font-size: 0.82rem;
    padding: 9px 10px;
  }

  .hero {
    min-height: calc(88vh - 96px);
    align-items: end;
  }

  .practice-strip span {
    width: 100%;
  }

  .practice-strip span + span::before {
    content: none;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading,
  .area-grid,
  .contact-band,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .area-grid article {
    min-height: auto;
  }

  .message-field {
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .nav {
    width: min(100% - 24px, 1120px);
    gap: 10px;
  }

  .brand img {
    width: 190px;
  }

  .brand span {
    font-size: 0.68rem;
  }

  h1 {
    font-size: 2.72rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .intro h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: 2.25rem;
  }

  .practice-strip {
    font-size: 1.35rem;
  }

  .hero {
    width: min(100% - 24px, 1120px);
    padding-bottom: 46px;
  }

  .button {
    width: 100%;
  }

  .contact-band {
    padding: 54px 18px;
  }
}
