/* Royal Acropolis — site styles. Mobile-first. */
:root {
  --river: #0F2A24;
  --river-2: #163830;
  --moss: #1D3D34;
  --gold: #C8A44D;
  --gold-soft: #E2CC8C;
  --gold-deep: #9C7C2C;
  --crimson: #8A1E2C;
  --mist: #E9EDE8;
  --paper: #F5F7F3;
  --ink: #13231F;
  --ink-2: #44554F;
  --line: rgba(15, 42, 36, .14);
  --line-dark: rgba(233, 237, 232, .16);

  --serif: "Cormorant Garamond", "Noto Serif Devanagari", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --sec: clamp(2.75rem, 5vw, 4.5rem);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 300; line-height: 1.0; }
h2 { font-size: clamp(2.05rem, 4.6vw, 3.3rem); font-weight: 300; }
h3 { font-size: 1.5rem; font-weight: 500; }
p { margin: 0 0 1em; }
.lang-hi h1, .lang-hi h2, .lang-hi h3 { line-height: 1.3; letter-spacing: 0; }
.lang-hi h1 { font-size: clamp(2.2rem, 6.4vw, 4.4rem); }
.lang-hi h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.lang-hi body, .lang-hi { line-height: 1.75; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { 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(--gold); color: var(--river); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.3rem); line-height: 1.6; max-width: 62ch; }
.tag { display: inline-block; font-size: .9rem; letter-spacing: .04em; color: var(--gold-soft); border: 1px solid currentColor; padding: .2em .8em; border-radius: 999px; margin-bottom: 1.2rem; }

/* Kasavu — the gold double border of a Kerala mundu, used on section edges */
.kasavu {
  height: 9px;
  background:
    linear-gradient(var(--gold), var(--gold)) top / 100% 3px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom / 100% 1px no-repeat;
  opacity: .95;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { flex: none; }
.btn-sm { min-height: 40px; padding: .45em 1.1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--river); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { border-color: rgba(233, 237, 232, .6); color: var(--mist); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-line-dark { border-color: var(--river); color: var(--river); background: transparent; }
.btn-line-dark:hover { background: var(--river); color: var(--mist); }
.btn-ivory { background: var(--mist); color: var(--crimson); }
.btn-ivory:hover { background: #fff; }
.btn-line-ivory { border-color: rgba(233, 237, 232, .7); color: var(--mist); }
.btn-line-ivory:hover { background: rgba(233, 237, 232, .12); }
.link-gold { color: var(--gold-deep); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.dark .link-gold, .site-footer .link-gold { color: var(--gold-soft); }
.link-gold:hover { color: var(--gold); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--mist);
  background: linear-gradient(180deg, rgba(8, 22, 19, .88) 0%, rgba(8, 22, 19, .55) 60%, rgba(8, 22, 19, 0) 100%);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(15, 42, 36, .96); box-shadow: 0 1px 0 var(--line-dark); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgba(15, 42, 36, .88); backdrop-filter: blur(10px); } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-soft); white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.main-nav { display: none; gap: 1.8rem; }
.main-nav a { text-decoration: none; font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; color: #fff; padding: .4em 0; border-bottom: 2px solid transparent; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--gold); color: var(--gold-soft); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.lang-switch { font-size: 1rem; font-weight: 600; text-decoration: none; padding: .3em .2em; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.lang-switch:hover { color: var(--gold-soft); }
.header-cta { display: none; font-weight: 600; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; margin-right: -8px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--river); color: var(--mist);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2.1rem; font-weight: 300; text-decoration: none; padding: .35rem 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu nav a[aria-current] { color: var(--gold-soft); }
.mobile-menu-foot { display: grid; gap: 1rem; margin-top: 2rem; }
.mobile-menu-foot .lang-switch { text-align: center; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--river); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--mist); background: var(--river) center / cover no-repeat; overflow: hidden; isolation: isolate;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.08) contrast(1.04); transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 28, 24, .45) 0%, rgba(10, 28, 24, 0) 26%, rgba(10, 28, 24, .12) 55%, rgba(10, 28, 24, .86) 100%),
    radial-gradient(110% 70% at 0% 100%, rgba(10, 28, 24, .5), transparent 62%); }
