PageSourceSearch

https://orgazmadrid.com/assets/nuestra-carta-BxPag2rb.js

js orgazmadrid.com collected 2026-10-09 22:02:51 UTC 8,834 bytes, 1 lines download raw bytes

1import{j as e,S as p,a as u,r as d,c as h,W as b}from"./index-BCrFyOsB.js";import{u as v}from"./use-reveal-sdWrXIHS.js";import{v as f}from"./vinoteca-rack-CykvD8_4.js";import{c as g}from"./orgaz-coctel-portada_1.jpg.asset-CTcYSrzX.js";const j="/assets/menus-grupo-hero-CRdLCuga.webp",w="https://orgazmadrid.myrestoo.net/es/reservar",k=[{title:"Carta",subtitle:"La casa",image:h,pdf:"/nuestra-carta/digital",internal:!0,cta:"Explorar carta"},{title:"Carta de vinos",subtitle:"Bodega",image:f,pdf:"/nuestra-carta/vinos",internal:!0,cta:"Explorar bodega"},{title:"Menús de grupo",subtitle:"Celebraciones",image:j,pdf:"/nuestra-carta/menus-grupo",internal:!0,cta:"Descubrir menús"},{title:"Menús cóctel",subtitle:"Eventos",image:g.url,pdf:"/nuestra-carta/menus-coctel",internal:!0,cta:"Descubrir menús"}];function R(){return v(),e.jsxs("div",{className:"min-h-screen text-ink",children:[e.jsx(p,{}),e.jsxs("main",{children:[e.jsx(N,{}),e.jsx(y,{}),e.jsx(C,{})]}),e.jsx(u,{})]})}function N(){return e.jsxs("section",{className:"relative w-full overflow-hidden pt-36 md:pt-44 pb-16 md:pb-24",style:{background:"radial-gradient(120% 80% at 15% 0%, color-mix(in oklab, var(--sea) 18%, #f4f6f4) 0%, transparent 60%), radial-gradient(120% 90% at 95% 100%, color-mix(in oklab, var(--sea-deep) 14%, transparent) 0%, transparent 55%), linear-gradient(180deg, #eef2f0 0%, #e6ecec 55%, #dfe6e6 100%)"},children:[e.jsxs("svg",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 h-full w-full opacity-[0.18] mix-blend-multiply",preserveAspectRatio:"none",viewBox:"0 0 1600 900",children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:"waveGradCarta",x1:"0",x2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"var(--sea)",stopOpacity:"0"}),e.jsx("stop",{offset:"50%",stopColor:"var(--sea)",stopOpacity:"0.55"}),e.jsx("stop",{offset:"100%",stopColor:"var(--sea-deep)",stopOpacity:"0"})]})}),[120,240,380,520,680,820].map((a,r)=>e.jsx("path",{d:`M0 ${a} C 320 ${a-30+r*4}, 640 ${a+30-r*4}, 960 ${a-20+r*3}, 1280 ${a+20-r*3}, 1600 ${a}`,stroke:"url(#waveGradCarta)",strokeWidth:"0.6",fill:"none"},a))]}),e.jsx("div",{className:"relative mx-auto max-w-[1500px] px-6 md:px-10",children:e.jsxs("div",{className:"reveal max-w-3xl",children:[e.jsxs("div",{className:"flex items-center gap-6 mb-8",children:[e.jsx("span",{className:"h-px w-12 bg-ink/25"}),e.jsx("span",{className:"eyebrow text-ink/60",children:"— Cartas"})]}),e.jsxs("h1",{className:"headline text-ink text-[clamp(2.6rem,9vw,6.5rem)] leading-[0.92]",children:["Nuestras",e.jsx("br",{}),e.jsx("span",{className:"font-script italic font-normal text-gold",children:"cartas"}),e.jsx("span",{className:"text-ink",children:"."})]}),e.jsx("p",{className:"mt-8 max-w-xl text-ink/65 text-[1rem] md:text-[1.05rem] leading-[1.85]",children:"Cocina mediterránea, bodega seleccionada y propuestas pensadas para cada momento. Explora cada carta y déjate llevar."}),e.jsx("p",{className:"reveal mt-5 text-[0.75rem] md:text-[0.8rem] italic text-ink/50 leading-relaxed",children:"Cocina ininterrumpida durante todo el horario de apertura."})]})})]})}function y(){const a=d.useRef(null),[r,x]=d.useState(!1),[c,m]=d.useState(!0),n=()=>{const t=a.current;t&&(x(t.scrollLeft>4),m(t.scrollLeft+t.clientWidth<t.scrollWidth-4))};d.useEffect(()=>{n();const t=a.current;if(t)return t.addEventListener("scroll",n,{passive:!0}),window.addEventListener("resize",n),()=>{t.removeEventListener("scroll",n),window.removeEventListener("resize",n)}},[]);const i=t=>{const s=a.current;if(!s)return;const l=s.querySelector("[data-menu-card]"),o=l?l.offsetWidth+24:s.clientWidth*.8;s.scrollBy({left:t*o,behavior:"smooth"})};return e.jsx("section",{className:"relative w-full overflow-hidden pt-6 md:pt-0 pb-24 md:pb-40",style:{background:"linear-gradient(180deg, #dfe6e6 0%, #e6ecec 100%)"},children:e.jsxs("div",{className:"relative mx-auto max-w-[1500px] px-6 md:px-10",children:[e.jsxs("div",{className:"hidden md:flex items-center justify-end gap-3 mb-10 reveal",children:[e.jsx("button",{type:"button","aria-label":"Anterior",onClick:()=>
1i(-1),disabled:!r,className:"h-14 w-14 rounded-full border border-ink/25 flex items-center justify-center transition-all duration-500 hover:border-gold hover:bg-gold hover:text-ink disabled:opacity-30 disabled:cursor-not-allowed",children:e.jsx("svg",{width:"22",height:"10",viewBox:"0 0 22 10",fill:"none",children:e.jsx("path",{d:"M21 5H1M1 5L5 1M1 5L5 9",stroke:"currentColor",strokeWidth:"1"})})}),e.jsx("button",{type:"button","aria-label":"Siguiente",onClick:()=>i(1),disabled:!c,className:"h-14 w-14 rounded-full border border-ink/25 flex items-center justify-center transition-all duration-500 hover:border-gold hover:bg-gold hover:text-ink disabled:opacity-30 disabled:cursor-not-allowed",children:e.jsx("svg",{width:"22",height:"10",viewBox:"0 0 22 10",fill:"none",children:e.jsx("path",{d:"M1 5H21M21 5L17 1M21 5L17 9",stroke:"currentColor",strokeWidth:"1"})})})]}),e.jsx("div",{className:"relative -mx-6 md:mx-0",children:e.jsxs("div",{ref:a,className:"flex gap-6 md:gap-8 overflow-x-auto snap-x snap-mandatory px-6 md:px-0 pb-6 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:[k.map((t,s)=>{const l={"data-menu-card":!0,className:"reveal group relative shrink-0 snap-start w-[66vw] sm:w-[58vw] md:w-[34vw] lg:w-[26rem] block",style:{transitionDelay:`${s*60}ms`}},o=e.jsxs("div",{className:"relative aspect-[3/4] overflow-hidden bg-ink/5 shadow-[0_30px_60px_-30px_rgba(40,60,70,0.35)]",children:[e.jsx("img",{src:t.image,alt:`${t.title}${t.subtitle?" — "+t.subtitle:""}`,loading:s<2?"eager":"lazy",fetchPriority:s===0?"high":"auto",decoding:"async",className:"absolute inset-0 h-full w-full object-cover transition-transform duration-[1600ms] ease-out group-hover:scale-[1.06]"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-ink/70 via-ink/10 to-transparent opacity-80 transition-opacity duration-700 group-hover:opacity-95"}),e.jsxs("span",{className:"absolute top-5 left-5 font-script italic text-gold text-sm tracking-wide",children:["0",s+1]}),e.jsxs("div",{className:"absolute inset-x-5 bottom-5 text-bone",children:[t.subtitle&&e.jsx("span",{className:"block text-[0.62rem] tracking-[0.34em] uppercase text-bone/70 mb-2",children:t.subtitle}),e.jsx("h3",{className:"font-display font-light text-2xl md:text-[1.7rem] leading-tight tracking-tight",children:t.title}),e.jsxs("span",{className:"mt-4 inline-flex items-center gap-3 text-[0.62rem] tracking-[0.32em] uppercase text-bone",children:[e.jsx("span",{children:t.cta??"Ver carta"}),e.jsx("span",{className:"h-px w-6 bg-bone transition-all duration-500 group-hover:w-12 group-hover:bg-gold"})]})]})]});return t.internal?e.jsx(b,{to:t.pdf,...l,children:o},`${t.title}-${s}`):e.jsx("a",{href:t.pdf,target:"_blank",rel:"noreferrer",...l,children:o},`${t.title}-${s}`)}),e.jsx("div",{className:"shrink-0 w-2 md:w-6","aria-hidden":!0})]})}),e.jsxs("div",{className:"mt-14 flex md:hidden items-center justify-center gap-4",children:[e.jsx("button",{type:"button","aria-label":"Anterior",onClick:()=>i(-1),disabled:!r,className:"h-12 w-12 rounded-full bg-sea text-bone flex items-center justify-center shadow-[0_10px_24px_-12px_color-mix(in_oklab,var(--sea)_70%,transparent)] transition-all duration-300 active:scale-95 hover:-translate-y-0.5 hover:bg-sea-deep disabled:opacity-30 disabled:cursor-not-allowed",children:e.jsx("svg",{width:"20",height:"10",viewBox:"0 0 22 10",fill:"none",children:e.jsx("path",{d:"M21 5H1M1 5L5 1M1 5L5 9",stroke:"currentColor",strokeWidth:"1.4"})})}),e.jsx("button",{type:"button","aria-label":"Siguiente",onClick:()=>i(1),disabled:!c,className:"h-12 w-12 rounded-full bg-sea text-bone flex items-center justify-center shadow-[0_10px_24px_-12px_color-mix(in_oklab,var(--sea)_70%,transparent)] transition-all duration-300 active:scale-95 hover:-translate-y-0.5 hover:bg-sea-deep disabled:opacity-30 disabled:cursor-not-allowed",children:e.jsx("svg",{width:"20",height:"10",viewBox:"0 0 22 10",fill:"none",children:e.jsx("path",{d:"M1 5H21M21 5L17 1M21 5L17 9",stroke:"currentColor",strokeWidth:"1.4"})})})]})]})})}function C(){return e.jsx("section",{className:"relative w-full bg-ink text-bone py-20 md:py-28",children:e.jsxs("div",{className:"mx-auto max-w-[1500px] px-6 md:px-10 flex flex-col md:flex-row md:items-end md:justify-between gap-10",children:[e.jsxs("div",{className:"reveal",children:[e.jsx("span",{className:"eyebrow text-gold",children:"— Reservas"}),e.jsxs("h2",{className:"headline mt-4 text-bone text-[clamp(2rem,6vw,3.6rem)] leading-[0.95]",children:["Reserva tu mesa",e.jsx("span",{className:"text-gold",children:"."})]})]}),e.jsxs("a",{href:w,target:"_blank",rel:"noreferrer",className:"btn-luxe text-bone w-fit",children:["Reservar ",e.jsx("span",{className:"arrow"})]})]})})}export{R as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.