:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --paper-deep: #ebe2d3;
  --ink: #29231f;
  --muted: #766d63;
  --wine: #46564a;
  --wine-dark: #344237;
  --gold: #b08a55;
  --line: rgba(57, 43, 35, .14);
  --white: #fffdf9;
  --green: #355d4b;
  --shadow: 0 18px 55px rgba(48, 36, 27, .12);
  font-family: "DM Sans", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body, button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .serif { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 1.55rem; line-height: 1.2; }
p { line-height: 1.7; }
button, input, select, textarea { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(185, 139, 77, .7); outline-offset: 3px; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(246, 241, 232, .94); backdrop-filter: blur(16px); transition: box-shadow .3s ease, background .3s ease; }
.header-inner { width: min(1320px, calc(100% - 48px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); font-family: "Playfair Display", serif; font-size: 21px; transition: transform .45s, background .3s, color .3s; }
.brand:hover .brand-mark { transform: rotate(-12deg); background: var(--wine); color: white; }
.brand-name { display: block; font-family: "Playfair Display", serif; font-size: 17px; letter-spacing: .04em; }
.brand-note { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.main-nav a:not(.button-link) { padding: 9px 0; color: #514840; }
.main-nav a:not(.button-link) { position: relative; }
.main-nav a:not(.button-link)::after { position: absolute; right: 100%; bottom: 3px; left: 0; height: 1px; background: var(--gold); content: ""; transition: right .25s ease; }
.main-nav a:not(.button-link):hover::after { right: 0; }
.main-nav a:hover, .footer-links a:hover { color: var(--wine); }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 25px; }
.button, .button-link { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid var(--wine); background: var(--wine); color: white; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.button:hover, .button-link:hover { transform: translateY(-1px); background: var(--wine-dark); }
.button.secondary, .button-link.secondary { background: transparent; color: var(--wine); }
.button.secondary:hover, .button-link.secondary:hover { background: var(--wine); color: white; }
.button.small { min-height: 36px; padding: 0 14px; font-size: 10px; }
.button.danger { background: #9c3d36; border-color: #9c3d36; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }

.hero { position: relative; min-height: min(740px, calc(100vh - 78px)); display: grid; align-items: center; overflow: hidden; background: #382e28; color: white; }
.hero::before { position: absolute; inset: -140px 0 0; content: ""; background: linear-gradient(90deg, rgba(28, 23, 21, .78), rgba(28, 23, 21, .18) 68%), linear-gradient(0deg, rgba(24, 21, 19, .45), transparent 40%), var(--hero-image, none) center 72% / cover, linear-gradient(135deg, #46564a, #29231f); transform: scale(1.015); translate: 0 var(--hero-shift, 0px); animation: hero-drift 24s ease-in-out infinite alternate; }
.hero-content { position: relative; width: min(1320px, calc(100% - 48px)); margin: auto; padding: 82px 0 145px; }
.hero-content > * { animation: hero-rise .8s both; }
.hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-content > *:nth-child(3) { animation-delay: .23s; }
.hero-content > *:nth-child(4) { animation-delay: .34s; }
.eyebrow { margin-bottom: 15px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin-bottom: 21px; font-size: clamp(2.7rem, 5.6vw, 5.2rem); }
.hero-copy { max-width: 570px; margin-bottom: 32px; color: rgba(255,255,255,.82); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button.secondary, .hero .button-link.secondary { border-color: rgba(255,255,255,.68); background: rgba(255,255,255,.06); color: white; }
.hero .button.secondary:hover, .hero .button-link.secondary:hover { border-color: white; background: white; color: var(--ink); }
.hero-caption { position: absolute; right: 24px; bottom: 28px; color: rgba(255,255,255,.75); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.hero-booking { position: absolute; z-index: 2; right: max(24px, calc((100% - 1320px) / 2)); bottom: 30px; width: min(610px, calc(100% - 48px)); padding: 18px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); animation: booking-rise .8s .35s both; }
.booking-bar { display: grid; grid-template-columns: 1fr 1fr .8fr auto; align-items: end; gap: 12px; }
.booking-bar label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.booking-bar input, .booking-bar select { min-width: 0; width: 100%; padding: 7px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 13px; }

.welcome-strip { padding: 34px 24px; background: var(--wine); color: white; text-align: center; }
.welcome-strip p { max-width: 720px; margin: auto; font-family: "Playfair Display", serif; font-size: clamp(17px, 2vw, 23px); }
.section { padding: 100px 24px; }
.section.alt { background: var(--paper-deep); }
.container { width: min(1180px, 100%); margin: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 38px; }
.section-heading h2 { max-width: 670px; margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-intro { max-width: 610px; margin-top: 14px; margin-bottom: 0; color: var(--muted); }
.glance-section { padding: 47px 24px; border-bottom: 1px solid var(--line); background: #f9f6f0; }
.glance-inner { width: min(1180px, 100%); display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); align-items: center; gap: 25px; margin: auto; }
.glance-intro h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 2.7vw, 2.5rem); }
.glance-intro p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.glance-fact { min-height: 100px; display: grid; align-content: center; gap: 6px; padding-left: 22px; border-left: 1px solid var(--line); }
.glance-icon { color: var(--gold); font-size: 10px; letter-spacing: .15em; }
.glance-fact strong { font-family: "Playfair Display", Georgia, serif; font-size: clamp(15px, 1.5vw, 19px); font-weight: 500; }
.glance-fact > span:last-child { color: var(--muted); font-size: 11px; }
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.room-card, .admin-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.room-card { transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .25s ease-out, box-shadow .35s ease; will-change: transform; }
.room-card:hover { transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-7px); box-shadow: var(--shadow); }
.room-photo { min-height: 400px; background-position: center 62%; background-size: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.room-card:hover .room-photo { transform: scale(1.045); }
.room-content { padding: 22px; }
.room-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.room-content h3 { margin: 12px 0 8px; }
.room-content p { min-height: 54px; margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.room-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 17px; padding: 0; list-style: none; }
.room-amenities li { padding: 5px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.room-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.room-price { font-family: "Playfair Display", serif; font-size: 18px; }
.room-price small { display: block; margin-top: 3px; color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 10px; }
.image-split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(35px, 7vw, 100px); }
.image-panel { min-height: 470px; background-position: center; background-size: cover; transition: background-size .6s ease, filter .5s ease; }
.image-panel:hover { filter: saturate(1.12); }
.split-copy h2 { margin: 8px 0 18px; }
.split-copy > p:not(.eyebrow) { color: var(--muted); }
.step-list { display: grid; gap: 15px; margin: 26px 0; padding: 0; list-style: none; }
.step-list li { display: flex; align-items: center; gap: 13px; font-size: 13px; }
.step-number { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); font-family: "Playfair Display", serif; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); font-size: 20px; }
.event-panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 410px; background: #362d29; color: white; }
.event-photo { background: url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1400&q=85") center / cover; }
.event-copy { align-self: center; padding: clamp(30px, 6vw, 75px); }
.event-copy p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.event-copy .detail-list { margin: 20px 0 28px; }
.detail-list { display: grid; gap: 12px; padding: 0; list-style: none; color: inherit; font-size: 13px; }
.detail-list li::before { margin-right: 10px; color: var(--gold); content: "✦"; }
.gallery-grid { grid-auto-rows: 400px; }
.gallery-tile { position: relative; overflow: hidden; padding: 0; border: 0; background: var(--paper-deep); text-align: left; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile:focus-visible img { transform: scale(1.04); }
.gallery-tile span { position: absolute; right: 0; bottom: 0; left: 0; padding: 25px 18px 15px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: white; font-size: 12px; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 48px; background: var(--paper-deep); }
.contact-band h2 { margin: 7px 0 0; font-size: clamp(1.9rem, 3vw, 3rem); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(35px, 8vw, 110px); align-items: start; }
.faq-intro h2 { margin-bottom: 14px; }
.faq-intro > p:not(.eyebrow) { margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 38px 20px 0; cursor: pointer; font-family: "Playfair Display", Georgia, serif; font-size: clamp(16px, 1.8vw, 20px); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 17px; right: 4px; color: var(--gold); content: "+"; font-family: "DM Sans", sans-serif; font-size: 22px; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; margin: 0; padding: 0 34px 20px 0; color: var(--muted); font-size: 13px; }
.site-footer { padding: 55px 24px 24px; background: #29231f; color: white; }
.footer-main { width: min(1180px, 100%); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; margin: auto; padding-bottom: 35px; }
.site-footer .brand-note, .footer-copy, .footer-contact { color: rgba(255,255,255,.62); }
.footer-copy, .footer-contact { max-width: 330px; font-size: 12px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; align-content: start; font-size: 12px; }
.footer-bottom { width: min(1180px, 100%); display: flex; justify-content: space-between; gap: 15px; margin: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 10px; }

.page-hero { padding: 78px 24px 55px; background: var(--paper-deep); text-align: center; }
.page-hero h1 { margin: 9px auto 13px; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.page-hero p:not(.eyebrow) { max-width: 670px; margin: auto; color: var(--muted); }
.page-body { padding: 65px 24px 100px; }
.page-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.info-panel { position: sticky; top: 110px; padding: 34px; background: var(--wine); color: white; }
.info-panel h2 { font-size: 2rem; }
.info-panel p, .info-panel li { color: rgba(255,255,255,.78); font-size: 13px; }
.info-panel .detail-list { margin-top: 25px; }
.form-card { padding: clamp(23px, 4vw, 42px); border: 1px solid var(--line); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #514840; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 14px; }
.field textarea { min-height: 115px; resize: vertical; }
.form-card .button { margin-top: 22px; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
.filter-row select { min-height: 42px; padding: 0 13px; border: 1px solid var(--line); background: var(--white); }
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.facility-card { min-height: 260px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.facility-card .feature-icon { margin-bottom: 35px; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.about-image { min-height: 470px; background-position: center 60%; background-size: cover; }
.about-copy p:not(.eyebrow) { color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.timeline article { padding-top: 18px; border-top: 1px solid var(--gold); }
.timeline b { color: var(--wine); font-family: "Playfair Display", serif; font-size: 1.2rem; }
.timeline p { color: var(--muted); font-size: 13px; }

.menu-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.menu-categories { position: sticky; top: 90px; z-index: 2; display: flex; gap: 8px; overflow-x: auto; margin-bottom: 25px; padding: 8px 0; background: var(--paper); }
.menu-categories a { flex-shrink: 0; padding: 9px 13px; border: 1px solid var(--line); background: var(--white); font-size: 11px; }
.menu-categories a:hover { background: var(--wine); color: white; }
.menu-category { margin: 0 0 30px; scroll-margin-top: 145px; }
.menu-category h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 2rem; }
.menu-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.menu-item h3 { margin: 0 0 5px; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 600; }
.menu-item p { margin: 0; color: var(--muted); font-size: 11px; }
.menu-price { margin-top: 8px; font-size: 13px; font-weight: 600; }
.cart-panel { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--line); background: var(--white); }
.cart-panel h2 { margin-bottom: 4px; font-size: 1.65rem; }
.cart-location { margin-bottom: 15px; color: var(--muted); font-size: 11px; }
.cart-lines { display: grid; gap: 10px; max-height: 260px; overflow: auto; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 9px; font-size: 11px; }
.cart-controls { display: flex; align-items: center; gap: 6px; }
.cart-controls button { width: 25px; height: 25px; border: 1px solid var(--line); background: transparent; }
.cart-total { display: flex; justify-content: space-between; margin: 17px 0; padding-top: 13px; border-top: 1px solid var(--line); font-weight: 700; }
.cart-empty { padding: 12px 0; color: var(--muted); font-size: 12px; }
.order-panel { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.order-panel .field { margin-bottom: 11px; }
.order-panel .field input, .order-panel .field select { min-height: 40px; }
.order-panel .button { width: 100%; }
.tracking-card { max-width: 700px; margin: auto; padding: 36px; border: 1px solid var(--line); background: var(--white); text-align: center; }
.tracking-code { color: var(--wine); font-family: "Playfair Display", serif; font-size: 2rem; }
.status-pill { display: inline-flex; padding: 7px 12px; border-radius: 30px; background: #ede5d7; color: #654a25; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status-pill.success { background: #e2eee5; color: var(--green); }

.admin-wrap { min-height: 65vh; padding: 55px 24px 90px; }
.admin-container { width: min(1240px, 100%); margin: auto; }
.admin-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.admin-top h1 { margin: 5px 0 0; font-size: 3rem; }
.admin-top p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 25px; padding-bottom: 5px; }
.admin-tabs a { flex-shrink: 0; padding: 11px 15px; border: 1px solid var(--line); background: transparent; font-size: 11px; }
.admin-tabs a[aria-selected="true"] { border-color: var(--wine); background: var(--wine); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 25px; }
.stat-card { padding: 19px; border: 1px solid var(--line); background: var(--white); }
.stat-card span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.stat-card strong { display: block; margin-top: 9px; font-family: "Playfair Display", serif; font-size: 2rem; font-weight: 500; }
.admin-card { padding: 22px; }
.admin-card h2 { margin-bottom: 17px; font-size: 1.6rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 11px; }
th { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
td select { max-width: 150px; padding: 7px; border: 1px solid var(--line); background: white; font-size: 11px; }
.admin-list { display: grid; gap: 12px; }
.admin-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); background: var(--white); }
.admin-row h3 { margin: 0 0 5px; font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 600; }
.admin-row p { margin: 0; color: var(--muted); font-size: 11px; }
.notice { margin: 18px 0; padding: 13px 15px; border-left: 3px solid var(--gold); background: #eee5d5; color: #554633; font-size: 11px; line-height: 1.6; }
.empty-state { padding: 30px; color: var(--muted); text-align: center; font-size: 13px; }
.toast { position: fixed; z-index: 50; right: 22px; bottom: 22px; max-width: min(420px, calc(100% - 44px)); padding: 14px 18px; background: #29231f; color: white; box-shadow: var(--shadow); font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.lightbox { width: min(900px, calc(100% - 30px)); max-width: none; max-height: calc(100% - 30px); padding: 0; border: 0; background: #211d1a; color: white; }
.lightbox::backdrop { background: rgba(20,16,14,.86); }
.lightbox img { width: 100%; max-height: 75vh; object-fit: contain; }
.lightbox p { margin: 0; padding: 14px 18px; font-size: 12px; }
.lightbox-close { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(0,0,0,.65); color: white; font-size: 25px; }
.mobile-nav { display: none; }
.quick-contact { position: fixed; z-index: 15; bottom: 18px; left: 18px; display: flex; gap: 8px; }
.quick-contact a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; box-shadow: var(--shadow); color: white; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; transition: transform .2s; }
.quick-contact a:hover { transform: translateY(-2px); }
.qc-whatsapp { background: #1f7a4d; }
.qc-call { background: var(--wine); }

@keyframes header-drop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes booking-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-drift {
  from { transform: scale(1.015); }
  to { transform: scale(1.075); }
}
.motion-ready .scroll-reveal { opacity: 0; transform: translate(var(--rx, 0px), var(--ry, 26px)); transition: opacity .8s ease var(--reveal-delay, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.motion-ready .scroll-reveal.is-visible { opacity: 1; transform: translate(0, 0); }
.motion-ready .image-panel.scroll-reveal, .motion-ready .about-image.scroll-reveal { clip-path: inset(10% 6% 10% 6%); transform: translate(var(--rx, 0px), 0) scale(1.06); transition: opacity .9s ease var(--reveal-delay, 0ms), transform 1.3s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms), clip-path 1.3s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.motion-ready .image-panel.scroll-reveal.is-visible, .motion-ready .about-image.scroll-reveal.is-visible { clip-path: inset(0); transform: none; }

/* ---- Motion system ---- */
:root { interpolate-size: allow-keywords; }
.site-header.intro { animation: header-drop .65s both; }
body.is-scrolled .site-header { background: rgba(246, 241, 232, .98); box-shadow: 0 10px 34px rgba(48, 36, 27, .09); }
.scroll-progress { position: fixed; z-index: 30; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--wine)); pointer-events: none; transform: scaleX(0); transform-origin: 0 50%; }
#app > main { animation: page-in .6s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes page-in { from { opacity: 0; transform: translateY(16px); } }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; transform: translateY(112%); }
.split-in .w > span { animation: word-up 1s cubic-bezier(.2,.7,.2,1) calc(var(--split-delay, 0s) + var(--i, 0) * 70ms) forwards; }
.hero .split-in { --split-delay: .25s; }
@keyframes word-up { to { transform: translateY(0); } }

.marquee { overflow: hidden; padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; flex-shrink: 0; }
.marquee-row span { padding-left: 28px; color: var(--wine); font-family: "Playfair Display", Georgia, serif; font-size: clamp(16px, 2vw, 22px); white-space: nowrap; }
.marquee-row span::after { margin-left: 28px; color: var(--gold); content: "✦"; }
@keyframes marquee { to { transform: translateX(-50%); } }

.scroll-cue { position: absolute; z-index: 2; bottom: 30px; left: 50%; display: none; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; translate: -50% 0; }
.scroll-cue span { position: relative; width: 1px; height: 46px; overflow: hidden; background: rgba(255,255,255,.25); }
.scroll-cue span::after { position: absolute; inset: 0; background: var(--gold); content: ""; animation: cue-drop 2s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cue-drop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 1400px) { .scroll-cue { display: flex; } }

.button:active, .button-link:active { transform: scale(.97); }
.field input, .field select, .field textarea { transition: border-color .25s ease, box-shadow .25s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 138, 85, .18); outline: none; }
.main-nav a[aria-current="page"] { color: var(--wine); }
.main-nav a[aria-current="page"]::after { right: 0; }
.mobile-menu { transition: transform .35s ease; }
.mobile-menu[aria-expanded="true"] { transform: rotate(90deg); }
.mobile-nav.open { animation: nav-drop .35s cubic-bezier(.2,.7,.2,1); }
.mobile-nav.open a { animation: nav-link-in .4s cubic-bezier(.2,.7,.2,1) backwards; }
.mobile-nav.open a:nth-child(1) { animation-delay: .04s; }
.mobile-nav.open a:nth-child(2) { animation-delay: .08s; }
.mobile-nav.open a:nth-child(3) { animation-delay: .12s; }
.mobile-nav.open a:nth-child(4) { animation-delay: .16s; }
.mobile-nav.open a:nth-child(5) { animation-delay: .2s; }
.mobile-nav.open a:nth-child(6) { animation-delay: .24s; }
.mobile-nav.open a:nth-child(7) { animation-delay: .28s; }
.mobile-nav.open a:nth-child(8) { animation-delay: .32s; }
@keyframes nav-drop { from { opacity: 0; transform: translateY(-10px); } }
@keyframes nav-link-in { from { opacity: 0; transform: translateX(-14px); } }

.quick-contact { animation: qc-in .7s cubic-bezier(.2,.7,.2,1) 1.2s backwards; }
.qc-whatsapp { animation: pulse-ring 2.6s ease-out infinite; }
@keyframes qc-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(31, 122, 77, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 122, 77, 0); } }

.facility-card, .stat-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.facility-card:hover, .stat-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.menu-item { transition: padding-left .25s ease, background .25s ease; }
.menu-item:hover { padding-left: 10px; }
.timeline article { transition: transform .3s ease, border-color .3s ease; }
.timeline article:hover { transform: translateY(-4px); border-color: var(--wine); }
.cart-total.bump span:last-child { display: inline-block; animation: bump .45s ease; }
@keyframes bump { 40% { color: var(--gold); transform: scale(1.22); } }
.lightbox[open] { animation: lightbox-in .38s cubic-bezier(.2,.7,.2,1); }
.lightbox[open]::backdrop { animation: fade-in .38s ease; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.95) translateY(12px); } }
@keyframes fade-in { from { opacity: 0; } }
.faq-list details[open] p { animation: faq-in .4s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@supports selector(::details-content) {
  .faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size .4s ease, content-visibility .4s allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}
@media (hover: hover) {
  .gallery-tile span { transform: translateY(101%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .gallery-tile:hover span, .gallery-tile:focus-visible span { transform: none; }
}
.button, .button-link { position: relative; overflow: hidden; }
.button::after, .button-link::after { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.2) 45%, transparent 70%); content: ""; pointer-events: none; transform: translateX(-120%); transition: transform .55s ease; }
.button:hover::after, .button-link:hover::after { transform: translateX(120%); }
.welcome-strip p { animation: welcome-in .8s both; }
@keyframes welcome-in { from { opacity: 0; letter-spacing: .02em; } to { opacity: 1; letter-spacing: normal; } }

@media (max-width: 950px) {
  .main-nav { gap: 13px; font-size: 10px; }
  .main-nav .nav-optional { display: none; }
  .hero-booking { right: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .image-split { gap: 35px; }
  .menu-layout { grid-template-columns: 1fr 290px; }
  .glance-inner { grid-template-columns: repeat(3, 1fr); }
  .glance-intro { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .header-inner { width: calc(100% - 32px); min-height: 68px; }
  .main-nav { display: none; }
  .mobile-menu { display: inline-flex; }
  .mobile-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
  .hero { min-height: 670px; align-items: start; }
  .hero::before { background-position: 58% center; }
  .hero-content { width: calc(100% - 38px); padding-top: 74px; }
  .hero-copy { font-size: 14px; }
  .hero-booking { right: 19px; bottom: 20px; left: 19px; width: auto; padding: 15px; }
  .booking-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
  .booking-bar .button { grid-column: 1 / -1; width: 100%; }
  .hero-caption { display: none; }
  .section { padding: 70px 19px; }
  .section-heading { align-items: start; flex-direction: column; }
  .room-grid { grid-template-columns: 1fr; }
  .room-photo { min-height: 320px; }
  .image-split, .event-panel, .page-layout, .about-story { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .glance-inner { grid-template-columns: 1fr; gap: 17px; }
  .glance-intro { grid-column: auto; }
  .glance-fact { min-height: auto; padding: 13px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .image-panel, .about-image { min-height: 330px; }
  .event-photo { min-height: 270px; }
  .event-copy { padding: 35px 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .contact-band { align-items: start; flex-direction: column; padding: 30px 24px; }
  .site-footer { padding-bottom: 84px; }
  .quick-contact { right: 18px; }
  .quick-contact a { flex: 1; justify-content: center; }
  .toast { bottom: 80px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 60px 19px 42px; }
  .page-body { padding: 42px 19px 70px; }
  .info-panel { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .facility-grid, .timeline { grid-template-columns: 1fr; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-categories { top: 68px; }
  .cart-panel { position: static; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-top { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .scroll-reveal { opacity: 1; transform: none; clip-path: none; }
  .marquee-track, .qc-whatsapp, .scroll-cue span::after { animation: none !important; }
  .w > span { transform: none; }
  .room-card, .room-card:hover { transform: none; }
  .hero::before { translate: none; }
}

/* ---- Admin portal ---- */
.admin-shell { width: min(1280px, 100%); display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; margin: auto; }
.admin-sidebar { position: sticky; top: 100px; display: grid; gap: 14px; padding: 20px 14px; border: 1px solid var(--line); background: var(--white); }
.admin-sidebar .eyebrow { margin: 0 12px; }
.admin-sidebar nav { display: grid; gap: 2px; }
.admin-sidebar nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-left: 3px solid transparent; font-size: 14px; transition: background .2s, border-color .2s, color .2s; }
.admin-sidebar nav a:hover { background: var(--paper); }
.admin-sidebar nav a[aria-current="page"] { border-left-color: var(--gold); background: var(--paper-deep); color: var(--wine); font-weight: 600; }
.badge { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #9c3d36; color: white; font-size: 11px; font-weight: 700; text-align: center; }
.back-link { margin: 4px 12px 0; color: var(--muted); font-size: 12px; }
.admin-main { display: grid; gap: 18px; min-width: 0; }
.admin-head h1 { margin: 0 0 6px; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.admin-head p { margin: 0; color: var(--muted); font-size: 14px; }
.admin-main .notice { margin: 0; }
.admin-main time { color: var(--muted); font-size: 11px; white-space: nowrap; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; }
.hint, .progress-text { color: var(--muted); font-size: 12px; }
.attn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.attn-card { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); background: var(--white); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.attn-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.attn-card span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.attn-card strong { font-family: "Playfair Display", serif; font-size: 2.6rem; font-weight: 500; line-height: 1; }
.attn-card em { color: var(--muted); font-size: 12px; font-style: normal; }
.attn-card.hot { border-color: #9c3d36; background: #fbf1ef; }
.attn-card.hot strong { color: #9c3d36; }
.progress { height: 6px; margin-bottom: 8px; background: var(--paper-deep); }
.progress span { display: block; height: 100%; background: var(--green); transition: width .6s ease; }
.checklist { display: grid; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.checklist li > div { flex: 1; min-width: 0; }
.checklist strong { display: block; font-size: 14px; }
.checklist small { color: var(--muted); font-size: 12px; }
.tick { width: 24px; height: 24px; display: grid; place-items: center; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 50%; color: white; font-size: 13px; }
.checklist li.done .tick { border-color: var(--green); background: var(--green); }
.checklist li.done strong { color: var(--muted); text-decoration: line-through; }
.activity-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.activity-row > div { display: grid; gap: 2px; min-width: 0; }
.activity-row span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.kan-col { display: grid; gap: 10px; padding: 12px; background: var(--paper-deep); }
.kan-col h2 { display: flex; justify-content: space-between; margin: 0 0 4px; font-family: "DM Sans", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kan-col h2 span { color: var(--muted); }
.kan-empty { margin: 0; padding: 18px 0; color: var(--muted); font-size: 12px; text-align: center; }
.order-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); background: var(--white); animation: card-in .4s ease backwards; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
.order-card header, .order-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-card footer { flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.loc-chip { display: inline-flex; padding: 5px 11px; background: var(--wine); color: white; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.order-guest { margin: 0; color: var(--muted); font-size: 12px; }
.order-card ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.order-card li span { font-weight: 700; }
.order-note { margin: 0; padding: 8px; background: #eee5d5; font-size: 12px; line-height: 1.4; }
.order-actions { display: flex; align-items: center; gap: 10px; }
.link-button { padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; }
.link-button:hover { color: #9c3d36; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); background: var(--white); font-size: 13px; transition: background .2s, color .2s; }
.chip:hover { background: var(--paper-deep); }
.chip[aria-current="true"] { border-color: var(--wine); background: var(--wine); color: white; }
.enq-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.enq-card { display: grid; align-content: start; gap: 8px; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--white); }
.enq-card[data-status="Pending"] { border-left-color: #c98a2b; }
.enq-card[data-status="Confirmed"], .enq-card[data-status="Contacted"] { border-left-color: var(--green); }
.enq-card[data-status="Cancelled"] { border-left-color: #9c3d36; opacity: .7; }
.enq-top { display: flex; align-items: center; justify-content: space-between; }
.tag { padding: 3px 9px; background: var(--paper-deep); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.enq-card h3 { margin: 0; font-family: "DM Sans", sans-serif; font-size: 16px; font-weight: 600; }
.enq-summary { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.enq-contact { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; }
.enq-contact a { text-decoration: underline; overflow-wrap: anywhere; }
.enq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.enq-actions select { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); background: #fff; font-size: 12px; }

.cat-title { margin: 22px 0 4px; color: var(--gold); font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.cat-row h3 { margin: 0 0 3px; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 600; }
.cat-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.row-end { display: flex; align-items: center; gap: 14px; }
.money-input { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.money-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 138, 85, .18); }
.money-input input { width: 84px; min-height: 40px; padding: 0; border: 0; background: transparent; font-size: 14px; text-align: right; outline: none; }
.money-input small { color: var(--muted); font-size: 11px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-ui { position: relative; width: 38px; height: 22px; flex-shrink: 0; border-radius: 999px; background: #cfc6b8; transition: background .25s; }
.switch-ui::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; content: ""; transition: transform .25s; }
.switch input:checked + .switch-ui { background: var(--green); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid rgba(185, 139, 77, .7); outline-offset: 2px; }
.add-box { margin-bottom: 8px; padding: 14px; border: 1px dashed var(--gold); }
.add-box summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.add-box form { margin-top: 14px; }

.steps-card { padding: 16px 22px; }
.how-steps { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.how-steps li { display: flex; align-items: center; gap: 10px; }
.how-steps b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: white; font-size: 13px; }
.inline-form { display: flex; align-items: end; gap: 14px; }
.inline-form .field { flex: 1; min-width: 0; }
.inline-form .button { margin: 0; }
.inline-form small, .settings-form small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.settings-form { display: grid; gap: 16px; max-width: 640px; }
.settings-form .button { justify-self: start; }
.two-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.warn-box { border-left-color: #9c3d36; background: #fbf1ef; color: #6d2a25; }
.warn { padding: 2px 8px; background: #fbf1ef; color: #9c3d36; font-weight: 700; }
.qr-actions { display: flex; }
.qr-group { margin: 10px 0 12px; font-size: 1.5rem; }
.qr-group span { color: var(--muted); font-size: 14px; }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-bottom: 18px; }
.qr-card { display: grid; justify-items: center; gap: 6px; padding: 22px 18px 16px; border: 1px solid var(--line); background: var(--white); text-align: center; break-inside: avoid; }
.qr-brand { margin: 0; font-family: "Playfair Display", serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.qr-code { width: 100%; max-width: 190px; aspect-ratio: 1; margin: 6px 0; }
.qr-code svg { display: block; width: 100%; height: 100%; }
.qr-missing { height: 100%; display: grid; place-items: center; border: 1px dashed var(--line); color: var(--muted); font-size: 12px; }
.qr-title { margin: 0; color: var(--muted); font-size: 12px; }
.qr-place { margin: 0; color: var(--wine); font-family: "Playfair Display", serif; font-size: 1.9rem; line-height: 1.1; }
.qr-tools { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.scan-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--gold); background: #f9f3e6; }
.scan-banner p { margin: 0; font-size: 14px; line-height: 1.4; }

@media (max-width: 1000px) {
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; gap: 18px; }
  .admin-sidebar { position: static; padding: 8px; }
  .admin-sidebar .eyebrow, .back-link { display: none; }
  .admin-sidebar nav { display: flex; overflow-x: auto; gap: 6px; }
  .admin-sidebar nav a { flex-shrink: 0; border-bottom: 3px solid transparent; border-left: 0; white-space: nowrap; }
  .admin-sidebar nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .attn-grid, .two-forms { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .admin-wrap { padding: 36px 16px 70px; }
  .kanban { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: 1fr auto; }
  .cat-row > :first-child { grid-column: 1 / -1; }
  .inline-form { flex-direction: column; align-items: stretch; }
  .checklist li { flex-wrap: wrap; }
}
@media print {
  body { background: white; }
  .site-header, .site-footer, .quick-contact, .toast, .scroll-progress, .mobile-nav, .no-print { display: none !important; }
  #app > main { animation: none; }
  .admin-wrap { min-height: 0; padding: 0; }
  .admin-shell { display: block; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .qr-card { border: 1px solid #999; break-inside: avoid; }
  .qr-code { max-width: 260px; }
}

/* ---- QR cards, generator and print ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.generate-card .card-head { margin-bottom: 16px; }
.gen-row { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.gen-row .field { flex: 1 1 260px; min-width: 0; }
.gen-row small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.seg { display: inline-flex; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--paper); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; min-width: 92px; padding: 13px 20px; font-size: 14px; font-weight: 600; text-align: center; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--wine); color: white; }
.seg input:focus-visible + span { outline: 3px solid rgba(185, 139, 77, .7); outline-offset: -3px; }
.print-bar { display: flex; flex-wrap: wrap; gap: 10px; }

.qr-card { gap: 10px; }
.qr-card.fresh { animation: qr-fresh 1.8s ease; }
@keyframes qr-fresh { 0%, 40% { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(176, 138, 85, .35); } }
.qr-info { display: grid; justify-items: center; gap: 4px; width: 100%; padding-top: 12px; border-top: 1px solid var(--line); }
.qr-kind { padding: 5px 16px; background: var(--wine); color: white; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.qr-kind.table { background: var(--gold); }
.qr-number { color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 3.4rem; font-weight: 600; line-height: 1; }
.qr-caption { color: var(--muted); font-size: 12px; }

@media print {
  body[data-print="room"] .qr-card[data-type="table"],
  body[data-print="table"] .qr-card[data-type="room"],
  body[data-print="one"] .qr-card:not([data-print-this]) { display: none !important; }
  body[data-print="one"] .qr-grid { grid-template-columns: 1fr; justify-items: center; }
  body[data-print="one"] .qr-card { width: 100%; max-width: 420px; }
  body[data-print="one"] .qr-code { max-width: 340px; }
  .qr-card { padding: 18px; }
  .qr-kind { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qr-number { font-size: 4rem; }
}

/* ---- Publish and optional pages ---- */
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.publish-steps { display: grid; gap: 8px; margin: 14px 0 18px; padding-left: 20px; font-size: 14px; line-height: 1.5; }

/* ---- Multi-hotel platform: plain pages, login, photos, editors ---- */
.no-photo { background-color: var(--paper-deep); background-image: linear-gradient(135deg, var(--paper-deep), #d9cdb8) !important; }
.plain-page { display: grid; min-height: 100vh; place-items: center; padding: 24px 16px; background: var(--paper); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; }
.plain-card { width: min(560px, 100%); padding: 40px 32px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); text-align: center; }
.plain-card h1 { margin: 8px 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.15; }
.plain-card p { color: var(--muted); }
.login-wrap { display: grid; min-height: 60vh; place-items: center; padding: 24px 0; }
.login-card { display: grid; gap: 14px; width: min(440px, 100%); }
.login-card h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 2rem; }
.login-card .button { width: 100%; }
.admin-who { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.cat-block { border-top: 1px solid var(--line); }
.cat-block .cat-row { grid-template-columns: 64px minmax(0, 1fr) auto auto; border-top: 0; }
.cat-thumb { width: 64px; height: 48px; background-position: center; background-size: cover; border: 1px solid var(--line); }
.edit-box { margin: 0 0 14px; padding: 0 0 4px; }
.edit-box summary { cursor: pointer; color: var(--wine); font-size: 13px; font-weight: 600; }
.edit-box form { margin-top: 14px; padding: 16px; background: var(--paper); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.field .label { color: #514840; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.photo-inline { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.dish-fields { display: grid; gap: 4px; min-width: 0; }
.inline-input { width: 100%; padding: 6px 8px; border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: 13px; }
.inline-input.strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.inline-input:hover { border-color: var(--line); }
.inline-input:focus { border-color: var(--gold); background: var(--white); outline: none; }
.row-end select { padding: 6px 8px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 13px; }
.upload-btn { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.upload-btn.busy { opacity: .55; pointer-events: none; }
.upload-btn:focus-within { outline: 3px solid rgba(185, 139, 77, .7); outline-offset: 2px; }
.photo-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 18px; }
.photo-slot { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
.photo-slot strong { display: block; font-size: 14px; }
.photo-slot small { display: block; margin: 4px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.photo-preview { aspect-ratio: 4 / 3; background-position: center; background-size: cover; border: 1px solid var(--line); }
.slot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.photo-item { display: grid; gap: 6px; }
.photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.sent-card { display: grid; gap: 10px; text-align: center; }
.sent-card h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; }
.track-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.recent-orders { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; }
.recent-orders .eyebrow { width: 100%; margin: 0; }
.order-guest small { color: var(--muted); font-size: 11px; font-weight: 400; }
@media (max-width: 720px) {
  .cat-block .cat-row { grid-template-columns: 56px minmax(0, 1fr); }
  .photo-slot { grid-template-columns: 96px minmax(0, 1fr); }
  .admin-who { width: 100%; justify-content: space-between; }
}

/* ---- Home: quick actions, hero facts, story teaser ---- */
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.85); font-size: 13px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); content: ""; }
.quick-actions { padding: 26px 24px; border-bottom: 1px solid var(--line); background: var(--white); }
.qa-grid { width: min(1180px, 100%); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: auto; }
.qa-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.qa-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.qa-card:focus-visible { outline: 3px solid rgba(185, 139, 77, .7); outline-offset: 2px; }
.qa-icon { flex: none; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--wine); color: white; }
.qa-icon svg { width: 22px; height: 22px; }
.qa-card strong { display: block; font-size: 15px; font-weight: 600; }
.qa-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
@media (max-width: 720px) {
  .quick-actions { padding: 18px 16px; }
  .qa-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qa-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .hero-facts { font-size: 12px; margin-top: 20px; }
  /* Call/WhatsApp buttons wait until the guest scrolls, so they never cover the booking bar. */
}

/* ---- Home hero v2: photo hero, booking strip below it ---- */
html, body { overflow-x: clip; } /* sliding reveal animations must never widen the page */
.hero { min-height: min(680px, calc(100vh - 78px)); }
.hero::before { background-position: center, center, center 45%, center; }
.hero-content { padding: 72px 0 120px; }
.hero-booking { position: relative; inset: auto; z-index: 3; width: min(1180px, calc(100% - 32px)); margin: -64px auto 0; padding: 20px 24px; }
.booking-bar { grid-template-columns: 1.3fr 1fr 1fr .7fr auto; gap: 18px; }
.booking-title { display: grid; gap: 3px; margin: 0; align-self: center; }
.booking-title strong { font-family: "Playfair Display", Georgia, serif; font-size: 19px; font-weight: 600; }
.booking-title span { color: var(--muted); font-size: 12px; }
.quick-actions { padding-top: 34px; }
/* Floating Call/WhatsApp appear once the guest scrolls, so they never sit on the hero text. */
.quick-contact { transition: opacity .3s, transform .3s; }
body:not(.is-scrolled) .quick-contact { opacity: 0; pointer-events: none; transform: translateY(16px); }
@media (max-width: 980px) {
  .booking-bar { grid-template-columns: 1fr 1fr; }
  .booking-title { grid-column: 1 / -1; }
  .booking-bar .button { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 720px) {
  .hero { min-height: 560px; }
  .hero-content { padding: 56px 0 90px; }
  .hero-booking { width: calc(100% - 32px); margin-top: -48px; padding: 16px; }
}

/* ---- Mobile optimisation ---- */
.cart-bar { display: none; }
@media (max-width: 720px) {
  /* Hero: the whole (landscape) photo on top, text underneath, instead of a zoomed-in crop. */
  .hero { min-height: 0; align-items: start; }
  .hero::before { inset: 0 0 auto; height: 56.25vw; background: linear-gradient(0deg, #382e28 3%, rgba(56, 46, 40, 0) 45%), var(--hero-image, none) center / cover, linear-gradient(135deg, #46564a, #29231f); transform: none; translate: none; animation: none; }
  .hero.no-photo::before { height: 0; }
  .hero-content { padding: calc(56.25vw + 6px) 0 84px; }
  .hero.no-photo .hero-content { padding-top: 48px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-actions .button-link { flex: 1 1 140px; }
  /* Form text of 16px stops iPhones zooming in when a field is tapped. */
  input, select, textarea, .field input, .field select, .field textarea, .booking-bar input, .booking-bar select, .inline-input, .inline-input.strong, .money-input input, .row-end select, .enq-actions select, .filter-row select { font-size: 16px; }
  .booking-bar input, .booking-bar select { min-height: 44px; }
  /* A long hotel name and the menu button must share one line. */
  .header-inner { gap: 12px; }
  .brand { min-width: 0; }
  .brand-mark { width: 36px; height: 36px; flex-shrink: 0; font-size: 18px; }
  .brand-name { font-size: 14px; letter-spacing: .02em; line-height: 1.25; }
  .brand-note { font-size: 8px; }
  .mobile-menu { min-width: 44px; min-height: 44px; justify-content: center; }
  .mobile-nav a { padding: 14px 4px; }
  .section { padding: 56px 16px; }
  .room-photo { min-height: 260px; }
  .room-content p { min-height: 0; }
  .room-bottom { flex-wrap: wrap; }
  /* Menu and cart: bigger tap targets and a bottom bar with the order total. */
  .menu-item h3 { font-size: 15px; }
  .menu-item p { font-size: 12px; }
  .menu-item .button { min-height: 40px; min-width: 64px; }
  .menu-categories a { padding: 10px 14px; font-size: 12px; }
  .cart-line { font-size: 13px; }
  .cart-controls button { width: 36px; height: 36px; font-size: 18px; }
  .cart-lines { max-height: none; }
  .cart-bar:not([hidden]) { position: fixed; z-index: 16; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 0 18px; border: 0; background: var(--wine); box-shadow: var(--shadow); color: white; font-size: 14px; font-weight: 600; }
  .menu-layout { padding-bottom: 72px; }
  .tracking-card { padding: 24px 18px; }
  .track-actions .button { flex: 1 1 100%; }
  /* Admin on a phone */
  .row-end { flex-wrap: wrap; gap: 10px; }
  .dish-row .row-end { grid-column: 1 / -1; }
  .admin-head { gap: 10px; }
  .order-card footer .button { min-height: 40px; }
  .qr-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .qr-card { padding: 14px 10px; }
  .qr-number { font-size: 2.4rem; }
  .quick-contact { bottom: calc(18px + env(safe-area-inset-bottom)); }
}

/* Desktop hero: start the photo at the hero's top edge so the hotel's sign board is never cut off.
   (The parallax shift only moves it down while the hero top is already scrolled out of view.) */
/* Desktop hero: the box has the photo's own 16:9 shape, so the whole picture shows, uncropped. */
@media (min-width: 721px) {
  .hero { aspect-ratio: 16 / 9; min-height: 520px; max-height: none; }
  .hero::before { inset: 0; background: linear-gradient(90deg, rgba(20, 16, 14, .7), rgba(20, 16, 14, .25) 45%, rgba(20, 16, 14, 0) 70%), var(--hero-image, none) center / cover, linear-gradient(135deg, #46564a, #29231f); transform: none; animation: none; }
  .hero-content { padding: 48px 0; }
  .hero h1, .hero-copy, .hero-facts { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
  .hero-booking { margin-top: 28px; }
}

/* ---- Room photo slider ---- */
.room-photo.slider { position: relative; overflow: hidden; background: var(--paper-deep); }
.room-photo .slide { position: absolute; inset: 0; background-position: center 62%; background-size: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.1s ease, transform 6s ease-out; }
.room-photo .slide.active { opacity: 1; transform: scale(1); }
.slide-nav { position: absolute; z-index: 2; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 253, 249, .88); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); color: var(--ink); font-size: 24px; line-height: 1; opacity: 0; transform: translateY(-50%); transition: opacity .25s, background .2s; }
.slide-nav.prev { left: 12px; }
.slide-nav.next { right: 12px; }
.room-card:hover .slide-nav, .slide-nav:focus-visible { opacity: 1; }
.slide-nav:hover { background: white; }
.slide-dots { position: absolute; z-index: 2; bottom: 14px; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); }
.slide-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .6); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: width .3s, background .3s; }
.slide-dots button.active { width: 24px; background: white; }
@media (hover: none) { .slide-nav { opacity: 1; width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .room-photo .slide { transition: opacity .2s; transform: none; } }
.room-photo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.strip-item { display: grid; justify-items: center; gap: 4px; }

/* ---- Hotel logo in the header and footer ---- */
.brand-logo { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); transition: transform .45s; }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.04); }
@media (max-width: 720px) { .brand-logo { width: 42px; height: 42px; } }
