:root {
  --slate: #22302F;
  --slate-2: #2D3F3E;
  --chalk: #F1EFE6;
  --chalk-dim: #C9D2CF;
  --orange: #F08A3C;
  --teal: #2FA3A0;
  --yellow: #F2C230;
  --pink: #E2557A;
  --wood: #7A4E2A;
  --pale: #E8F1EF;
  --ink: #1C2726;
  --muted: #4E5E5C;
  --sketch: "Cabin Sketch", "Chalkboard SE", cursive;
  --sans: "Cabin", system-ui, -apple-system, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--pale); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.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; z-index: 100; background: var(--slate); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.chalkboard { background: var(--noise), radial-gradient(60% 50% at 25% 20%, rgba(255,255,255,.07), transparent 70%), radial-gradient(50% 40% at 80% 85%, rgba(255,255,255,.05), transparent 70%), var(--slate); }

.kicker { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #B4501A; margin-bottom: 14px; }
.kicker-y { color: var(--yellow); }
.h2 { font-family: var(--sketch); font-weight: 700; font-size: clamp(46px, 6.4vw, 100px); line-height: .95; color: var(--slate); }
.h2-chalk { color: var(--chalk); }
.chalk-u { background: linear-gradient(transparent 78%, rgba(240,138,60,.55) 78% 92%, transparent 92%); }
.sec-head { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.sec-lede { margin-top: 20px; color: var(--muted); font-size: 19px; }
.sec-head-light .sec-lede { color: var(--chalk-dim); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; border: 0; transition: translate .2s ease, background-color .2s ease, color .2s ease; }
.btn:hover { translate: 0 -2px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-orange { background: var(--orange); color: var(--slate); }
.btn-chalk { background: transparent; color: var(--chalk); border: 2px dashed rgba(241,239,230,.75); }
.btn-chalk:hover { background: var(--chalk); color: var(--slate); border-style: solid; }
.btn-slate { background: var(--slate); color: var(--chalk); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px var(--gut); color: var(--chalk); transition: background-color .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(34,48,47,.96); box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--sketch); font-weight: 700; font-size: 22px; white-space: nowrap; }
.brand-2 { width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 24px; box-shadow: inset 0 0 0 3px var(--slate), inset 0 0 0 4px currentColor; }
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; font-weight: 600; }
.links a:hover { color: var(--yellow); }
.nav-call { text-decoration: none; font-weight: 700; background: var(--orange); color: var(--slate); padding: 9px 16px; border-radius: 999px; font-size: 16px; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 110px var(--gut) 60px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 45%, rgba(20,28,27,.35), rgba(20,28,27,.82) 100%), linear-gradient(180deg, rgba(20,28,27,.6), transparent 30%, transparent 70%, rgba(20,28,27,.8)); }
.board { position: relative; width: min(600px, 100%); rotate: -1.5deg; }
.board-inner {
  position: relative; z-index: 2;
  border: 16px solid var(--wood);
  border-image: linear-gradient(135deg, #8E5D33, #5E3A1E 40%, #8A5A30 60%, #5A381C) 1;
  padding: 34px clamp(20px, 4vw, 48px) 34px;
  text-align: center; color: var(--chalk);
  box-shadow: 0 40px 80px rgba(0,0,0,.55);
  background: var(--noise), radial-gradient(60% 50% at 25% 20%, rgba(255,255,255,.08), transparent 70%), radial-gradient(50% 40% at 80% 85%, rgba(255,255,255,.06), transparent 70%), var(--slate);
  text-shadow: 0 0 1px rgba(241,239,230,.5);
}
.b-top { display: flex; justify-content: center; align-items: center; gap: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; color: var(--chalk-dim); }
.b-star { color: var(--yellow); }
.b-seal { width: 104px; height: 104px; margin: 18px auto 6px; border-radius: 50%; border: 3px solid var(--chalk); display: grid; place-items: center; position: relative; }
.b-seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(241,239,230,.7); }
.b-seal span { font-family: var(--sketch); font-weight: 700; font-size: 70px; line-height: 1; margin-top: 4px; }
.b-title { font-family: var(--sketch); font-weight: 700; font-size: clamp(54px, 7vw, 92px); line-height: .9; }
.b-small { display: block; font-size: .42em; letter-spacing: .08em; margin-bottom: .1em; color: var(--chalk-dim); }
.b-tente { display: inline-block; margin-top: 14px; padding: 6px 28px; background: var(--chalk); color: var(--slate); font-style: italic; font-weight: 600; font-size: 20px; text-shadow: none; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); }
.b-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-family: var(--sketch); font-size: clamp(22px, 2.4vw, 30px); }
.b-list li:nth-child(1) { color: var(--yellow); } .b-list li:nth-child(2) { color: #F59AB2; } .b-list li:nth-child(3) { color: #7FD6D3; } .b-list li:nth-child(4) { color: var(--orange); }
.b-quote { margin-top: 20px; font-family: var(--sketch); font-size: 22px; color: var(--chalk); opacity: .9; border-top: 2px dashed rgba(241,239,230,.35); padding-top: 16px; }
.board-legs { position: absolute; z-index: 1; left: 50%; bottom: -46px; width: 74%; height: 60px; translate: -50% 0; }
.board-legs::before, .board-legs::after { content: ""; position: absolute; bottom: 0; width: 14px; height: 70px; background: #5E3A1E; border-radius: 3px; }
.board-legs::before { left: 0; rotate: 8deg; } .board-legs::after { right: 0; rotate: -8deg; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-cta .btn-chalk { background: rgba(20,28,27,.45); backdrop-filter: blur(4px); }

/* MOSTRADOR */
.mostrador { padding: clamp(90px, 11vw, 160px) var(--gut); }
.rubros { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.rubro { position: relative; height: 540px; border: 10px solid var(--c); background: var(--c); overflow: hidden; }
.rubro:nth-child(even) { margin-top: 70px; }
.r-pan { --c: var(--slate); }
.r-conf { --c: var(--pink); }
.r-cafe { --c: var(--teal); }
.r-ev { --c: var(--yellow); }
.rubro img { width: 100%; height: 100%; object-fit: cover; }
.r-conf img { transform-origin: 100% 100%; scale: 2; }
.r-cafe img { object-position: 30% 60%; }
.r-chalk { height: 100%; padding: 30px 26px; color: var(--chalk); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; background: var(--noise), radial-gradient(70% 50% at 30% 20%, rgba(255,255,255,.08), transparent 70%), var(--slate); }
.r-chalk h3 { font-family: var(--sketch); font-size: 46px; line-height: 1; }
.r-chalk em { color: var(--yellow); font-style: normal; font-family: var(--sketch); font-size: 1.15em; }
.r-n { font-family: var(--sketch); font-size: 22px; opacity: .7; margin-bottom: auto; }
.r-cap { position: absolute; left: 0; right: 0; bottom: 0; background: var(--chalk); color: var(--slate); padding: 16px 18px 14px; border-top: 8px solid var(--c); }
.r-cap .r-n { margin: 0; font-size: 18px; }
.r-cap h3 { font-family: var(--sketch); font-size: 38px; line-height: 1; }
.r-cap p:last-child { font-size: 16px; margin-top: 4px; }

/* PANORAMA */
.panorama { position: relative; height: min(78vh, 720px); min-height: 440px; overflow: hidden; display: grid; place-items: center; text-align: center; color: var(--chalk); isolation: isolate; }
.panorama img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.panorama::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34,48,47,.25), rgba(34,48,47,.55)); }
.pano-big { font-family: var(--sketch); font-weight: 700; font-size: clamp(70px, 13vw, 210px); line-height: .9; text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.pano-big span { color: var(--yellow); display: block; }
.pano-small { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; margin-top: 14px; text-shadow: 0 2px 16px rgba(0,0,0,.5); padding: 0 16px; }

/* MESA */
.mesa { padding: clamp(90px, 11vw, 160px) var(--gut); color: var(--chalk); background: var(--noise), radial-gradient(60% 40% at 20% 10%, rgba(255,255,255,.07), transparent 70%), radial-gradient(50% 40% at 85% 70%, rgba(255,255,255,.05), transparent 70%), var(--slate); }
.planner { max-width: 1200px; margin: 0 auto; }
.pick { border: 0; padding: 0; margin: 0; }
.pick legend, .f > span { font-family: var(--sketch); font-weight: 700; font-size: 28px; margin-bottom: 18px; padding: 0; color: var(--chalk); }
.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.opt { position: relative; cursor: pointer; display: block; border: 2px dashed rgba(241,239,230,.4); border-radius: 14px; overflow: hidden; transition: border-color .2s, background-color .2s; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-img { display: block; aspect-ratio: 1; overflow: hidden; }
.opt-img img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--o, 50% 50%); scale: var(--z, 1); filter: saturate(.9); transition: filter .3s ease; }
.opt:hover .opt-img img { filter: saturate(1.1) brightness(1.05); }
.opt-t { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 700; font-size: 16px; line-height: 1.25; }
.opt-t::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--chalk); }
.opt input:checked ~ .opt-t::before { background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2322302F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: var(--yellow); }
.opt:has(input:checked) { border-style: solid; border-color: var(--yellow); background: rgba(242,194,48,.1); }
.opt input:focus-visible ~ .opt-t { outline: 3px solid var(--yellow); outline-offset: -3px; }
.pick-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 34px; }
.f { display: block; }
.f > span { display: block; font-size: 24px; margin-bottom: 10px; }
.f select, .f input { width: 100%; font: inherit; font-size: 17px; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 2px solid rgba(241,239,230,.5); background: rgba(241,239,230,.06); color: var(--chalk); color-scheme: dark; }
.f select option { color: var(--ink); background: #fff; }
.f select:focus, .f input:focus { outline: none; border-color: var(--yellow); }
.note { margin-top: 40px; padding: clamp(24px, 4vw, 44px); border: 3px solid var(--chalk); border-radius: 6px; position: relative; background: rgba(0,0,0,.12); }
.note::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(241,239,230,.35); pointer-events: none; }
.note-k { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--yellow); }
.note-text { position: relative; font-family: var(--sketch); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; margin-top: 12px; white-space: pre-line; }
.note-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.note-foot { position: relative; font-size: 15px; color: var(--chalk-dim); margin-top: 14px; }
.mesa-photos { max-width: 1200px; margin: 70px auto 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.mp { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; border: 10px solid var(--chalk); background: var(--chalk); }
.mp:nth-child(2) { rotate: 2deg; margin-top: 50px; }
.mp img { width: 100%; height: 100%; object-fit: cover; }
.mp figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: var(--chalk); color: var(--slate); font-family: var(--sketch); font-size: 24px; padding: 8px 12px 0; }

