/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Pinyon Script"; font-weight: 400; font-display: swap; src: url("../fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --cream: #f6f1e7;
  --paper: #fbf8f2;
  --ink: #2b2622;
  --ink-soft: #5a524b;
  --olive: #5f6b2c;
  --olive-dark: #3d4720;
  --sage: #a9b56f;
  --wood: #b98a57;
  --line: #e2d9c8;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Brush Script MT", cursive;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(43, 38, 34, .35);
  --wrap: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.01em; text-wrap: balance; }
h2 { text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.script { font-family: var(--script); font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--olive); margin: 0 0 .3rem; line-height: 1.2; }
.script-light { color: var(--sage); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 500; color: var(--olive); margin-bottom: .8rem; }
.small { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  background: var(--olive); color: var(--paper);
  text-decoration: none; font-weight: 500; letter-spacing: .02em;
  border: 1.5px solid var(--olive);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--olive-dark); border-color: var(--olive-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-light { background: var(--cream); color: var(--olive-dark); border-color: var(--cream); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--olive-dark); }
.btn-sm { padding: .5rem 1.15rem; font-size: .95rem; }
.btn-whatsapp { background: #1f7a4d; border-color: #1f7a4d; }
.btn-whatsapp:hover { background: #17603c; border-color: #17603c; }
.btn svg { width: 1.2em; height: 1.2em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.cta-row.center { justify-content: center; }
.text-link { color: var(--olive); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--olive-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 30px; height: 40px; }
.brand-name { font-family: var(--serif); font-size: 1.85rem; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { text-decoration: none; font-size: .98rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--olive); transition: right .25s; }
.nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34ch; }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--wood); border-radius: var(--radius); z-index: -1;
}

/* ---------- Values ---------- */
.values { background: var(--paper); border-block: 1px solid var(--line); padding: 3rem 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.value svg { width: 44px; height: 44px; color: var(--olive); margin-bottom: .8rem; }
.value h3 { font-size: 1.45rem; margin-bottom: .3rem; }
.value p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-head p:last-child { color: var(--ink-soft); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 960px; margin-inline: auto; }
.product {
  display: grid; grid-template-columns: 42% 1fr;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product picture { background: #e9e1d1; }
.product img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 1.8rem 1.6rem; display: flex; flex-direction: column; align-items: flex-start; }
.product-body p { color: var(--ink-soft); font-size: .98rem; }
.product-body .text-link { margin-top: auto; }
.weight {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  color: var(--olive); border: 1px solid var(--olive); border-radius: 999px;
  padding: .05rem .8rem; margin-bottom: .9rem;
}

/* ---------- Festive ---------- */
.festive { background: var(--olive-dark); color: var(--cream); padding: clamp(4rem, 8vw, 6.5rem) 0; overflow: hidden; position: relative; }
.festive::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 12% 20%, rgba(214, 180, 92, .35) 0 1.5px, transparent 2px),
                    radial-gradient(circle at 70% 80%, rgba(214, 180, 92, .3) 0 1.5px, transparent 2px),
                    radial-gradient(circle at 40% 60%, rgba(214, 180, 92, .25) 0 1px, transparent 1.5px);
  background-size: 180px 180px, 240px 240px, 130px 130px;
}
.festive-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; position: relative; }
.festive h2 { color: var(--paper); }
.festive p { color: rgba(246, 241, 231, .85); }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.ticks li { padding-left: 1.8rem; position: relative; margin-bottom: .5rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.festive-media { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.festive-media img { border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); }
.festive-media .f1 { grid-column: 1 / 8; grid-row: 1; transform: rotate(-3deg); }
.festive-media .f2 { grid-column: 6 / 13; grid-row: 1; transform: rotate(3deg) translateY(2.5rem); border: 6px solid var(--cream); border-radius: calc(var(--radius) + 6px); }
.festive-media .f1 img { border: 6px solid var(--cream); border-radius: calc(var(--radius) + 6px); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 200px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 900px; margin-inline: auto; }
.story-mark { width: 100%; max-width: 180px; justify-self: center; }
.story p { color: var(--ink-soft); font-size: 1.1rem; }
.story em { font-family: var(--script); font-style: normal; font-size: 1.5em; color: var(--olive); }

/* ---------- Order ---------- */
.order { padding-top: 0; }
.order-card {
  text-align: center; max-width: 760px; margin-inline: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  box-shadow: var(--shadow);
}
.order-card > p { color: var(--ink-soft); max-width: 52ch; margin-inline: auto; }
.order-card .small { margin-top: 1.5rem; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 3.5rem 0 2rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; text-align: center; }
.footer-inner img { width: 210px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.8rem; }
.site-footer nav a { text-decoration: none; opacity: .8; }
.site-footer nav a:hover { opacity: 1; }
.legal { font-size: .85rem; opacity: .6; margin: 0; }

/* ---------- Reveal ---------- */
.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; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .festive-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-media::before { display: none; }
  .products { grid-template-columns: 1fr; max-width: 560px; }
  .festive-copy { text-align: center; }
  .ticks { display: inline-block; text-align: left; }
  .festive-media { max-width: 560px; margin: 1rem auto 2.5rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a:not(.btn) { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 1rem 1.25rem 1.25rem; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .values-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .value svg { margin-inline: auto; }
  .story-grid { grid-template-columns: 1fr; text-align: center; }
  .story-mark { max-width: 110px; }
}
@media (max-width: 520px) {
  .product { grid-template-columns: 1fr; }
  .product picture { aspect-ratio: 4 / 3; }
  .product img { object-position: center 65%; }
  .product-body { align-items: center; text-align: center; }
}
