@font-face {
  font-family: "Amatic SC";
  src: url("/assets/fonts/amatic-sc-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cabin";
  src: url("/assets/fonts/cabin-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --paper: #fafaf9;
  --paper-deep: #f1ede7;
  --sand: #e7d7be;
  --ochre: #a16207;
  --ochre-dark: #7c4a03;
  --leaf: #384c3b;
  --white: #fff;
  --line: #d6d3d1;
  --focus: #1c1917;
  --shadow-sm: 0 1px 2px rgb(28 25 23 / 0.06);
  --shadow-md: 0 12px 30px rgb(28 25 23 / 0.10);
  --shadow-lg: 0 30px 70px rgb(28 25 23 / 0.16);
  --radius-sm: 0.65rem;
  --radius: 1.15rem;
  --radius-lg: 2rem;
  --container: 76rem;
  --font-display: "Amatic SC", "Arial Narrow", sans-serif;
  --font-body: "Cabin", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; }
button, [role="button"], .button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { color: var(--white); background: var(--ochre-dark); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-sm);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 48rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section-sm { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section-dark { color: var(--white); background: var(--ink); }
.section-leaf { color: var(--white); background: var(--leaf); }
.section-sand { background: var(--paper-deep); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--ochre-dark);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { width: 2.3rem; height: 1px; content: ""; background: currentColor; }
.section-dark .eyebrow, .section-leaf .eyebrow { color: #efc885; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 0.98; text-wrap: balance; }
h1 { max-width: 13ch; font-size: clamp(3.9rem, 8vw, 7.7rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(3rem, 5.3vw, 5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(2rem, 3vw, 2.65rem); }
p { margin: 0 0 1.15rem; }
.lead { max-width: 58ch; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.65; }
.section-dark .lead, .section-leaf .lead { color: #e7e5e4; }
.text-link { color: var(--ochre-dark); font-weight: 700; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.75rem; }
.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ochre-dark); box-shadow: var(--shadow-sm); }
.button-primary:hover { background: #633b03; box-shadow: var(--shadow-md); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: #f5f5f4; }
.button-outline { border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--ink); }
.section-dark .button-outline, .section-leaf .button-outline { color: var(--white); border-color: rgb(255 255 255 / 0.5); }
.section-dark .button-outline:hover, .section-leaf .button-outline:hover { color: var(--ink); background: var(--white); }
.icon { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

.announcement { padding: 0.5rem 1rem; color: var(--white); background: var(--leaf); text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.site-header { position: relative; z-index: 100; border-bottom: 1px solid rgb(214 211 209 / 0.7); background: rgb(250 250 249 / 0.91); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 5.4rem; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 2.65rem; height: 2.65rem; }
.brand-name { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 0.9; }
.brand-name small { display: block; margin-top: 0.15rem; font-family: var(--font-body); font-size: 0.57rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a { position: relative; font-size: 0.91rem; font-weight: 700; text-decoration: none; }
.main-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -0.35rem; left: 0; height: 2px; content: ""; background: var(--ochre); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.main-nav > a[aria-current="page"]::after, .main-nav > a:hover::after { transform: scaleX(1); }
.menu-button { display: none; width: 3rem; height: 3rem; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; }

.hero { position: relative; isolation: isolate; min-height: min(48rem, calc(100vh - 7rem)); display: grid; align-items: end; overflow: hidden; color: var(--white); background: #261a12; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgb(16 12 9 / 0.93) 0%, rgb(16 12 9 / 0.63) 42%, rgb(16 12 9 / 0.08) 78%), linear-gradient(0deg, rgb(16 12 9 / 0.75), transparent 42%); }
.hero-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { padding-block: clamp(5rem, 10vw, 9rem); }
.hero .eyebrow { color: #f0c77c; }
.hero .lead { max-width: 48ch; margin-top: 1.2rem; color: #f5f5f4; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin: 2.3rem 0 0; padding: 0; list-style: none; color: #e7e5e4; font-size: 0.92rem; font-weight: 700; }
.hero-proof li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-proof svg { color: #efc885; }
.page-hero { position: relative; overflow: hidden; padding-block: clamp(5rem, 9vw, 8rem); color: var(--white); background: var(--ink); }
.page-hero::before { position: absolute; inset: auto -12rem -18rem auto; width: 36rem; height: 36rem; border: 1px solid rgb(255 255 255 / 0.16); border-radius: 48% 52% 64% 36%; content: ""; transform: rotate(28deg); }
.page-hero h1 { max-width: 14ch; }
.page-hero .eyebrow { color: #efc885; }
.page-hero .lead { margin-top: 1.35rem; color: #d6d3d1; }
.breadcrumbs { margin-bottom: 2rem; color: #d6d3d1; font-size: 0.87rem; }
.breadcrumbs a { color: #fff; }

.intro-grid, .split-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split-grid.reverse > :first-child { order: 2; }
.split-grid.reverse > :last-child { order: 1; }
.content-stack > * + * { margin-top: 1.25rem; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame.portrait img { aspect-ratio: 4 / 5; }
.media-note { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: 1rem; border: 1px solid rgb(255 255 255 / 0.24); border-radius: var(--radius); color: var(--white); background: rgb(28 25 23 / 0.72); backdrop-filter: blur(12px); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.stat { padding: clamp(1.5rem, 4vw, 2.7rem); background: var(--paper); }
.stat strong { display: block; color: var(--ochre-dark); font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 5.3rem); line-height: 0.9; }
.stat span { color: var(--ink-soft); font-weight: 700; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 5vw, 3.6rem); }
.section-heading > div { max-width: 48rem; }
.section-heading .lead { margin-top: 1rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.feature-card { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgb(255 255 255 / 0.55); box-shadow: var(--shadow-sm); transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.feature-card:hover { border-color: #a8a29e; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; margin-bottom: 1.3rem; border-radius: 50%; color: var(--white); background: var(--leaf); }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 2rem; }
.feature-card p:last-child { margin-bottom: 0; color: var(--ink-soft); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.product-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.product-card[hidden] { display: none; }
.product-visual { display: grid; min-height: 20rem; place-items: center; padding: 1.5rem; overflow: hidden; background: linear-gradient(145deg, #f4eee5, #e7d8c1); }
.product-visual img { width: 100%; height: 18rem; object-fit: contain; transition: transform 300ms ease; }
.product-card:hover .product-visual img { transform: translateY(-5px); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.product-tag { margin-bottom: 0.45rem; color: var(--ochre-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.product-card h2, .product-card h3 { margin-bottom: 0.65rem; font-size: 2.2rem; }
.product-card p { color: var(--ink-soft); }
.product-card .text-link { margin-top: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-button { min-height: 2.85rem; padding: 0.65rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; font-weight: 700; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.filter-button:hover, .filter-button.is-active { color: var(--white); border-color: var(--ink); background: var(--ink); }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: process; }
.process-card { position: relative; padding-top: 1.35rem; border-top: 1px solid rgb(255 255 255 / 0.35); counter-increment: process; }
.process-card::before { display: block; margin-bottom: 1.2rem; color: #efc885; content: "0" counter(process); font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.process-card h3 { margin-bottom: 0.7rem; font-size: 2rem; }
.process-card p { color: #d6d3d1; }

.quote-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(4rem, 8vw, 7rem); color: var(--white); background: var(--leaf); }
.quote-band::after { position: absolute; z-index: -1; inset: -40% auto auto 55%; width: 40rem; height: 40rem; border: 1px solid rgb(255 255 255 / 0.15); border-radius: 52% 48% 36% 64%; content: ""; transform: rotate(18deg); }
.quote-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: end; }
.quote-band h2 { max-width: 14ch; }
.quote-band .eyebrow { color: #efc885; }
.quote-band .lead { color: #e7e5e4; }

.rich-text { color: var(--ink-soft); }
.rich-text h2, .rich-text h3 { margin: 2.5rem 0 1rem; color: var(--ink); }
.rich-text h2 { font-size: clamp(2.7rem, 4vw, 4rem); }
.rich-text h3 { font-size: 2.25rem; }
.rich-text ul, .rich-text ol { margin: 0 0 1.5rem; padding-left: 1.3rem; }
.rich-text li + li { margin-top: 0.55rem; }
.rich-text strong { color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.5rem; color: #d6d3d1; font-size: 0.9rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.toc { position: sticky; top: 1.5rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.toc strong { display: block; margin-bottom: 0.8rem; }
.toc a { display: block; padding-block: 0.35rem; color: var(--ink-soft); font-size: 0.92rem; }

.form-card { padding: clamp(1.5rem, 4vw, 2.75rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, fieldset legend { font-size: 0.88rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #a8a29e;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--white);
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-note { margin: 0.75rem 0 0; color: var(--ink-soft); font-size: 0.84rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: flex; min-height: 3rem; align-items: center; gap: 0.7rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-weight: 700; cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
.choice input:checked + label { border-color: var(--ink); background: var(--sand); }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.swatch { width: 1.1rem; height: 1.1rem; border: 1px solid rgb(0 0 0 / 0.25); border-radius: 50%; background: var(--swatch); }
.customizer-summary { margin: 1.5rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--ochre); background: var(--paper-deep); }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 1.25rem 3rem 1.25rem 0; list-style: none; font-weight: 700; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { position: absolute; top: 1.2rem; right: 0.25rem; width: 1.5rem; height: 1.5rem; content: "+"; font-size: 1.5rem; line-height: 1; text-align: center; transition: transform 180ms ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { max-width: 65ch; padding: 0 2rem 1.4rem 0; color: var(--ink-soft); }

.footer { padding-block: 4rem 1.5rem; color: #e7e5e4; background: #151311; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 3rem; }
.footer .brand { color: var(--white); }
.footer p { max-width: 36ch; color: #a8a29e; }
.footer h2 { margin-bottom: 0.9rem; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { color: #d6d3d1; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid #292524; color: #a8a29e; font-size: 0.8rem; }
.whatsapp-float { position: fixed; z-index: 90; right: 1rem; bottom: 1rem; min-height: 3.5rem; color: var(--white); background: #176b3a; box-shadow: 0 12px 30px rgb(0 0 0 / 0.24); }
.whatsapp-float:hover { background: #10552d; }

[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-button { display: grid; }
  .main-nav { position: fixed; inset: calc(2.15rem + 5.4rem) 0 0; display: none; align-content: start; align-items: stretch; padding: 2rem 1rem; background: var(--paper); }
  .main-nav[data-open] { display: grid; grid-template-columns: 1fr; gap: 0; }
  .main-nav a { padding: 0.9rem 0.3rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav .button { margin-top: 1rem; color: var(--white); }
  .intro-grid, .split-grid, .quote-band-inner, .article-layout { grid-template-columns: 1fr; }
  .split-grid.reverse > :first-child, .split-grid.reverse > :last-child { order: initial; }
  .card-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { position: static; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--container)); }
  .announcement { font-size: 0.67rem; }
  .brand-name { font-size: 1.75rem; }
  .header-inner { min-height: 4.8rem; }
  .main-nav { inset-block-start: calc(2rem + 4.8rem); }
  .hero { min-height: 43rem; }
  .hero::after { background: linear-gradient(0deg, rgb(16 12 9 / 0.93) 0%, rgb(16 12 9 / 0.55) 78%, rgb(16 12 9 / 0.28)); }
  .hero-media { object-position: 58% center; }
  .button-row .button { width: 100%; }
  .section-heading { display: block; }
  .section-heading > .button { margin-top: 1.25rem; }
  .card-grid, .product-grid, .process-grid, .form-grid, .choice-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-visual { min-height: 17rem; }
  .product-visual img { height: 15rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { width: 3.5rem; padding: 0; }
  .whatsapp-float span { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .announcement, .site-header, .whatsapp-float, .button, .footer { display: none !important; }
  body { color: #000; background: #fff; }
  .section, .section-sm { padding-block: 1.5rem; }
}