/* VISITA */
.visita { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); padding: clamp(90px, 11vw, 160px) var(--gut); max-width: 1320px; margin: 0 auto; align-items: stretch; }
.visita .h2 { font-size: clamp(44px, 5vw, 78px); }
.data { margin: 30px 0 30px; display: grid; gap: 0; }
.data > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 2px dashed rgba(28,39,38,.18); }
.data dt { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #B4501A; padding-top: 3px; }
.data dd a { font-weight: 700; }
.visita-map { border: 10px solid var(--teal); min-height: 440px; background: var(--teal); }
.visita-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* FOOTER */
.foot { color: var(--chalk); text-align: center; padding: 0 16px 60px; display: grid; justify-items: center; gap: 8px; font-size: 16px; background: var(--slate); }
.foot-frame { width: 100%; height: 14px; margin-bottom: 44px; background: linear-gradient(90deg, var(--orange) 0 20%, var(--teal) 0 40%, var(--yellow) 0 60%, var(--pink) 0 80%, #6B57A8 0); }
.foot img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--chalk); margin-bottom: 8px; }
.foot-name { font-family: var(--sketch); font-size: 30px; font-weight: 700; }
.foot p:not(.foot-name) { color: var(--chalk-dim); }
.foot a { color: var(--chalk); font-weight: 700; }

.dock { display: none; }
.js .reveal { opacity: 0; transform: translateY(40px); }

@media (max-width: 1050px) {
  .rubros { grid-template-columns: 1fr 1fr; }
  .pick-grid { grid-template-columns: repeat(3, 1fr); }
  .visita { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .links { display: none; }
  .brand span:last-child { font-size: 19px; }
  .nav-call { display: none; }
  .hero { padding: 92px 16px 110px; gap: 20px; }
  .board-inner { border-width: 11px; padding: 24px 16px; }
  .b-top { font-size: 11px; gap: 8px; letter-spacing: .16em; }
  .b-seal { width: 80px; height: 80px; margin-top: 12px; }
  .b-seal span { font-size: 54px; }
  .b-title { font-size: 54px; }
  .b-list { font-size: 22px; gap: 2px 12px; }
  .b-quote { font-size: 19px; }
  .board-legs { bottom: -34px; }
  .hero-cta { width: 100%; margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .sec-head { text-align: left; margin-bottom: 40px; }
  .rubros { grid-template-columns: 1fr; gap: 16px; }
  .rubro { height: 420px; }
  .rubro:nth-child(even) { margin-top: 0; }
  .r-pan { height: auto; min-height: 300px; }
  .pick-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .opt-t { font-size: 14px; padding: 10px; }
  .pick-row { grid-template-columns: 1fr 1fr; }
  .pick-row .f:first-child { grid-column: 1 / -1; }
  .note-actions .btn { flex: 1 1 100%; }
  .mesa-photos { grid-template-columns: 1fr; }
  .mp:nth-child(2) { margin-top: 0; }
  .data > div { grid-template-columns: 1fr; gap: 2px; }
  .visita-map, .visita-map iframe { min-height: 320px; }
  .foot { padding-bottom: 110px; }
  .dock { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 6px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; background: var(--slate); border-radius: 18px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.4); border: 1.5px dashed rgba(241,239,230,.4); }
  .dock a { min-height: 48px; display: grid; place-items: center; color: var(--chalk); text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 13px; }
  .dock .dock-main { background: var(--orange); color: var(--slate); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .opt, .opt-img img { transition: none; }
}
