/* Felvessa — main stylesheet
   Colours: off-white, dark green, anthracite. No external fonts (faster on mobile). */

:root {
  --bg: #f6f4ee;
  --bg-alt: #eceae2;
  --surface: #ffffff;
  --green: #1f3d2f;
  --green-dark: #152b21;
  --green-soft: #dfe7e1;
  --ink: #2b2e30;
  --ink-soft: #55595c;
  --line: #d9d6cc;
  --focus: #b5862b;
  --radius: 10px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; }

.nav-toggle {
  display: none;
  align-items: center; gap: 8px;
  min-height: 46px; padding: 0 14px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle-bars { width: 20px; height: 14px; position: relative; display: inline-block; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px;
}
.site-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.site-nav .nav-cta a { background: var(--green); color: #fff; margin-left: 8px; border-radius: 8px; box-shadow: none; }
.site-nav .nav-cta a:hover { background: var(--green-dark); color: #fff; }

@media (max-width: 880px) {
  .js .nav-toggle { display: inline-flex; }
  .site-nav { width: 100%; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.06); }
  .js .site-nav.is-open { display: block; }
  .header-inner { flex-wrap: wrap; position: relative; }
  .js .header-inner { flex-wrap: nowrap; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .site-nav a { display: flex; width: 100%; min-height: 52px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
  .site-nav a[aria-current="page"] { box-shadow: none; font-weight: 700; }
  .site-nav .nav-cta a { margin: 14px 0 0; justify-content: center; border-radius: 8px; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  border-radius: 8px; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--bg); color: var(--green-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
@media (max-width: 600px) { .section { padding: 52px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.hero-points li { padding-left: 28px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-tiles a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; text-decoration: none; color: var(--ink); }
.hero-tiles a:hover { border-color: var(--green); }
.hero-tiles img { aspect-ratio: 1 / 1; width: 100%; object-fit: contain; }
.hero-tiles span { display: block; font-size: .9rem; font-weight: 600; padding: 8px 4px 2px; }
@media (max-width: 880px) {
  .hero { padding: 40px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.product-card:hover { border-color: var(--green); }
.product-card .media { background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px; }
.product-card .media img { aspect-ratio: 1 / 1; width: 100%; object-fit: contain; }
.product-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: .4em; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }
.product-card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.product-card .more { font-weight: 600; color: var(--green); }

.image-note { font-size: .88rem; color: var(--ink-soft); margin-top: 18px; }

/* ---------- Feature / step lists ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card p { color: var(--ink-soft); margin: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe7e1; max-width: 40em; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

/* ---------- Page header & breadcrumb ---------- */
.page-head { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--ink-soft); max-width: 44em; font-size: 1.1rem; margin: 0; }
.breadcrumb { font-size: .92rem; margin-bottom: 14px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 40px 0 16px; }
.product-figure { margin: 0; }
.product-figure .frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.product-figure img { aspect-ratio: 1 / 1; width: 100%; object-fit: contain; }
.product-figure figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; }
.product-summary .lead { font-size: 1.15rem; }
.product-summary .btn-row { margin-top: 24px; }
.tag-list { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: var(--green-soft); color: var(--green-dark); padding: 6px 12px; border-radius: 999px; font-size: .92rem; font-weight: 600; }
@media (max-width: 880px) {
  .product-detail { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.note { background: var(--surface); border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 0 8px 8px 0; color: var(--ink-soft); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
@media (max-width: 520px) { .form-card { padding: 20px; } }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #b9b6ac; border-radius: 8px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(31,61,47,.2); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.req { color: #9b2c1f; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status.is-error { color: #9b2c1f; font-weight: 600; }
.form-status.is-info { background: var(--green-soft); padding: 14px 16px; border-radius: 8px; }
.form-fallback { margin-top: 16px; }
.form-fallback textarea { width: 100%; min-height: 180px; font: inherit; font-size: .95rem; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; }
.contact-list a { font-weight: 600; word-break: break-word; }

[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d6d8d9; padding: 52px 0 28px; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-brand { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #44484b; margin-top: 36px; padding-top: 20px; font-size: .88rem; color: #a9adb0; }

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