:root {
  --ink: #121212;
  --ink-2: rgba(18, 18, 18, 0.72);
  --muted: rgba(18, 18, 18, 0.6);
  --bg: #ffffff;
  --tint: #f5f3ef;
  --line: rgba(18, 18, 18, 0.12);
  --accent: #0f7c7a;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 10px;
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Assistant, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: 0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 750px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* header */
.announce { background: var(--ink); color: #fff; font-size: 0.82rem; text-align: center; padding: 8px 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.announce a { color: #fff; font-weight: 600; }
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { font-size: 1.35rem; font-weight: 600; text-decoration: none; color: inherit; letter-spacing: 0.01em; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: rgba(255,255,255,0.78); font-size: 0.95rem; padding: 6px 0; }
.nav a:hover, .nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; gap: 0; padding: 4px 16px 16px; border-top: 1px solid rgba(255,255,255,0.12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.actions.stack { flex-direction: column; align-items: stretch; max-width: 380px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }

/* hero */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: center; background: #222 center / cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.6)); }
.hero-inner { position: relative; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; text-transform: uppercase; letter-spacing: 0.02em; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 620px; margin: 0 auto; color: rgba(255,255,255,.9); }
.hero .actions { justify-content: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.hero .eyebrow { color: rgba(255,255,255,.85); }

/* sections */
.section { padding-top: 56px; padding-bottom: 56px; }
.section-tight { padding-bottom: 56px; }
@media (min-width: 750px) { .section { padding-top: 80px; padding-bottom: 80px; } }
.tint { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.page-head { padding-top: 40px; padding-bottom: 28px; }
.page-head h1 { margin-bottom: 0.25em; }
.about-strip { display: grid; gap: 32px; }
.mv { display: grid; gap: 16px; }
.mv > div { background: var(--tint); border-radius: var(--radius); padding: 22px 24px; }
.mv p { margin: 0; }
@media (min-width: 860px) { .about-strip { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; } }

.split { display: grid; gap: 28px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--tint); }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse > img { order: 2; }
}

/* slides */
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
@media (min-width: 750px) { .slides { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .slides { grid-auto-columns: calc((100% - 32px) / 3); } }
.slide { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; aspect-ratio: 4 / 3; background: #333; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; inset: auto 0 0 0; padding: 48px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; }
.slide figcaption p { font-weight: 600; font-size: 1.05rem; margin-bottom: 12px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 750px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { text-decoration: none; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-media { aspect-ratio: 1; background: var(--tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 12px 14px 16px; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.card-body .link { font-size: 0.88rem; color: var(--accent); font-weight: 600; }
.spool { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #eef3f2, #f5f3ef); color: var(--accent); }
.spool svg { width: 42%; max-width: 140px; }
.spool rect { fill: #d9cfc0; }
.spool rect.thread { fill: var(--accent); }
.spool .lines { stroke: rgba(255,255,255,.35); stroke-width: 2; fill: none; }
.spool span { font-weight: 700; color: var(--ink); font-size: 1rem; }

.search { display: block; max-width: 420px; margin-top: 18px; }
.search input { width: 100%; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 20px; font: inherit; color: var(--ink); background: #fff; }
.search input:focus { border-color: var(--ink); outline: none; }
.empty { margin-top: 24px; }

/* product page */
.crumbs { padding-top: 20px; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.product { display: grid; gap: 28px; padding-top: 20px; padding-bottom: 32px; }
@media (min-width: 860px) { .product { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.gallery { display: grid; gap: 12px; }
.gallery-main, .gallery .spool { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--tint); border-radius: var(--radius); }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--tint); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.chip { display: inline-block; background: var(--tint); border-radius: 999px; padding: 4px 14px; font-size: 0.9rem; color: var(--ink); }
.price { font-size: 1.15rem; color: var(--ink); font-weight: 600; margin: 8px 0 0; }
.mail-link { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 24px; color: var(--muted); font-size: 0.95rem; }
.mail-link svg { width: 18px; height: 18px; }
.prose { border-top: 1px solid var(--line); padding-top: 20px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }
.split .prose, .narrow.prose { border-top: 0; padding-top: 0; }
.narrow { max-width: 760px; }

/* contact */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 750px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: block; text-decoration: none; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.contact-card:hover { border-color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.contact-card svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 12px; }
.contact-card.wa svg { color: var(--wa); }
.contact-card h2 { font-size: 1.2rem; margin-bottom: 4px; }
.contact-card p { margin: 0; overflow-wrap: anywhere; }

/* cta band */
.cta-band { background: var(--ink); color: rgba(255,255,255,.85); padding: 48px 0; }
.cta-band h2 { color: #fff; }
.cta-inner { display: grid; gap: 8px; align-items: center; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-band .btn-ghost:hover { border-color: #fff; }
@media (min-width: 860px) { .cta-inner { grid-template-columns: 1fr auto; gap: 40px; } .cta-inner .actions { margin-top: 0; } }

/* footer */
.site-footer { background: #0b0b0b; color: rgba(255,255,255,.7); padding: 56px 0 24px; font-size: 0.95rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 8px; }
.site-footer .muted { color: rgba(255,255,255,.6); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1.3fr 1fr; } }
.footer-h { color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.plain, .contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.social svg { width: 18px; height: 18px; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.5); }

/* floating whatsapp */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-dark); }

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