/* =========================================================================
   Sri Bhagavathi Jyotishya Kendra — Design System ("Modern Spiritual")
   Mobile-first. Breakpoints: 600px, 900px, 1000px
   ========================================================================= */
:root {
  --cream: #fff8ea; --beige: #f5e8d0; --saffron: #d97706; --gold: #c69a45; --gold-soft: #e3c78c;
  --maroon: #791f25; --maroon-deep: #5a161b; --brown: #39251c; --white: #fff;
  --wa: #1f9e4c; --wa-dark: #157a39;
  --text: var(--brown); --muted: #6b5546; --line: rgba(198, 154, 69, .45);
  --font-display: 'Marcellus', 'Noto Serif Kannada', Georgia, serif;
  --font-body: 'Source Sans 3', 'Noto Serif Kannada', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-kn: 'Noto Serif Kannada', 'Tunga', 'Noto Sans Kannada', serif;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1.0625rem; --fs-lg: 1.1875rem;
  --fs-h3: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --fs-h2: clamp(1.55rem, 1.25rem + 1.4vw, 2.35rem);
  --fs-h1: clamp(1.7rem, 1.25rem + 2.3vw, 3rem);
  --gutter: clamp(1rem, 4vw, 2rem); --section: clamp(3rem, 7vw, 5.5rem);
  --radius: 14px; --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(57, 37, 28, .07); --shadow: 0 10px 30px -12px rgba(90, 22, 27, .25);
  --header-h: 64px; --sticky-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65; color: var(--text); background: var(--cream); overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--saffron); }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.22; color: var(--maroon); margin: 0 0 .75rem; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); }
:lang(kn), .kn { font-family: var(--font-kn); line-height: 1.75; }
.kn-title { font-family: var(--font-kn); font-weight: 700; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--maroon); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: .5rem; top: .5rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--beige { background: var(--beige); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.center { text-align: center; }
.lead { font-size: var(--fs-lg); color: var(--muted); }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }

.pattern {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23C69A45' stroke-opacity='.16'%3E%3Cpath d='M28 14c4 5 4 9 0 14-4-5-4-9 0-14zM28 42c4-5 4-9 0-14-4 5-4 9 0 14zM14 28c5-4 9-4 14 0-5 4-9 4-14 0zM42 28c-5-4-9-4-14 0 5 4 9 4 14 0z'/%3E%3C/g%3E%3Cg fill='%23C69A45' fill-opacity='.2'%3E%3Ccircle r='1.5'/%3E%3Ccircle cx='56' r='1.5'/%3E%3Ccircle cy='56' r='1.5'/%3E%3Ccircle cx='56' cy='56' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
.temple-strip { height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14V9h4V5h4V1h12v4h4v4h4v5z' fill='%23C69A45'/%3E%3Cpath d='M12 4h4v3h-4z' fill='%23791F25'/%3E%3C/svg%3E") repeat-x bottom / 28px 14px; }
.temple-strip--flip { transform: scaleY(-1); }

/* Headings */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-kn); font-weight: 700; color: var(--saffron); font-size: var(--fs-sm); margin-bottom: .35rem; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--muted); margin: 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: .6rem; color: var(--gold); margin: .35rem auto .9rem; }
.ornament::before, .ornament::after { content: ''; height: 1px; width: min(90px, 22vw); background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 26px; height: 26px; }

