/* J&M Distrib — palette from the logo */
:root {
  --brown-900: #3a2003;
  --brown-700: #5d3302;
  --brown-500: #815c32;
  --brown-300: #c0ad98;
  --cream-100: #faf6f1;
  --cream-200: #f1e9df;
  --ink: #2a211a;
  --ink-soft: #5a4d42;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(58, 32, 3, .10);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream-100); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-700); }
h1, h2, h3 { font-family: var(--serif); color: var(--brown-900); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--white); }
.section__intro { max-width: 680px; color: var(--ink-soft); margin-bottom: 40px; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-500); font-weight: 600; margin-bottom: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, transform .2s; cursor: pointer; font-size: 1rem; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brown-700); color: var(--white); }
.btn--primary:hover { background: var(--brown-900); }
.btn--ghost { border-color: currentColor; color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--small { padding: 9px 18px; font-size: .95rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(250, 246, 241, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cream-200); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header__logo img { height: 46px; width: auto; }
.header__name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .06em; color: var(--brown-700); line-height: 1.1; }
.header__name small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown-500); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--brown-500); }
.header__call { display: none; }

/* Hero */
.hero { position: relative; color: var(--white); min-height: min(86vh, 720px); display: grid; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 16, 2, .88) 0%, rgba(30, 16, 2, .65) 50%, rgba(30, 16, 2, .25) 100%); }
.hero__content { position: relative; z-index: 1; max-width: 620px; padding: 64px 0; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); }
.hero__lead { font-size: 1.15rem; color: #f1e9df; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .eyebrow { color: var(--brown-300); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: -56px 0 0; padding: 0; list-style: none; position: relative; z-index: 2; }
.benefit { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.benefit__icon { font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 6px; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--cream-100); border-radius: var(--radius); overflow: hidden; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 24px; }
.card__body p { color: var(--ink-soft); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px 24px 24px; border-top: 3px solid var(--brown-500); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-size: 2.6rem; color: var(--brown-300); line-height: 1; display: block; margin-bottom: 8px; }
.step p { color: var(--ink-soft); margin: 0; }

/* Split (products / about) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.list-check { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--brown-500); font-weight: 700; }
.note { font-size: .9rem; color: var(--ink-soft); }

/* Area */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { background: var(--white); border: 1px solid var(--cream-200); border-radius: 999px; padding: 6px 16px; font-size: .95rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--white); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(58, 32, 3, .05); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brown-500); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact__info address { font-style: normal; }
.contact__line { display: flex; gap: 12px; margin-bottom: 14px; }
.contact__line a { font-weight: 600; text-decoration: none; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brown-700); color: var(--white); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__full { grid-column: 1 / -1; }
.form label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--brown-300); border-radius: 10px; font: inherit; background: var(--cream-100); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brown-500); border-color: transparent; }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { justify-self: start; }
.form__legal { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--brown-900); color: var(--cream-200); padding: 40px 0; font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer a { color: var(--cream-200); }

/* Legal page */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Responsive */
@media (max-width: 900px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: 1fr; }
  .split, .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header__call { display: inline-flex; }
  .header__logo img { height: 40px; }
  .header__name { font-size: 1.15rem; }
  .hero::after { background: rgba(30, 16, 2, .72); }
  .benefits { grid-template-columns: 1fr; margin-top: -32px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