.hero-inner::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75%; z-index: -1; background: linear-gradient(180deg, transparent, rgba(10, 28, 24, .55)); pointer-events: none; }
.hero-inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3.5rem, 10vh, 7rem); }
.hero-emblem { width: clamp(110px, 16vw, 163px); height: auto; margin-bottom: 1.6rem; }
.hero-title { max-width: 13ch; margin-bottom: .35em; text-wrap: balance; }
.hero-text { max-width: 46ch; font-size: clamp(1.05rem, 1.9vw, 1.22rem); color: rgba(233, 237, 232, .88); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero > .kasavu, .page-hero > .kasavu { position: absolute; left: 0; right: 0; bottom: 0; }

/* The one orchestrated motion: hero copy arrives in sequence */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .hero-inner > :nth-child(2) { animation-delay: .15s; }
  .hero-inner > :nth-child(3) { animation-delay: .3s; }
  .hero-inner > :nth-child(4) { animation-delay: .45s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Page hero */
.page-hero {
  position: relative; min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end;
  color: var(--mist); background: var(--river); overflow: hidden; isolation: isolate;
}
.page-hero.detail-hero { min-height: 72vh; min-height: 72svh; }
.page-hero.slim { min-height: 70vh; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 28, 24, .55) 0%, rgba(10, 28, 24, .1) 35%, rgba(10, 28, 24, .88) 100%); }
.page-hero-inner { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: clamp(2.8rem, 7vh, 4.5rem); }
.page-hero h1 { max-width: 16ch; text-wrap: balance; }
.page-hero p { max-width: 54ch; color: rgba(233, 237, 232, .88); font-size: 1.1rem; }
.estate-hero { min-height: 88vh; min-height: 88svh; background-position: center; background-size: cover; }

/* Sections */
.section { padding: var(--sec) 0; position: relative; }
.section.dark { background: var(--river); color: var(--mist); }
.section.dark > .kasavu { position: absolute; top: 0; left: 0; right: 0; }
.section.dark p { color: rgba(233, 237, 232, .82); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 2.5vw, 2rem); }
.section-head > div { max-width: 640px; }
.section-head p { margin: 0; color: var(--ink-2); }
.dark .section-head p { color: rgba(233, 237, 232, .78); }
.section-lead { max-width: 62ch; color: var(--ink-2); margin-bottom: 2.5rem; }
.h-sub { font-size: 1.7rem; font-weight: 400; margin-bottom: 1rem; }
.h-sub .muted { font-family: var(--sans); font-size: .95rem; margin-left: .4rem; }

/* Intro */
.intro-grid { display: grid; gap: 1.5rem; }
.intro .display { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 14ch; }
.signature { display: flex; align-items: center; gap: .9rem; margin-top: 1.8rem; }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.signature span { display: flex; flex-direction: column; line-height: 1.35; color: var(--ink-2); font-size: .95rem; }
.signature strong { color: var(--ink); font-weight: 500; font-size: 1rem; }

/* Stay cards — arched windows */
.stay-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 1.1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
  margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
  scrollbar-width: none; scroll-padding-inline: var(--gutter);
}
.stay-rail::-webkit-scrollbar { display: none; }
.stay-rail > * { scroll-snap-align: start; }
.stay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
.stay-card { display: block; text-decoration: none; color: inherit; }
.stay-arch { display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--moss); }
.stay-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.stay-card:hover .stay-arch img { transform: scale(1.04); }
.stay-meta { display: flex; flex-direction: column; padding-top: .9rem; border-top: 1px solid var(--gold); margin-top: .9rem; }
.stay-type { font-size: .85rem; color: var(--gold-deep); }
.stay-name { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; margin: .1rem 0 .3rem; }
.stay-price { font-size: .95rem; color: var(--ink-2); }
.stay-price small { font-size: .85rem; }
.section:not(.dark) + .section:not(.dark) { padding-top: 0; }

