:root {
  --bg: #ffffff;
  --surface: rgba(255, 252, 247, 0.86);
  --surface-strong: #fffaf2;
  --text: #1d2a24;
  --muted: #5f6c64;
  --accent: #1f6b57;
  --accent-dark: #144739;
  --accent-soft: #d7eadf;
  --line: rgba(29, 42, 36, 0.12);
  --shadow: 0 24px 60px rgba(17, 37, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.brand,
.nav-link,
a {
  color: inherit;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 1rem 0 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: stretch;
}

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

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.98;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  max-width: 14ch;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.lead,
.hero-copy p,
.service-card p,
.spotlight-panel p,
.contact-copy p,
label,
input,
textarea {
  font-size: 1rem;
  line-height: 1.7;
}

.lead {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: rgba(255, 250, 242, 0.7);
  color: var(--text);
  border-color: var(--line);
}

.hero-card,
.service-card,
.spotlight-panel,
.contact-form,
.spotlight-image-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.8rem;
  border-radius: 28px;
  align-self: end;
}

.hero-visual-card {
  padding: 1rem;
}

.hero-visual-card img,
.spotlight-image-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.card-label {
  margin-top: 0;
  font-weight: 800;
  color: var(--accent-dark);
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 0.8rem;
}

.section {
  padding: 4.5rem 0 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.7rem;
  border-radius: 24px;
}

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

.spotlight-panel {
  padding: 2rem;
  border-radius: 30px;
  background:
    linear-gradient(140deg, rgba(31, 107, 87, 0.95), rgba(20, 71, 57, 0.92)),
    var(--surface);
  color: #f7fbf8;
}

.spotlight-panel .eyebrow,
.spotlight-panel p {
  color: rgba(247, 251, 248, 0.85);
}

.spotlight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.spotlight-image-card {
  padding: 1rem;
  border-radius: 30px;
}

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

.contact-form {
  display: grid;
  gap: 0.6rem;
  padding: 1.8rem;
  border-radius: 28px;
}

label {
  font-weight: 700;
  margin-top: 0.45rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--surface-strong);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(31, 107, 87, 0.18);
  border-color: rgba(31, 107, 87, 0.45);
}

.button-submit {
  width: 100%;
  margin-top: 0.9rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .hero-content,
  .services-grid,
  .contact-layout,
  .spotlight-layout {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    max-width: none;
  }

  .page-shell {
    width: min(100% - 1.2rem, 1120px);
  }
}

@media (max-width: 560px) {
  .topbar {
    margin-bottom: 2.5rem;
  }

  .section {
    padding-top: 3.5rem;
  }

  .hero-card,
  .service-card,
  .spotlight-panel,
  .contact-form,
  .spotlight-image-card {
    border-radius: 22px;
  }
}
