:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-muted: #eee8df;
  --ink: #18201f;
  --muted: #63706b;
  --line: rgba(24, 32, 31, 0.14);
  --teal: #0d5c63;
  --teal-dark: #093f45;
  --gold: #b9802a;
  --coral: #c95e45;
  --shadow: 0 24px 70px rgba(24, 32, 31, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0, rgba(247, 244, 238, 0) 380px),
    var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(24, 32, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 32, 31, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: var(--teal);
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: clamp(8.4rem, 15vw, 10.4rem);
  height: auto;
}

.brand-suffix {
  align-self: flex-end;
  margin-bottom: 0.28rem;
  color: #f4a24d;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  color: #384440;
  font-size: 0.92rem;
  font-weight: 650;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.nav-cta {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: center;
  min-height: 560px;
  padding: clamp(2.2rem, 5vw, 3.8rem) 0 clamp(1.6rem, 4vw, 2.8rem);
}

.hero-content {
  max-width: 680px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.35rem;
  max-width: 780px;
  font-size: clamp(2.9rem, 5.2vw, 4.1rem);
  line-height: 1.01;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #4c5a55;
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 2.95rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1rem;
  border-radius: var(--radius);
  font-weight: 760;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 15px 35px rgba(13, 92, 99, 0.2);
}

.button.primary:hover {
  color: #fff;
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(24, 32, 31, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero-visual::after {
  position: absolute;
  inset: auto 1.2rem 1.2rem auto;
  width: 7rem;
  height: 0.42rem;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--gold), var(--coral), var(--teal));
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

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

.service-card {
  min-height: 290px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(24, 32, 31, 0.07);
}

.service-number {
  display: inline-flex;
  margin-bottom: 3.25rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card p,
.contact-links p,
.page-hero p,
.policy-content p,
.form-panel p {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: 2rem;
  align-items: start;
  margin: 1rem 0 3rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(13, 92, 99, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 232, 223, 0.75));
}

.contact-panel h2 {
  max-width: 580px;
  margin-bottom: 0;
}

.contact-links {
  display: grid;
  gap: 0.7rem;
}

.contact-links p {
  margin: 0;
  padding: 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
}

.page-shell {
  max-width: 840px;
}

.policy-page {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.policy-page .page-hero {
  max-width: 840px;
}

.policy-card {
  max-width: 840px;
  margin-bottom: 3rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(24, 32, 31, 0.08);
}

.policy-card section + section {
  margin-top: 2rem;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
}

.policy-card ul {
  margin: 0.5rem 0 1.4rem;
  padding-left: 1.4rem;
}

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 1rem;
}

.page-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
}

.form-panel,
.policy-content {
  margin-bottom: 3rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(24, 32, 31, 0.08);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 740;
}

select {
  width: min(100%, 420px);
  min-height: 3rem;
  margin-bottom: 1.4rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(24, 32, 31, 0.22);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.policy-content h2:not(:first-child) {
  margin-top: 2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.company-details {
  max-width: 680px;
}

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
    transform: none;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-number {
    margin-bottom: 1.4rem;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-logo {
    width: 7.9rem;
  }

  .brand-suffix {
    margin-bottom: 0.22rem;
    font-size: 0.78rem;
  }

  nav a {
    padding-inline: 0.62rem;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 2.65rem);
    line-height: 1.04;
  }

  .hero {
    gap: 1rem;
    padding-top: 1.8rem;
    padding-bottom: 1rem;
  }

  .hero-visual img {
    aspect-ratio: 16 / 5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.6rem;
  }

  .button {
    width: auto;
    min-height: 3rem;
    padding-inline: 0.7rem;
    font-size: 0.94rem;
  }

  .policy-page {

    width: min(100% - 28px, 1120px);

  }
}

@media (max-width: 360px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}
