/* Harinaam Kirtan Mandal - one stylesheet for every page.
   MOBILE-FIRST: the base rules are the phone layout (320px+). Larger screens are layered on with
   min-width breakpoints only:  --sm 600px  --md 760px  --lg 960px.
   Phone rules of thumb used throughout: tap targets >= 44px, form text 16px (no iOS zoom on focus),
   no fixed widths wider than the screen, safe-area padding for notched phones. */
:root {
  --saffron: #e2680c;
  --saffron-2: #f28c28;
  --maroon: #7a1f1f;
  --maroon-2: #5a1414;
  --gold: #d4a017;
  --cream: #fff8ee;
  --cream-2: #fdf0dc;
  --ink: #2b1d14;
  --muted: #6e5a4b;
  --line: #ecdcc4;
  --card: #ffffff;
  --ok: #1f7a3a;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(90, 20, 20, 0.08);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hi: "Tiro Devanagari Hindi", "Noto Sans Devanagari", serif;
  --gutter: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ================= base (phone) ================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 16px; color: var(--ink); background: var(--cream); line-height: 1.6; overflow-x: hidden; -webkit-tap-highlight-color: rgba(226, 104, 12, 0.15); }
body.no-scroll { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--maroon); }
h1, h2, h3 { line-height: 1.25; color: var(--maroon-2); margin: 0 0 0.5em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.6rem, 6vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 4.6vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 40px var(--gutter); }
.section-tint { background: var(--cream-2); }
.eyebrow { color: var(--saffron); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; margin-bottom: 0.3em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.mt { margin-top: 1.2rem; }
.center { text-align: center; }
.lead { font-size: 1.05rem; }
.btn-line { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- buttons (min 44px tall) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
  font: 600 0.95rem var(--font); cursor: pointer; text-decoration: none; text-align: center;
  transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--saffron), var(--saffron-2)); color: #fff; box-shadow: 0 4px 14px rgba(226, 104, 12, 0.35); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-light { background: rgba(255, 255, 255, 0.94); color: var(--maroon); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--cream-2); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger-ghost { background: transparent; color: var(--err); border-color: #f1c4bf; }
