/* Terra Grain — premium pass. Onest only, no mono. Reference geometry: EZTM (Behance 223906953). */

:root {
  --bg: #f3f2ee;
  --panel: #e9e9e3;
  --stripe: #e4e4dd;
  --card: #ffffff;
  --ink: #151816;
  --muted: #63685f;
  --green: #35b458;
  --green-deep: #1d8a41;
  --line: #d6d6cd;
  --body: 'Onest', 'Helvetica Neue', Arial, sans-serif;
  --notch: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.label {
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}

/* ---------- header ---------- */
.site-head {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 30px 38px;
}
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.brand svg { width: 42px; height: 42px; }
.brand-name {
  font-weight: 700; font-size: 16px; letter-spacing: .22em; line-height: 1.35;
  color: #fff; text-transform: uppercase;
}
.head-meta { text-align: right; color: rgba(255,255,255,.85); line-height: 2; }
.head-meta .label { color: rgba(255,255,255,.92); display: block; }
.head-meta b { color: var(--green); font-weight: 600; }
.lang {
  display: inline-block; margin-top: 12px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.5); padding: 5px 14px;
}
.lang:hover { background: #fff; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: flex-end;
  background: #1d1a13 url('/assets/hero.webp') center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,10,.84) 0%, rgba(10,12,10,.56) 40%, rgba(10,12,10,.04) 72%);
}
.hero-inner { position: relative; z-index: 2; padding: 130px 38px 100px; max-width: 780px; }
.hero h1 {
  font-weight: 700; text-transform: uppercase; letter-spacing: .015em;
  font-size: clamp(36px, 5vw, 62px); line-height: 1.02; color: #fff; margin-bottom: 28px;
}
.hero h1 span { color: var(--green); }
.hero p {
  font-size: 18.5px; line-height: 1.7; color: rgba(255,255,255,.88);
  max-width: 540px; margin-bottom: 44px; font-weight: 400;
}
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; text-decoration: none;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent;
  cursor: pointer; transition: all .18s ease;
}
.btn .arr {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--green); color: var(--ink); font-size: 18px;
}
.btn .lbl { padding: 0 24px; line-height: 46px; }
.btn:hover { background: rgba(255,255,255,.14); }
.btn.solid { background: #fff; border-color: #fff; color: var(--ink); }
.btn.solid:hover { background: var(--green); border-color: var(--green); color: var(--ink); }

/* ---------- sections ---------- */
section { position: relative; overflow: hidden; padding: 110px 0 118px; }
.sec-head { display: flex; align-items: baseline; gap: 26px; margin-bottom: 64px; position: relative; z-index: 2; }
.sec-num { font-size: 14px; font-weight: 600; color: var(--green-deep); letter-spacing: .1em; }
.sec-title { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.01em; line-height: 1.1; }
.sec-link {
  margin-left: auto; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-deep); text-decoration: none; white-space: nowrap; padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.sec-link:hover { border-bottom-color: var(--green-deep); }
.sec-link::before { content: '\2192\00a0\00a0'; }

/* diagonal stripes */
.stripe-green::before, .stripe-gray::after {
  content: ''; position: absolute; top: -12%; height: 124%; width: 180px;
  transform: skewX(-20deg); z-index: 0; pointer-events: none;
}
.stripe-green::before { background: var(--green); opacity: .92; }
.stripe-gray::after { background: var(--stripe); }
.s-adv::before { left: -130px; width: 220px; }
.s-adv::after { right: 5%; width: 260px; }
.s-prod::before { left: 46%; }
.s-prod::after { left: 60%; top: -30%; }
.s-geo::after { right: -50px; width: 300px; }
.s-how::before { right: 8%; }
.s-contact::after { left: 30%; width: 340px; }

/* ---------- advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; z-index: 2; }
.adv { padding: 34px 30px 38px; background: var(--card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  box-shadow: 0 18px 44px rgba(18, 22, 18, .06);
}
.adv img { height: 150px; width: 100%; object-fit: contain; margin-bottom: 26px; }
.adv h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.005em; }
.adv p { color: var(--muted); font-size: 15.5px; }

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; position: relative; z-index: 2; }
.card {
  background: var(--card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  box-shadow: 0 18px 44px rgba(18, 22, 18, .07);
}
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 28px 30px 34px; }
.card-body h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.card-body .desc { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.spec { font-size: 14px; line-height: 2.1; border-top: 1px solid var(--line); padding-top: 16px; }
.spec span { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.prod-note { position: relative; z-index: 2; margin-top: 44px; font-size: 15px; color: var(--muted); }
.prod-note b { color: var(--green-deep); font-weight: 600; }

/* ---------- geography ---------- */
.geo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; position: relative; z-index: 2; align-items: start; }
.plate {
  background: var(--green); color: var(--ink); padding: 38px 36px 46px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.plate p { font-size: 18px; line-height: 1.75; font-weight: 500; }
.route-list { list-style: none; }
.route-list li {
  display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; align-items: baseline;
}
.route-list li::before { content: ''; width: 22px; height: 2px; background: var(--green-deep); flex: none; transform: translateY(-4px); }
.route-list b { font-weight: 700; }
.fleet { position: relative; z-index: 2; margin-top: 84px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; align-items: end; }
.fleet figure { text-align: center; }
.fleet img { width: 100%; max-height: 190px; object-fit: contain; margin-bottom: 22px; }
.fleet figcaption { font-size: 14.5px; color: var(--muted); }
.fleet figcaption b { color: var(--ink); font-weight: 700; }

/* ---------- how we work ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 2; margin-bottom: 70px; }
.step { background: var(--card); padding: 30px 26px 34px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  box-shadow: 0 14px 36px rgba(18, 22, 18, .05); }
.step .n { font-size: 13px; font-weight: 600; color: var(--green-deep); letter-spacing: .12em; margin-bottom: 16px; display: block; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; }
.docs { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.docs h3 { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; color: var(--muted); }
.doc-list { list-style: none; font-size: 16px; line-height: 1.5; }
.doc-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; position: relative; z-index: 2; align-items: start; }
.contact-info .plate a { font-size: 21px; font-weight: 700; text-decoration: none; display: block; margin-bottom: 10px; letter-spacing: -.01em; }
.contact-info .plate small { font-size: 14px; font-weight: 500; }
.role-toggle { display: flex; margin-bottom: 34px; }
.role-toggle button {
  flex: 1; font-family: var(--body); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 10px; background: transparent; border: 1px solid var(--ink); cursor: pointer; color: var(--ink);
}
.role-toggle button + button { border-left: none; }
.role-toggle button.on { background: var(--ink); color: #fff; }
.field { margin-bottom: 26px; }
.field label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; border: none; border-bottom: 1.5px solid var(--ink); background: transparent;
  font-family: var(--body); font-size: 17px; padding: 6px 2px 11px; color: var(--ink);
  border-radius: 0; outline: none;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--green-deep); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.send {
  font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  padding: 17px 60px; transition: background .18s;
}
.send:hover { background: var(--green-deep); }
.send[disabled] { opacity: .55; cursor: wait; }
.form-status { font-size: 14.5px; margin-top: 18px; min-height: 22px; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #b23c3c; }

/* ---------- footer ---------- */
footer { background: var(--ink); padding: 26px 0; }
.foot { display: flex; align-items: center; gap: 34px; }
.foot svg { width: 28px; height: 28px; }
.foot nav { display: flex; gap: 30px; flex-wrap: wrap; }
.foot a {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.85); text-decoration: none;
}
.foot a:hover { color: var(--green); }
.foot .yr { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .05em; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
  .rv.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .adv-grid, .steps { grid-template-columns: 1fr 1fr; }
  .geo-grid, .contact-grid, .docs { grid-template-columns: 1fr; }
  .fleet { grid-template-columns: 1fr; gap: 30px; }
  .prod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .adv-grid, .steps, .two-col { grid-template-columns: 1fr; }
  .site-head { padding: 20px; }
  .head-meta .label { display: none; }
  .lang { margin-top: 0; }
  .hero { min-height: 82vh; }
  .hero-inner { padding: 110px 22px 56px; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 40px); margin-bottom: 20px; }
  .hero p { font-size: 16.5px; margin-bottom: 32px; }
  .btn .lbl { padding: 0 18px; line-height: 44px; }
  .btn .arr { width: 44px; height: 44px; }
  .sec-head { flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
  .sec-link { margin-left: 0; flex-basis: 100%; }
  section { padding: 60px 0 66px; }
  .adv { padding: 26px 22px 30px; }
  .adv img { height: 120px; margin-bottom: 20px; }
  .card img { height: 190px; }
  .card-body { padding: 22px 22px 28px; }
  .plate { padding: 28px 24px 36px; }
  .plate p { font-size: 16.5px; }
  .fleet { margin-top: 52px; gap: 36px; }
  .fleet img { max-height: 140px; margin-bottom: 14px; }
  .steps { gap: 20px; margin-bottom: 48px; }
  .docs { gap: 32px; }
  .contact-grid { gap: 36px; }
  .role-toggle button { font-size: 10.5px; letter-spacing: .1em; padding: 12px 6px; }
  .send { width: 100%; padding: 16px 0; }
  .foot { flex-wrap: wrap; gap: 18px 22px; }
  .foot nav { gap: 18px; }
  .foot .yr { margin-left: 0; }
}

/* tall-viewport guard (headless render/full-page screenshots): cap hero height */
@media (min-height: 2400px) {
  .hero { min-height: 900px; }
}