/* Buttons */
.btn { --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; border: 0; background: var(--maroon); color: var(--fg); font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--wa { background: linear-gradient(180deg, #27b05a, var(--wa)); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--call { background: linear-gradient(180deg, #8f262d, var(--maroon)); }
.btn--gold { --fg: var(--brown); background: linear-gradient(180deg, #d9b264, var(--gold)); }
.btn--ghost { --fg: var(--maroon); background: transparent; border: 1.5px solid var(--gold); box-shadow: none; }
.btn--ghost:hover { background: var(--white); }
.btn--light { background: rgba(255,255,255,.1); border: 1.5px solid rgba(227,199,140,.7); box-shadow: none; }
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 234, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ''; position: absolute; inset: auto 0 -4px 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), var(--saffron), var(--gold), transparent); opacity: .55; }
.header-inner { display: flex; align-items: center; gap: .6rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--maroon); min-width: 0; margin-right: auto; }
.brand__om { flex: none; color: var(--maroon); font-family: 'Noto Serif Devanagari', 'Nirmala UI', 'Mangal', serif; font-size: 2.1rem; line-height: 1; font-weight: 600; transform: translateY(-2px); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__kn { font-family: var(--font-kn); font-weight: 700; font-size: clamp(.98rem, .85rem + .9vw, 1.3rem); line-height: 1.3; white-space: nowrap; }
.brand__en { font-family: var(--font-display); font-size: clamp(.76rem, .7rem + .4vw, .95rem); color: var(--brown); white-space: nowrap; }
.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__link { display: inline-flex; align-items: center; gap: .2rem; padding: .55rem .7rem; border-radius: 8px; font-weight: 600; font-size: .96rem; color: var(--brown); text-decoration: none; }
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--maroon); background: var(--beige); }
.nav__link svg { width: 16px; height: 16px; }
.nav__item { position: relative; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: .55rem .75rem; border-radius: 8px; text-decoration: none; color: var(--brown); }
.nav__sub a:hover { background: var(--cream); color: var(--maroon); }
.header-cta { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--maroon); cursor: pointer; flex: none; padding: 0; }
.icon-btn svg { width: 28px; height: 28px; }
.icon-btn--wa { background: var(--wa); color: #fff; width: 40px; height: 40px; }
.icon-btn--wa svg { width: 22px; height: 22px; }
.mobile-menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(57,37,28,.45); opacity: 0; transition: opacity .2s; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--cream); box-shadow: -10px 0 30px rgba(0,0,0,.18); transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--maroon); }
.mobile-menu ul { list-style: none; margin: 0; padding: .5rem 0; }
.mobile-menu li a { display: block; padding: .8rem 1.25rem; text-decoration: none; color: var(--brown); font-weight: 600; border-bottom: 1px solid rgba(198,154,69,.18); }
.mobile-menu li a[aria-current='page'] { color: var(--maroon); background: var(--beige); }
.mobile-menu li.sub a { padding-left: 2.25rem; font-weight: 500; color: var(--muted); }
.mobile-menu__cta { margin-top: auto; padding: 1rem; display: grid; gap: .6rem; border-top: 1px solid var(--line); }
body.menu-open { overflow: hidden; }
@media (min-width: 1000px) {
  :root { --header-h: 78px; }
  .nav, .header-cta { display: block; }
  .header-cta { display: inline-flex; }
  .icon-btn--wa, .menu-toggle { display: none; }
}

