/* Crosscut — design system */
:root {
  --bg: #f7f3ec;
  --surface: #ffffff;
  --surface-2: #efe8dc;
  --ink: #1d1a16;
  --ink-2: #4a443c;
  --muted: #7a7268;
  --line: #e2d9ca;
  --wood: #9a5b2c;
  --wood-dark: #6e3f1c;
  --sage: #5d6b4f;
  --sage-soft: #e4e9dc;
  --dark: #1f1c18;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(40, 28, 15, .06), 0 8px 24px rgba(40, 28, 15, .07);
  --shadow-lg: 0 18px 50px rgba(40, 28, 15, .16);
  --max: 1200px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood-dark); text-underline-offset: 3px; }
a:hover { color: var(--wood); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--dark); color: #e9e2d6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); margin-bottom: 14px; }
.section--dark .eyebrow { color: #d9a46f; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--wood); color: #fff; box-shadow: 0 6px 18px rgba(154, 91, 44, .3); }
.btn-primary:hover { background: var(--wood-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-2); color: var(--ink); }
.btn-whatsapp { background: #1f9d55; color: #fff; }
.btn-whatsapp:hover { background: #17834a; color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Announcement + header */
.topbar { background: var(--ink); color: #f1e9dc; font-size: .85rem; text-align: center; padding: 9px 16px; }
.topbar a { color: #f3c48f; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(40, 28, 15, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { height: 34px; width: auto; display: block; }
.logo-sub { font-size: .6rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); line-height: 1; white-space: nowrap; }
@media (max-width: 400px) { .logo img { height: 26px; } .logo-sub { font-size: .54rem; } }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .94rem; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  /* backdrop-filter would trap the fixed drawer inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn-shop { display: none; }
  .nav-links { position: fixed; inset: 0 0 0 auto; top: 0; width: min(320px, 86vw); flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface); padding: 96px 20px 24px; box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .3s ease; z-index: 60; }
  .nav-links a { padding: 13px 16px; font-size: 1.05rem; border-radius: 12px; }
  .menu-open .nav-links { transform: none; }
  .nav-links .mobile-only { display: block; margin-top: 12px; }
  .menu-toggle { position: relative; z-index: 70; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(20, 15, 10, .4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
  .menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }
}
@media (min-width: 981px) { .mobile-only { display: none; } .nav-backdrop { display: none; } }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--wood); font-weight: 500; }
.hero .lead { margin-bottom: 30px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; left: -24px; bottom: 32px; background: var(--surface); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; max-width: 260px; }
.hero-badge b { font-family: var(--font-serif); font-size: 2rem; color: var(--wood); line-height: 1; }
.hero-badge span { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.hero-chip { position: absolute; right: 20px; top: 20px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero-chip i { width: 8px; height: 8px; border-radius: 50%; background: #3a9b5c; display: inline-block; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--ink-2); font-size: .92rem; list-style: none; padding: 0; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--sage); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 12px; bottom: -22px; }
}

/* Page hero (inner pages) */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 28px 24px; }
.stat b { display: block; font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; display: block; text-decoration: none; color: #fff; background: var(--surface-2); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(18,12,6,.78)); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .cat-label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.cat-card h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.cat-card small { opacity: .85; font-size: .84rem; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Product grid */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 9px 16px; font-size: .9rem; font-weight: 500; cursor: pointer; font-family: inherit; transition: all .2s; text-decoration: none; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .count { opacity: .6; margin-left: 4px; font-size: .8rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #f2ede4; }
.product figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover figure img { transform: scale(1.04); }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wood); font-weight: 600; margin-bottom: 6px; }
.product h3 { font-family: var(--font-sans); font-size: 1.04rem; font-weight: 600; margin-bottom: 6px; letter-spacing: 0; }
.product p { font-size: .9rem; color: var(--muted); line-height: 1.5; flex: 1; margin-bottom: 14px; }
.product .btn { align-self: flex-start; }
.product[hidden] { display: none; }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .product h3 { font-size: .92rem; }
  .product p { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .product-cat { font-size: .7rem; }
  .product .btn { padding: 8px 12px; font-size: .8rem; }
}

/* Feature / value cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.section--dark .card { background: #2a2620; box-shadow: none; }
.section--dark .card p { color: #c9c0b2; }
.section--dark .icon { background: #3a3329; color: #e5b47e; }

.media-stack { position: relative; }
.media-stack img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg); }
.media-stack .inset { position: absolute; width: 42%; right: -18px; bottom: -32px; border: 6px solid var(--bg); aspect-ratio: 1; border-radius: 18px; }
@media (max-width: 900px) { .media-stack .inset { right: 12px; } }
.checklist { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist svg { width: 22px; height: 22px; color: var(--sage); flex: none; margin-top: 2px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #2a221b, #4a3220); color: #f3ece1; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(217,164,111,.35), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9cfc1; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--wood); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); }
.faq .answer p { margin: 0; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .86rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .3s; }
.gallery a:hover figcaption, .gallery a:focus-visible figcaption { opacity: 1; }
.gallery figure { margin: 0; }
.lightbox { position: fixed; inset: 0; background: rgba(12, 9, 6, .92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 10px; width: auto; }
.lightbox p { color: #ddd; text-align: center; margin-top: 12px; font-size: .92rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { text-decoration: none; color: inherit; display: block; }
.contact-card:hover { color: inherit; }
.contact-card .card { height: 100%; transition: transform .2s, box-shadow .2s; }
.contact-card:hover .card { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card strong { display: block; font-size: 1.1rem; margin-top: 4px; word-break: break-word; color: var(--ink); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: inherit; transition: background .2s; }
.social a:hover { background: var(--wood); color: #fff; }
.social svg { width: 18px; height: 18px; }
.light-social a { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.article-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s; }
.article-card:hover { transform: translateY(-3px); color: inherit; }
.article-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.article-card .body { padding: 22px; }
.article-card h3 { font-size: 1.3rem; }
.article-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius-lg); margin: 8px 0 36px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.meta { color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { background: var(--dark); color: #bfb5a6; padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo img { height: 34px; }
.site-footer .logo-sub { color: #9b9284; }
.site-footer h4 { font-family: var(--font-sans); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #d6ccbd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #36302a; margin-top: 52px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #8f8679; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(31,157,85,.4); z-index: 40; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Mobile refinements */
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; background: var(--wood); }
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 24px; padding: 2px 20px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .page-hero .btn-row .btn { flex: 1 1 auto; }
}
