/* ==========================================================
   CM MAHAL — shared stylesheet
   Layout follows maharajanmahal.com; type is Poppins throughout.
   ========================================================== */
:root {
  --ivory: #FBF7F0;
  --cream: #F3EADB;
  --blush: #CDA696;
  --wine: #7A1F33;
  --wine-deep: #2E0E14;
  --gold: #B8924F;
  --gold-soft: #E7D3A8;
  --ink: #2B2422;
  --muted: #6E625D;
  --line: rgba(43, 36, 34, .12);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tamil: 'Noto Sans Tamil', 'Latha', sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(46, 14, 20, .12);
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tamil { font-family: var(--tamil); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: 90px 0; position: relative; overflow-x: clip; }
@media (min-width: 1024px) { .section { padding: 120px 0; } }
.bg-cream { background: var(--cream); }
.bg-wine { background: var(--wine-deep); color: #fff; }
.center { text-align: center; }

/* ---------- Section headings ("Our / Beautiful Events") ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 500; font-size: 1rem; letter-spacing: .02em; }
.kicker::before, .center .kicker::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.title { font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -.01em; margin-top: 8px; color: var(--ink); }
.bg-wine .title, .on-image .title { color: #fff; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.bg-wine .lead, .on-image .lead { color: rgba(255,255,255,.8); }
.head { margin-bottom: 56px; }
.ornament { display: block; width: 120px; height: 18px; margin: 18px auto 0; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 28px; border-radius: 50px; font-weight: 500; font-size: .95rem; transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .3s; position: relative; overflow: hidden; isolation: isolate; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--wine-deep); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(122,31,51,.28); }
.btn-primary { background: var(--wine); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-light { background: #fff; color: var(--wine); }
.btn-light:hover { color: #fff; }
.btn-outline { border: 1.5px solid currentColor; }
.btn-outline:hover { color: #fff; border-color: var(--wine-deep); }

/* ---------- Top bar ---------- */
.topbar { background: var(--wine-deep); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 12px; }
.topbar .social { display: flex; gap: 6px; }
.topbar .social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background .3s, color .3s; }
.topbar .social a:hover { background: var(--gold); color: #fff; }
.topbar svg { width: 15px; height: 15px; }
.topbar .book { display: flex; align-items: center; gap: 8px; }
.topbar .book strong { color: var(--gold-soft); font-weight: 500; }
.topbar .addr { display: none; align-items: center; gap: 8px; }
@media (min-width: 900px) { .topbar .addr { display: flex; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(251, 247, 240, .96); backdrop-filter: blur(12px); transition: box-shadow .3s, height .3s; }
.header.is-scrolled { box-shadow: 0 6px 30px rgba(46,14,20,.1); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .35s var(--ease); }
.header.is-scrolled .container { height: 70px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo b { font-weight: 700; font-size: 1.6rem; letter-spacing: .06em; color: var(--wine); }
.logo small { font-size: .7rem; letter-spacing: .08em; color: var(--muted); }
.nav { display: none; align-items: center; gap: 34px; font-weight: 500; font-size: .95rem; }
@media (min-width: 1080px) { .nav { display: flex; } }
.nav > a, .nav .dd > a { position: relative; padding: 8px 0; transition: color .3s; }
.nav > a::after, .nav .dd > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav > a:hover, .nav > a.active, .nav .dd > a.active { color: var(--wine); }
.nav > a:hover::after, .nav > a.active::after, .nav .dd > a.active::after { transform: scaleX(1); }
.dd { position: relative; }
.dd > a { display: flex; align-items: center; gap: 4px; }
.dd > a svg { width: 14px; height: 14px; transition: transform .3s; }
.dd:hover > a svg, .dd:focus-within > a svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: 100%; left: -20px; min-width: 180px; padding: 10px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.dd-menu a { display: block; padding: 9px 14px; border-radius: 8px; }
.dd-menu a:hover, .dd-menu a.active { background: var(--cream); color: var(--wine); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { display: none; min-height: 44px; padding: 8px 22px; }
@media (min-width: 640px) { .header-actions .btn { display: inline-flex; } }
.burger { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); }
.burger svg { width: 22px; height: 22px; }
@media (min-width: 1080px) { .burger { display: none; } }

.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--wine-deep); color: #fff; padding: 24px; display: flex; flex-direction: column; clip-path: circle(0 at calc(100% - 44px) 44px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.mobile-nav.open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .7s var(--ease); }
.mobile-nav .close { align-self: flex-end; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.mobile-nav .close svg { width: 22px; height: 22px; }
.mobile-nav nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mobile-nav nav a { font-size: 1.7rem; font-weight: 500; opacity: 0; transform: translateY(20px); transition: .5s var(--ease); }
.mobile-nav nav a.sub { font-size: 1.15rem; padding-left: 22px; color: var(--gold-soft); }
.mobile-nav.open nav a { opacity: 1; transform: none; }
.mobile-nav.open nav a:nth-child(n) { transition-delay: calc(var(--i) * 50ms + 200ms); }
.mobile-nav nav a.active { color: var(--gold); }

/* ---------- Hero slider (home) ---------- */
.hero { position: relative; height: calc(100svh - 42px - var(--header-h)); min-height: 560px; overflow: hidden; background: var(--wine-deep); color: #fff; }
.hero-slides { position: absolute; inset: -8% 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.hero-slide.active img { animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46,14,20,.85), rgba(46,14,20,.45) 55%, rgba(46,14,20,.2)); }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; }
.hero-content .kicker { color: var(--gold-soft); }
.hero h1 { font-weight: 600; font-size: clamp(2.4rem, 6.4vw, 5.2rem); line-height: 1.1; margin-top: 12px; max-width: 14ch; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .word > span { display: inline-block; }
.hero p { margin-top: 18px; max-width: 46ch; color: rgba(255,255,255,.85); font-size: 1.08rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-dots { position: absolute; z-index: 4; right: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .hero-dots { right: 32px; } }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #fff; transition: .3s; }
.hero-dots button.active { background: var(--gold); border-color: var(--gold); height: 34px; border-radius: 10px; }
.hero-shape { position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--ivory); }
@media (min-width: 768px) { .hero-shape { height: 110px; } }
.scroll-down { position: absolute; z-index: 4; left: 50%; bottom: 26px; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; display: none; }
@media (min-width: 768px) { .scroll-down { display: block; } }
.scroll-down::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Floating decorative motifs (multi-layer parallax) */
.float { position: absolute; pointer-events: none; color: var(--gold); opacity: .18; z-index: 0; }
.float svg { width: 100%; height: 100%; }
.section > .container { position: relative; z-index: 1; }

/* ---------- Page banner (inner pages) ---------- */
.banner { position: relative; height: 420px; overflow: hidden; color: #fff; display: flex; align-items: center; background: var(--wine-deep); }
@media (min-width: 768px) { .banner { height: 230px; } }
.banner-bg { position: absolute; inset: -20% 0; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,14,20,.55), rgba(46,14,20,.8)); }
.banner .container { position: relative; z-index: 2; text-align: center; }
.banner h1 { font-weight: 600; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.15; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; margin-top: 14px; padding: 8px 22px; border-radius: 40px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); font-size: .9rem; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span { color: var(--gold-soft); }

/* ---------- About block ---------- */
.about-grid { display: grid; gap: 60px; align-items: center; }
@media (min-width: 992px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about-media { position: relative; padding: 0 0 60px 40px; }
.about-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about-media .main img, .why-media .main img { width: 100%; height: 118%; object-fit: cover; }
.about-media .inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--ivory); box-shadow: var(--shadow); }
.about-media .inset img { width: 100%; height: 100%; object-fit: cover; }
.about-media::before { content: ''; position: absolute; top: -24px; right: -24px; width: 60%; height: 60%; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.years-badge { position: absolute; right: -10px; bottom: 90px; z-index: 2; background: var(--wine); color: #fff; border-radius: var(--radius); padding: 18px 22px; text-align: center; box-shadow: var(--shadow); }
.years-badge b { display: block; font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--gold-soft); }
.years-badge span { font-size: 18px; }
.about-text .welcome { font-weight: 500; color: var(--gold); }
.about-text p + p { margin-top: 14px; }
.about-text p strong { color: var(--wine); }

/* ---------- Events grid ---------- */
.events-grid { display: grid; gap: 26px; }
@media (min-width: 640px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--wine-deep); box-shadow: var(--shadow); }
.event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.event-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(46,14,20,.9)); transition: background .5s; }
.event-card:hover img { transform: scale(1.1); }
.event-card:hover::after { background: linear-gradient(180deg, rgba(122,31,51,.2) 0%, rgba(46,14,20,.92)); }
.event-card .info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; }
.event-card .info .tamil { font-size: .85rem; color: var(--gold-soft); }
.event-card h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.event-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .9rem; color: var(--gold-soft); max-height: 0; opacity: 0; overflow: hidden; transition: .5s var(--ease); }
.event-card:hover .more, .event-card:focus-visible .more { max-height: 40px; opacity: 1; }
@media (hover: none) { .event-card .more { max-height: 40px; opacity: 1; } }
.event-card .more svg { width: 16px; height: 16px; }
.event-card .frame-line { position: absolute; inset: 14px; z-index: 2; border: 1px solid rgba(231,211,168,.6); border-radius: 10px; opacity: 0; transform: scale(1.05); transition: .6s var(--ease); pointer-events: none; }
.event-card:hover .frame-line { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--wine); color: #fff; padding: 22px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; white-space: nowrap; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 600; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: '✦'; color: var(--gold-soft); font-size: .8em; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: 60px; align-items: center; }
@media (min-width: 992px) { .why-grid { grid-template-columns: 1.05fr .95fr; gap: 80px; } }
.checks { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks li svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: var(--wine); color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.badge { flex: 1 1 200px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.badge svg { width: 46px; height: 46px; color: var(--gold); flex: none; }
.badge b { display: block; font-size: 1.8rem; line-height: 1; font-weight: 700; color: var(--wine); }
.badge span { font-size: .88rem; color: var(--muted); }
.why-media { position: relative; padding: 0 40px 70px 0; }
.why-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.why-media .video { position: absolute; right: 0; bottom: 0; width: 55%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--ivory); box-shadow: var(--shadow); }
.why-media .video img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(46,14,20,.35); color: #fff; }
.play-btn span { position: relative; width: 66px; height: 66px; border-radius: 50%; background: var(--wine); display: grid; place-items: center; }
.play-btn span::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; }

