@import url("fonts.css");

:root {
  --forest: #1E422A;
  --pine: #2C5A39;
  --leaf: #3D6B45;
  --sage: #9CBF8A;
  --mist: #E6EFE1;
  --cream: #F7F4EC;
  --earth: #8B5A2B;
  --earth-dark: #74491F;
  --black: #1A1B1D;
  --ink: #1E2A24;
  --muted: #55645B;
  --line: #D8E0D3;
  --white: #FFFFFF;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); }
a:hover { color: var(--forest); }

h1, h2, h3 { font-family: Montserrat, Inter, sans-serif; color: var(--forest); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--earth); margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.script { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; color: var(--leaf); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.alt { background: var(--white); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 0; }
.brand img { width: 58px; height: auto; flex: none; }
.brand .ace { display: block; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 28px; letter-spacing: .04em; color: var(--black); line-height: 1; }
.brand .ho { display: block; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 9.2px; letter-spacing: .22em; color: var(--black); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); background: var(--mist); }
.nav a.btn { color: var(--white); background: var(--forest); margin-left: 6px; }
.nav a.btn:hover { background: var(--pine); color: var(--white); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-family: Montserrat, sans-serif; font-weight: 700;
  font-size: .95rem; letter-spacing: .02em; padding: 14px 24px; border-radius: 10px;
  background: var(--forest); color: var(--white); border: 2px solid var(--forest); cursor: pointer;
}
.btn:hover { background: var(--pine); border-color: var(--pine); color: var(--white); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: var(--white); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Hero */
.hero { padding: 88px 0; background: linear-gradient(180deg, #FBF9F3 0%, var(--mist) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero-logo { background: var(--white); border-radius: 22px; padding: 36px; box-shadow: 0 18px 40px rgba(30, 66, 42, .12); }
.hero-logo img { width: 100%; height: auto; }
.page-hero { padding: 72px 0 56px; background: linear-gradient(180deg, #FBF9F3 0%, var(--mist) 100%); border-bottom: 1px solid var(--line); }

/* Grids and cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.alt .card { background: var(--cream); }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--mist); color: var(--forest);
  display: grid; place-items: center; margin-bottom: 16px;
}
.icon svg { width: 26px; height: 26px; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cats span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .95rem; }
.alt .cats span { background: var(--cream); }

/* Split (photo + text) */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.photo { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(31, 77, 58, .16); border: 6px solid var(--white); }
.photo img { width: 100%; height: auto; }
.sig { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.5rem; color: var(--forest); margin-top: 8px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 26px 22px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--forest); color: var(--white); font-family: Montserrat, sans-serif; font-weight: 800; margin-bottom: 12px;
}

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* CTA band */
.cta { background: var(--forest); color: var(--cream); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta h2 { color: var(--white); }
.cta p { color: #D7E4D2; margin: 0; }
.cta .btn { background: var(--earth); border-color: var(--earth); color: var(--white); }
.cta .btn:hover { background: var(--earth-dark); border-color: var(--earth-dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .92rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #C5D0C0; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(63, 125, 88, .25); border-color: var(--leaf); }
textarea { min-height: 150px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.info { display: grid; gap: 18px; }
.info .item { display: flex; gap: 14px; align-items: flex-start; }
.info .item .icon { margin: 0; flex: none; }
.info .item strong { display: block; font-family: Montserrat, sans-serif; color: var(--forest); }
.info .item a { text-decoration: none; }

/* Footer */
.site-footer { background: #17392B; color: #C9D8C4; padding: 56px 0 32px; margin-top: 80px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #E8F0E4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { color: var(--white); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo { display: inline-block; background: var(--white); border-radius: 14px; padding: 14px 18px; }
.footer-logo img { width: 150px; height: auto; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; margin-top: 12px; font-size: .85rem; color: #9FB59A; }
.no-margin-top { margin-top: 0; }

@media (max-width: 900px) {
  section { padding: 60px 0; }
  .g3, .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split .photo { max-width: 420px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-logo { max-width: 360px; padding: 24px; }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, .steps, .row2 { grid-template-columns: 1fr; }
  .site-header { position: static; }
  .site-header .wrap { justify-content: center; padding-bottom: 10px; }
  .nav { justify-content: center; }
  .nav a { padding: 6px 9px; font-size: .9rem; }
  .hero { padding: 48px 0; }
  .brand .ace { font-size: 24px; }
  .brand img { width: 50px; }
  .card { padding: 22px; }
}
