/* ---------- Variables ---------- */
:root {
  --green: #254734;
  --green-dark: #16281d;
  --green-tint: #eef2ee;
  --black: #000000;
  --white: #ffffff;
  --offwhite: #f7f6f2;
  --ink: #1a1a1a;
  --line: rgba(0, 0, 0, 0.1);

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  --header-h: 84px;
  --container-w: 1180px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

section {
  scroll-margin-top: var(--header-h);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.eyebrow-light { color: #9fc2ab; }

.section-lead {
  max-width: 620px;
  color: #4a4a4a;
  font-size: 1.05rem;
}

.section-lead.light { color: #cfd9d2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-line {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 11px 24px;
  font-size: 0.85rem;
}
.btn-line:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-text {
  padding: 15px 4px;
  color: var(--black);
  border-bottom: 1px solid transparent;
}
.btn-text:hover { border-color: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--black);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 30px; width: auto; }
.logo-icon { display: none; height: 38px; }

.main-nav {
  display: flex;
  gap: 40px;
  margin: 0 auto 0 56px;
  flex: 1;
}

.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle::before { top: 0; }
.nav-toggle span { top: 10px; }
.nav-toggle::after { top: 20px; }

.nav-toggle.open::before { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open::after { transform: translateY(-10px) rotate(-45deg); }
.nav-toggle.open span { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 96px) 0 96px;
  background: var(--offwhite);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-lead {
  max-width: 520px;
  font-size: 1.1rem;
  color: #3d3d3d;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-ring {
  width: min(360px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  box-shadow: 0 40px 80px -30px rgba(37, 71, 52, 0.25);
}

.hero-ring img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--green);
  color: var(--white);
  padding: 52px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.25);
}

.trust-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

.trust-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

/* ---------- Services ---------- */
.services {
  padding: 120px 0;
}

.services h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}

.section-lead { margin-bottom: 56px; }

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

.service-card {
  padding: 44px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
}

.service-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  color: var(--green);
  margin-bottom: 28px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: #4a4a4a;
  font-size: 0.98rem;
}

/* ---------- About ---------- */
.about {
  background: var(--offwhite);
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.about-panel {
  background: var(--green);
  border-radius: 4px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
}

.about-panel img { filter: brightness(0) invert(1); opacity: 0.92; }

.about-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.about-content p {
  color: #3d3d3d;
  max-width: 620px;
  margin-bottom: 20px;
}

.about-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--green);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--black);
  color: var(--white);
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}

.contact h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 20px;
}

.contact-details {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fc2ab;
}

.contact-details a,
.contact-details span:not(.contact-label) {
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-details a:hover { color: #9fc2ab; }

.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-row label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #cfd9d2;
}

.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-row textarea { resize: vertical; }

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23cfd9d2'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23cfd9d2' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* The dropdown popup is rendered by the OS with a light background,
   independent of the closed select's dark styling above — option text
   needs its own dark color or it renders unreadable (white-on-white). */
.form-row select option {
  color: var(--ink);
  background: var(--white);
}

.form-submit {
  margin-top: 6px;
  align-self: flex-start;
}

.form-status {
  font-size: 0.9rem;
  color: #9fc2ab;
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
  align-items: start;
}

.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 260px; }

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .logo-full { display: none; }
  .logo-icon { display: block; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--black);
    padding: 24px 32px 32px;
    gap: 20px;
    margin: 0;
  }

  .site-header.nav-open .header-cta {
    display: inline-flex;
    position: fixed;
    top: calc(var(--header-h) + 168px);
    left: 32px;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-ring { width: 220px; padding: 40px; margin: 0 auto 16px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }

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

  .about-grid { grid-template-columns: 1fr; }
  .about-panel { max-width: 280px; margin: 0 auto; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .form-row-split { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .services, .about, .contact { padding: 80px 0; }
}