/* Home hero */
.hero { position: relative; color: #fff; background: var(--maroon-deep); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 0%, rgba(90,22,27,.35), rgba(40,14,10,.88) 70%), linear-gradient(180deg, rgba(57,20,15,.25), rgba(57,20,15,.85)); }
.hero__visual { display: grid; grid-template-columns: 1fr 1.08fr; gap: .75rem; align-items: end; padding-top: 1.25rem; max-width: 560px; margin-inline: auto; }
.arch { border-radius: 999px 999px 18px 18px; padding: 5px; background: linear-gradient(160deg, #f1d79c, var(--gold) 40%, #8a6424); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.arch img { border-radius: 999px 999px 14px 14px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.arch--devi img { object-position: 50% 20%; }
.arch--guruji img { object-position: 48% 22%; }
.arch--devi { transform: translateY(-6px) scale(.94); }
.hero__ribbon { position: relative; z-index: 2; margin: -1.1rem auto 0; width: max-content; max-width: 92%; padding: .4rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--gold-soft); background: linear-gradient(180deg, #8f262d, var(--maroon)); color: #fff4dc; font-family: var(--font-kn); font-weight: 700; font-size: .95rem; box-shadow: var(--shadow); }
.hero__body { text-align: center; padding: 1.25rem 0 2.25rem; max-width: 760px; margin-inline: auto; }
.hero__kn-name { font-family: var(--font-kn); font-weight: 700; color: var(--gold-soft); font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); margin: 0; }
.hero h1 { color: #fff; margin: .35rem 0 .6rem; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero__sub { color: #f6e9d2; font-size: var(--fs-lg); margin-bottom: 1.1rem; }
.badge-35 { display: inline-flex; align-items: center; gap: .75rem; margin: .25rem auto 1rem; padding: .5rem 1.15rem .5rem .6rem; border-radius: 999px; background: rgba(255,248,234,.1); border: 1px solid rgba(227,199,140,.55); }
.badge-35__num { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6dc9f, var(--gold) 55%, #8a6424); color: var(--maroon-deep); font: 700 1.6rem/1 var(--font-display); }
.badge-35__txt { text-align: left; line-height: 1.25; }
.badge-35__txt strong { display: block; font-size: 1.05rem; color: #fff; }
.badge-35__txt .kn { color: var(--gold-soft); font-size: .9rem; line-height: 1.4; }
.hero__kn-line { font-family: var(--font-kn); color: #f3e2c4; max-width: 36ch; margin: 0 auto 1.25rem; }
.hero .btn-row { justify-content: center; }
.hero .btn { min-height: 52px; font-size: 1.05rem; }
@media (min-width: 900px) {
  .hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding-block: 3.5rem 4rem; }
  .hero__visual { order: 2; padding-top: 0; }
  .hero__body { text-align: left; padding: 0; }
  .hero__ribbon { margin: 0 0 1rem; }
  .hero__kn-line { margin-left: 0; }
  .hero .btn-row { justify-content: flex-start; }
}

/* Inner hero */
.page-hero { position: relative; background: linear-gradient(180deg, var(--maroon-deep), var(--maroon)); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(57,20,15,.35), rgba(90,22,27,.8)); }
.page-hero .container { padding-block: clamp(2rem, 6vw, 3.75rem); text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero p { color: #f6e9d2; max-width: 680px; margin: 0 auto; font-size: var(--fs-lg); }
.page-hero .btn-row { justify-content: center; margin-top: 1.25rem; }
.breadcrumbs { font-size: var(--fs-xs); margin-bottom: .75rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: .35rem; opacity: .7; }
.breadcrumbs a { color: var(--gold-soft); text-decoration: none; }
.breadcrumbs [aria-current] { color: #f6e9d2; }

/* Grids & cards */
.grid { display: grid; gap: clamp(.75rem, 2.5vw, 1.5rem); }
.grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--2, .grid--3 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--services, .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.service-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.1rem .75rem 1rem; text-decoration: none; color: var(--brown); height: 100%; background: linear-gradient(180deg, #fff, #fffaf0); transition: transform .15s, box-shadow .15s, border-color .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--brown); }
.service-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: .6rem; background: radial-gradient(circle at 35% 30%, #fff3dc, #f6e2bb); color: var(--maroon); border: 1px solid var(--gold-soft); }
.service-card__icon svg { width: 30px; height: 30px; }
.service-card__kn { font-family: var(--font-kn); font-weight: 700; color: var(--maroon); font-size: .95rem; line-height: 1.45; }
.service-card__title { font-family: var(--font-body); font-weight: 600; font-size: .93rem; color: var(--brown); margin: .15rem 0 0; line-height: 1.35; }
.service-card p, .service-card .link-arrow { display: none; }
@media (min-width: 600px) {
  .service-card { padding: 1.6rem 1.25rem 1.4rem; }
  .service-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--maroon); order: 2; }
  .service-card__kn { order: 3; font-size: .9rem; color: var(--saffron); margin-top: .1rem; }
  .service-card p { display: block; order: 4; font-size: var(--fs-sm); color: var(--muted); margin: .6rem 0 0; }
  .service-card .link-arrow { display: inline-flex; order: 5; margin-top: auto; padding-top: .75rem; font-size: .95rem; }
}
.feature { display: flex; gap: .9rem; align-items: flex-start; padding: 1.15rem; }
.feature__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--beige); color: var(--maroon); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.feature p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.feature--dark { background: var(--maroon); border-color: var(--maroon); }
.feature--dark h3 { color: #fff; } .feature--dark p { color: #f6e9d2; } .feature--dark a { color: var(--gold-soft); }
.feature--dark .feature__icon { background: var(--wa); color: #fff; }

.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.1fr; } }
.frame { position: relative; border-radius: var(--radius-lg); padding: 8px; background: linear-gradient(150deg, #f1d79c, var(--gold) 45%, #9b7430); box-shadow: var(--shadow); max-width: 460px; margin-inline: auto; }
.frame img { border-radius: calc(var(--radius-lg) - 6px); width: 100%; object-fit: cover; }
.frame--portrait img { aspect-ratio: 1 / 1; object-position: 50% 25%; }
.frame--wide { max-width: 560px; }
.frame__tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; background: var(--maroon); color: #fff4dc; border: 1.5px solid var(--gold-soft); border-radius: 999px; padding: .3rem 1rem; font-size: .9rem; font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--wa); margin-top: .15rem; padding: 3px; border-radius: 50%; background: #e3f4e8; }

.band { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--maroon-deep); }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(40,12,10,.92), rgba(90,22,27,.8) 60%, rgba(90,22,27,.6)); }
.band h2 { color: #fff; } .band .eyebrow { color: var(--gold-soft); } .band p { color: #f6e9d2; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.photo-pair img { border-radius: var(--radius); border: 2px solid var(--gold); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.quote { padding: 1.5rem; margin: 0; }
.quote blockquote { margin: 0 0 1rem; }
.quote blockquote::before { content: '“'; display: block; font: 3rem/.6 var(--font-display); color: var(--gold); margin-bottom: .5rem; }
.quote figcaption { font-weight: 600; color: var(--maroon); }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }
.notice { padding: 1.5rem; text-align: center; max-width: 680px; margin-inline: auto; background: #fff; border: 1px dashed var(--gold); border-radius: var(--radius); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--beige); border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem .7rem .55rem; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(40,12,10,.85)); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(20,8,6,.88); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: 10px; }
.lightbox p { color: #fff; text-align: center; margin: .6rem 0 0; }
.lightbox button { position: fixed; top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--beige); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; font-size: var(--fs-xs); color: var(--muted); margin-bottom: .4rem; }
.chip { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--beige); color: var(--maroon); font-weight: 600; font-size: var(--fs-xs); text-decoration: none; }
a.chip:hover { background: var(--gold-soft); color: var(--maroon); }
.chip.is-active { background: var(--maroon); color: #fff; }
.post-card h3 { font-size: 1.18rem; margin: 0 0 .45rem; }
.post-card h3 a { color: var(--maroon); text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 .75rem; }
.post-card .link-arrow { margin-top: auto; font-size: .95rem; }
.filter-bar { display: flex; gap: .5rem; overflow-x: auto; padding: 0 0 .5rem; margin: 0 0 1.5rem; list-style: none; }
.filter-bar .chip { white-space: nowrap; padding: .45rem .9rem; font-size: .9rem; }
.filter-bar--wrap { flex-wrap: wrap; justify-content: center; overflow: visible; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .75rem; margin-top: 2.5rem; }
.pagination span { color: var(--muted); font-size: var(--fs-sm); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; color: #f6e9d2; font-size: var(--fs-sm); margin-top: .75rem; }
.article-figure { margin: calc(var(--section) * -.55) auto 0; max-width: 900px; position: relative; z-index: 2; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); border: 4px solid #fff; box-shadow: var(--shadow); }
.prose { font-size: 1.08rem; line-height: 1.8; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); }
.prose h3 { margin-top: 1.6rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem auto; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--gold); background: var(--beige); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; }
.prose th { background: var(--beige); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose.kn { font-size: 1.05rem; line-height: 1.95; }
.author-box { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; margin-top: 2.5rem; }
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--gold); flex: none; margin: 0; }
.author-box p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.5rem; font-weight: 600; }
.share a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--beige); color: var(--maroon); }
.share svg { width: 20px; height: 20px; }
.disclaimer { font-size: var(--fs-sm); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }

.cta-panel { position: relative; overflow: hidden; text-align: center; padding: clamp(1.75rem, 5vw, 3rem) clamp(1.25rem, 4vw, 3rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--maroon-deep), var(--maroon) 55%, #9a3a20); color: #fff; box-shadow: var(--shadow); }
.cta-panel::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(227,199,140,.45); border-radius: calc(var(--radius-lg) - 6px); pointer-events: none; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #f6e9d2; max-width: 600px; margin-inline: auto; }
.cta-panel .kn { color: var(--gold-soft); }
.cta-panel .btn-row { justify-content: center; margin-top: 1.25rem; position: relative; }

.faq { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.15rem; font-weight: 600; color: var(--maroon); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq__a { padding: 0 1.15rem 1rem; color: var(--muted); }
.faq__a p:last-child { margin: 0; }

.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }
.contact-card { padding: 1.4rem; }
.contact-line { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line svg { flex: none; width: 24px; height: 24px; color: var(--saffron); margin-top: .15rem; }
.contact-line strong { display: block; color: var(--maroon); }
.contact-line address { font-style: normal; }
.map-wrap { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--beige); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lead form */
.lead-box { padding: clamp(1.25rem, 4vw, 2rem); border-top: 4px solid var(--gold); }
.lead-box h2, .lead-box h3 { margin-top: 0; }
.form { display: grid; gap: .9rem; }
.form-row { display: grid; gap: .9rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 10px; border: 1.5px solid #dcc79f; background: #fff; font: inherit; color: var(--brown); }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(217,119,6,.18); }
.form .hint { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 600; }
.alert--error { background: #fdecea; color: #8a1c1c; border: 1px solid #f3b9b4; }
.alert--ok { background: #e6f5ea; color: #155c2c; border: 1px solid #a9dcb7; }
.lead-split { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .lead-split { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.thanks-icon { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: #e3f4e8; color: var(--wa); }
.thanks-icon svg { width: 40px; height: 40px; }

/* Footer */
.site-footer { background: #2a1a14; color: #e9dcc6; font-size: .97rem; }
.site-footer a { color: #f0dfbf; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .kn { font-weight: 700; font-size: 1.25rem; color: var(--gold-soft); margin: 0; }
.footer-brand .en { font-family: var(--font-display); font-size: 1.15rem; color: #fff; margin: 0 0 .75rem; }
.site-footer h2 { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-soft); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.inline-ic { display: inline; width: 18px; height: 18px; vertical-align: -3px; margin-right: .3rem; }
.footer-bottom { border-top: 1px solid rgba(227,199,140,.2); padding-block: 1.1rem; font-size: .85rem; color: #bfae95; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* Sticky mobile bar */
.sticky-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(255,248,234,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(57,37,28,.12); }
.sticky-bar .btn { min-height: 48px; border-radius: 12px; padding-inline: .5rem; }
body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
.float-wa { display: none; }
@media (min-width: 1000px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
  .float-wa { display: grid; place-items: center; position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 25px -6px rgba(0,0,0,.35); }
  .float-wa svg { width: 30px; height: 30px; }
  .float-wa:hover { color: #fff; background: var(--wa-dark); }
}
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
