/* =====================================================================
   Jay Danvavir Dada - public site styles
   Palette: temple saffron and maroon on warm cream, with the royal blue
   of Dada's attire as an accent.
   ===================================================================== */

:root {
    --saffron: #e8590c;
    --saffron-600: #c2410c;
    --saffron-100: #ffe8d6;
    --maroon: #7a1f0a;
    --maroon-800: #5c1607;
    --gold: #f4b400;
    --gold-200: #ffe7a3;
    --royal: #2b2f8f;
    --cream: #fffaf1;
    --cream-2: #fdf1dc;
    --paper: #ffffff;
    --ink: #2b1b12;
    --muted: #6f5a4b;
    --line: #efdcbf;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(92, 22, 7, .06), 0 2px 8px rgba(92, 22, 7, .05);
    --shadow: 0 6px 24px rgba(92, 22, 7, .10);
    --shadow-lg: 0 18px 50px rgba(92, 22, 7, .16);

    --font: "Noto Sans Gujarati", "Shruti", system-ui, sans-serif;
    --font-head: "Noto Serif Gujarati", "Noto Sans Gujarati", serif;

    --container: 1180px;
    --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.3; color: var(--maroon); margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--maroon); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------------------------------------------------------------------
   Buttons, chips, small bits
   --------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 46px; padding: .55em 1.25em; border-radius: 999px;
    font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(135deg, var(--saffron), var(--saffron-600)); color: #fff; box-shadow: 0 6px 16px rgba(232, 89, 12, .28); }