/* ---------- Amenities ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 640px) { .amen-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .amen-grid { grid-template-columns: repeat(5, 1fr); } }
.amen { background: #fff; border-radius: var(--radius); padding: 28px 16px; text-align: center; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, background .45s, color .45s; position: relative; overflow: hidden; }
.amen .ic { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--wine); transition: .45s var(--ease); }
.amen .ic svg { width: 30px; height: 30px; }
.amen h3 { font-size: .95rem; font-weight: 500; line-height: 1.4; }
.amen:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: var(--wine); color: #fff; }
.amen:hover .ic { background: var(--gold); color: #fff; transform: rotateY(360deg); }

/* ---------- Testimonials ---------- */
.testi { position: relative; overflow: hidden; }
.testi-bg { position: absolute; inset: -20% 0; }
.testi-bg img { width: 100%; height: 100%; object-fit: cover; }
.testi::after { content: ''; position: absolute; inset: 0; background: rgba(46,14,20,.86); }
.testi .container { position: relative; z-index: 2; }
.quote-card { max-width: 820px; margin: 0 auto; text-align: center; color: #fff; }
.quote-card svg.q { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 18px; }
.quote-card blockquote { font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.7; font-weight: 300; font-style: italic; }
.quote-card .who { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote-card .avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); font-weight: 600; font-size: 1.2rem; }
.quote-card .who b { display: block; font-weight: 600; }
.quote-card .who span { font-size: .85rem; color: var(--gold-soft); }
.stars { color: var(--gold); letter-spacing: 3px; }

