:root {
  --paper: #f4efe6;
  --ink: #17241c;
  --green: #1c6b3a;
  --deep: #0d3b22;
  --red: #c1272d;
  --line: rgba(23, 36, 28, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: hidden; background: var(--paper); }
body { color: var(--ink); font-family: var(--sans); font-weight: 360; line-height: 1.55; }
main > * { margin: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.grain { pointer-events: none; position: fixed; inset: 0; z-index: 8; opacity: .12; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.8' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>"); }
.eyebrow { letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--red); margin: 0 0 .7rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -.03em; margin: 0 0 .7rem; }
h1 { font-size: clamp(3.2rem, 8vw, 7rem); line-height: .92; max-width: 11ch; }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .96; }
.btn { display: inline-flex; align-items: center; border-radius: 999px; padding: .85rem 1.2rem; border: 1px solid transparent; transition: transform .25s ease, background .25s ease, color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--red); color: white; }
.btn--ghost { border-color: white; color: white; }
.btn--line { border-color: var(--deep); }

.nav { position: fixed; z-index: 30; top: 1rem; left: 4vw; right: 4vw; display: flex; align-items: center; gap: 1rem; padding: .35rem .45rem .35rem .8rem; background: rgba(255,252,248,.92); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.nav__links { display: flex; gap: 1.1rem; margin-left: auto; font-size: .92rem; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -.2rem; width: 0; height: 1px; background: var(--red); transition: width .3s ease; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { background: var(--deep); color: white; border-radius: 999px; padding: .7rem 1rem; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--deep); margin-left: auto; }
.burger i { display: block; width: 16px; height: 1.5px; background: white; margin: 5px auto; transition: .3s ease; }
.burger.is-open i:first-child { transform: translateY(3px) rotate(40deg); }
.burger.is-open i:last-child { transform: translateY(-3px) rotate(-40deg); }
.menu { position: fixed; inset: 0; z-index: 25; background: var(--deep); color: white; display: grid; align-content: center; padding: 18vh 8vw; }
.menu[hidden] { display: none; }
.menu a { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.05; opacity: 0; transform: translateY(24px); animation: rise .55s ease forwards; }
.menu a:nth-child(2) { animation-delay: .05s; }
.menu a:nth-child(3) { animation-delay: .1s; }
.menu a:nth-child(4) { animation-delay: .15s; }
.menu a:nth-child(5) { animation-delay: .2s; }
.menu a:nth-child(6) { animation-delay: .25s; }
.menu a:nth-child(7) { animation-delay: .3s; }
.menu p { color: rgba(255,255,255,.7); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero { position: relative; min-height: 100vh; min-height: 100dvh; color: white; display: flex; flex-direction: column; justify-content: flex-end; padding: 22vh 7vw 8vh; background: #0d3b22; }
.hero__media, .hero__shade { position: absolute; inset: 0; overflow: hidden; }
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { z-index: 1; }
.hero__shade { z-index: 2; background: linear-gradient(90deg, rgba(8,20,12,.78), rgba(8,20,12,.2) 70%), linear-gradient(to top, rgba(8,20,12,.55), transparent 40%); }
.hero__copy, .hero__facts { position: relative; z-index: 3; }
.hero .eyebrow { color: #f0c9c6; }
.hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }
.hero__facts { display: flex; gap: 1.4rem; list-style: none; padding: 1.2rem 0 0; margin: 2rem 0 0; }
.hero__facts strong { display: block; font-family: var(--serif); font-size: 1.6rem; }
.marquee { overflow: hidden; background: var(--red); color: white; padding: .75rem 0; }
.marquee div { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee span { padding-right: 1rem; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

.stats, .split, .avocado, .process, .products, .care, .history, .quote, .contact { padding: 10vh 6vw; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.stats article { border-top: 2px solid var(--green); padding-top: .8rem; }
.stats b { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4vw; align-items: center; }
.frame { margin: 0; overflow: hidden; border-radius: 1.4rem; }
.frame img, .mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.frame:hover img, .mosaic figure:hover img { transform: scale(1.05); }
.land { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 0; list-style: none; }
.land li { background: white; padding: .8rem 1rem; border-radius: .8rem; }
.fine { color: #5d675f; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.clip { margin: 0 0 1.2rem; border-radius: 1.4rem; overflow: hidden; background: #0d3b22; }
.clip video { width: 100%; height: min(70vh, 640px); object-fit: cover; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; min-height: 240px; }
.mosaic .wide { grid-column: span 2; }
.mosaic figcaption { position: absolute; left: .7rem; bottom: .7rem; background: white; padding: .25rem .5rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.mosaic img { position: absolute; inset: 0; }
.spec { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; margin: 1.4rem 0; }
.spec div { background: white; padding: 1rem; border-radius: .8rem; }
.spec span { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #667067; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.pills li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem; background: white; }
.process ol, .history ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.process ol { grid-template-columns: repeat(3, 1fr); }
.process li, .history li { background: white; padding: 1.1rem; border-radius: 1rem; border-top: 3px solid var(--green); }
.process span, .history b { color: var(--red); letter-spacing: .12em; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cards article { background: white; padding: 1.5rem; border-radius: 1.2rem; display: grid; gap: .6rem; }
.tag { margin: 0; color: var(--red); letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }
.clients { max-width: 62ch; color: #4e5851; }
.cafe { position: relative; min-height: 88vh; display: grid; align-items: end; padding: 10vh 7vw; color: white; background: #1a120c url("../assets/images/cajas.jpg") center/cover; }
.cafe__veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28,16,10,.88), rgba(90,28,24,.45)); }
.cafe__copy { position: relative; max-width: 38rem; }
.soon { display: inline-block; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: .3rem .7rem; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; }
.cafe ul { list-style: none; padding: 0; }
.cafe li { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); padding: .55rem 0; }
.cafe__copy:has(.calibres) { max-width: 58rem; min-width: 0; width: 100%; }
.calibres-scroll { max-width: 100%; overflow-x: auto; margin: 1rem 0; }
.calibres { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; }
.calibres th, .calibres td { padding: .7rem .6rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.2); }
.calibres thead th { background: rgba(255,255,255,.08); }
.calibres tbody th { font-weight: 400; white-space: nowrap; }
.calibres-nota { font-size: .8rem; line-height: 1.5; }

.care .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.care article { background: white; padding: 1.2rem; border-radius: 1rem; min-height: 160px; }
.history ol { grid-template-columns: repeat(3, 1fr); }
.quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; background: white; }
.quote ul { padding: 0; list-style: none; }
.quote a { border-bottom: 1px solid var(--line); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
form label { display: grid; gap: .3rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
form label:nth-child(7), form button, .form__ok { grid-column: 1 / -1; }
input, select, textarea { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: .65rem 0; outline: none; }
.contact { display: flex; justify-content: space-between; gap: 2rem; background: var(--deep); color: white; }
footer { display: flex; justify-content: space-between; padding: 1rem 6vw 5rem; background: var(--deep); color: rgba(255,255,255,.7); }
.wa { position: fixed; z-index: 40; right: 1.2rem; bottom: 1.2rem; width: 68px; height: 68px; border-radius: 50%; background: white; box-shadow: 0 10px 30px rgba(13,59,34,.25); display: grid; place-items: center; animation: bob 2.8s ease-in-out infinite; }
.wa img { width: 54px; height: 54px; object-fit: contain; }
.wa::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--green); animation: pulse 2.2s ease-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes pulse { to { transform: scale(1.18); opacity: 0; } }
.reveal { animation: rise .7s ease both; }
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .stats, .spec, .process ol, .care .grid, .history ol { grid-template-columns: 1fr 1fr; }
  .split, .cards, .quote, .mosaic, .contact { grid-template-columns: 1fr; }
  .mosaic .wide { grid-column: auto; }
  form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats, .spec, .process ol, .care .grid, .history ol { grid-template-columns: 1fr; }
  .brand span { display: none; }
}
