:root {
  --cocoa: #2a1b17;
  --cocoa-soft: #5f493f;
  --cream: #fbf5eb;
  --cream-2: #f1e6d6;
  --paper: #fffdf9;
  --orange: #ef6d3d;
  --amber: #f5b94f;
  --coral: #d95945;
  --sage: #9bac73;
  --line: rgba(42, 27, 23, .16);
  --shadow: 0 24px 70px rgba(42, 27, 23, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--cocoa); font-family: var(--sans); line-height: 1.5; }
body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 100; padding: .8rem 1rem; border-radius: 999px; background: var(--amber); font-weight: 800; }
.skip-link:focus { top: 1rem; }

.announcement { background: var(--cocoa); color: var(--cream); font-size: .78rem; }
.announcement-inner { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 1rem; }
.announcement b { color: var(--amber); }
.announcement-note { color: #ddcabe; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(251, 245, 235, .93); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; width: 170px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; font-size: .84rem; font-weight: 800; }
.main-nav a { text-decoration: none; color: var(--cocoa-soft); }
.main-nav a:hover { color: var(--orange); }
.cart-trigger { display: inline-flex; min-height: 42px; align-items: center; gap: .6rem; padding: .55rem .8rem .55rem 1rem; border: 1px solid var(--cocoa); border-radius: 999px; background: var(--cocoa); color: var(--cream); font-size: .82rem; font-weight: 800; }
.cart-trigger:hover { background: var(--orange); border-color: var(--orange); }
.cart-count { display: grid; min-width: 23px; height: 23px; place-items: center; padding: 0 .35rem; border-radius: 99px; background: var(--amber); color: var(--cocoa); font-size: .72rem; }

.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; padding-top: clamp(4.5rem, 9vw, 8rem); padding-bottom: clamp(4.5rem, 8vw, 7rem); }
.kicker { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.25rem; color: var(--orange); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.kicker span { display: inline-block; width: 28px; height: 3px; border-radius: 99px; background: currentColor; }
.kicker-light { color: var(--amber); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { max-width: 660px; margin-bottom: 1.5rem; font-size: clamp(4.1rem, 9.3vw, 8.8rem); line-height: .8; }
.hero-lede { max-width: 520px; margin-bottom: 0; color: var(--cocoa-soft); font-size: clamp(1.04rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.1rem; border: 1px solid var(--cocoa); border-radius: 999px; font-size: .85rem; font-weight: 850; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cocoa); color: var(--cream); }
.button-primary:hover { border-color: var(--orange); background: var(--orange); }
.button-quiet { background: transparent; color: var(--cocoa); }
.button-quiet:hover { background: var(--amber); }
.pilot-card { display: flex; max-width: 520px; gap: .8rem; margin-top: 2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(241, 230, 214, .65); color: var(--cocoa-soft); font-size: .78rem; }
.pilot-card b { color: var(--cocoa); }
.pilot-dot { width: 10px; height: 10px; flex: 0 0 auto; margin-top: .35rem; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 5px rgba(155, 172, 115, .2); }

.hero-visual { position: relative; min-height: 540px; overflow: hidden; border-radius: 3rem .7rem 3rem 3rem; background: var(--cocoa); box-shadow: var(--shadow); }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(25deg, rgba(42, 27, 23, .78), transparent 58%); content: ""; pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.visual-caption { position: absolute; right: 1.4rem; bottom: 1.25rem; left: 1.4rem; z-index: 1; display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; color: var(--cream); }
.visual-caption span { grid-row: span 2; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(251, 245, 235, .45); border-radius: 50%; font-size: .72rem; }
.visual-caption b { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1; }
.visual-caption small { color: #dfd0c1; font-size: .7rem; }
.visual-sticker { position: absolute; top: 1.4rem; right: 1.4rem; z-index: 1; padding: 1rem 1.1rem; border-radius: 1rem 1rem 1rem .2rem; background: var(--amber); font-family: var(--serif); font-size: 1.35rem; line-height: .95; transform: rotate(4deg); }
.visual-sticker em { color: var(--coral); font-style: normal; }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 1.35rem; padding-bottom: 1.35rem; }
.proof-grid div { display: grid; gap: .2rem; }
.proof-grid b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.proof-grid span { color: var(--cocoa-soft); font-size: .74rem; }

.section { padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(5rem, 9vw, 8rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading h2, .dark-layout h2, .business-copy h2 { max-width: 690px; margin-bottom: 0; font-size: clamp(2.85rem, 5.3vw, 5.8rem); line-height: .87; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; max-width: 500px; }
.filter { padding: .58rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--cocoa-soft); font-size: .75rem; font-weight: 800; }
.filter:hover, .filter.is-active { border-color: var(--cocoa); background: var(--cocoa); color: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.product-card { display: flex; min-height: 370px; flex-direction: column; padding: 1rem; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--paper); }
.product-card.is-hidden { display: none; }
.product-art { position: relative; display: flex; min-height: 155px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-radius: .95rem; color: var(--cream); text-align: center; }
.product-art::before, .product-art::after { position: absolute; border-radius: 50%; content: ""; }
.product-art::before { width: 150px; height: 150px; right: -42px; bottom: -68px; background: var(--amber); }
.product-art::after { width: 65px; height: 65px; top: -24px; left: -15px; background: var(--orange); }
.product-art span, .product-art small { position: relative; z-index: 1; }
.product-art span { font-family: var(--serif); font-size: 2.1rem; line-height: .85; }
.product-art small { margin-top: .5rem; font-size: .62rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.art-pionono { background: #483029; }
.art-alfajor { background: #9a5b45; }
.art-alfajor::before { background: var(--cream-2); }
.art-chocolate { background: #3a2522; }
.art-chocolate::before { background: var(--sage); }
.art-crema { background: #b77b51; }
.art-crema::after { background: var(--amber); }
.art-platano { background: #6e7548; }
.art-platano::before { background: var(--amber); }
.art-marmoleado { background: #6e4b3f; }
.art-marmoleado::after { background: #df8c59; }
.product-label { display: flex; justify-content: space-between; gap: .5rem; margin-top: .9rem; color: var(--orange); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { margin: .55rem 0 0; font-family: var(--serif); font-size: 1.55rem; line-height: .92; font-weight: 500; }
.product-card p { margin: .65rem 0 1rem; color: var(--cocoa-soft); font-size: .82rem; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: .75rem; margin-top: auto; }
.product-bottom > span { max-width: 125px; color: var(--cocoa-soft); font-size: .68rem; line-height: 1.2; }
.add-button { padding: .62rem .78rem; border: 1px solid var(--cocoa); border-radius: 999px; background: var(--cocoa); color: var(--cream); font-size: .72rem; font-weight: 850; white-space: nowrap; }
.add-button:hover { border-color: var(--orange); background: var(--orange); }
.empty-state { display: none; margin: 1rem 0 0; padding: 1.2rem; border-radius: 1rem; background: var(--cream-2); color: var(--cocoa-soft); }
.empty-state.is-visible { display: block; }

.section-dark { background: var(--cocoa); color: var(--cream); }
.dark-layout { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.dark-lede { max-width: 460px; margin: 1.8rem 0 0; color: #ddcabe; font-size: 1.05rem; }
.steps { display: grid; gap: .75rem; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; padding: 1.1rem 0; border-top: 1px solid rgba(251, 245, 235, .2); }
.step:last-child { border-bottom: 1px solid rgba(251, 245, 235, .2); }
.step > b { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--orange); color: var(--cocoa); font-size: .72rem; }
.step h3 { margin: 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.step p { margin: .3rem 0 0; color: #ddcabe; font-size: .8rem; }

.business-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.business-copy > p:not(.kicker) { max-width: 530px; margin: 1.8rem 0; color: var(--cocoa-soft); font-size: 1rem; }
.text-link { display: inline-block; padding-bottom: .25rem; border-bottom: 2px solid var(--orange); color: var(--cocoa); font-weight: 850; text-decoration: none; }
.text-link:hover { color: var(--orange); }
.lead-form { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.45rem; background: var(--paper); box-shadow: 12px 18px 0 var(--cream-2); }
.form-heading { display: grid; gap: .35rem; padding-bottom: .4rem; }
.form-heading span, .drawer-kicker { color: var(--orange); font-size: .66rem; font-weight: 900; letter-spacing: .14em; }
.form-heading b { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: .95; }
label { display: grid; gap: .4rem; color: var(--cocoa-soft); font-size: .74rem; font-weight: 800; }
input, select { width: 100%; min-height: 45px; padding: .72rem .8rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--cream); color: var(--cocoa); font-size: .86rem; }
input::placeholder { color: #9e8d81; }
input:focus, select:focus { border-color: var(--orange); outline: 2px solid rgba(239, 109, 61, .2); }
.form-status { min-height: 1.25rem; margin: 0; color: var(--cocoa-soft); font-size: .76rem; }

.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); background: var(--cream-2); color: var(--cocoa-soft); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 2rem; padding-bottom: 3rem; }
.footer-grid > div { display: grid; align-content: start; gap: .4rem; }
.footer-logo { width: 155px; margin-bottom: .45rem; }
.footer-grid p { max-width: 230px; margin: 0; font-size: .8rem; }
.footer-grid b { margin-bottom: .25rem; color: var(--cocoa); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a, .footer-grid span { font-size: .8rem; text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .7rem; }

.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(42, 27, 23, .58); }
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 31; display: flex; width: min(470px, 100%); height: 100%; flex-direction: column; background: var(--cream); box-shadow: -24px 0 80px rgba(42, 27, 23, .2); transform: translateX(102%); transition: transform .25s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.5rem 1.1rem; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: .15rem 0 0; font-size: 2.35rem; line-height: .85; }
.icon-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--cocoa); font-size: 1.4rem; }
.icon-button:hover { background: var(--amber); }
.cart-content { overflow-y: auto; padding: 1.1rem 1.5rem 2rem; }
.cart-items { display: grid; gap: .65rem; }
.cart-empty { margin: .4rem 0 1rem; color: var(--cocoa-soft); font-size: .84rem; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: .7rem; align-items: center; padding: .8rem; border-radius: .85rem; background: var(--paper); }
.cart-item strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: .9; }
.cart-item small { display: block; margin-top: .35rem; color: var(--cocoa-soft); font-size: .7rem; }
.quantity { display: flex; align-items: center; gap: .45rem; }
.quantity button { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--cocoa); }
.quantity button:hover { background: var(--amber); }
.checkout-note { display: grid; gap: .15rem; margin: 1rem 0; padding: .85rem; border-left: 3px solid var(--sage); border-radius: .2rem .75rem .75rem .2rem; background: var(--cream-2); color: var(--cocoa-soft); font-size: .7rem; }
.checkout-note b { color: var(--cocoa); }
.checkout-form { display: grid; gap: .85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
fieldset { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: .25rem; color: var(--cocoa-soft); font-size: .74rem; font-weight: 800; }
.payment-option { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: .65rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); }
.payment-option input { width: auto; min-height: auto; margin-top: .25rem; accent-color: var(--orange); }
.payment-option span { display: grid; gap: .1rem; }
.payment-option b { color: var(--cocoa); font-size: .78rem; }
.payment-option small { color: var(--cocoa-soft); font-size: .67rem; font-weight: 500; }
.payment-option.is-disabled { opacity: .56; }
.consent-check { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: .55rem; font-size: .68rem; font-weight: 500; }
.consent-check input { width: auto; min-height: auto; margin-top: .15rem; accent-color: var(--orange); }
.submit-order { width: 100%; }

.consent-banner { position: fixed; right: 1rem; bottom: 1rem; left: 1rem; z-index: 40; display: flex; max-width: 920px; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 auto; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
.consent-banner > div:first-child { display: grid; gap: .1rem; color: var(--cocoa-soft); font-size: .72rem; }
.consent-banner b { color: var(--cocoa); }
.consent-actions { display: flex; flex: 0 0 auto; gap: .45rem; }
.consent-actions .button { min-height: 38px; padding: .55rem .75rem; font-size: .72rem; }

@media (max-width: 980px) {
  .hero { gap: 2.5rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 30px, 680px); }
  .announcement-note { display: none; }
  .header-inner { min-height: 70px; gap: .8rem; }
  .brand { width: 144px; }
  .main-nav { display: none; }
  .cart-trigger { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-visual, .hero-visual > img { min-height: 385px; }
  .hero-visual { border-radius: 2rem .6rem 2rem 2rem; }
  .section-heading, .dark-layout, .business-section { grid-template-columns: 1fr; display: grid; align-items: start; gap: 1.5rem; }
  .filters { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
  .consent-banner { display: grid; }
  .consent-actions { justify-content: end; }
}
@media (max-width: 500px) {
  .product-grid, .proof-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .h1 { font-size: 4.1rem; }
  .product-card { min-height: 345px; }
  .form-row { grid-template-columns: 1fr; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
