@font-face { font-family: 'Lato'; font-weight: 400; font-display: swap; src: url(/fonts/lato-400.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-display: swap; src: url(/fonts/lato-700.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 900; font-display: swap; src: url(/fonts/lato-900.woff2) format('woff2'); }

:root {
  --green: #02433f;
  --orange: #eca140;
  --orange-dark: #d98c27;
  --sand: #efeae6;
  --light: #f6f6f6;
  --ink: #333;
  --muted: #555;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Lato', system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

.btn {
  display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 900; letter-spacing: .02em;
  background: var(--orange); color: #fff; text-decoration: none; padding: 14px 34px; border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.btn:hover { background: var(--orange-dark); }

/* Header */
.site-header { background: var(--sand); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.site-header img { width: 170px; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-header nav a { text-decoration: none; color: var(--orange-dark); font-weight: 700; font-size: .85rem; letter-spacing: .05em; }
.site-header nav a:hover { color: var(--green); }

/* Hero */
.hero { background: var(--green); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px; padding-top: 40px; }
.hero-text { padding-bottom: 56px; text-align: center; }
.hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; }
.hero h1 .accent { color: var(--orange); }
.hero p { font-size: 1.05rem; }
.hero p .accent { color: var(--orange); }

/* Intro and benefits */
.intro { background: var(--light); padding: 56px 0 24px; }
.intro h2 { color: var(--green); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; text-align: center; }
.benefits { padding: 24px 0 64px; }
.benefits .logo-wide { width: min(560px, 90%); margin: 0 auto 48px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; max-width: 900px; margin-inline: auto; }
.benefit { display: grid; grid-template-columns: 1fr 56px; gap: 18px; align-items: start; }
.benefit:nth-child(even) { grid-template-columns: 56px 1fr; }
.benefit:nth-child(even) .icon { order: -1; }
.benefit:nth-child(odd) { text-align: right; }
.benefit h3 { color: var(--green); font-size: 1.25rem; font-weight: 900; }
.benefit p { color: var(--muted); font-size: .95rem; }
.icon { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Guide */
.guide { background: var(--sand); padding: 64px 0; }
.guide .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.guide h2 { color: var(--green); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; }
.guide p { color: var(--muted); }

/* Testimonials */
.testimonials { padding: 64px 0; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.quote img.avatar { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.quote blockquote { margin: 0 0 12px; font-size: 1.15rem; }
.quote img.stars { width: 110px; margin: 0 auto 8px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--green); }

/* Meet + process */
.dark { background: var(--green); color: #fff; padding: 64px 0; }
.dark h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; text-align: center; margin-bottom: 1em; }
.meet .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.meet h2 { text-align: left; }
.meet p strong { color: var(--orange); }
.tagline { text-align: center; font-size: 1.4rem; font-weight: 900; margin: 48px auto 0; padding: 0 16px; }
.process p { max-width: 900px; margin: 0 auto 32px; text-align: center; }
.process img { margin: 0 auto; border-radius: 4px; }

/* Contact */
.contact {
  color: #fff; padding: 72px 0; text-align: center;
  background: linear-gradient(rgba(2, 67, 63, .85), rgba(2, 67, 63, .85)), url(/images/contact-bg.webp) center / cover;
}
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 1em; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-grid h3 { font-size: 1.15rem; }
.contact-grid svg { width: 30px; height: 30px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.contact-grid a { color: #fff; word-break: break-word; }

.site-footer { background: var(--green); color: #fff; text-align: center; padding: 24px 0; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.15); }
.site-footer a { margin: 0 10px; }

/* Download dialog */
dialog { border: 0; border-radius: 8px; padding: 0; width: min(480px, 100% - 32px); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(0, 0, 0, .6); }
.dialog-body { padding: 32px; position: relative; }
.dialog-body h2 { color: var(--green); font-weight: 900; }
.dialog-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.field input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; }
.field input:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 10px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.error { color: #b3261e; }
.dialog-body .btn { width: 100%; margin-top: 8px; }

/* Simple pages */
.simple { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 64px 16px; }
.simple h1 { color: var(--green); font-weight: 900; }

@media (max-width: 860px) {
  .hero .wrap, .guide .wrap, .meet .wrap { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 8px; }
  .hero img { max-width: min(420px, 100%); margin: 0 auto; }
  .benefit-grid, .quote-grid, .contact-grid { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(even) { grid-template-columns: 56px 1fr; text-align: left; }
  .benefit:nth-child(odd) .icon { order: -1; }
  .hero .wrap > *, .guide .wrap > *, .meet .wrap > * { min-width: 0; }
  .site-header nav ul { gap: 12px; }
  .site-header nav a { font-size: .72rem; }
  .site-header img { width: 100px; }
  .hero h1 { font-size: 1.6rem; overflow-wrap: anywhere; }
}
