/* Café Rollito · Colonia del Sacramento
   Concepto: Coffee & Rolls, dos mitades. La barra caliente (madera miel) y la plancha fría
   (acero escarchado) conviven en pantalla partida; el momento firma enrolla el helado
   hasta formar el logo de los cuatro espirales.
   Regla de color: miel = acción y lo caliente; escarcha = lo frío; negro como el logo.
   Tipos: Unbounded (display redondeada y ancha) + Figtree (texto). */

:root {
  --ink: #111111;
  --ink2: #1C1C1C;
  --frost: #EEF1F0;
  --frost2: #DDE3E4;
  --honey: #C97A2B;
  --honey2: #E09A4E;
  --cream: #E2C49C;
  --choco: #7A4A26;
  --mute: #55595B;
  --mute-d: #A9AEAF;
  --line-d: rgba(238, 241, 240, .16);
  --fd: "Unbounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --fb: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; overflow-x: clip; background: var(--frost); color: var(--ink); font: 400 1.0625rem/1.6 var(--fb); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 700; }
::selection { background: var(--honey); color: var(--ink); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--honey); color: var(--ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 18px; height: 18px; flex: none; }
.kicker { font: 600 .74rem/1 var(--fd); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.kicker--honey { color: var(--honey2); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 14px;
  font: 600 .86rem/1 var(--fd); letter-spacing: .01em; text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--honey { background: var(--honey); color: var(--ink); }
.btn--honey:hover { background: var(--honey2); }
.btn--line { border-color: rgba(238, 241, 240, .55); color: var(--frost); }
.btn--line:hover { border-color: var(--honey2); color: var(--honey2); }
.btn--line-dark { border-color: var(--ink); color: var(--ink); }
.btn--line-dark:hover { background: var(--ink); color: var(--frost); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .76rem; border-radius: 11px; }
.btn--lg { min-height: 58px; padding: 0 26px; font-size: .92rem; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 12px var(--gut); color: var(--frost); transition: background-color .3s; }
.nav.is-solid { background: rgba(17, 17, 17, .88); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; color: var(--honey2); }
.brand__t { font: 700 1.15rem/1 var(--fd); letter-spacing: -.01em; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font: 500 .78rem/1 var(--fd); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav__links a:hover { border-color: var(--honey2); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 .8rem/1.2 var(--fb); padding: 7px 12px; border-radius: 999px; background: rgba(17, 17, 17, .5); border: 1px solid var(--line-d); }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mute-d); flex: none; }
.live.is-open .live__dot { background: #5FD38D; box-shadow: 0 0 0 0 rgba(95, 211, 141, .6); animation: pulse 2s infinite; }
.live.is-closed .live__dot { background: #E0735A; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(95, 211, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 141, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--frost); overflow: hidden; }
.half { position: relative; overflow: hidden; }
.half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.half--coffee img { object-position: 45% 60%; }
.half--rolls img { object-position: 50% 100%; transform-origin: 50% 100%; scale: 1.1; filter: saturate(.85) contrast(1.05); }
.half::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, .45) 0%, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, .1) 55%, rgba(17, 17, 17, .85) 100%); }
.half--rolls::after { background: linear-gradient(180deg, rgba(17, 17, 17, .45) 0%, rgba(40, 70, 85, .12) 30%, rgba(40, 70, 85, .22) 55%, rgba(17, 17, 17, .88) 100%); }
.half__w { position: absolute; z-index: 2; bottom: 168px; font: 800 clamp(3.4rem, 8.6vw, 9.4rem)/.9 var(--fd); letter-spacing: -.05em; white-space: nowrap; }
.half--coffee .half__w { left: var(--gut); }
.half--rolls .half__w { right: var(--gut); color: var(--cream); }
.half__k { position: absolute; z-index: 2; top: 84px; font: 500 .78rem/1.3 var(--fd); letter-spacing: .02em; padding: 8px 12px; border-radius: 10px; background: rgba(17, 17, 17, .55); backdrop-filter: blur(6px); }
.half--coffee .half__k { left: var(--gut); }
.half--rolls .half__k { right: var(--gut); }
.seal { position: absolute; z-index: 3; left: 50%; top: 44%; width: clamp(130px, 13vw, 190px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal__ring text { font: 600 13px/1 var(--fd); fill: var(--frost); }
.seal__mark { width: 38%; color: var(--honey2); }
@keyframes spin { to { rotate: 360deg; } }
.hero__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) clamp(24px, 4vh, 40px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.hero__t { max-width: 44ch; font: 400 clamp(1rem, 1.3vw, 1.2rem)/1.5 var(--fb); color: var(--frost); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- La casa ---------- */
.casa { padding: clamp(96px, 12vw, 180px) var(--gut) clamp(80px, 10vw, 140px); max-width: 1440px; margin: 0 auto; }
.casa__t { margin-top: 26px; font: 400 clamp(1.7rem, 3.7vw, 3.7rem)/1.22 var(--fd); letter-spacing: -.03em; max-width: 26ch; }
.pill-img { display: inline-block; width: 2.3em; height: 1.05em; border-radius: 999px; overflow: hidden; vertical-align: -.12em; margin: 0 .08em; background: var(--frost2); }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.casa__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(56px, 8vw, 110px); align-items: end; }
.casa__ph { border-radius: 28px; overflow: hidden; }
.casa__ph img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.casa__txt { display: grid; gap: 18px; font-size: 1.15rem; max-width: 46ch; color: #2a2d2e; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tags li { font: 500 .78rem/1 var(--fd); padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--frost2); }

/* ---------- Carta ---------- */
.carta { position: relative; background: var(--ink); color: var(--frost); padding: clamp(88px, 11vw, 160px) var(--gut); }
.carta__head { max-width: 1360px; margin: 0 auto; }
.carta__t { margin-top: 18px; font: 800 clamp(2.6rem, 6.6vw, 6.8rem)/.92 var(--fd); letter-spacing: -.05em; }
.carta__intro { margin-top: 20px; color: var(--mute-d); max-width: 46ch; font-size: 1.1rem; }
.tabs { display: none; }
.menu { max-width: 1360px; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); }
.menu__col { padding: 36px clamp(0px, 3vw, 48px) 8px 0; }
.menu__col--roll { padding: 36px 0 8px clamp(20px, 3vw, 48px); border-left: 1px solid var(--line-d); }
.menu__h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.menu__h span { font: 700 1.5rem/1.1 var(--fd); letter-spacing: -.02em; color: var(--honey2); }
.menu__col--roll .menu__h span { color: var(--cream); }
.menu__h small { font: 500 .8rem/1.2 var(--fb); color: var(--mute-d); text-transform: uppercase; letter-spacing: .08em; }
.dish { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-d); transition: padding .3s var(--ease); }
.dish[data-img] { cursor: default; }
.dish h4 { font: 500 1.12rem/1.25 var(--fd); letter-spacing: -.01em; }
.dish p { color: var(--mute-d); margin-top: 4px; max-width: 48ch; }
.dish__th { display: none; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.tag { display: inline-block; vertical-align: 2px; margin-left: 6px; font: 600 .62rem/1 var(--fd); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--cream); padding: 5px 8px; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) {
  .dish[data-img]:hover { padding-left: 14px; }
  .dish[data-img]:hover h4 { color: var(--honey2); }
}
.carta__cta { max-width: 1360px; margin: 48px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: 18px; background: var(--ink2); }
.carta__cta p { font-size: 1.1rem; }
.peek { position: fixed; z-index: 40; left: 0; top: 0; width: 220px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- El rollito (firma) ---------- */
.roll { background: linear-gradient(180deg, var(--frost) 0%, #E3E9EA 100%); }
.roll__pin { min-height: 100vh; min-height: 100svh; max-width: 1440px; margin: 0 auto; padding: 96px var(--gut) 56px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.roll .kicker--honey { color: #9A5A1C; }
.roll__t { margin-top: 18px; font: 700 clamp(1.9rem, 3.4vw, 3.2rem)/1.04 var(--fd); letter-spacing: -.04em; max-width: 16ch; }
.steps { margin-top: 34px; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(17, 17, 17, .12); transition: opacity .35s; }
.step > span { font: 700 .9rem/1.6 var(--fd); color: #9A5A1C; }
.step h3 { font: 700 1.25rem/1.3 var(--fd); letter-spacing: -.02em; }
.step p { color: var(--mute); margin-top: 2px; }
.js .roll--live .step { opacity: .32; }
.js .roll--live .step.is-on { opacity: 1; }
.roll__stage { position: relative; }
.plate { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(40, 60, 70, .25)); }
.r-word { font: 800 46px/1 var(--fd); letter-spacing: -2px; fill: var(--ink); }

/* ---------- Tardes ---------- */
.tardes { background: var(--honey); color: var(--ink); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.tardes__head { padding: 0 var(--gut); max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; }
.tardes__t { grid-row: span 2; font: 800 clamp(2.6rem, 6.4vw, 6.6rem)/.92 var(--fd); letter-spacing: -.05em; }
.tardes__head p { font-size: 1.15rem; max-width: 42ch; }
.tardes__head .btn { justify-self: start; }
.reel { margin-top: clamp(48px, 6vw, 80px); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 0 var(--gut) 18px; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.reel__i { flex: none; width: clamp(240px, 26vw, 360px); scroll-snap-align: start; }
.reel__i img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }
.reel__i figcaption { margin-top: 10px; font: 500 .82rem/1.35 var(--fd); }
.reel__i:nth-child(even) { margin-top: 48px; }

/* ---------- Visitanos ---------- */
.visit { background: var(--ink); color: var(--frost); padding: clamp(88px, 11vw, 150px) var(--gut); }
.visit__grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.visit__t { margin-top: 18px; font: 800 clamp(2.4rem, 5.2vw, 5.2rem)/.94 var(--fd); letter-spacing: -.05em; }
.visit__addr { margin-top: 18px; color: var(--mute-d); font-size: 1.1rem; max-width: 40ch; }
.live--hero { display: none; }
.live--big { margin-top: 26px; font-size: 1rem; padding: 10px 16px; }
.hours { margin-top: 26px; border-top: 1px solid var(--line-d); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
.hours dt { color: var(--mute-d); }
.hours dd { font-weight: 600; text-align: right; }
.hours a { text-decoration-color: var(--honey2); text-underline-offset: 4px; }
.visit__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.visit__map { border-radius: 26px; overflow: hidden; min-height: 440px; background: var(--ink2); }
.visit__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ---------- Cierre ---------- */
.fin { padding: clamp(96px, 12vw, 180px) var(--gut); max-width: 1440px; margin: 0 auto; }
.fin__t { font: 800 clamp(3rem, 10vw, 10.4rem)/.9 var(--fd); letter-spacing: -.06em; display: grid; }
.fin__t span:nth-child(2) { justify-self: center; color: var(--choco); }
.fin__o { justify-self: end; }
.fin > p { margin-top: 30px; max-width: 46ch; font-size: 1.15rem; color: #2a2d2e; }
.fin__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.fin .btn--line { border-color: var(--ink); color: var(--ink); }
.fin .btn--line:hover { background: var(--ink); color: var(--frost); }

.foot { background: var(--ink); color: var(--mute-d); padding: 40px var(--gut) 110px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; font-size: .95rem; }
.foot img { border-radius: 12px; }
.foot strong { color: var(--frost); }
.foot__links { display: flex; gap: 20px; margin-left: auto; }
.foot a { text-decoration: none; color: var(--frost); }
.foot a:hover { color: var(--honey2); }
.foot__demo { width: 100%; font-size: .85rem; }

/* ---------- Dock ---------- */
.dock { position: fixed; z-index: 60; right: 20px; bottom: 20px; display: flex; gap: 8px; transition: transform .4s var(--ease), opacity .4s; }
.dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 14px; text-decoration: none; font: 600 .82rem/1 var(--fd); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55); }
.dock__wa { background: var(--honey); color: var(--ink); }
.dock__map { background: var(--ink); color: var(--frost); border: 1px solid rgba(238, 241, 240, .35); }
.js .dock:not(.is-on) { transform: translateY(140%); opacity: 0; pointer-events: none; }

.js .rv { opacity: 0; transform: translateY(32px); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav .live { margin-left: auto; }
  .casa__grid, .visit__grid, .tardes__head { grid-template-columns: minmax(0, 1fr); }
  .tardes__t { grid-row: auto; }
  .roll__pin { grid-template-columns: minmax(0, 1fr); padding-top: 80px; gap: 16px; align-content: center; }
  .roll__stage { order: -1; max-width: 560px; }
}
@media (max-width: 760px) {
  .nav .btn { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr auto; height: auto; min-height: 0; }
  .half { height: 37svh; min-height: 260px; }
  .half__w { bottom: 18px; font-size: clamp(3rem, 16vw, 4.4rem); }
  .half__k { top: auto; bottom: 86px; font-size: .68rem; }
  .half--coffee .half__k { top: 76px; bottom: auto; }
  .half--rolls .half__k { top: auto; bottom: 84px; right: auto; left: 16px; }
  .seal { top: 37svh; left: auto; right: 14px; translate: 0 -50%; width: 96px; }
  .nav .live { display: none; }
  .live--hero { display: inline-flex; }
  .half--coffee .half__w { font-size: clamp(2.8rem, 14vw, 4rem); }
  .seal__ring text { font-size: 15px; }
  .hero__bar { position: relative; padding: 26px 16px 28px; background: var(--ink); }
  .hero__cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .hero__cta .btn:first-child { grid-column: 1 / -1; }
  .casa__t { font-size: clamp(1.45rem, 6.4vw, 2rem); }
  .js .tabs { display: flex; gap: 6px; margin-top: 28px; padding: 5px; border-radius: 16px; background: var(--ink2); }
  .tabs button { flex: 1; min-height: 46px; border: 0; border-radius: 12px; background: transparent; color: var(--mute-d); font: 600 .8rem/1 var(--fd); cursor: pointer; }
  .tabs button[aria-selected="true"] { background: var(--frost); color: var(--ink); }
  .menu { grid-template-columns: 1fr; border-top: 0; margin-top: 18px; }
  .menu__col, .menu__col--roll { padding: 18px 0 0; border-left: 0; }
  .js .menu__col:not(.is-active) { display: none; }
  .dish__th { display: block; }
  .dish { padding: 16px 0; }
  .roll__pin { padding: 72px 16px 24px; }
  .roll__t { font-size: 1.5rem; }
  .steps { margin-top: 16px; }
  .step { padding: 9px 0; grid-template-columns: 40px 1fr; }
  .step h3 { font-size: 1.02rem; }
  .step p { font-size: .92rem; }
  .js .roll--live .step:not(.is-on) p { display: none; }
  .reel__i { width: 72vw; }
  .reel__i:nth-child(even) { margin-top: 0; }
  .visit__map, .visit__map iframe { min-height: 320px; }
  .fin__cta .btn { width: 100%; }
  .foot__links { margin-left: 0; }
  .dock { left: 12px; right: 12px; bottom: 12px; }
  .dock a { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
