/* La Granja del Valle — estilos
   Identidad propia: verde bosque casi negro, amarillo mantequilla, rojo de la cinta del logo y papel cálido.
   Tipografía: Bricolage Grotesque (títulos) + DM Sans (texto). Bordes firmes y sombras sólidas tipo "sticker". */

:root {
  --ink: #0b2118;
  --forest: #123828;
  --leaf: #1f6b4a;
  --brand: #008f45; /* verde del logo, un poco más profundo para que el texto blanco se lea bien */
  --yellow: #ffc933;
  --red: #ee3b1e;
  --logo-red: #ea181e; /* rojo de la cinta del logo */
  --paper: #fff8e8;
  --mint: #d3ebd8;
  --white: #fff;
  --muted: #5d6b63;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bw: 2px;
  --r: 24px;
  --bar-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 20px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1200px, 100% - 36px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 400; }
.skip:focus { left: 8px; }

/* ---------- botones ---------- */
.btn { --btn-sh: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: var(--bw) solid var(--ink); box-shadow: 4px 4px 0 var(--btn-sh); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--btn-sh); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--btn-sh); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--red { background: var(--logo-red); color: #fff; }
.btn--wa { background: #25d366; color: var(--ink); }
.btn--line { background: transparent; color: var(--paper); border-color: var(--paper); --btn-sh: transparent; }
.btn--line:hover { background: var(--paper); color: var(--ink); }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--xl { padding: 20px 40px; font-size: 1.2rem; }
.hero, .about { --btn-sh: var(--red); }
.hero .btn, .about .btn { --btn-sh: var(--red); border-color: var(--ink); }
.hero .btn--line { color: var(--ink); border-color: var(--ink); --btn-sh: transparent; }
.hero .btn--line:hover { background: var(--ink); color: var(--paper); }

/* ---------- encabezado ---------- */
.bar { position: fixed; z-index: 200; inset: 0 0 auto 0; height: var(--bar-h); color: var(--ink); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(11, 33, 24, .1); box-shadow: 0 14px 30px -24px rgba(11, 33, 24, .55); transition: background .3s, box-shadow .3s, border-color .3s, color .3s; }
.bar__in { width: min(1320px, 100% - 36px); height: 100%; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.bar__logo { justify-self: start; }
.bar__logo img { height: 62px; width: auto; }
.bar__nav { display: flex; align-items: center; justify-content: center; gap: 2px; }
.bar__nav a:not(.bar__m) { color: inherit; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background .2s; background-repeat: no-repeat; }
.bar__nav a:not(.bar__m):hover { background-color: rgba(11, 33, 24, .07); }
.bar__nav a.is-here { font-weight: 700; background-image: linear-gradient(var(--yellow), var(--yellow)); background-size: calc(100% - 28px) 3px; background-position: center calc(100% - 2px); }
.bar__m { display: none; }
.bar__act { justify-self: end; display: flex; align-items: center; gap: 10px; }
.bar__cart { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font-weight: 700; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.bar__cart:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bar__cart svg { width: 20px; height: 20px; }
.bar__badge { position: absolute; top: -8px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; border: var(--bw) solid #fff; font-size: .74rem; display: grid; place-items: center; }
.bar__badge[hidden] { display: none; }
.bar__cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--logo-red); color: #fff; border: var(--bw) solid var(--ink); font-weight: 700; font-size: .92rem; box-shadow: 0 10px 20px -10px rgba(11, 33, 24, .6); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.bar__cta:hover { background: #c9141a; transform: translateY(-2px); box-shadow: 0 14px 22px -10px rgba(11, 33, 24, .7); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .3s, top .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: #fff; color: var(--ink); padding: calc(var(--bar-h) + 42px) 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(620px 620px at 80% 42%, rgba(255, 201, 51, .34), transparent 70%),
  radial-gradient(520px 520px at 0% 100%, rgba(0, 143, 69, .1), transparent 70%); }
.hero__grid { position: relative; display: grid; gap: 36px; align-items: center; }
.kicker { display: flex; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.kicker span { width: 30px; height: 4px; border-radius: 4px; background: currentColor; margin-right: 12px; flex: none; }
.kicker--dark { color: var(--red); }
.hero h1 { font-size: clamp(2.9rem, 11.5vw, 6.6rem); line-height: .94; color: var(--ink); margin-bottom: 24px; }
.hero h1 mark { background: var(--yellow); color: var(--ink); padding: 0 .12em .04em; border-radius: .16em; display: inline-block; transform: rotate(-2.5deg); }
.lead { font-size: clamp(1.02rem, 2.4vw, 1.25rem); color: #3d4a43; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.collage { position: relative; height: 440px; max-width: 560px; width: 100%; margin-inline: auto; }
.ph { position: absolute; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 22px 30px -16px rgba(11, 33, 24, .55); background: var(--mint); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--a { left: 6%; top: 0; width: 56%; height: 82%; transform: rotate(-4deg); z-index: 1; }
.ph--b { right: 0; top: 4%; width: 44%; height: 34%; transform: rotate(5deg); z-index: 2; }
.ph--c { right: 4%; bottom: 2%; width: 46%; height: 38%; transform: rotate(-3deg); z-index: 3; }
.spin { position: absolute; left: -2%; bottom: 0; width: 132px; height: 132px; border-radius: 50%; background: var(--yellow); border: var(--bw) solid var(--ink); display: grid; place-items: center; z-index: 4; }
.spin svg { position: absolute; inset: 0; animation: rot 18s linear infinite; }
.spin text { font: 800 15.5px var(--display); letter-spacing: .08em; fill: var(--ink); }
.spin img { width: 52px; height: auto; position: relative; }
.sticker { position: absolute; left: 0; top: 10%; z-index: 4; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; line-height: 1.15; padding: 10px 16px; border-radius: 14px; border: var(--bw) solid var(--ink); transform: rotate(-9deg); font-size: .95rem; box-shadow: 4px 4px 0 var(--ink); }
.sticker b { font-size: 1.5rem; font-weight: 800; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- cinta ---------- */
.tape { background: var(--red); color: var(--paper); overflow: hidden; padding: 14px 0; margin: -22px 0 0; transform: rotate(-1.6deg); position: relative; z-index: 5; border-block: var(--bw) solid var(--ink); }
.tape__row { display: flex; gap: 26px; width: max-content; animation: slide 38s linear infinite; font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 3vw, 1.7rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.tape i { font-style: normal; color: var(--yellow); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.sec { padding: 96px 0; }
.sec--white { background: #fff; }
.head { max-width: 680px; margin-bottom: 40px; }
.head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
h2 { font-size: clamp(2.1rem, 6.4vw, 4.1rem); }
.sub { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 560px; }

/* ---------- paneles de categorías ---------- */
.panels { display: flex; flex-direction: column; gap: 10px; height: 640px; }
.pan { position: relative; flex: 1; min-height: 0; border-radius: var(--r); overflow: hidden; border: var(--bw) solid var(--ink); cursor: pointer; background: var(--forest); transition: flex .6s cubic-bezier(.2, .7, .2, 1); }
.pan.is-on { flex: 5; }
.pan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.85); transition: filter .5s, transform .8s; }
.pan.is-on img { filter: none; transform: scale(1.03); }
.pan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 33, 24, .85), transparent 60%); pointer-events: none; }
.pan__t { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.pan__t b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.pan__go { background: var(--yellow); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 8px 16px; border-radius: 999px; border: var(--bw) solid var(--ink); display: none; }
.pan.is-on .pan__go { display: inline-block; }

/* ---------- destacados ---------- */
.fav { background: var(--yellow); padding: 90px 0 70px; position: relative; }
.fav h2 { color: var(--ink); }
.fav .kicker { color: var(--ink); }
.arrows { display: none; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.arrow:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.arrow svg { width: 22px; height: 22px; }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px max(18px, calc((100vw - 1200px) / 2)) 30px; scroll-padding-left: max(18px, calc((100vw - 1200px) / 2)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.fcard { flex: 0 0 min(290px, 76vw); scroll-snap-align: start; border: var(--bw) solid var(--ink); border-radius: 28px; padding: 14px; display: flex; flex-direction: column; gap: 14px; box-shadow: 7px 7px 0 var(--ink); color: var(--ink); transition: transform .25s; }
.fcard:nth-child(4n+1) { background: #fff; }
.fcard:nth-child(4n+2) { background: var(--red); color: #fff; }
.fcard:nth-child(4n+3) { background: var(--mint); }
.fcard:nth-child(4n+4) { background: var(--forest); color: #fff; }
.fcard:hover { transform: translateY(-6px) rotate(-1deg); }
.fcard__media { position: relative; }
.fcard__ph { aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: var(--bw) solid var(--ink); background: var(--paper); }
.fcard__ph img { width: 100%; height: 100%; object-fit: cover; }
.fcard__price { position: absolute; right: -12px; top: -22px; width: 86px; height: 86px; border-radius: 50%; background: var(--yellow); color: var(--ink); border: var(--bw) solid var(--ink); display: grid; place-content: center; text-align: center; transform: rotate(10deg); font-family: var(--display); font-weight: 800; font-size: 1.12rem; line-height: 1; box-shadow: 3px 3px 0 var(--ink); }
.fcard__price small { font: 700 .62rem var(--body); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.fcard h3 { font-size: 1.4rem; letter-spacing: -.025em; padding: 0 4px; }
.fcard__cat { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; padding: 0 4px; margin-top: -8px; }
.fcard .btn { margin-top: auto; --btn-sh: var(--ink); background: #fff; color: var(--ink); width: 100%; padding: 10px; font-size: .88rem; }

/* ---------- catálogo ---------- */
.tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 7px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 18px; border-radius: 999px; border: var(--bw) solid var(--ink); background: transparent; color: var(--ink); font-weight: 700; font-size: .88rem; transition: background .2s, color .2s, box-shadow .15s, transform .15s; }
.chip:hover { background: var(--logo-red); border-color: var(--logo-red); color: #fff; }
.chip[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--red); transform: translate(-1px, -1px); }
.chip em { font-style: normal; opacity: .6; margin-left: 5px; font-weight: 500; }
.tools__r { display: flex; gap: 10px; flex-wrap: wrap; }
.search { flex: 1 1 230px; position: relative; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; }
.search input, .sort select { width: 100%; padding: 11px 16px; border-radius: 999px; border: var(--bw) solid var(--ink); background: #fff; }
.search input { padding-left: 46px; }
.sort { flex: 1 1 100%; }
.count { color: var(--muted); font-size: .88rem; font-weight: 700; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tag { position: absolute; left: 10px; top: 10px; background: var(--yellow); color: var(--ink); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1.5px solid var(--ink); }
.price { font-family: var(--display); font-weight: 800; font-size: 1.28rem; line-height: 1; letter-spacing: -.02em; }
.price small { display: block; font: 500 .74rem var(--body); color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.more { text-align: center; margin-top: 40px; }
.more .btn { --btn-sh: var(--red); }
.note { text-align: center; margin-top: 22px; font-size: .84rem; color: var(--muted); }

/* ---------- nosotros ---------- */
.about { background: var(--forest); color: var(--paper); padding: 100px 0; position: relative; overflow: hidden; }
.about::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; left: -200px; bottom: -220px; background: radial-gradient(circle, rgba(255, 201, 51, .2), transparent 70%); }
.about__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.about h2 { color: #fff; margin-bottom: 24px; }
.about h2 em { font-style: normal; color: var(--yellow); }
.about p { color: rgba(255, 248, 232, .82); font-size: 1.06rem; margin-bottom: 16px; max-width: 540px; }
.about .btn { margin-top: 14px; }
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
.tile { border-radius: 24px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; overflow: hidden; position: relative; border: var(--bw) solid var(--ink); }
.tile svg { width: 34px; height: 34px; margin-bottom: auto; }
.tile b { font-family: var(--display); font-size: 1.15rem; line-height: 1.1; letter-spacing: -.02em; }
.tile span { font-size: .8rem; line-height: 1.35; opacity: .85; }
.tile strong { font-family: var(--display); font-size: 3.6rem; line-height: .9; margin-bottom: auto; letter-spacing: -.05em; }
.tile--photo { padding: 0; }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; }
.tile--yellow { background: var(--yellow); color: var(--ink); }
.tile--red { background: var(--red); color: #fff; }
.tile--paper { background: var(--paper); color: var(--ink); }
.tile--mint { background: var(--mint); color: var(--ink); }
.t1 { grid-column: 1; grid-row: 1 / 3; }
.t2 { grid-column: 2; grid-row: 1; }
.t3 { grid-column: 2; grid-row: 2; }
.t4 { grid-column: 2; grid-row: 3 / 5; }
.t5 { grid-column: 1; grid-row: 3; }
.t6 { grid-column: 1; grid-row: 4; }

/* ---------- sedes ---------- */
.dir { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.dir__list { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 8px; scrollbar-width: none; }
.dir__list::-webkit-scrollbar { display: none; }
.dir__item { flex: none; text-align: left; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: var(--bw) solid var(--ink); border-radius: 999px; background: transparent; transition: background .2s, color .2s, transform .15s, box-shadow .15s; }
.dir__item .n { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font: 800 .78rem var(--display); border: 1.5px solid var(--ink); flex: none; }
.dir__item b { font-family: var(--display); font-size: .95rem; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.dir__item small { display: none; }
.dir__item:hover { background: #fff; }
.dir__item[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--red); transform: translate(-1px, -1px); }
.dir__panel { background: #fff; border: var(--bw) solid var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); display: grid; }
.dir__img { position: relative; aspect-ratio: 16 / 10; background: var(--forest); }
.dir__img img { width: 100%; height: 100%; object-fit: cover; }
.dir__panel > * { min-width: 0; }
.badge { position: absolute; left: 14px; top: 14px; background: var(--yellow); border: var(--bw) solid var(--ink); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.dir__b { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.dir__b h3 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.dir__desc { color: var(--muted); font-size: .96rem; }
.info { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.info svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }
.info a { font-weight: 700; }
.info a:hover { color: var(--red); }
.info--todo { color: var(--muted); font-style: italic; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.acts .btn { padding: 10px 18px; font-size: .86rem; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border: var(--bw) solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--mint); transition: transform .15s; }
.thumbs button:hover { transform: translateY(-3px) rotate(-3deg); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- galería ---------- */
.gal { background: var(--ink); color: var(--paper); padding: 96px 0 100px; overflow: hidden; }
.gal h2 { color: #fff; }
.gal .sub { color: rgba(255, 248, 232, .7); }
.strip { overflow: hidden; margin-top: 14px; }
.strip__in { display: flex; gap: 14px; width: max-content; animation: slide 90s linear infinite; }
.strip--rev .strip__in { animation-direction: reverse; animation-duration: 110s; }
.strip:hover .strip__in { animation-play-state: paused; }
.strip button { flex: none; padding: 0; border: 0; background: var(--forest); border-radius: 20px; overflow: hidden; height: 170px; transition: transform .25s; }
.strip button:hover { transform: scale(1.04) rotate(-1deg); }
.strip img { height: 100%; width: auto; }

.lb { position: fixed; inset: 0; z-index: 500; background: rgba(5, 16, 11, .95); display: grid; place-items: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(92vw, 1100px); max-height: 82vh; border-radius: 16px; object-fit: contain; border: 3px solid var(--paper); }
.lb__x { position: absolute; top: 14px; right: 18px; font-size: 2.4rem; line-height: 1; color: #fff; background: transparent; border: 0; width: 48px; height: 48px; }
.lb__n { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.lb__n svg { width: 22px; height: 22px; }
.lb__n--p { left: 12px; } .lb__n--n { right: 12px; }
.lb__c { position: absolute; bottom: 18px; color: #d8e6dd; font-size: .85rem; font-weight: 700; }

/* ---------- contacto ---------- */
.contact { background: var(--yellow); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.contact .kicker { justify-content: center; }
.contact h2 { font-size: clamp(2.5rem, 9vw, 6rem); line-height: .96; margin-bottom: 20px; }
.contact h2 em { font-style: normal; background: var(--ink); color: var(--yellow); padding: 0 .14em .04em; border-radius: .16em; display: inline-block; transform: rotate(-2deg); }
.contact .sub { margin: 0 auto 34px; color: rgba(11, 33, 24, .78); }
.contact .btn--xl { --btn-sh: var(--ink); }
.cinfo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 52px; text-align: left; }
.cinfo li { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 22px; padding: 18px; box-shadow: 5px 5px 0 var(--ink); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cinfo svg { width: 30px; height: 30px; color: var(--red); margin-bottom: 8px; }
.cinfo small { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.cinfo a, .cinfo span { font-weight: 700; word-break: break-word; font-size: .95rem; }
.cinfo a:hover { color: var(--red); }

/* ---------- pie ---------- */
.footer { background: #fff; color: var(--muted); border-top: var(--bw) solid var(--ink); padding: 70px 0 0; font-size: .93rem; overflow: hidden; }
.footer__grid { display: grid; gap: 34px; padding-bottom: 36px; }
.footer img { height: 76px; width: auto; margin-bottom: 14px; }
.footer h4 { font-family: var(--display); color: var(--ink); font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 8px; }
.footer h5 { color: var(--red); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.footer a, .footer span { display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--red); }
.footer p { max-width: 380px; }
.footer .mega { max-width: none; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 9.2vw, 9rem); line-height: .9; letter-spacing: -.05em; white-space: nowrap; text-align: center; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; margin: 10px 0 18px; user-select: none; }
.footer__bar { border-top: 1px solid rgba(11, 33, 24, .15); padding: 22px 0 96px; font-size: .8rem; color: var(--muted); position: relative; background: #fff; }
.footer__bar span { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 150; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: var(--ink); border: var(--bw) solid var(--ink); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.wa-float:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- animaciones al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- tablet y escritorio ---------- */
@media (min-width: 720px) {
  .collage { height: 520px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tools { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  #chips { flex-wrap: wrap; overflow: visible; }
  .tools__r { flex-wrap: nowrap; flex: 0 1 560px; }
  .sort { flex: 0 1 220px; }
  .arrows { display: flex; }
  .panels { flex-direction: row; height: 560px; }
  .pan__t { flex-direction: column; align-items: flex-start; left: 22px; bottom: 22px; }
  .pan__t b { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: 1.6rem; align-self: center; }
  .pan.is-on .pan__t b { writing-mode: horizontal-tb; transform: none; font-size: clamp(2rem, 4vw, 3.4rem); align-self: flex-start; }
  .bento { grid-auto-rows: 170px; gap: 14px; }
  .cinfo { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .strip button { height: 230px; }
  .dir__b { padding: 30px; }
}
@media (min-width: 1000px) {
  .hero { padding: calc(var(--bar-h) + 48px) 0 110px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .collage { height: 580px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .about__grid { grid-template-columns: .95fr 1.05fr; gap: 70px; }
  .dir { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
  .dir__list { flex-direction: column; overflow: visible; padding: 3px; }
  .dir__item { border-radius: 20px; padding: 12px 16px 12px 12px; }
  .dir__item b { white-space: normal; font-size: 1.02rem; }
  .dir__item small { display: block; font-size: .72rem; opacity: .65; font-weight: 500; letter-spacing: .02em; }
  .dir__panel { grid-template-columns: 1.05fr 1fr; min-height: 520px; }
  .dir__img { aspect-ratio: auto; }
  .dir__img img { position: absolute; inset: 0; }
  .sec { padding: 120px 0; }
}
@media (max-width: 999px) {
  .burger { display: block; }
  .bar__in { grid-template-columns: 1fr auto; }
  /* menú móvil: pantalla completa con enlaces grandes y una flecha circular a la derecha */
  .bar__nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); color: var(--ink); padding: calc(var(--bar-h) + 14px) 22px 28px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .bar__nav.open { opacity: 1; visibility: visible; transform: none; }
  .bar__nav a:not(.bar__m) { display: flex; align-items: center; justify-content: space-between; padding: 20px 4px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; border-radius: 0; background-image: none; }
  .bar__nav a:not(.bar__m)::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(11, 33, 24, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2118' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
  .bar__nav a:not(.bar__m):hover { background-color: transparent; }
  .bar__nav a.is-here { color: var(--logo-red); background-image: none; }
  .bar__m { display: inline-flex; justify-content: center; margin-top: 28px; padding: 16px; border-radius: 999px; background: var(--logo-red); border: var(--bw) solid var(--ink); font-weight: 700; font-size: 1.05rem; color: #fff; }
  .bar__cta { display: none; }
  .bar__cart { padding: 0; width: 44px; justify-content: center; }
  .bar__cart-t { display: none; }
}
}
@media (max-width: 719px) {
  .pan__t b { font-size: 1.3rem; }
  .pan.is-on .pan__t b { font-size: 1.9rem; }
  .sticker { top: 4%; font-size: .85rem; padding: 8px 12px; }
  .spin { width: 112px; height: 112px; }
  .spin img { width: 44px; }
  .spin text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tape__row, .spin svg { animation: none; }
  .strip { overflow-x: auto; }
  .strip__in { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* encabezado transparente sobre el hero blanco; al hacer scroll gana fondo y sombra */
.bar--over:not(.is-stuck) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
.hero .kicker { color: var(--red); }

/* mientras el menú móvil está abierto, la barra se funde con el panel */
@media (max-width: 999px) {
  .bar.menu-open { background: transparent; color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
  .bar.menu-open .bar__logo, .bar.menu-open .bar__act { position: relative; z-index: 2; }
  .bar.menu-open .bar__cart { display: none; }
}

/* encabezado más alto y ancho en escritorio */
@media (min-width: 1000px) {
  :root { --bar-h: 100px; }
  .bar__logo img { height: 74px; }
  .bar__nav { gap: 6px; }
  .bar__nav a:not(.bar__m) { padding: 11px 18px; font-size: 1.08rem; }
  .bar__cart, .bar__cta { height: 52px; font-size: 1.02rem; }
  .bar__cart { padding: 0 22px; }
  .bar__cta { padding: 0 28px; }
  .bar__cart svg { width: 22px; height: 22px; }
}

.bar__cart { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1180px) {
  .bar__nav a:not(.bar__m) { padding: 10px 12px; font-size: 1rem; }
  .bar__cart { padding: 0 16px; }
  .bar__cta { padding: 0 20px; }
}