/* Estate teaser */
.estate-grid { display: grid; gap: 2.2rem; align-items: center; }
.film-thumb { position: relative; display: block; padding: 0; border: 0; background: var(--moss); cursor: pointer; overflow: hidden; aspect-ratio: 576 / 496; width: 100%; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .7s var(--ease), opacity .3s; }
.film-thumb:hover img { transform: scale(1.03); opacity: 1; }
.film-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--river); }
.film-play svg { width: 26px; height: 26px; margin-left: 4px; }
.film-label { position: absolute; left: 1rem; bottom: .9rem; font-size: .95rem; color: var(--mist); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.estate-copy h2 { max-width: 14ch; }
.estate-copy p { max-width: 54ch; }

/* Experience cards */
.exp-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: var(--mist); background: var(--moss); }
.exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.exp-card:hover img { transform: scale(1.05); }
.exp-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 24, 0) 45%, rgba(10, 28, 24, .88) 100%); }
.exp-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: .9rem; display: flex; flex-direction: column; }
.exp-cat { font-size: .78rem; color: var(--gold-soft); }
.exp-title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.12; }
.exp-mosaic, .exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.exp-card[hidden] { display: none; }
.exp-mosaic .exp-card:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin: 0 calc(var(--gutter) * -1) 1.8rem; padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 42px; padding: .4em 1.05em; border: 1px solid var(--line); background: transparent; border-radius: 999px; cursor: pointer; font-size: .95rem; white-space: nowrap; }
.chip span { color: var(--ink-2); font-size: .85em; margin-left: .2em; }
.chip[aria-pressed="true"] { background: var(--river); border-color: var(--river); color: var(--mist); }
.chip[aria-pressed="true"] span { color: var(--gold-soft); }

/* Services */
.svc-cols { display: grid; gap: 2.2rem; }
.svc-col h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--gold-deep); margin-bottom: .6rem; }
.svc-col ul { list-style: none; margin: 0; padding: 0; }
.svc-col li { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.svc-groups { display: grid; gap: 2.5rem; }
.svc-list { margin: 0 0 1.5rem; }
.svc-list > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .2rem; }
.svc-list dt { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }
.svc-list dd { margin: 0; color: var(--ink-2); }

/* Team */
.team-grid { display: grid; gap: 2.5rem; }
.person { display: grid; gap: 1.2rem; }
.person img { width: 132px; height: auto; aspect-ratio: 1; object-fit: cover; object-position: top; filter: grayscale(.15); }
.person h3 { font-size: 1.9rem; font-weight: 400; margin-bottom: .1rem; }
.person .role { color: var(--gold-deep); font-weight: 500; margin-bottom: .8rem; }
.person p { color: var(--ink-2); max-width: 52ch; }

/* CTA band */
.cta-band { background: var(--crimson); color: var(--mist); padding: clamp(2.5rem, 5vw, 3.5rem) 0; position: relative; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px;
  background: linear-gradient(var(--gold), var(--gold)) top / 100% 3px no-repeat, linear-gradient(var(--gold), var(--gold)) bottom / 100% 1px no-repeat; }