.btn--primary:hover { color: #fff; box-shadow: 0 8px 22px rgba(232, 89, 12, .38); }
.btn--ghost { background: transparent; color: var(--maroon); border-color: rgba(122, 31, 10, .3); }
.btn--ghost:hover { background: var(--paper); border-color: var(--maroon); color: var(--maroon); }
.btn--light { background: #fff; color: var(--maroon); }
.btn--light:hover { background: var(--gold-200); color: var(--maroon); }
.btn--sm { min-height: 38px; padding: .35em 1em; font-size: .92rem; }
.btn--block { width: 100%; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .45em; margin: 0 0 .4rem;
    font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--saffron-600);
}
.eyebrow--light { color: var(--gold-200); }

.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-block; padding: .3em .9em; border-radius: 999px; font-size: .92rem;
    background: var(--paper); color: var(--maroon); text-decoration: none; border: 1px solid var(--line);
    transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { background: var(--saffron-100); border-color: var(--saffron); color: var(--maroon); }
/* On the dark business band of the home page */
.section--business .chip { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .28); }
.section--business .chip:hover { background: #fff; color: var(--maroon); }

.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   Top bar and header
   --------------------------------------------------------------------- */
.topbar { background: var(--maroon-800); color: #f8e3c9; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 18px; }
.topbar__item { display: none; }
@media (min-width: 768px) { .topbar__item { display: inline; } }
@media (max-width: 480px) { .topbar__links a:last-child { display: none; } .topbar__inner { justify-content: center; } }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}
/* Blur only on desktop: on phones it would trap the fixed menu panel inside the header */
@media (min-width: 1100px) {
    .site-header { background: rgba(255, 250, 241, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; overflow: visible; }
.brand__rays { stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; transform-origin: 24px 24px; animation: brand-spin 30s linear infinite; }
.brand__disc { fill: var(--saffron); }
.brand__trident { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
@keyframes brand-spin { to { transform: rotate(360deg); } }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--font-head); font-size: 1.2rem; }
.brand__text small { font-size: .8rem; color: var(--muted); }

.nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--paper); color: var(--maroon); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* Mobile menu: slide-down panel */
.site-nav {
    position: fixed; inset: 105px 0 0 0; z-index: 49;
    background: var(--cream); overflow-y: auto; padding: 12px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__item { border-bottom: 1px solid var(--line); }
.site-nav__link {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 14px 4px; background: none; border: 0; cursor: pointer; text-align: left;
    font-size: 1.05rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.site-nav__item.is-active > .site-nav__link { color: var(--saffron-600); }
.site-nav__chev { transition: transform .2s; }
.site-nav__sub { list-style: none; margin: 0; padding: 0 0 10px 12px; display: none; }
.site-nav__item.is-open .site-nav__sub { display: block; }
.site-nav__item.is-open .site-nav__chev { transform: rotate(180deg); }
.site-nav__sub a { display: block; padding: 9px 8px; color: var(--muted); text-decoration: none; border-radius: 8px; }
.site-nav__sub a:hover { background: var(--cream-2); color: var(--maroon); }
.site-nav__cta { margin-top: 18px; width: 100%; }

@media (min-width: 1100px) {
    .nav-toggle { display: none; }
    .site-nav {
        position: static; inset: auto; transform: none; opacity: 1; visibility: visible;
        background: none; overflow: visible; padding: 0; display: flex; align-items: center; gap: 14px;
    }
    .site-nav__list { display: flex; gap: 2px; }
    .site-nav__item { border: 0; position: relative; }
    .site-nav__link { padding: 8px 12px; font-size: .98rem; border-radius: 999px; gap: 4px; }
    .site-nav__link:hover { background: var(--cream-2); color: var(--maroon); }
    .site-nav__item.is-active > .site-nav__link { background: var(--saffron-100); }
    .site-nav__sub {
        position: absolute; top: calc(100% + 8px); left: 50%; min-width: 220px;
        transform: translate(-50%, 6px); padding: 8px; display: block;
        background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
    }
    .site-nav__sub::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
    .site-nav__item.has-sub:hover .site-nav__sub,
    .site-nav__item.has-sub:focus-within .site-nav__sub,
    .site-nav__item.is-open .site-nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .site-nav__cta { margin: 0; width: auto; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 12px 0 8px; }
.hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 55% at 72% 38%, rgba(255, 196, 77, .45), transparent 70%),
        radial-gradient(50% 60% at 10% 90%, rgba(232, 89, 12, .12), transparent 70%),
        linear-gradient(180deg, #fff6e4, var(--cream));
}
.hero__bg::after {
    /* faint mandala-like dotted pattern */
    content: ""; position: absolute; inset: 0; opacity: .35;
    background-image: radial-gradient(rgba(194, 65, 12, .18) 1px, transparent 1.4px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000, transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero__inner { display: grid; gap: 8px; align-items: center; }
.hero__text { text-align: center; order: 2; }
.hero__deity { order: 1; }
.hero__title { font-size: clamp(2.1rem, 7vw, 3.6rem); line-height: 1.15; margin: 4px 0 14px; }
.hero__title span {
    background: linear-gradient(90deg, var(--saffron-600), var(--maroon));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { color: var(--muted); font-size: 1.05rem; max-width: 34em; margin: 0 auto 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.hero .deity { --figure-w: min(160px, 40vw); }

@media (min-width: 900px) {
    .hero { padding: 8px 0 24px; }
    .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 32px; }
    .hero__text { order: 1; text-align: left; }
    .hero__deity { order: 2; }
    .hero__lead { margin-left: 0; }
    .hero__actions { justify-content: flex-start; }
    .hero .deity { --figure-w: 250px; }
}

/* ---------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------- */
.section { padding: 48px 0; }
.section--tight { padding: 16px 0 8px; }
.section--warm { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
@media (min-width: 900px) { .section { padding: 72px 0; } }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }

/* Announcement banners: horizontal swipe on phones */
.banner-strip {
    display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    border-radius: var(--radius-lg);
}
.banner-strip::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
    .banner-strip { grid-auto-columns: calc(50% - 7px); }
    /* a single announcement gets the full width, centred */
    .banner-strip:has(> :only-child) { grid-auto-columns: min(100%, 980px); justify-content: center; }
}
.banner-strip__item {
    position: relative; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--cream-2); box-shadow: var(--shadow);
}
/* Show the whole announcement, never crop it */
.banner-strip__item img { width: 100%; height: auto; }
.banner-strip__caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px; color: #fff; font-weight: 600;
    background: linear-gradient(transparent, rgba(40, 10, 0, .75));
}

/* Quick links */
.quick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .quick-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.quick-card {
    display: flex; flex-direction: column; gap: 6px; height: 100%;
    padding: 18px 16px; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink);
    background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(232, 89, 12, .35); color: var(--ink); }
.quick-card__icon {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 4px;
    background: linear-gradient(135deg, var(--saffron-100), var(--gold-200)); color: var(--saffron-600);
}
.quick-card__icon .icon { width: 24px; height: 24px; }
.quick-card__label { font-weight: 700; font-size: 1.05rem; color: var(--maroon); }
.quick-card__text { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* Photo albums */
.album-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .album-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.album-card {
    display: block; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink);
    background: var(--paper); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s;
}
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.album-card__img { display: block; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.album-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album-card:hover .album-card__img img { transform: scale(1.05); }
.album-card__body { display: flex; flex-direction: column; padding: 12px 14px 14px; }
.album-card__title { font-weight: 700; color: var(--maroon); }
.album-card__count { font-size: .85rem; color: var(--muted); display: inline-flex; align-items: center; gap: .35em; }

/* Videos */
.video-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card__thumb {
    position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
    aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow);
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s, transform .4s; }
.video-card__thumb:hover img { opacity: 1; transform: scale(1.03); }
.video-card__thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    background: rgba(232, 89, 12, .92); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.video-card__play .icon { width: 28px; height: 28px; margin-left: 4px; }
.video-card__title { margin: 10px 2px 0; font-weight: 600; line-height: 1.5; }

/* Business directory band */
.section--business {
    color: #fdebd6;
    background:
        radial-gradient(60% 80% at 90% 10%, rgba(244, 180, 0, .25), transparent 60%),
        linear-gradient(135deg, var(--maroon), var(--maroon-800) 60%, #3d0f05);
}
.section--business .section__title { color: #fff; }
.business-band { display: grid; gap: 24px; align-items: start; }
.business-band__text p { margin: 10px 0 20px; max-width: 32em; }
.business-band .chip-list { grid-column: 1 / -1; }
@media (min-width: 900px) { .business-band { grid-template-columns: 1fr 1fr; gap: 48px; } }

.business-search {
    display: grid; gap: 12px; padding: 20px; border-radius: var(--radius-lg);
    background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg);
}
.business-search__title { margin: 0 0 4px; font-weight: 700; color: var(--maroon); font-size: 1.1rem; display: flex; align-items: center; gap: .4em; }
.business-search label { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.business-search input, .business-search select {
    width: 100%; min-height: 46px; padding: 8px 12px; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--cream); font-weight: 400; color: var(--ink);
}
.business-search input:focus, .business-search select:focus { border-color: var(--saffron); outline: none; box-shadow: 0 0 0 3px rgba(232, 89, 12, .15); }

/* Contact */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.contact-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; color: var(--saffron-600); margin-top: 4px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--cream-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Placeholder page */
.soon { text-align: center; display: grid; justify-items: center; gap: 14px; }
.soon p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: #2a0d04; color: #e9cfb4; font-size: .95rem; margin-top: 24px; }
.site-footer a { color: #f6dcc0; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 32px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer__title { font-family: var(--font-head); font-size: 1.3rem; color: #fff; margin: 0 0 8px; }
.site-footer__heading { color: var(--gold); font-weight: 700; margin: 0 0 10px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__map { margin-top: 6px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 14px 0; font-size: .85rem; color: #b99a80; text-align: center; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------------
   Floating button
   "down" mode: pill that jumps to the news section (home page only)
   "up" mode: round back-to-top button
   --------------------------------------------------------------------- */
.fab {
    position: fixed; z-index: 45;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 52px; height: 52px; padding: 0 16px; border-radius: 999px;
    background: linear-gradient(135deg, var(--saffron), var(--saffron-600)); color: #fff;
    text-decoration: none; font-weight: 700; box-shadow: 0 10px 26px rgba(122, 31, 10, .35);
    opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
    transition: opacity .25s, transform .25s, background .2s;
}
.fab[hidden] { display: inline-flex; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { color: #fff; background: linear-gradient(135deg, var(--saffron-600), var(--maroon)); }
.fab .icon { width: 22px; height: 22px; }
.fab__down, .fab__up { display: none; align-items: center; gap: 8px; }
.fab--down .fab__down { display: inline-flex; }
.fab--up { padding: 0; width: 52px; }
.fab--up .fab__up { display: inline-flex; }
.fab__label { font-size: .95rem; }
.fab--down .fab__arrow { animation: fab-bounce 1.6s ease-in-out infinite; }
.fab--down::before {
    /* soft pulse ring to draw the eye to the news */
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(232, 89, 12, .55); animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-bounce { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 89, 12, .55); } 80%, 100% { box-shadow: 0 0 0 16px rgba(232, 89, 12, 0); } }

/* Sections reached by a link stop below the sticky header */
[id] { scroll-margin-top: 84px; }

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-head {
    background:
        radial-gradient(circle at 85% -20%, rgba(244, 180, 0, .28), transparent 55%),
        linear-gradient(180deg, var(--cream-2), var(--cream));
    border-bottom: 1px solid var(--line);
    padding: 22px 0 26px;
}
.page-head__title { font-size: clamp(1.7rem, 5vw, 2.6rem); margin-top: 4px; }
.page-head__lead { color: var(--muted); max-width: 42em; margin: 8px 0 0; }
.section__head--center .page-head__lead { margin-inline: auto; }

.breadcrumb ol { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; color: #c9a987; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--saffron-600); }

.section--page { padding: 32px 0 56px; }
.narrow { max-width: 820px; }

.with-aside { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; } }

/* Text written in the admin editor */
.prose { font-size: 1.05rem; line-height: 1.9; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; }
.prose img { border-radius: var(--radius); height: auto !important; max-width: 100% !important; margin: 1em auto; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1em 0; font-size: .98rem; }
.prose td { background: var(--paper); }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream-2); color: var(--maroon); }

.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
@media (min-width: 960px) { .side-card { position: sticky; top: 96px; } }
.side-card__title { font-family: var(--font-head); font-weight: 700; color: var(--maroon); margin: 0 0 10px; font-size: 1.1rem; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; line-height: 1.5; }
.side-links a:hover { background: var(--cream-2); color: var(--maroon); }
.side-links a[aria-current] { background: var(--saffron-100); color: var(--maroon); font-weight: 700; }

.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); display: grid; justify-items: center; gap: 12px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state > .icon { width: 44px; height: 44px; color: var(--saffron); }
.empty-state p { margin: 0; max-width: 32em; }

.more-links { margin-top: 36px; }
.more-links__title { font-weight: 700; color: var(--maroon); margin: 0 0 10px; }

.alert { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; font-weight: 600; }
.alert--error { background: #fdecea; color: #8a1c10; border: 1px solid #f5c2bb; }
.alert--success { background: #eaf7ee; color: #1d6b35; border: 1px solid #bfe5cb; }

/* Persons */
.person-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.person-card { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.person-card__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--saffron-100); }
.person-card__photo--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--saffron), var(--maroon)); color: #fff; font-family: var(--font-head); font-size: 1.6rem; border-color: var(--gold-200); }
.person-card__body { min-width: 0; }
.person-card__name { font-size: 1.08rem; line-height: 1.45; margin-bottom: 4px; }
.person-card__meta { margin: 0; color: var(--muted); font-size: .92rem; display: flex; gap: 6px; align-items: baseline; }
.person-card__text { margin: 6px 0 0; font-size: .92rem; }
.person-card__phone { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; text-decoration: none; padding: 4px 12px; border-radius: 999px; background: var(--saffron-100); }

/* Gallery */
.album-grid--page { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); }
@media (min-width: 768px) { .photo-grid { gap: 12px; } }
.photo-grid--small { grid-template-columns: repeat(auto-fill, minmax(min(46%, 150px), 1fr)); }
.photo-grid__item { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cream-2); }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-grid__item:hover img { transform: scale(1.05); }
.photo-grid__item:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 8, 3, .94); color: #fff; }
.lightbox::backdrop { background: rgba(20, 8, 3, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 10px; padding: 56px 12px; max-width: 100%; }
.lightbox__img { max-width: min(100%, 1400px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 6px; touch-action: pan-y; }
.lightbox__caption { text-align: center; color: #f3dfc7; min-height: 1.5em; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: rgba(255, 255, 255, .25); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.lightbox__count { position: absolute; top: 22px; left: 18px; font-size: .9rem; color: #e9cfb4; }

.video-grid--page { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Business directory */
.biz-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .biz-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; } .biz-filter { position: sticky; top: 90px; } }
.biz-filter .business-search { box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.biz-cta { margin-top: 16px; padding: 16px; border-radius: var(--radius); background: var(--saffron-100); font-size: .95rem; }
.biz-cta p { margin: 0 0 10px; }

.cat-grid { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); }
.cat-card { display: grid; gap: 2px; height: 100%; padding: 14px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cat-card:hover { border-color: var(--saffron); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-card__name { font-weight: 700; color: var(--maroon); line-height: 1.4; }
.cat-card__count { font-size: .82rem; color: var(--muted); }

.biz-results__count { color: var(--muted); font-size: .92rem; margin: 0 0 12px; min-height: 1.5em; }
.biz-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.biz-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.biz-card:hover { border-color: var(--saffron); box-shadow: var(--shadow); }
.biz-card__link { display: flex; gap: 14px; padding: 16px 64px 16px 16px; text-decoration: none; color: inherit; }
.biz-card__logo { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; flex: none; background: var(--cream-2); }
.biz-card__logo--empty { display: grid; place-items: center; color: var(--saffron-600); }
.biz-card__logo--empty .icon { width: 28px; height: 28px; }
.biz-card__body { display: grid; gap: 2px; min-width: 0; }
.biz-card__name { font-weight: 700; font-size: 1.05rem; color: var(--maroon); line-height: 1.4; }
.biz-card__cat { font-size: .85rem; color: var(--saffron-600); font-weight: 600; }
.biz-card__meta { font-size: .88rem; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.biz-card__call { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron-100); color: var(--saffron-600); }
.biz-card__call:hover { background: var(--saffron); color: #fff; }

.biz-detail { display: grid; gap: 28px; align-items: start; margin-bottom: 36px; }
@media (min-width: 900px) { .biz-detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } .biz-contact { position: sticky; top: 96px; } }
.biz-detail__heading { font-size: 1.3rem; margin: 28px 0 12px; }
.biz-profile { display: flex; gap: 18px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.biz-profile__logo { width: 88px; height: 88px; border-radius: 16px; object-fit: cover; flex: none; }
.biz-facts { margin: 0; display: grid; gap: 10px; flex: 1; }
.biz-facts div { display: grid; gap: 0; }
@media (min-width: 600px) { .biz-facts div { grid-template-columns: 110px 1fr; gap: 12px; } }
.biz-facts dt { color: var(--muted); font-size: .9rem; }
.biz-facts dd { margin: 0; font-weight: 600; }
.biz-contact { display: grid; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.btn--whatsapp { background: #1f9d55; color: #fff; }
.btn--whatsapp:hover { background: #17803f; color: #fff; }

/* Forms */
.form { display: grid; gap: 18px; }
.form__group { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); display: grid; gap: 14px; box-shadow: var(--shadow-sm); min-width: 0; }
.form__group legend { font-family: var(--font-head); font-weight: 700; color: var(--maroon); font-size: 1.1rem; padding: 0 6px; }
.form__group legend small { font-family: var(--font); font-weight: 400; color: var(--muted); font-size: .85rem; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 5px; align-content: start; min-width: 0; }
.field__label { font-weight: 600; font-size: .95rem; }
.field__label b { color: #c0392b; }
.field input:not([type=checkbox]):not([type=file]), .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #e3cfb2; border-radius: 10px; background: #fff; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 0; line-height: 1.6; }
.field input[type=file] { width: 100%; font-size: .92rem; padding: 8px; border: 1px dashed #e3cfb2; border-radius: 10px; background: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232, 89, 12, .15); }
.field [aria-invalid=true] { border-color: #c0392b !important; background: #fff8f7 !important; }
.field__error { color: #b42318; font-size: .88rem; font-weight: 600; }
.field__hint { margin: 0; color: var(--muted); font-size: .88rem; }
.field-more summary { cursor: pointer; color: var(--saffron-600); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--saffron-600); }
.form__submit { font-size: 1.05rem; min-height: 52px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-list--page { margin-top: 0; }

/* Page links */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pager__link { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--maroon); font-weight: 600; }
.pager__link:hover { border-color: var(--saffron); }
.pager__link.is-active { background: var(--saffron); border-color: var(--saffron); color: #fff; }
