/* Origen — Archetype 01 · Cream Editorial */
:root {
  --bg: #f2ebe0;
  --paper: #faf6ef;
  --ink: #241611;
  --ink-2: #4a3a30;
  --mute: #86766a;
  --line: rgba(36, 22, 17, .14);
  --accent: #b4532a;
  --leaf: #4d5a33;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 48px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); }
::selection { background: var(--accent); color: var(--paper); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
em { font-style: italic; }
.center { text-align: center; }

/* Tipografía */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
.h2 em { color: var(--accent); }
.h2.big { font-size: clamp(48px, 7vw, 104px); }
.sub { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 52ch; margin-top: 20px; }
.head { margin-bottom: clamp(40px, 6vw, 72px); }
.head.center .sub { margin-inline: auto; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .45s var(--ease), background .3s, color .3s, box-shadow .4s; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); box-shadow: 0 16px 36px -14px rgba(180, 83, 42, .7); }
.btn-line { border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-cream { background: var(--paper); color: var(--ink); }
.btn-cream:hover { background: var(--accent); color: var(--paper); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .4s, box-shadow .4s; }
.nav.is-scrolled { background: rgba(242, 235, 224, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: grid; line-height: 1; }
.brand-name { font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 400; letter-spacing: -.02em; }
.brand-sub { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.menu { display: none; margin-left: auto; gap: 30px; align-items: center; font-size: 14px; font-weight: 600; }
.menu a { position: relative; }
.menu a:not(.menu-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.menu a:not(.menu-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.menu-cta { background: var(--ink); color: var(--paper); padding: 11px 20px; border-radius: 999px; }
.burger { margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 7px; }
.burger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.menu-open .menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: 78px; left: 0; right: 0; bottom: 0; padding: 20px var(--gut); background: var(--bg); font-family: var(--serif); font-size: 32px; font-weight: 300; }
.menu-open .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-open .menu .menu-cta { margin-top: 20px; text-align: center; font-family: var(--sans); font-size: 16px; font-weight: 700; padding: 16px; }

/* Hero */
.hero { padding-top: 120px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; padding-bottom: 60px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(180, 83, 42, .5); } 100% { box-shadow: 0 0 0 10px rgba(180, 83, 42, 0); } }
.hero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5.8vw, 86px); line-height: .98; letter-spacing: -.03em; margin: 26px 0 26px; font-variation-settings: "opsz" 144; }
.hero-title em { color: var(--accent); font-weight: 300; }
.hero-lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-media { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; box-shadow: 0 50px 90px -40px rgba(36, 22, 17, .55); }
.seal { position: absolute; top: -20px; left: -24px; width: 138px; height: 138px; animation: spin 26s linear infinite; }
.seal text { font: 700 14.5px var(--sans); letter-spacing: .18em; fill: var(--ink); }
.seal .seal-core { fill: var(--accent); }
.seal .seal-num { font: 400 26px var(--serif); letter-spacing: 0; fill: var(--paper); }
@keyframes spin { to { transform: rotate(360deg); } }
.label-card { position: absolute; right: -8px; bottom: 34px; width: 230px; padding: 18px 18px 16px; background: var(--paper); border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(36, 22, 17, .45); transition: transform .3s; font-size: 13px; }
.lc-top { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 10px; }
.label-card dl div, .bag dl div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.label-card dt, .bag dt { color: var(--mute); }
.label-card dd, .bag dd { font-weight: 600; text-align: right; }
.lc-notes { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--paper); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marq 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* Cifras */
.figures { padding: clamp(56px, 8vw, 96px) 0; }
.figures-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
.fig b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -.03em; }
.fig > span { display: block; color: var(--mute); font-size: 14px; margin-top: 8px; }

/* Historia */
.story { padding: clamp(60px, 9vw, 120px) 0 0; }
.story-grid { display: grid; gap: 24px; }
.lede { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -.01em; margin-bottom: 26px; }
.lede em { color: var(--accent); }
.drop { float: left; font-size: 3.4em; line-height: .78; padding: .06em .12em 0 0; font-style: italic; color: var(--accent); }
.story-text > p:not(.lede) { color: var(--ink-2); max-width: 62ch; font-size: 17px; }
.pillars { display: grid; gap: 1px; margin-top: 40px; background: var(--line); border-block: 1px solid var(--line); }
.pillars li { background: var(--bg); padding: 22px 0; display: grid; gap: 4px; }
.pillars b { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.pillars span { color: var(--mute); }
.wide { margin-top: clamp(56px, 8vw, 110px); }
.wide-img { height: clamp(340px, 62vw, 760px); }
.wide figcaption { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--mute); padding-top: 14px; padding-bottom: 14px; }

/* Orígenes */
.origins { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); }
.bags { display: grid; gap: 22px; }
.bag { --tone: var(--accent); position: relative; background: var(--bg); border-radius: 22px; padding: 28px 26px 24px; border-top: 10px solid var(--tone); box-shadow: 0 30px 60px -44px rgba(36, 22, 17, .5); transition: transform .3s, box-shadow .5s; font-size: 14px; }
.bag:hover { box-shadow: 0 40px 80px -40px rgba(36, 22, 17, .55); }
.bag header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.bag-no { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--mute); }
.score { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 1.5px solid var(--tone); color: var(--tone); font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1; }
.score b { font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: 0; }
.bag h3 { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: .95; letter-spacing: -.02em; margin-bottom: 22px; }
.bag h3 em { color: var(--tone); }
.bag dl { border-top: 1px solid var(--line); padding-top: 10px; }
.notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.notes li { padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.roast { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: 12px; color: var(--mute); }
.roast i { position: relative; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #d9b98c, #9a6232 50%, #3b2317); }
.roast i::after { content: ""; position: absolute; top: 50%; left: calc(var(--r) * 100%); width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); transform: translate(-50%, -50%); }
.bag footer { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.bag footer b { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.bag footer b::after { content: " · 250 g"; font-family: var(--sans); font-size: 12px; color: var(--mute); }

/* Tueste */
.roasting { padding: clamp(80px, 11vw, 150px) 0; }
.roast-grid { display: grid; gap: 56px; align-items: center; }
.steps { margin-top: 36px; display: grid; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.steps b { font-size: 17px; }
.steps p { color: var(--mute); font-size: 15px; margin-top: 2px; }
.curve { background: var(--ink); color: var(--paper); border-radius: 26px; padding: 22px 22px 18px; box-shadow: 0 50px 90px -40px rgba(36, 22, 17, .7); }
.curve figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; margin-bottom: 8px; }
.curve svg { width: 100%; height: auto; overflow: visible; }
.grid-lines line { stroke: rgba(250, 246, 239, .08); }
.zones rect { opacity: .5; }
.z1 { fill: rgba(217, 185, 140, .08); } .z2 { fill: rgba(180, 83, 42, .10); } .z3 { fill: rgba(180, 83, 42, .22); } .z4 { fill: rgba(122, 59, 82, .18); }
.zone-labels text, .axis text { font: 600 12px var(--sans); fill: rgba(250, 246, 239, .6); }
.bt, .ror { fill: none; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.6s cubic-bezier(.65, 0, .35, 1); }
.bt { stroke: #e8a06f; stroke-width: 3.5; }
.ror { stroke: rgba(250, 246, 239, .45); stroke-width: 2; stroke-dasharray: 6 8; stroke-dashoffset: 0; opacity: 0; transition: opacity 1.4s 1.2s; }
.is-in .bt { stroke-dashoffset: 0; }
.is-in .ror { opacity: 1; }
.crack { fill: var(--accent); stroke: var(--paper); stroke-width: 3; opacity: 0; transform-origin: 430px 106px; transform: scale(0); transition: transform .6s 2.2s var(--ease), opacity .3s 2.2s; }
.crack-t { font: 700 13px var(--sans); fill: var(--paper); opacity: 0; transition: opacity .5s 2.4s; }
.is-in .crack { opacity: 1; transform: scale(1); }
.is-in .crack-t { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; opacity: .8; margin-top: 8px; }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.l-bt { background: #e8a06f; } .l-ror { background: rgba(250, 246, 239, .5); }
.levels { display: grid; gap: 36px; align-items: center; margin-top: clamp(70px, 9vw, 120px); }
.levels-img { border-radius: 26px; overflow: hidden; }
.levels-img img { width: 100%; }
.quote { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 42px); line-height: 1.2; letter-spacing: -.01em; }
.quote em { color: var(--accent); }
.sign { margin-top: 16px; color: var(--mute); font-size: 14px; }

/* Suscripción */
.subs { padding: clamp(80px, 11vw, 150px) 0; background: var(--leaf); color: var(--paper); }
.subs .eyebrow { color: #e6c79a; }
.subs .h2 em { color: #e6c79a; }
.subs .sub { color: rgba(250, 246, 239, .78); }
.plans { display: grid; gap: 20px; }
.plan { position: relative; padding: 32px 28px; border-radius: 24px; border: 1px solid rgba(250, 246, 239, .2); display: flex; flex-direction: column; gap: 14px; transition: transform .5s var(--ease), background .4s; }
.plan:hover { transform: translateY(-6px); background: rgba(250, 246, 239, .05); }
.plan h3 { font-family: var(--serif); font-size: 36px; font-weight: 300; font-style: italic; }
.plan-d { opacity: .75; font-size: 15px; margin-top: -8px; }
.price b { font-family: var(--serif); font-size: 52px; font-weight: 300; letter-spacing: -.02em; }
.price span { opacity: .7; margin-left: 6px; }
.plan ul { flex: 1; display: grid; gap: 10px; margin-bottom: 10px; }
.plan li { padding-left: 24px; position: relative; font-size: 15px; }
.plan li::before { content: "✺"; position: absolute; left: 0; color: #e6c79a; font-size: 12px; top: 2px; }
.plan .btn-line { border-color: rgba(250, 246, 239, .6); color: var(--paper); }
.plan .btn-line:hover { background: var(--paper); color: var(--ink); }
.plan-hl { background: var(--ink); border-color: transparent; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.plan-hl:hover { background: var(--ink); }
.ribbon { position: absolute; top: -12px; right: 24px; background: #e6c79a; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }

/* B2B */
.b2b { padding: clamp(80px, 11vw, 150px) 0; }
.b2b-grid { display: grid; gap: 56px; align-items: center; }
.b2b-media { position: relative; min-height: 420px; }
.b2b-media figure { position: absolute; overflow: hidden; border-radius: 22px; box-shadow: 0 40px 70px -40px rgba(36, 22, 17, .6); }
.b2b-media img { width: 100%; height: 100%; object-fit: cover; }
.m1 { top: 0; left: 0; width: 72%; aspect-ratio: 4 / 5; }
.m2 { bottom: 0; right: 0; width: 56%; aspect-ratio: 1; border: 8px solid var(--bg); }
.svc { margin: 34px 0; }
.svc li { padding: 18px 0; border-top: 1px solid var(--line); }
.svc b { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.svc p { color: var(--mute); margin-top: 2px; }

/* Testimonios */
.voices { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.quotes { display: grid; gap: 36px; margin-top: 20px; }
.quotes p { font-family: var(--serif); font-weight: 300; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.35; }
.quotes cite { display: block; margin-top: 16px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* FAQ */
.faq { padding: clamp(80px, 11vw, 150px) 0; }
.faq-grid { display: grid; gap: 48px; }
.faq-img { margin-top: 36px; border-radius: 22px; overflow: hidden; display: none; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; position: relative; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--accent); transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--ink-2); padding: 0 40px 24px 0; }

/* Pedido */
.order { padding: clamp(80px, 11vw, 150px) 0; background: var(--ink); color: var(--paper); }
.order .eyebrow { color: #e8a06f; }
.order .h2 em { color: #e8a06f; }
.order .sub { color: rgba(250, 246, 239, .75); }
.order-grid { display: grid; gap: 48px; align-items: start; }
.contact-list { margin-top: 36px; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .55; }
.contact-list a { text-decoration: underline; text-underline-offset: 4px; }
.form { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form-ok { color: var(--leaf); font-weight: 700; }

/* Footer */
.footer { padding: 56px 0 30px; background: var(--ink); color: rgba(250, 246, 239, .72); border-top: 1px solid rgba(250, 246, 239, .1); font-size: 14px; }
.foot-grid { display: grid; gap: 24px; margin-bottom: 26px; }
.footer .brand-name { color: var(--paper); display: block; margin-bottom: 6px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a:hover { color: var(--paper); }

/* Responsive */
@media (min-width: 720px) {
  .figures-grid { grid-template-columns: repeat(4, 1fr); }
  .bags { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); background: none; gap: 28px; border: 0; }
  .pillars li { border-top: 1px solid var(--line); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr auto auto; align-items: center; }
  .levels { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}
@media (min-width: 960px) {
  .menu { display: flex; }
  .burger { display: none; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; min-height: calc(100svh - 190px); }
  .story-grid { grid-template-columns: 1fr 3fr; gap: 64px; }
  .bags { grid-template-columns: repeat(3, 1fr); }
  .roast-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .b2b-grid { grid-template-columns: 1fr 1fr; gap: 90px; }
  .b2b-media { min-height: 600px; }
  .faq-grid { grid-template-columns: 1fr 1.3fr; gap: 90px; }
  .faq-img { display: block; }
  .order-grid { grid-template-columns: 1fr 1fr; gap: 90px; }
}
@media (max-width: 539px) {
  .label-card { width: 200px; right: -4px; bottom: 18px; padding: 14px; }
  .seal { width: 110px; height: 110px; left: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .seal { animation: none; }
}
