/* Farm Equipment Log — "Parte de turno": paper, ink and the amber of the cab beacon. */

@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/merriweather-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/merriweather-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/merriweather-sans-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/merriweather-sans-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mohave"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/mohave-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mohave"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/mohave-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f1ede4;
  --card: #fffcf6;
  --sunk: #e6e0d3;
  --ink: #211e1a;
  --soft: #5a534a;
  --line: #d6cfc1;
  --beacon: #f08a1c;
  --beacon-dark: #9c4a05;
  --fuel: #8a2453;
  --dust: #b8af9f;
  --text: "Merriweather Sans", "Segoe UI", system-ui, sans-serif;
  --num: "Mohave", "Arial Narrow", sans-serif;
  --wrap: 1120px;
  --hazard: repeating-linear-gradient(135deg, var(--ink) 0 10px, var(--beacon) 10px 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--beacon-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--beacon); outline-offset: 3px; }
h1, h2, h3, p, li, dt, dd, summary, a { overflow-wrap: anywhere; hyphens: auto; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 14px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.kicker { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--beacon-dark); margin-bottom: 10px; }
.kicker.light { color: var(--beacon); }
.lead { font-size: 1.12rem; color: var(--soft); }
.lead.light { color: var(--dust); }
.hazard { height: 10px; background: var(--hazard); }
.hazard.thin { height: 6px; }

/* Header */
.top { background: var(--paper); border-bottom: 2px solid var(--ink); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 10px 12px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 0.95rem; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--beacon); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 26px 0 22px; }
.text-link { font-weight: 800; color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.facts li { font-size: 0.85rem; font-weight: 800; padding: 6px 10px; background: var(--sunk); border-left: 4px solid var(--beacon); }
.hero-shots { position: relative; min-height: 520px; }
.sheet { margin: 0; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 8px; box-shadow: 8px 8px 0 var(--ink); }
.sheet .shot { border-radius: 4px; aspect-ratio: 8 / 15; object-fit: cover; object-position: top; width: 100%; }
.hero-shots .sheet { position: absolute; width: 62%; }
.sheet-back { right: 0; top: 0; transform: rotate(0deg); opacity: 1; }
.sheet-front { left: 0; top: 56px; }

/* Store button */
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 20px; background: var(--beacon); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; text-decoration: none; font-weight: 800; line-height: 1.2; box-shadow: 4px 4px 0 var(--ink); }
.store:hover { color: var(--ink); transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--ink); }
.store-small { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.store-soon { background: var(--card); box-shadow: none; cursor: default; }

/* Steps */
.steps { padding: 72px 0; border-top: 2px solid var(--ink); background: var(--card); }
.step-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 72px; }
.step { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: center; }
.step-flip { grid-template-columns: 320px 1fr; }
.step-flip .step-text { order: 2; }
.step-no { font-family: var(--num); font-weight: 700; font-size: 5rem; line-height: 0.9; color: var(--beacon); margin: 0; }
.step-label { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin: 8px 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); display: inline-block; }
.step-text p:last-child { color: var(--soft); max-width: 560px; }

/* Numbers */
.numbers { background: var(--ink); color: var(--paper); padding: 72px 0; }
.numbers h2 { color: var(--paper); }
.numbers-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: center; }
.calc { margin: 28px 0 0; display: grid; gap: 0; }
.calc-row { padding: 16px 0; border-top: 1px solid #4a4339; }
.calc dt { font-weight: 800; }
.calc dd { margin: 4px 0 0; color: var(--dust); }
.unit { display: inline-block; min-width: 64px; font-family: var(--num); font-weight: 700; font-size: 1.6rem; color: var(--beacon); }
.sheet-dark { background: var(--paper); border-color: var(--paper); box-shadow: 8px 8px 0 var(--beacon); }

/* Gallery */
.gallery { padding: 72px 0; }
.gallery-row { list-style: none; padding: 0; margin: 28px 0 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 56px; }
.caption { margin-top: 16px; font-weight: 800; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.more { padding: 20px 20px 4px 0; }
.more + .more { padding-left: 20px; border-left: 1px solid var(--line); }
.more h3 { font-size: 1.05rem; }
.more p { color: var(--soft); font-size: 0.95rem; }

/* Limits */
.limits { background: var(--sunk); padding: 56px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.limits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li { padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); position: relative; font-weight: 800; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 22px; height: 6px; background: var(--hazard); }

/* FAQ */
.faq { padding: 72px 0; }
details { border-bottom: 2px solid var(--ink); }
summary { cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 1.1rem; min-height: 44px; }
details p { color: var(--soft); }
.final { margin-top: 48px; padding: 28px; background: var(--card); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--beacon); }
.final-title { font-weight: 800; font-size: 1.4rem; }

/* Legal and guide pages */
.page { padding: 48px 0 72px; }
.legal h2 { font-size: 1.3rem; margin-top: 36px; padding-top: 14px; border-top: 2px solid var(--ink); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.small { font-size: 0.9rem; color: var(--soft); }
.guide-steps { counter-reset: s; list-style: none; padding: 0 !important; }
.guide-steps li { counter-increment: s; position: relative; padding: 4px 0 14px 56px; }
.guide-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -4px; font-family: var(--num); font-weight: 700; font-size: 2rem; color: var(--beacon); }
.contact-box { margin: 32px 0; padding: 22px; background: var(--card); border: 2px solid var(--ink); }

/* Footer */
.foot { background: var(--ink); color: var(--dust); }
.foot a { color: var(--beacon); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 28px; }
.foot-name { display: flex; align-items: center; gap: 10px; color: var(--paper); font-weight: 800; font-size: 1.1rem; }
.foot-label { color: var(--paper); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.foot-text { font-size: 0.92rem; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 6px; }
.foot-base { border-top: 1px solid #4a4339; padding-top: 16px; padding-bottom: 24px; font-size: 0.85rem; }

@media (max-width: 900px) {
  .hero-grid, .numbers-grid, .limits-grid { grid-template-columns: 1fr; }
  .hero-shots { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-shots .sheet { position: static; width: auto; }
  .step, .step-flip { grid-template-columns: 1fr; gap: 24px; }
  .step-flip .step-text { order: 0; }
  .step .sheet, .numbers .sheet { max-width: 320px; }
  .gallery-row { grid-template-columns: repeat(2, minmax(0, 320px)); gap: 32px; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .more:nth-child(3) { padding-left: 0; border-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 48px; }
  .hero-shots { grid-template-columns: 1fr; }
  .hero-shots .sheet-back { display: none; }
  .hero-shots .sheet, .step .sheet, .numbers .sheet, .gallery .sheet { max-width: 260px; box-shadow: 6px 6px 0 var(--ink); }
  .numbers .sheet { box-shadow: 6px 6px 0 var(--beacon); }
  .gallery-row { grid-template-columns: 1fr; gap: 32px; }
  .more-grid { grid-template-columns: 1fr; }
  .more, .more + .more { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step-no { font-size: 3.6rem; }
  .nav a { padding: 10px 8px; }
  .final { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