.btn-danger-ghost:hover { background: #fdecea; }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.icon-btn { border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; font-size: 1rem; }
.icon-btn:disabled { opacity: 0.4; cursor: default; }
.icon-btn.danger:hover { background: #fdecea; border-color: #f1c4bf; }
.link-more { font-weight: 600; font-size: 0.9rem; padding: 10px 4px; }

/* ---------- header: phone = brand + hamburger, menu drops down ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 238, 0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 8px var(--gutter); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--maroon-2); min-width: 0; }
.brand img { flex: 0 0 auto; width: 40px; height: 40px; }
.brand strong { display: block; font-size: 0.98rem; line-height: 1.15; }
.brand small { display: none; font-family: var(--font-hi); color: var(--saffron); font-size: 0.92rem; }
.nav-toggle { margin-left: auto; display: block; flex: 0 0 auto; background: none; border: 1px solid var(--line); border-radius: 10px; font-size: 1.3rem; width: 44px; height: 44px; cursor: pointer; color: var(--maroon); }
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 60px); overflow-y: auto; background: var(--cream); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-header.nav-open .main-nav { display: flex; }
.main-nav > a { padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.main-nav > a:hover, .main-nav > a.active { background: var(--cream-2); color: var(--maroon); }
.auth-area { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hello { font-weight: 600; color: var(--maroon); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- hero slideshow ---------- */
.hero { position: relative; background: var(--maroon-2); color: #fff; overflow: hidden; }
.stage { position: relative; height: 82svh; min-height: 460px; max-height: 760px; }
.stage-empty { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #a33a1c, var(--maroon-2) 70%); }
.stage-empty img { opacity: 0.35; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; background: #000; }
.slide.in { opacity: 1; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide-caption { position: absolute; right: 12px; top: 12px; margin: 0; background: rgba(0, 0, 0, 0.45); padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(40, 8, 8, 0.92), rgba(40, 8, 8, 0.35) 55%, rgba(40, 8, 8, 0.1)); pointer-events: none; }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 76px; }
.hero-text h1 { color: #fff; margin: 0 0 0.2em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.hero-hindi { font-family: var(--font-hi); color: #ffd28a; font-size: clamp(1.15rem, 4.5vw, 1.7rem); margin: 0; }
.hero-text p { max-width: 640px; font-size: 0.98rem; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn { flex: 1 1 140px; }
.stage-controls { position: absolute; z-index: 3; left: var(--gutter); bottom: 16px; display: flex; gap: 8px; }
.ctrl { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 1.2rem; cursor: pointer; }
.ctrl:hover { background: rgba(0, 0, 0, 0.6); }

/* Google rating pill + social icons */
.rating-pill { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--ink); text-decoration: none; font-size: 0.85rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
.rating-pill b { color: var(--maroon); }
.stars { color: #f5b301; letter-spacing: 1px; font-size: 1rem; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18); transition: transform 0.15s; padding: 0 !important; }
.socials a:hover { transform: translateY(-2px) scale(1.05); }
.socials-hero { margin-top: 14px; }
.socials-cta { justify-content: center; margin-top: 18px; }
.socials-footer { margin-top: 12px; }

.thumbs-wrap { background: var(--maroon-2); padding: 10px 0 14px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter); max-width: 1180px; margin: 0 auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.thumb { position: relative; flex: 0 0 auto; width: 132px; height: 84px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #000; cursor: pointer; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s, transform 0.2s; scroll-snap-align: center; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { opacity: 1; border-color: var(--gold); transform: translateY(-2px); }
.thumb:hover { opacity: 1; }
.thumb .badge, .m-thumb .badge { position: absolute; left: 6px; bottom: 6px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.7rem; padding: 1px 6px; border-radius: 6px; }
.thumb.is-video.active::after { content: "● LIVE"; position: absolute; top: 4px; right: 4px; font-size: 0.55rem; font-weight: 700; background: var(--saffron); color: #fff; padding: 1px 5px; border-radius: 4px; letter-spacing: 0.04em; }

.admin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #fff7e0; border: 1px dashed var(--gold); border-radius: var(--radius); padding: 12px 14px; margin: 20px auto 0; }
.admin-bar > span { flex: 1 1 100%; font-weight: 500; font-size: 0.92rem; }

/* ---------- services (home) ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { max-width: 620px; margin-left: auto; margin-right: auto; }
.services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.service { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border-top: 4px solid var(--saffron); overflow: hidden; }
.service-img { margin: -20px -20px 14px; width: calc(100% + 40px); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px; background: var(--cream-2); font-size: 1.6rem; margin-bottom: 10px; }
.service h3 { margin-bottom: 6px; }
.service p { color: var(--muted); flex: 1; }
.service-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Google rating band ---------- */
.trust-band { background: linear-gradient(135deg, #fff3d6, #ffe2b8); border-top: 1px solid #f3d29a; border-bottom: 1px solid #f3d29a; }
.trust-inner { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.trust-score { display: flex; align-items: center; gap: 14px; }
.trust-score .big { font-size: 3rem; font-weight: 700; color: var(--maroon); line-height: 1; }
.trust-score .stars { font-size: 1.3rem; }
.trust-score p { margin: 2px 0 0; }
.trust-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-actions .btn { flex: 1 1 160px; }

/* ---------- mission / quote ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.quote { margin: 0; padding: 28px 22px 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--maroon), var(--maroon-2)); color: #fff; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; top: -10px; left: 14px; font-size: 5rem; color: var(--gold); opacity: 0.6; line-height: 1; }
.quote p { font-size: 1.2rem; font-style: italic; margin-top: 12px; }
.quote cite { color: #ffd28a; font-style: normal; font-size: 0.9rem; }

/* ---------- gallery ---------- */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 16px; cursor: pointer; font: 500 0.9rem var(--font); }
.chip.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-item { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #ddd; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.g-item:hover img { transform: scale(1.05); }
.play-badge { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(226, 104, 12, 0.9); color: #fff; display: grid; place-items: center; font-size: 1.2rem; padding-left: 4px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 6px; color: #fff; font-size: 0.78rem; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cta-band { text-align: center; }
.cta-band p { color: var(--muted); }

/* floating Book now (phones only; sits above the iPhone home bar) */
.book-float { position: fixed; z-index: 40; right: 12px; bottom: calc(12px + var(--safe-b)); display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--saffron), var(--saffron-2)); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(226, 104, 12, 0.45); }
body:has(.book-float) .site-footer { padding-bottom: calc(80px + var(--safe-b)); }

/* ---------- page banner ---------- */
.page-banner { background: linear-gradient(135deg, var(--maroon), var(--maroon-2) 60%, #3d0d0d); color: #fff; padding: 32px 0; }
.page-banner h1 { color: #fff; }
.page-banner .eyebrow { color: #ffd28a; }
.page-banner p { margin: 0; opacity: 0.9; }

/* ---------- about cards ---------- */
.about-list { display: grid; gap: 20px; margin-top: 20px; }
.about-card { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.about-img { width: 100%; height: 100%; min-height: 200px; max-height: 300px; object-fit: cover; }
.about-body { padding: 18px; min-width: 0; }
.rich { overflow-wrap: anywhere; }
.rich ul, .rich ol { padding-left: 1.3em; }
.card-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }

/* ---------- photo cards: Events + Services (Builder "Ongoing Sites" style) ---------- */
.pcard-list { display: grid; gap: 20px; margin-top: 20px; }
.pcard { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 80px; }
.pc-slides { position: relative; aspect-ratio: 4 / 3; background: #1a0606; overflow: hidden; touch-action: pan-y; }
.pc-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; cursor: pointer; pointer-events: none; }
.pc-slide.on { pointer-events: auto; } /* only the photo on screen can be clicked */
.pc-slide.on { opacity: 1; }
.pc-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 1.4rem; cursor: pointer; }
.pc-nav:hover { background: rgba(0, 0, 0, 0.7); }
.pc-prev { left: 8px; }
.pc-next { right: 8px; }
.pc-count { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 0.75rem; padding: 2px 10px; border-radius: 99px; }
.pc-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0 56px; }
.pc-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transition: background 0.3s, transform 0.3s; }
.pc-dots span.on { background: var(--gold); transform: scale(1.3); }
.pc-body { padding: 18px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pc-body > .btn { align-self: flex-start; }
.pc-body .btn-book { margin-top: 8px; white-space: normal; }
/* event header */
.ev-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.ev-head h2 { margin: 4px 0; font-size: 1.25rem; }
.ev-date { flex: 0 0 auto; width: 58px; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; line-height: 1.1; }
.ev-date b { display: block; font-size: 1.5rem; color: var(--maroon); padding-top: 6px; }
.ev-date span { display: block; font-weight: 600; text-transform: uppercase; font-size: 0.72rem; color: var(--saffron); }
.ev-date small { display: block; background: var(--maroon); color: #fff; font-size: 0.68rem; padding: 2px 0; margin-top: 4px; }
.ev-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.04em; }
.ev-badge.up { background: #e3f5e9; color: var(--ok); }
.ev-badge.past { background: var(--cream-2); color: var(--muted); }
.ev-meta { color: var(--muted); font-size: 0.9rem; margin: 0; }
/* service header */
.sv-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 6px; }
.sv-head .service-icon { margin: 0; }
.sv-head h2 { margin: 2px 0 2px; font-size: 1.25rem; }
.sv-line { color: var(--muted); margin: 0; }
/* photo-card editor */
.grid-icon { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 0 12px; }
.pc-images-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pc-img-grid { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 44vh; overflow-y: auto; }
.pc-img { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 4 / 3; }
.pc-img.new { border: 2px solid var(--saffron); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-cover { position: absolute; left: 6px; top: 6px; background: var(--gold); color: #3d2600; font-size: 0.68rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; }
.pc-size { position: absolute; left: 0; right: 0; bottom: 36px; text-align: center; font-size: 0.68rem; color: #fff; background: rgba(0, 0, 0, 0.45); padding: 1px 0; }
.pc-img-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; background: rgba(0, 0, 0, 0.6); }
.pc-img-tools button { flex: 1; min-height: 36px; border: 0; background: none; color: #fff; cursor: pointer; font-size: 0.95rem; }
.pc-img-tools button:disabled { opacity: 0.3; cursor: default; }
.pc-img-tools button.danger:hover { background: var(--err); }

/* ---------- cards / forms (16px inputs = no iOS focus zoom) ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 0.92rem; margin-bottom: 14px; min-width: 0; }
.field-label { display: block; font-weight: 500; font-size: 0.92rem; margin: 6px 0 4px; }
.input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dcc9ad; border-radius: 10px; font: 400 16px var(--font); background: #fff; color: var(--ink); min-width: 0; }
.input:focus { border-color: var(--saffron); outline: none; box-shadow: 0 0 0 3px rgba(226, 104, 12, 0.18); }
.input.invalid { border-color: var(--err); }
.input-sm { min-height: 40px; padding: 6px 10px; }
textarea.input { resize: vertical; }
.field-error { color: var(--err); font-size: 0.82rem; font-weight: 400; }
.field-error:empty { display: none; }
.field-hint { color: var(--muted); font-size: 0.8rem; font-weight: 400; }
.form-note { margin: 12px 0 0; font-size: 0.92rem; }
.form-note:empty { display: none; }
.form-note.ok { color: var(--ok); background: #e8f5ec; padding: 10px 12px; border-radius: 10px; }
.form-note.err { color: var(--err); background: #fdecea; padding: 10px 12px; border-radius: 10px; }
.grid-2, .form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
.span-2 { grid-column: 1 / -1; }
.form-narrow { max-width: 420px; }
.fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 0; margin: 4px 0 16px; min-width: 0; }
.fieldset legend { font-weight: 600; font-size: 0.9rem; padding: 0 6px; color: var(--maroon); }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 0.9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--saffron); }
.inline { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.contact-form { order: -1; } /* phones: the form comes first */
.info-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.info-list a { padding: 2px 0; }
.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; margin-bottom: 12px; background: var(--cream-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- auth ---------- */
.auth-page { padding: 24px var(--gutter) 48px; display: grid; place-items: start center; }
.auth-card { width: 100%; max-width: 440px; }
.auth-wide { max-width: 680px; }
.auth-logo { margin: 0 auto 8px; }
.auth-card h1 { text-align: center; font-size: 1.6rem; margin-bottom: 0.1em; }
.auth-card > .muted { text-align: center; }
.auth-links { text-align: center; margin: 16px 0 0; font-size: 0.92rem; line-height: 2.2; }

/* ---------- modal: full-width sheet on phones ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(30, 10, 5, 0.6); display: none; align-items: flex-start; justify-content: center; padding: 8px; overflow-y: auto; overscroll-behavior: contain; }
.modal.open { display: flex; }
.modal-box { position: relative; background: #fff; border-radius: var(--radius); padding: 20px 16px calc(16px + var(--safe-b)); width: 100%; max-width: 560px; margin: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.modal-box h3 { padding-right: 40px; }
.modal-sm { max-width: 400px; }
.modal-lg { max-width: 760px; }
.modal-x { position: absolute; right: 4px; top: 4px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); width: 44px; height: 44px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 16px; }
.modal-actions > .btn { flex: 1 1 120px; }
.modal-actions > .muted { flex: 1 1 100%; }

/* uploader */
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px dashed #dcc9ad; border-radius: 14px; padding: 22px 12px; text-align: center; cursor: pointer; background: var(--cream); transition: background 0.2s, border-color 0.2s; }
.dropzone.over, .dropzone:hover { background: #fff1dc; border-color: var(--saffron); }
.dz-icon { font-size: 1.8rem; color: var(--saffron); }
.up-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; max-height: 50vh; overflow-y: auto; }
.up-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.up-item > img, .up-item > video { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; background: #000; cursor: pointer; }
.up-name { font-weight: 600; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-size { font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.up-body .input { margin-bottom: 6px; }
.up-status { font-size: 0.8rem; color: var(--muted); }
.up-done .up-status { color: var(--ok); font-weight: 600; }
.up-error .up-status { color: var(--err); }
.progress { height: 6px; background: var(--cream-2); border-radius: 99px; overflow: hidden; margin: 6px 0 4px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--saffron), var(--gold)); transition: width 0.2s; }

/* rich text editor */
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid #dcc9ad; border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--cream); }
.editor-toolbar button, .color-pick { min-width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font: 500 0.88rem var(--font); display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; position: relative; }
.color-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.editor { min-height: 160px; max-height: 40vh; overflow-y: auto; border: 1px solid #dcc9ad; border-radius: 0 0 10px 10px; padding: 12px; background: #fff; font-size: 16px; }
.editor:focus { outline: none; border-color: var(--saffron); }
.card-image-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.card-image-preview { width: 160px; height: 110px; border-radius: 10px; border: 1px dashed #dcc9ad; display: grid; place-items: center; overflow: hidden; background: var(--cream); }
.card-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.stack { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }


/* toasts (above the floating button / home bar) */
.toast-box { position: fixed; z-index: 200; left: 50%; bottom: calc(76px + var(--safe-b)); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); transition: opacity 0.4s, transform 0.4s; }
.toast-ok { background: #1f5f35; }
.toast-err { background: var(--err); }
.toast.hide { opacity: 0; transform: translateY(10px); }

/* ---------- footer ---------- */
.site-footer { background: #2a0a0a; color: #f3dfc6; padding: 32px 0 calc(16px + var(--safe-b)); margin-top: 32px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.site-footer h4 { color: #ffd28a; margin: 0 0 6px; }
.site-footer a { color: #f3dfc6; display: block; text-decoration: none; padding: 6px 0; }
.site-footer a:hover { color: #fff; }
.brand-footer { color: #fff; margin-bottom: 8px; }
.copyright { text-align: center; font-size: 0.82rem; opacity: 0.7; margin: 24px 0 0; padding: 0 var(--gutter); }

/* ---------- admin ---------- */
.admin-wrap { padding-top: 20px; padding-bottom: 24px; }
.admin-head h1 { margin-bottom: 0; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid var(--line); margin: 14px calc(-1 * var(--gutter)) 18px; padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; min-height: 44px; padding: 10px 12px; font: 500 0.92rem var(--font); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; color: var(--muted); }
.tab.active { color: var(--maroon); border-bottom-color: var(--saffron); font-weight: 600; }
.pill { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--err); color: #fff; font-size: 0.72rem; line-height: 20px; text-align: center; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.panel-head h2 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 18px; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; border-top: 4px solid var(--saffron); min-width: 0; }
.stat-label { display: block; color: var(--muted); font-size: 0.78rem; }
.stat strong { display: block; font-size: 1.5rem; color: var(--maroon-2); line-height: 1.2; }
.stat small { color: var(--muted); font-size: 0.75rem; }
.analytics-grid { gap: 14px; margin-bottom: 14px; }
.analytics-grid > .card { min-width: 0; overflow-x: auto; }
.analytics-grid h3 { font-size: 1.02rem; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 180px; padding-top: 18px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.bar { width: 100%; max-width: 28px; background: linear-gradient(to top, var(--saffron), var(--gold)); border-radius: 6px 6px 0 0; min-height: 2px; }
.bar-val { font-size: 0.66rem; color: var(--muted); }
.bar-day { font-size: 0.56rem; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.meter { margin-bottom: 14px; }
.meter-top { display: flex; justify-content: space-between; gap: 8px; font-size: 0.85rem; margin-bottom: 4px; flex-wrap: wrap; }
.meter-bar { height: 10px; background: var(--cream-2); border-radius: 99px; overflow: hidden; }
.meter-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--ok), #5bb974); border-radius: 99px; min-width: 2px; }
.meter-bar span.hot { background: linear-gradient(90deg, var(--saffron), var(--err)); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table .num { text-align: right; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; margin: 12px 0 16px; }
.filters #qSearch, .filters #qStatus { grid-column: 1 / -1; }
.filters .inline { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.q-summary { display: flex; gap: 8px; flex-wrap: wrap; }
.q-chip { min-height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 14px; cursor: pointer; font: 400 0.85rem var(--font); }
.status { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 0.76rem; font-weight: 600; text-transform: capitalize; white-space: nowrap; }
.st-new, .st-pending { background: #fff1d6; color: #9a5b00; }
.st-in-progress { background: #e3efff; color: #1f4f99; }
.st-resolved, .st-approved { background: #e3f5e9; color: var(--ok); }
.st-rejected { background: #fdecea; color: var(--err); }
.dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0 0 12px; font-size: 0.92rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.q-message { white-space: pre-wrap; background: var(--cream); padding: 12px; border-radius: 10px; overflow-wrap: anywhere; }
/* queries table = stacked cards on phones */
.q-table thead { display: none; }
.q-table, .q-table tbody, .q-table tr, .q-table td { display: block; width: 100%; }
.q-table tr { border-bottom: 1px solid var(--line); padding: 8px 4px; }
.q-table td { border: 0; padding: 3px 8px; display: flex; gap: 8px; overflow-wrap: anywhere; }
.q-table td[data-label]::before { content: attr(data-label); color: var(--muted); min-width: 70px; font-size: 0.8rem; font-weight: 400; }
.q-table tr.unread td { font-weight: 600; background: #fffaf0; }
.media-admin { display: grid; gap: 10px; }
.m-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px 12px; align-items: center; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px; }
.m-thumb { position: relative; width: 112px; height: 78px; cursor: pointer; border-radius: 8px; overflow: hidden; background: #000; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-meta { font-size: 0.76rem; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.m-row .check { grid-column: 1; }
.m-tools { display: flex; gap: 6px; justify-content: flex-end; }
.user-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.user-card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 14px; overflow-wrap: anywhere; }
.user-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.role { font-size: 0.8rem; color: var(--maroon); margin-left: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ================= >= 380px ================= */
@media (min-width: 380px) {
  .brand small { display: block; }
}

/* ================= >= 600px (large phones landscape / small tablets) ================= */
@media (min-width: 600px) {
  :root { --gutter: 20px; }
  .section { padding: 52px var(--gutter); }
  .grid-2, .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .thumb { width: 168px; height: 104px; }
  .thumb.is-video.active::after { content: "● LIVE PREVIEW"; }
  .hero-cta .btn { flex: 0 0 auto; }
  .trust-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .trust-actions .btn { flex: 0 0 auto; }
  .stats { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
  .stat { padding: 16px; }
  .stat strong { font-size: 1.8rem; }
  .user-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .up-item { grid-template-columns: 144px minmax(0, 1fr) auto; }
  .up-item > img, .up-item > video { width: 144px; height: 100px; }
  .pc-img-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .filters { display: flex; flex-wrap: wrap; }
  .filters #qSearch { flex: 1 1 240px; }
  .filters .inline { flex-direction: row; align-items: center; }
  .filters select, .filters input[type="date"] { width: auto; }
  .modal { padding: 24px 12px; }
  .modal-box { padding: 24px; }
  .modal-actions > .btn { flex: 0 0 auto; }
  .modal-actions > .muted { flex: 0 1 auto; margin-right: auto; }
  .card { padding: 24px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
  .page-banner { padding: 44px 0; }
}

/* ================= >= 760px (tablets) ================= */
@media (min-width: 760px) {
  .mission { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .quote { padding: 32px; }
  .quote p { font-size: 1.3rem; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .about-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .about-card.no-image { grid-template-columns: 1fr; }
  .about-card:nth-child(even) .about-img { order: 2; }
  .about-img { min-height: 260px; max-height: 460px; }
  .about-body { padding: 28px; }
  .about-list, .pcard-list { gap: 28px; }
  .pcard { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pcard.no-image { grid-template-columns: 1fr; }
  .pcard:nth-child(even) .pc-slides { order: 2; }
  .pc-slides { aspect-ratio: auto; min-height: 340px; }
  .pc-body { padding: 26px; }
  .ev-head h2, .sv-head h2 { font-size: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 24px; }
  .contact-form { order: 0; }
  .stage-controls { left: auto; right: var(--gutter); }
  .hero-text { padding-bottom: 64px; }
  .stage { height: min(78vh, 680px); min-height: 420px; }
  .q-table thead { display: table-header-group; }
  .q-table { display: table; }
  .q-table tbody { display: table-row-group; }
  .q-table tr { display: table-row; padding: 0; }
  .q-table td { display: table-cell; border-bottom: 1px solid var(--line); padding: 8px 10px; }
  .q-table td[data-label]::before { content: none; }
  .q-table .clip { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-row { grid-template-columns: 160px minmax(0, 1fr) auto auto; gap: 14px; }
  .m-thumb { width: 160px; height: 104px; }
  .m-row .check { grid-column: auto; }
  .admin-bar > span { flex: 1 1 auto; }
  .toast-box { bottom: 20px; }
}

/* ================= >= 960px (desktop: inline navigation, no floating button) ================= */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 2px; margin-left: auto; padding: 0; max-height: none; overflow: visible; background: none; border: 0; box-shadow: none; }
  .main-nav > a { padding: 8px 12px; border-radius: 999px; }
  .auth-area { margin: 0 0 0 8px; flex-wrap: nowrap; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 1.05rem; }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .section { padding: 64px var(--gutter); }
  .book-float { display: none; }
  body:has(.book-float) .site-footer { padding-bottom: 16px; }
}

/* ================= Connection lost / restored (diya motif; mechanics as in the E-commerce portal) =================
   Offline: the flame shrinks to a flickering ember. Restored: it blazes back up, then the card fades out. */
#connectionOverlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(43, 29, 20, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
  padding: max(20px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right))
           max(20px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
#connectionOverlay.conn-show { opacity: 1; pointer-events: auto; }
.conn-card {
  width: 100%; max-width: 380px; text-align: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  padding: clamp(22px, 6vw, 34px) clamp(18px, 5vw, 28px);
  transform: translateY(12px) scale(0.97); transition: transform 0.35s ease;
}
#connectionOverlay.conn-show .conn-card { transform: none; }
.conn-diya { width: clamp(84px, 26vw, 110px); height: auto; margin: 0 auto 6px; display: block; overflow: visible; }
.conn-bowl { fill: var(--maroon); }
.conn-rim { fill: var(--gold); }
.conn-flame { transform-origin: 60px 62px; transform: scale(0.32); transition: transform 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97); animation: connFlicker 1.6s ease-in-out infinite; }
.conn-flame-outer { fill: #9a8f86; transition: fill 0.6s ease; }
.conn-flame-inner { fill: #d8cfc6; transition: fill 0.6s ease; }
#connectionOverlay.conn-revive .conn-flame { transform: scale(1); animation: connBlaze 1.2s cubic-bezier(0.36, 0.07, 0.19, 0.97) 1; }
#connectionOverlay.conn-revive .conn-flame-outer { fill: var(--saffron); }
#connectionOverlay.conn-revive .conn-flame-inner { fill: #ffd76a; }
@keyframes connFlicker { 0%, 100% { opacity: 0.5; } 45% { opacity: 0.9; } 70% { opacity: 0.65; } }
@keyframes connBlaze { 0% { transform: scale(0.32); } 35% { transform: scale(1.18); } 60% { transform: scale(0.9); } 80% { transform: scale(1.05); } 100% { transform: scale(1); } }
.conn-title { margin: 4px 0 8px; font-size: clamp(1.1rem, 4.5vw, 1.35rem); color: var(--maroon); }
.conn-sub { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }
.conn-status { font-size: 0.88rem; font-weight: 600; color: var(--err); margin-bottom: 16px; min-height: 1.4em; }
#connectionOverlay.conn-revive .conn-status { color: var(--ok); }
.conn-dots span { animation: connDots 1.4s infinite; opacity: 0; }
.conn-dots span:nth-child(2) { animation-delay: 0.2s; }
.conn-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes connDots { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.conn-retry-btn { min-height: 44px; min-width: 140px; }
@media (prefers-reduced-motion: reduce) {
  .conn-flame, #connectionOverlay.conn-revive .conn-flame { animation: none; }
  .conn-card { transition: none; }
}

/* ================= Full-screen photo / video viewer (media-viewer.js; idea from the Builder property viewer) ================= */
html.mv-lock, html.mv-lock body { overflow: hidden; overscroll-behavior: none; } /* page stays put under the viewer */
.mv { position: fixed; inset: 0; z-index: 900; display: none; flex-direction: column; background: rgba(8, 3, 1, 0.97); color: #fff; touch-action: none;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.mv.open { display: flex; }
.mv-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 10px; background: rgba(0, 0, 0, 0.35); }
.mv-info { flex: 1 1 160px; min-width: 0; display: flex; gap: 10px; align-items: baseline; font-size: 0.9rem; }
.mv-count { color: var(--gold); font-weight: 700; white-space: nowrap; }
.mv-caption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0.9; }
.mv-tools { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mv-btn { min-width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.25rem; cursor: pointer; }
.mv-btn:hover, .mv-btn:focus-visible { background: rgba(255, 255, 255, 0.22); }
.mv-txt { font-size: 0.85rem; padding: 0 10px; }
.mv-close { font-size: 1.7rem; background: var(--saffron); border-color: var(--saffron); }
.mv-zoom { min-width: 48px; text-align: center; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.mv.is-video .mv-img-only { display: none; }
.mv-stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: default; }
.mv-stage.is-panning { cursor: grabbing; }
.mv-stage > img { cursor: zoom-in; }
.mv-stage.is-zoomed > img { cursor: zoom-out; }
.mv-stage.is-zoomed.is-panning > img { cursor: grabbing; }
.mv.is-video .mv-stage, .mv.is-video .mv-stage > video { cursor: default; } /* no zoom on videos */
.mv-stage > img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: transform 0.12s ease-out; will-change: transform; }
.mv-stage.is-panning > img { transition: none; }
.mv-stage > video { width: 100%; height: 100%; max-height: 100%; object-fit: contain; background: #000; }
.mv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1.8rem; cursor: pointer; }
.mv-prev { left: max(8px, env(safe-area-inset-left)); }
.mv-next { right: max(8px, env(safe-area-inset-right)); }
.mv.is-video .mv-nav { top: 40%; }
.mv-thumbs { flex: 0 0 auto; display: flex; gap: 8px; overflow-x: auto; justify-content: safe center; padding: 8px 10px 10px; background: rgba(0, 0, 0, 0.35); }
.mv-thumbs button { position: relative; flex: 0 0 auto; width: 84px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #000; opacity: 0.55; cursor: pointer; }
.mv-thumbs button.on { border-color: var(--gold); opacity: 1; }
.mv-thumbs button.is-video::after { content: "▶"; position: absolute; left: 4px; bottom: 2px; font-size: 0.7rem; }
.mv-thumbs img, .mv-thumbs video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mv.mv-fs .mv-top, .mv.mv-fs .mv-thumbs { background: rgba(0, 0, 0, 0.55); }
@media (min-width: 760px) {
  .mv-top { padding: 10px 18px; }
  .mv-thumbs button { width: 110px; height: 72px; }
  .mv-nav { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .mv-stage > img { transition: none; } }
/* things that open the viewer */
/* things that open the viewer: a normal "click" hand on the page; the zoom cursor appears only inside the viewer (as in Builder) */
.zoomable, .g-item, .pc-slide, .about-card img, .pc-img img, .card-image-preview img, .stage .slide { cursor: pointer; }

.hero-text { pointer-events: none; }
.hero-text a, .hero-text button, .hero-text #heroSocials * { pointer-events: auto; }

/* Quick clicks on arrows / photos must not "select" the picture (blue tint) - slideshows, viewer, thumbnails */
.mv, .pc-slides, .stage, .thumbs, .gallery, .m-thumb, .up-item > img, .up-item > video { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.mv img, .pc-slides img, .stage img, .thumbs img, .gallery img { -webkit-user-drag: none; }

/* reCAPTCHA v3: Google's floating badge would cover the phone "Book now" button, so it is hidden and the
   required notice is shown under each protected form instead (allowed by Google's FAQ). */
.grecaptcha-badge { visibility: hidden !important; }
.rc-note { margin: 10px 0 0; font-size: 0.75rem; color: var(--muted); line-height: 1.4; }
.rc-note a { color: inherit; }