/* ---------- Counters band ---------- */
.counters { position: relative; overflow: hidden; color: #fff; }
.counters-bg { position: absolute; inset: -25% 0; }
.counters-bg img { width: 100%; height: 100%; object-fit: cover; }
.counters::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(122,31,51,.92), rgba(46,14,20,.88)); }
.counters .container { position: relative; z-index: 2; display: grid; gap: 40px; text-align: center; }
@media (min-width: 768px) { .counters .container { grid-template-columns: repeat(3, 1fr); } }
.counter-item b { display: block; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 700; line-height: 1; color: var(--gold-soft); }
.counter-item span { display: block; margin-top: 10px; font-size: 20px; }
.counter-item + .counter-item { position: relative; }
@media (min-width: 768px) { .counter-item + .counter-item::before { content: ''; position: absolute; left: -20px; top: 10%; bottom: 10%; width: 1px; background: rgba(255,255,255,.25); } }

/* ---------- Booking form ---------- */
.book-grid { display: grid; gap: 50px; align-items: start; }
@media (min-width: 992px) { .book-grid { grid-template-columns: .9fr 1.1fr; gap: 70px; } }
.form-card { background: #fff; border-radius: 20px; padding: 32px 24px; box-shadow: var(--shadow); position: relative; }
@media (min-width: 640px) { .form-card { padding: 44px; } }
.form-card::before { content: ''; position: absolute; left: 30px; right: 30px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--wine), var(--gold)); }
.form { display: grid; gap: 18px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 6px; }
.field label em { font-style: normal; color: var(--wine); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ivory); font-size: .95rem; transition: border-color .3s, box-shadow .3s; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A1F33' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,146,79,.15); }
.field [aria-invalid="true"] { border-color: var(--wine); }
.field .err { display: none; font-size: .82rem; color: var(--wine); margin-top: 5px; }
.field .err.show { display: block; }
.form-done { text-align: center; padding: 20px 0; }
.form-done svg { width: 60px; height: 60px; color: var(--wine); margin: 0 auto 14px; }
.form-done h3 { font-size: 1.4rem; font-weight: 600; }
.form-done p { color: var(--muted); margin: 8px auto 20px; max-width: 40ch; }
.contact-lines { display: grid; gap: 16px; margin-top: 30px; }
.cline { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .35s var(--ease); }
.cline:hover { border-color: var(--gold); transform: translateX(6px); }
.cline .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; flex: none; }
.cline .ic svg { width: 22px; height: 22px; }
.cline small { display: block; color: var(--muted); font-size: .82rem; }
.cline b { font-weight: 600; }

