/* Сайт компании FLY JUICE LLC (flyjuicellc.com): светлый «деловой журнал» —
   кремовая бумага, тёмно-зелёный и золотой, заголовки с засечками. */
:root {
  --paper: #f5f0e6;
  --paper-2: #ebe3d3;
  --ink: #16191a;
  --ink-2: #3d4442;
  --muted: #6d716c;
  --green: #173d2f;
  --green-2: #23573f;
  --gold: #e8b422;
  --rule: #d6ccb8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--green-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.5vw, 50px); }
h3 { font-size: 24px; }

.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 48px); }

/* Шапка */
.top { background: var(--paper); border-bottom: 1px solid var(--rule); }
.top-row { display: flex; align-items: center; gap: 30px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-name { white-space: nowrap; font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: .06em; }
.brand-name small { font-family: system-ui, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); margin-left: 6px; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.menu a:hover { color: var(--green-2); text-decoration: underline; text-underline-offset: 6px; }

.btn {
  display: inline-block; padding: 14px 28px;
  background: var(--green); color: var(--paper);
  font-weight: 600; text-decoration: none; border-radius: 2px;
  transition: background .15s;
}
.btn:hover { background: var(--green-2); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f1c440; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 9px 18px; font-size: 14px; white-space: nowrap; }

/* Первый экран */
.hero { padding: 90px 0 70px; border-bottom: 1px solid var(--rule); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green-2); margin: 0 0 22px; }
.hero h1 { font-size: clamp(48px, 7.5vw, 96px); font-weight: 500; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--green-2); }
.hero-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hero-logo { width: clamp(240px, 30vw, 380px); height: auto; }
.hero-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; margin-top: 30px; }
.hero .lead { font-size: 21px; color: var(--ink-2); margin: 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* Полоса фактов */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
.facts div { padding: 30px 26px; border-left: 1px solid var(--rule); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--green); line-height: 1.1; }
.facts span { color: var(--muted); font-size: 15px; }

/* Разделы с номером слева */
.section { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.section.dark { background: var(--green); color: #e9e4d6; border-bottom: 0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: var(--gold); }
.sec-grid { display: grid; grid-template-columns: 220px 1fr; gap: 50px; }
.sec-no { font-family: var(--serif); font-size: 15px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; border-top: 3px solid var(--gold); padding-top: 14px; align-self: start; }
.dark .sec-no { color: #b9c4b5; }
.section-lead { font-size: 20px; color: var(--ink-2); max-width: 760px; margin-top: 0; }
.dark .section-lead { color: #d3d9cd; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 46px; border-top: 1px solid var(--rule); }
.services article { padding: 28px 28px 10px 0; }
.services article + article { padding-left: 28px; border-left: 1px solid var(--rule); }
.services p { color: var(--ink-2); margin: 0; }
.services .tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* Продукты компании */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 46px; }
.product {
  display: flex; flex-direction: column; padding: 34px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18);
  text-decoration: none; color: inherit;
  transition: background .15s, transform .15s;
}
.product:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); }
.product .who { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.product h3 { font-size: 32px; }
.product p { color: #d3d9cd; margin: 0 0 24px; flex: 1; }
.product .go { font-weight: 600; color: #fff; }
.product .dom { color: #b9c4b5; font-size: 14px; }

/* Цитата */
.quote { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; font-style: italic; margin: 0; color: var(--ink); }
.quote::before { content: "“"; display: block; font-size: 90px; line-height: .6; color: var(--gold); font-style: normal; }

/* Работа водителем */
.drive-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 2.5px solid var(--green-2); border-bottom: 2.5px solid var(--green-2); transform: rotate(-45deg); }

/* Контактная форма */
.cform { display: grid; gap: 20px; margin-top: 36px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cform label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.cform .opt { font-weight: 400; color: var(--muted); }
.cform input, .cform select, .cform textarea {
  width: 100%; padding: 12px 2px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--ink-2); border-radius: 0;
}
.cform textarea { resize: vertical; min-height: 130px; border: 1.5px solid var(--ink-2); padding: 12px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 2px 0 var(--gold); }
.cform button { justify-self: start; min-width: 220px; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.cform button:disabled { opacity: .6; cursor: wait; }
.cform .hp { position: absolute !important; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.cform-status { margin: 0; font-size: 16px; }
.cform-status:empty { display: none; }
.cform-status.ok { color: var(--green-2); }
.cform-status.err { color: #b3261e; }
.contact-side p { margin: 0 0 18px; color: var(--ink-2); }
.contact-side b { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* Подвал */
.foot { background: var(--ink); color: #a7aba4; font-size: 14px; padding: 50px 0 34px; }
.foot .brand { color: #fff; }
.foot .mark-tile { box-sizing: content-box; padding: 6px 8px; background: var(--paper); border-radius: 6px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot a { color: #e9e4d6; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.legal { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid #2f3433; line-height: 1.7; }

@media (max-width: 900px) {
  .menu { display: none; }
  .top-row { justify-content: space-between; }
  .hero { padding: 56px 0 50px; }
  .hero-top { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { order: -1; width: min(260px, 70%); }
  .hero-row, .sec-grid, .products, .drive-box, .cform-row { grid-template-columns: 1fr; gap: 28px; }
  .hero .cta { justify-content: flex-start; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div { border-top: 1px solid var(--rule); }
  .services { grid-template-columns: 1fr; }
  .services article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .brand img { width: 58px; height: auto; }
  .brand-name { font-size: 20px; }
  .cform button { width: 100%; }
  .product { padding: 26px; }
}
