:root {
  --bg: #f7f4ee;
  --card: #fffaf2;
  --ink: #1f2933;
  --muted: #5f6b7a;
  --line: #e5dccf;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --shadow: 0 20px 60px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-weight: 650;
}

nav a {
  border-radius: 999px;
  padding: 0.35rem 0;
  text-decoration: none;
}

.hero,
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.hero {
  min-height: 62vh;
  display: grid;
  align-content: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
}

h2 {
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.hero-copy,
.section > div > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.13rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card,
.address,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.25rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.address {
  padding: 2rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 0.9rem;
}

textarea {
  resize: vertical;
}

.robot-check {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.form-status.error {
  color: #9f1239;
}

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .cards,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 3.5rem 1.25rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.25rem 0.5rem;
  }

  .brand {
    font-size: 1.05rem;
  }

  nav {
    width: 100%;
    gap: 0.5rem;
  }

  nav a {
    flex: 1;
    background: rgba(15, 118, 110, 0.08);
    color: var(--accent-dark);
    padding: 0.65rem 0.75rem;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.6rem, 18vw, 4.5rem);
    line-height: 0.88;
    letter-spacing: -0.035em;
  }
}
