:root {
  --red: #c41e00; --red-dark: #a11800; --green: #247c2a; --green-dark: #1c6321; --green-soft: #e7f3e8;
  --ink: #1f2428; --muted: #5f6772; --line: #e5e8ec; --bg: #ffffff; --bg-alt: #f6f8f7;
  --radius: 14px; --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0 0 .6rem; }
.eyebrow.light { color: #d9f2db; }
.lead { font-size: 1.15rem; max-width: 640px; }
.lead-sm { font-size: 1.05rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, transform .15s, border-color .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: var(--green); color: #fff; }
.btn-ghost:hover { background: var(--green-dark); }
.btn-outline { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,.22); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { width: 190px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.nav a:hover { background: var(--green-soft); color: var(--green-dark); }
.header-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 8px 20px 16px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 12px 8px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px; }
.mobile-nav a:hover { background: var(--green-soft); }
.mobile-nav .btn { margin-top: 8px; color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 620px; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #143d17; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: url("/assets/hero.webp") center 30% / cover no-repeat; }
@media (max-width: 700px) { .hero-media::before { background-image: url("/assets/hero-800.webp"); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,12,.86) 0%, rgba(10,25,12,.62) 50%, rgba(10,25,12,.25) 100%); }
@media (min-width: 961px) {
  .hero-media::before { left: 44%; background-position: 60% 30%; }
  .hero-media::after { background: linear-gradient(90deg, #143d17 0%, #143d17 43%, rgba(20,61,23,.7) 54%, rgba(20,61,23,.15) 70%, rgba(20,61,23,0) 100%); }
  .hero h1 { max-width: 560px; font-size: clamp(2.2rem, 4.2vw, 3.1rem); }
  .hero .lead { max-width: 520px; }
}
.hero-inner { padding: 96px 20px; max-width: var(--maxw); width: 100%; }
.hero .eyebrow { color: #f8d7cf; }
.hero h1 { max-width: 720px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .lead { color: rgba(255,255,255,.92); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 28px 40px; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-size: 1.6rem; line-height: 1; }
.hero-facts span { font-size: .9rem; color: rgba(255,255,255,.8); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 44px; }
.section-head.center p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,.45); background: var(--green-soft); aspect-ratio: 7 / 4; }
.media img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list h3 { margin-bottom: .25em; font-size: 1.05rem; }
.feature-list p { margin: 0; color: var(--muted); }
.feature-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; }
.feature-icon svg { width: 24px; height: 24px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: 0 10px 30px -24px rgba(0,0,0,.3); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--green); color: #fff; margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23247c2a'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.check-list.light li { color: #fff; }
.check-list.light li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='white'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23247c2a' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.section-green { background: var(--green); color: #fff; }
.section-green h2 { color: #fff; }
.section-green .lead-sm { color: rgba(255,255,255,.88); }
.section-green .media { box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); }

/* CTA */
.cta { position: relative; color: #fff; padding: 96px 0; isolation: isolate; text-align: center; }
.cta-media { position: absolute; inset: 0; z-index: -1; background: #10161c url("/assets/cta.webp") center / cover no-repeat; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: rgba(8,14,20,.72); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-cards a, .contact-cards .static { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--green-soft); color: var(--ink); text-decoration: none; }
.contact-cards a:hover { border-color: var(--green); }
.contact-cards .label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); font-weight: 700; }
.ci { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--red); display: grid; place-items: center; }
.ci svg { width: 22px; height: 22px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px -24px rgba(0,0,0,.3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field label span { color: var(--red); }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cfd5db; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); outline: 3px solid rgba(36,124,42,.2); }
.field input[type="file"] { padding: 9px; background: var(--bg-alt); }
.field.consent { display: flex; gap: 10px; align-items: flex-start; }
.field.consent input { width: auto; margin-top: 4px; }
.field.consent label { font-weight: 400; margin: 0; font-size: .92rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: var(--red); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }

/* Footer */
.site-footer { background: #10161c; color: #c9d1d9; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { width: 200px; margin-bottom: 14px; }
.footer-grid h3 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #c9d1d9; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #263038; margin-top: 40px; padding-top: 20px; font-size: .9rem; color: #8b949e; }
.footer-bottom a { color: #8b949e; }

.legal { padding: 56px 20px 80px; max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }

@media (max-width: 960px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  #about .media { order: -1; }
  .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { min-height: 0; }
  .hero-inner { padding: 72px 20px 64px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 150px; }
}