.cta-inner { display: grid; gap: 1.8rem; align-items: end; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { max-width: 52ch; color: rgba(233, 237, 232, .88); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Detail pages */
.detail-grid { display: grid; gap: 2rem; grid-template-areas: "lead" "book" "gallery"; }
.detail-lead { grid-area: lead; }
.detail-lead .lead { margin: 0; }
.detail-gallery { grid-area: gallery; }
.book-box { grid-area: book; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.g-item { display: block; overflow: hidden; aspect-ratio: 1; background: var(--moss); }
.g-item.g-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.book-box { background: var(--paper); border-top: 3px solid var(--gold); padding: 1.6rem; display: grid; gap: .8rem; align-self: start; }
.book-box .h-sub { margin-bottom: .2rem; }
.rates { margin: 0; }
.rates > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.rates dt { color: var(--ink-2); }
.rates dd { margin: 0; font-weight: 500; white-space: nowrap; }
.qr { display: flex; gap: 1rem; align-items: center; padding-top: 1rem; margin-top: .4rem; border-top: 1px solid var(--line); }
.qr img { width: 96px; height: 96px; flex: none; }
.qr div { display: flex; flex-direction: column; font-size: .92rem; color: var(--ink-2); line-height: 1.45; }
.qr strong { color: var(--ink); font-weight: 500; }

/* Estate page */
.pillars, .reasons { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillars article, .reasons article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.pillars h3, .reasons h3 { font-size: 1.7rem; font-weight: 400; margin-bottom: .35rem; }
.pillars p, .reasons p { color: var(--ink-2); margin: 0; max-width: 60ch; }
.numbers { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
.numbers li { display: flex; flex-direction: column; border-top: 1px solid var(--gold); padding-top: .9rem; }
.numbers strong { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: var(--gold-soft); }
.numbers span { color: rgba(233, 237, 232, .78); margin-top: .4rem; }
.invest { max-width: 720px; border-left: 3px solid var(--gold); padding-left: 1.4rem; }
.invest h3 { font-size: 2rem; font-weight: 400; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .95rem; font-weight: 500; padding: 0; }
.req { color: var(--crimson); }
.field-row { display: grid; gap: 1.3rem; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(15, 42, 36, .25); border-radius: 2px; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--river); outline: 2px solid rgba(200, 164, 77, .5); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--crimson); }
.field-error { color: var(--crimson); font-size: .9rem; margin: 0; }
.radio-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.rchip { position: relative; }
.rchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rchip span { display: inline-flex; align-items: center; min-height: 42px; padding: .35em 1em; border: 1px solid rgba(15, 42, 36, .25); border-radius: 999px; background: #fff; font-size: .95rem; }
.rchip input:checked + span { background: var(--river); color: var(--mist); border-color: var(--river); }
.rchip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ref-pill { background: var(--paper); border-left: 3px solid var(--gold); padding: .7rem 1rem; margin: 0; }
.notice { padding: 1.4rem 1.5rem; margin-bottom: 1.5rem; }
.notice.ok { background: var(--paper); border-top: 3px solid var(--gold); }
.notice.ok h2 { font-size: 2rem; }
.notice.err { background: #F7E6E8; color: var(--crimson); border-left: 3px solid var(--crimson); }
.contact-aside { display: grid; gap: .8rem; align-content: start; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: var(--paper); text-decoration: none; border-left: 3px solid transparent; }
.contact-line:hover { border-left-color: var(--gold); }
.contact-line.wa svg { color: #1E8E4E; }
.contact-line span { display: flex; flex-direction: column; line-height: 1.35; font-weight: 500; word-break: break-word; }
.contact-line small { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.map iframe { width: 100%; height: 280px; border: 0; }

/* Footer */
.site-footer { background: var(--river); color: rgba(233, 237, 232, .82); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.footer-brand img { width: 190px; height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a, .footer-contact a { text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-soft); }
.social { display: flex; gap: .4rem; margin-top: .6rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.social a:hover { border-color: var(--gold); color: var(--gold-soft); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: 1.4rem; padding-bottom: 1.4rem; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.footer-base a { text-decoration: none; }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr;
  background: var(--river); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 60px; text-decoration: none; color: var(--mist); font-weight: 500; }
.mobile-bar a.wa { background: var(--gold); color: var(--river); }
.menu-open .mobile-bar { display: none; }

/* Dialogs */
dialog { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
dialog::backdrop { background: rgba(6, 16, 14, .94); }
.lightbox[open], .film[open] { width: 100vw; height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.lightbox figcaption { color: rgba(233, 237, 232, .75); font-size: .9rem; margin-top: .6rem; }
.lb-close { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; font-size: 2rem; line-height: 1; border: 0; background: none; color: var(--mist); cursor: pointer; z-index: 2; }
.lb-nav { position: fixed; top: 50%; width: 48px; height: 64px; margin-top: -32px; border: 0; background: rgba(15, 42, 36, .6); color: var(--mist); font-size: 2rem; cursor: pointer; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.film video { width: min(92vw, 1100px); max-height: 86vh; background: #000; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .stay-rail { grid-auto-columns: 44%; }
  .stay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.6rem; }
  .exp-mosaic, .exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
  .exp-title { font-size: 1.5rem; }
  .exp-mosaic .exp-card:first-child { grid-column: auto; aspect-ratio: 4 / 5; }
  .exp-body { padding: 1.1rem; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row.three { grid-template-columns: 1fr 1fr 110px; }
  .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .person { grid-template-columns: 200px 1fr; align-items: start; }
  .person img { width: 100%; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .svc-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-bar, .mobile-menu { display: none !important; }
  .site-footer { padding-bottom: 0; }
  .brand img { width: 60px; }
  .brand-name { font-size: 1.55rem; }

  .intro-grid { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; }
  .stay-rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 1.8rem; }
  .stay-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stay-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .estate-grid { grid-template-columns: 6fr 5fr; gap: 4.5rem; }

  .exp-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .exp-mosaic .exp-card:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .exp-mosaic .exp-card:first-child .exp-title { font-size: 2.3rem; }
  .exp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .exp-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "lead book" "gallery book"; gap: 2.5rem 4rem; }
  .book-box { position: sticky; top: calc(var(--header-h) + 24px); }

  .svc-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; border-top: 0; }
  .pillars article:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; border-top: 0; }
  .reasons article:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .numbers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .cta-inner { grid-template-columns: 1fr auto; gap: 3rem; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 5rem; }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
