:root {
  --ink: #0e2617;
  --deep: #0b3a21;
  --green: #138a44;
  --green-d: #0d6b33;
  --leaf: #7fd39b;
  --mint: #e2f2e5;
  --paper: #f9fcf8;
  --red: #c8303a;
  --red-d: #a3222b;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --pad: clamp(18px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--display); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 99; }
.skip:focus { top: 12px; }
.green { color: var(--green); }
.red { color: var(--red); }

.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-d); margin: 0 0 14px; }
.h2 { font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: .95; letter-spacing: -.035em; font-weight: 800; margin: 0 0 18px; }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 40ch; margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: translate .2s, background-color .2s; }
.btn:hover { translate: 0 -2px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--green { background: var(--green-d); color: #fff; }
.btn--light { background: #fff; color: var(--deep); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-d { border-color: var(--ink); color: var(--ink); }
.link { font-family: var(--mono); font-size: .9rem; font-weight: 700; color: inherit; }

/* Top bar */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px var(--pad); color: #fff; transition: background-color .3s, color .3s; }
.top.is-solid { background: rgba(249,252,248,.94); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(14,38,23,.08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.1rem; line-height: 1; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; opacity: .8; }
.nav { margin-left: auto; display: flex; gap: 26px; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Hero */
.hero { position: relative; min-height: 100svh; align-content: center; background: var(--deep); color: #fff; padding: 112px var(--pad) 64px; overflow: hidden; display: grid; justify-items: center; text-align: center; isolation: isolate; }
.hero__paws { position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: radial-gradient(circle at 50% 62%, var(--leaf) 9px, transparent 10px), radial-gradient(circle at 34% 40%, var(--leaf) 4.5px, transparent 5.5px), radial-gradient(circle at 46% 30%, var(--leaf) 4.5px, transparent 5.5px), radial-gradient(circle at 60% 32%, var(--leaf) 4.5px, transparent 5.5px), radial-gradient(circle at 70% 44%, var(--leaf) 4.5px, transparent 5.5px);
  background-size: 74px 74px; transform: rotate(-12deg) scale(1.4); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 70%, transparent 20%, var(--deep) 75%); }
.hero__kicker { margin: 0 0 18px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--leaf); }
.hero__title { margin: 0; font-size: clamp(3rem, 8.2vw, 8.6rem); line-height: .88; letter-spacing: -.05em; font-weight: 800; }
.hero__title .ln { display: inline-block; }
.hero__title .ln--km { display: block; }
.hero__title em { font-style: normal; color: var(--leaf); white-space: nowrap; }

.carnet { position: relative; width: min(640px, 100%); margin: 40px 0 0; background: #fff; color: var(--ink); border-radius: 14px; text-align: left; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); rotate: -3deg; overflow: hidden; }
.carnet__head { display: flex; justify-content: space-between; padding: 10px 18px; background: var(--green); color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.carnet__body { display: grid; grid-template-columns: 128px 1fr; gap: 20px; padding: 20px 18px 22px; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(19,138,68,.12) 31px 32px); }
.carnet__photo { margin: 0; border: 2px solid var(--ink); padding: 4px; align-self: start; background: #fff; }
.carnet__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.carnet__data { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.carnet__data .span2 { grid-column: 1 / -1; padding-right: 130px; }
.carnet__data dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); }
.carnet__data dd { margin: 2px 0 0; font-weight: 600; line-height: 1.25; }
.stamp { position: absolute; right: 18px; bottom: 16px; border: 3px solid var(--red); color: var(--red); font: 700 .78rem/1.1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 8px; rotate: -14deg; opacity: .85; text-align: center; mix-blend-mode: multiply; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* Ticker */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 14px 0; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.ticker__track { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker span { padding: 0 22px; white-space: nowrap; }
.ticker span::after { content: "✚"; margin-left: 44px; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Servicios: sticky stack */
.servs { padding: clamp(80px, 11vw, 150px) var(--pad); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.servs__intro { position: sticky; top: 110px; }
.pages { display: grid; gap: 28px; }
.page { position: sticky; top: 100px; min-height: 380px; display: grid; grid-template-columns: 1fr 42%; grid-template-rows: auto auto 1fr auto; column-gap: 26px; padding: 28px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; rotate: var(--rot, 0deg); box-shadow: 0 18px 40px -26px rgba(14,38,23,.6); }
.page:nth-child(2) { top: 116px; } .page:nth-child(3) { top: 132px; } .page:nth-child(4) { top: 148px; }
.page--mint { background: var(--mint); }
.page--red { background: var(--red); color: #fff; border-color: var(--red-d); }
.page__n { grid-column: 1; margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.page h3 { grid-column: 1; margin: 12px 0 10px; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: .95; letter-spacing: -.03em; }
.page p:not(.page__n) { grid-column: 1; margin: 0; max-width: 34ch; }
.page .link { grid-column: 1; align-self: end; margin-top: 18px; }
.page__img { grid-column: 2; grid-row: 1 / -1; width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 12px; }
.page__img--logo { object-fit: cover; object-position: 50% 35%; background: #fff; }

/* Team peladito */
.team { position: relative; min-height: 92vh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.team img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; filter: saturate(.9); }
.team::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,58,33,.1) 30%, rgba(11,58,33,.92) 88%); }
.team__txt { position: relative; z-index: 2; padding: 0 var(--pad) clamp(48px, 8vw, 96px); }
.team h2 { margin: 0 0 18px; font-size: clamp(3.2rem, 11vw, 11rem); line-height: .82; letter-spacing: -.055em; font-weight: 800; }
.team h2 span { display: inline-block; }
.team h2 .red { color: #ff8a90; }
.team p { max-width: 46ch; margin: 0 0 22px; font-size: .95rem; }

/* Mostrador */
.shop { background: var(--mint); padding: clamp(80px, 11vw, 150px) var(--pad); }
.shop__head { max-width: 900px; margin-bottom: 48px; }
.shop__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.items { display: grid; gap: 12px; }
.who { border: 0; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.who legend { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; float: left; width: 100%; }
.who label { position: relative; }
.who input[type=radio] { position: absolute; opacity: 0; }
.who label > span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; cursor: pointer; background: #fff; }
.who input:checked + span { background: var(--ink); color: #fff; }
.who input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.who__name input { min-height: 46px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; font: inherit; background: #fff; width: 220px; max-width: 100%; }
.item { display: grid; grid-template-columns: auto 72px 1fr; align-items: center; gap: 16px; padding: 12px 16px; background: #fff; border: 2px solid transparent; border-radius: 14px; cursor: pointer; transition: border-color .2s, translate .2s; }
.item:hover { translate: 4px 0; }
.item:has(input:checked) { border-color: var(--green); background: #f4fbf5; }
.item input { width: 22px; height: 22px; accent-color: var(--green); }
.item img, .item__ico { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.item__ico { display: grid; place-items: center; background: var(--mint); font-size: 2rem; color: var(--green); }
.item__t b { display: block; font-size: 1.08rem; line-height: 1.2; }
.item__t small { font-family: var(--mono); font-size: .78rem; color: #3d5546; }

.rx { position: sticky; top: 100px; background: #fff; border-radius: 6px; padding: 26px 26px 22px; box-shadow: 0 30px 60px -30px rgba(14,38,23,.5); background-image: repeating-linear-gradient(0deg, transparent 0 33px, rgba(19,138,68,.14) 33px 34px); rotate: 1.2deg; }
.rx::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: var(--green); border-radius: 6px 6px 0 0; }
.rx__top { display: flex; gap: 12px; align-items: center; font-size: .78rem; line-height: 1.4; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.rx__top img { border-radius: 50%; }
.rx__rp { font: italic 800 3rem/1 var(--display); color: var(--green); margin: 14px 0 6px; }
.rx__list { margin: 0 0 14px; padding-left: 22px; min-height: 120px; font-size: 1.05rem; font-weight: 600; }
.rx__list li { padding: 4px 0; }
.rx__empty { list-style: none; margin-left: -22px; color: #5c7264; font-weight: 400; font-style: italic; }
.rx__for { font-size: .85rem; margin: 0 0 18px; }
.rx__go { width: 100%; }
.rx__go[aria-disabled=true] { opacity: .55; pointer-events: none; }
.rx__note { font-size: .72rem; margin: 12px 0 0; color: #3d5546; text-align: center; }

/* Turnos */
.turnos { --tn-accent: var(--red); --tn-on-accent: #fff; --tn-radius: 999px; --tn-line: rgba(14,38,23,.25); --tn-card: #fff;
  padding: clamp(80px, 11vw, 150px) var(--pad); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); }
.turnos__head { align-self: start; position: sticky; top: 110px; }
.turnos .tn-days .tn-opt { border-radius: 14px; }
.turnos .tn-step legend { font-family: var(--mono); color: var(--green-d); opacity: 1; }

/* Dónde */
.where { background: var(--ink); color: #fff; padding: clamp(80px, 11vw, 150px) var(--pad) 60px; }
.where__km { margin: 0 0 56px; font-size: clamp(4rem, 15vw, 15rem); line-height: .8; letter-spacing: -.06em; font-weight: 800; color: var(--leaf); }
.where__km .mono { display: block; font-size: clamp(.8rem, 1.2vw, 1rem); letter-spacing: .18em; text-transform: uppercase; color: #fff; font-weight: 400; margin: 12px 0; }
.where__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 70px); }
.where__data { margin: 0; display: grid; gap: 0; }
.where__data > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.where__data dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); padding-top: 4px; }
.where__data dd { margin: 0; font-size: 1.2rem; font-weight: 600; }
.where__data small { display: block; font-size: .8rem; font-weight: 400; opacity: .75; }
.where__map { position: relative; min-height: 340px; border-radius: 18px; overflow: hidden; background: #163222; }
.where__map > a { position: absolute; inset: 0; display: grid; place-items: center; color: var(--leaf); font-weight: 600; }
.where__map iframe { position: relative; }
.where__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.4) contrast(1.05); }
.where__past { font-size: .78rem; opacity: .7; margin: 36px 0 0; max-width: 70ch; }
.where__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.where .btn--ghost-d { border-color: #fff; color: #fff; }

.foot { background: var(--ink); color: rgba(255,255,255,.75); padding: 40px var(--pad) 110px; display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.foot img { border-radius: 50%; }
.foot p { margin: 0; }
.foot .mono { margin-left: auto; font-size: .75rem; }

.dock { display: none; }

/* Reveal */
.js .reveal { opacity: 0; }

@media (max-width: 900px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .servs, .turnos, .shop__grid, .where__grid { grid-template-columns: 1fr; }
  .servs__intro, .turnos__head { position: static; }
  .page { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; top: 84px; padding: 22px; }
  .page:nth-child(2) { top: 92px; } .page:nth-child(3) { top: 100px; } .page:nth-child(4) { top: 108px; }
  .page__img { grid-column: 1; grid-row: auto; min-height: 0; height: 220px; margin-top: 18px; }
  .page__img--logo { object-fit: contain; }
  .rx { position: static; rotate: 0deg; }
  .dock { display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; inset: auto 10px 10px; z-index: 60; background: var(--ink); border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
  .dock a { display: grid; place-items: center; min-height: 48px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; }
  .dock__main { background: var(--red); }
  .foot .mono { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 104px; }
  .hero__title { font-size: clamp(2.7rem, 14vw, 4rem); }
  .carnet { margin-top: 26px; rotate: -1.5deg; }
  .carnet__body { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 14px 60px; }
  .carnet__data { grid-template-columns: 1fr; gap: 8px; }
  .carnet__data .span2 { padding-right: 0; }
  .carnet__data dd { font-size: .95rem; }
  .hero__cta .btn { width: 100%; }
  .item { grid-template-columns: auto 56px 1fr; gap: 12px; padding: 10px 12px; }
  .item img, .item__ico { width: 56px; height: 56px; }
  .where__data > div { grid-template-columns: 1fr; gap: 2px; }
  .where__km { font-size: 4.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .btn, .item { transition: none; }
}
