:root {
  --green: #16382b;
  --green-2: #1f4d3b;
  --leaf: #4f8a5b;
  --apricot: #f2a541;
  --apricot-2: #f7c171;
  --cream: #faf6ee;
  --cream-2: #f1ead9;
  --text: #1c2a23;
  --muted: #5c6b63;
  --line: rgba(22, 56, 43, .12);
  --radius: 16px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 22ch; }
h3 { font-size: 1.45rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); }
.brand-logo { height: 36px; width: auto; }
.footer-logo { height: 30px; width: auto; align-self: flex-start; margin-bottom: 10px; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--leaf); }
.nav-cta { background: var(--green); color: #fff !important; padding: 9px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--green-2); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang button { font: inherit; font-size: .78rem; font-weight: 700; border: 0; background: none; padding: 5px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.lang button.is-active { background: var(--green); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--green); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); background: radial-gradient(60% 70% at 85% 20%, rgba(242,165,65,.18), transparent 70%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); color: var(--green); max-width: 15ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 700; color: var(--leaf); margin: 0 0 14px; }
.eyebrow.light { color: var(--apricot-2); }
.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: .95rem; padding: 14px 26px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 0; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--apricot); color: var(--green); }
.btn-accent:hover { background: var(--apricot-2); }
.btn-line { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.hero-facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-facts b { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--green); line-height: 1; }
.hero-facts span { font-size: .85rem; color: var(--muted); }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--cream-2); }
.hero-collage img:nth-child(1) { border-top-left-radius: 120px; }
.hero-collage img:nth-child(4) { border-bottom-right-radius: 120px; }

/* sections */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section.alt { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.about-text p { color: var(--muted); font-size: 1.05rem; }
.todo { color: #9a5a12 !important; background: rgba(242,165,65,.18); border-left: 3px solid var(--apricot); padding: 6px 10px; border-radius: 6px; font-size: .88rem !important; }
.todo-inline { color: #f7c171; font-size: .82rem; }
.facts { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts b { font-family: var(--serif); color: var(--green); font-size: 1.15rem; }
.facts span { color: var(--muted); }
.contacts .plain { color: #fff; }
@media (max-width: 820px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* products */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.tab { font: inherit; font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--text); }
.tab.is-active, .tab:hover { background: var(--green); color: #fff; border-color: var(--green); }
.products { list-style: none; padding: 0; margin: 0; display: none; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.products.is-active { display: grid; }
.products li { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #e6dcc6; }
.products img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.products li:hover img { transform: scale(1.06); }
.products span { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(16,40,31,.8)); }
.note { margin: 20px 0 0; color: var(--muted); }

/* directions */
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 12px 0 16px; }
.dir-card { border-radius: var(--radius); padding: 32px; }
.dir-export { background: var(--green); color: #fff; }
.dir-export p, .dir-export li { color: rgba(255,255,255,.82); }
.dir-import { background: #fff; border: 1px solid var(--line); }
.dir-import p, .dir-import li { color: var(--muted); }
.dir-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; background: var(--apricot); color: var(--green); }
.dir-import .dir-tag { background: var(--cream-2); color: var(--leaf); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--apricot); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5.1-5.1L12.7 5z'/%3E%3C/svg%3E") center/100% no-repeat, linear-gradient(#000,#000); -webkit-mask-composite: xor; }

/* steps */
.steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 2rem; color: var(--apricot); display: block; line-height: 1; margin-bottom: 12px; }
.steps b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .93rem; }

/* request */
.request { background: var(--green); color: #fff; }
.request h2 { color: #fff; }
.request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.lead-sm { color: rgba(255,255,255,.78); }
.contacts { list-style: none; padding: 0; margin: 24px 0 0; }
.contacts li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contacts li > span:first-child { color: rgba(255,255,255,.6); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.contacts a { color: var(--apricot-2); text-decoration: none; }
.quote { background: #fff; color: var(--text); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.quote label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.quote input, .quote select { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--text); width: 100%; }
.quote input:focus, .quote select:focus { outline: 2px solid var(--apricot); border-color: transparent; }
.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote .btn { width: 100%; margin-top: 4px; }
.form-error { margin: 0; color: #b3261e; font-size: .88rem; }

/* founder */
.founder-row { display: flex; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.founder-row img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.founder-row p { margin: 0 0 8px; color: var(--muted); }
.link { color: var(--leaf); font-weight: 700; text-decoration: none; }

.site-footer { background: #0f2a20; color: rgba(255,255,255,.7); font-size: .88rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; flex-wrap: wrap; }
.footer-row div { display: flex; flex-direction: column; gap: 2px; }
.footer-row b { color: #fff; }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0,0,0,.45); }
.fab svg { width: 28px; height: 28px; fill: #fff; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 16px; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 8px 16px 20px; border-bottom: 1px solid var(--line); transform: translateY(calc(-100% - 80px)); visibility: hidden; transition: transform .3s, visibility 0s .3s; z-index: -1; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0 !important; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .about-grid, .dir-grid, .request-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-collage { max-width: 420px; }
  .brand-logo { height: 28px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
  .hero-facts b { font-size: 1.7rem; }
  .hero-facts span { font-size: .78rem; line-height: 1.3; display: block; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .quote .row { grid-template-columns: 1fr; }
  .founder-row { flex-direction: column; text-align: center; }
  .contacts li { flex-direction: column; gap: 2px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .site-footer { padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