/* ---------- Generic split rows (events page / amenities page) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.flip > :first-child { order: 2; } }
.split + .split { margin-top: 100px; }
.split .pic { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); position: relative; }
.split .pic img { width: 100%; height: 120%; object-fit: cover; }
.split .num { font-size: 4.5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.split h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; line-height: 1.25; margin-top: 6px; }
.split p { color: var(--muted); margin-top: 14px; max-width: 50ch; }
.split .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Gallery / photos ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filters button { padding: 10px 24px; border-radius: 40px; border: 1.5px solid var(--line); font-weight: 500; font-size: .92rem; transition: .3s; }
.filters button:hover { border-color: var(--wine); color: var(--wine); }
.filters button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.masonry { columns: 1; column-gap: 20px; }
@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 992px) { .masonry { columns: 3; } }
.masonry li { break-inside: avoid; margin-bottom: 20px; }
.masonry li.hide { display: none; }
.tile { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.tile img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: rgba(46,14,20,.55); opacity: 0; transition: opacity .4s; }
.tile .zoom { position: absolute; z-index: 2; left: 50%; top: 50%; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--wine); display: grid; place-items: center; transform: translate(-50%, -50%) scale(.4); opacity: 0; transition: .45s var(--ease); }
.tile .zoom svg { width: 22px; height: 22px; }
.tile .cap { position: absolute; z-index: 2; left: 16px; bottom: 14px; color: #fff; font-size: .85rem; font-weight: 500; opacity: 0; transform: translateY(10px); transition: .45s var(--ease); }
.tile:hover img { transform: scale(1.08); }
.tile:hover::after, .tile:hover .zoom, .tile:hover .cap, .tile:focus-visible::after, .tile:focus-visible .zoom { opacity: 1; }
.tile:hover .zoom, .tile:focus-visible .zoom { transform: translate(-50%, -50%) scale(1); }
.tile:hover .cap { transform: none; }

.hscroll-wrap { overflow: hidden; }
.hscroll { display: flex; gap: 24px; padding: 0 20px; width: max-content; }
@media (min-width: 768px) { .hscroll { padding: 0 32px; } }
.hscroll figure { flex: none; width: 78vw; height: 58vh; max-height: 560px; border-radius: var(--radius); overflow: hidden; position: relative; }
@media (min-width: 768px) { .hscroll figure { width: 44vw; } }
@media (min-width: 1200px) { .hscroll figure { width: 32vw; } }
.hscroll img { width: 120%; max-width: none; height: 100%; object-fit: cover; margin-left: -10%; }
.hscroll figcaption { position: absolute; left: 20px; bottom: 18px; padding: 6px 16px; border-radius: 30px; background: rgba(255,255,255,.92); color: var(--wine); font-size: .85rem; font-weight: 500; }
@media (max-width: 1023px) { .hscroll-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .hscroll figure { scroll-snap-align: start; } }

/* Videos */
.video-grid { display: grid; gap: 26px; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); } .video-grid .wide { grid-column: 1 / -1; } }
.vcard { display: block; width: 100%; text-align: left; }
.vcard .poster { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.vcard .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vcard:hover .poster img { transform: scale(1.06); }
.vcard h3 { font-size: 1.25rem; font-weight: 600; margin-top: 16px; }
.vcard p { color: var(--muted); font-size: .92rem; }

/* Map */
.map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; min-height: 320px; background: var(--cream); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* CTA strip */
.cta-strip { position: relative; overflow: hidden; border-radius: 24px; color: #fff; padding: 64px 28px; text-align: center; }
@media (min-width: 768px) { .cta-strip { padding: 80px 60px; } }
.cta-strip .bg { position: absolute; inset: -30% 0; }
.cta-strip .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-strip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(122,31,51,.9), rgba(46,14,20,.85)); }
.cta-strip > div { position: relative; z-index: 2; }
.cta-strip h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 600; line-height: 1.25; }
.cta-strip p { margin: 12px auto 28px; max-width: 52ch; color: rgba(255,255,255,.82); }
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--wine-deep); color: rgba(255,255,255,.75); padding-top: 90px; overflow: hidden; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 60px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer h4 { color: #fff; font-weight: 600; font-size: 1.15rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.footer ul li + li { margin-top: 10px; }
.footer ul a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s, transform .3s; }
.footer ul a::before { content: '›'; color: var(--gold); }
.footer ul a:hover { color: var(--gold-soft); transform: translateX(4px); }
.footer .fline { display: flex; gap: 12px; margin-top: 14px; }
.footer .fline svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.footer .fline a:hover { color: var(--gold-soft); }
.footer .social { display: flex; gap: 10px; margin-top: 22px; }
.footer .social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: .3s; }
.footer .social a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.footer .social svg { width: 18px; height: 18px; }
.footer-logo b { font-weight: 700; font-size: 1.9rem; letter-spacing: .06em; color: #fff; }
.footer-logo small { display: block; font-size: .75rem; color: var(--gold-soft); letter-spacing: .08em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 26px; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-big { position: absolute;  bottom: 40px; font-size: 18vw; font-weight: 700; line-height: 1; color: rgba(255,255,255,.03); pointer-events: none; white-space: nowrap; }

/* ---------- Floating actions, progress, back to top ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300; background: linear-gradient(90deg, var(--gold), var(--wine)); transform-origin: 0 50%; transform: scaleX(0); }
.fab { position: fixed; z-index: 150; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 12px; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: transform .3s; }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }
.fab .wa { background: #25D366; }
.fab .call { background: var(--wine); }
.fab .top { background: var(--gold); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .35s; }
.fab .top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(20, 6, 9, .94); padding: 20px; }
.modal.open { display: flex; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal .x { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
.modal .x svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-figure { max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-height: 78vh; border-radius: 12px; animation: zoomIn .4s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }
.lb-figure figcaption { color: rgba(255,255,255,.8); font-size: .9rem; text-align: center; margin-top: 14px; max-width: 70ch; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lb-nav:hover, .modal .x:hover { background: var(--gold); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (min-width: 768px) { .lb-prev { left: 30px; } .lb-next { right: 30px; } }
.lb-count { position: absolute; top: 28px; left: 24px; color: rgba(255,255,255,.7); font-size: .9rem; }
.vm-box { width: min(1000px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; position: relative; }
.vm-box video { width: 100%; height: 100%; }
.vm-pending { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 24px; }
.vm-pending img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.vm-pending div { position: relative; max-width: 30rem; }
.vm-pending h3 { font-size: 1.4rem; font-weight: 600; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 500; background: var(--wine-deep); display: grid; place-items: center; color: #fff; transition: opacity .6s, visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader b { font-size: 2rem; font-weight: 700; letter-spacing: .3em; }
.preloader span { display: block; height: 2px; margin-top: 14px; background: var(--gold); animation: load 1.2s var(--ease) infinite; transform-origin: left; }
@keyframes load { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); transform-origin: left; } 61% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
