/* Vedic Cosmic Compass — premium, minimal, mobile-first. */

:root {
  --maroon: #6E1A24;
  --maroon-deep: #4A1018;
  --maroon-ink: #34100F;
  --saffron: #D9963A;
  --saffron-soft: #F3DDB5;
  --gold: #B8893B;
  --gold-light: #D9B26A;
  --ivory: #FBF7EF;
  --ivory-2: #F4ECDD;
  --paper: #FFFDF8;
  --ink: #2A1C16;
  --ink-soft: #5C4A40;
  --line: #E5D7C0;
  --line-strong: #D4C0A0;

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(52, 16, 15, .04), 0 8px 24px -12px rgba(52, 16, 15, .14);
  --shadow-lg: 0 2px 4px rgba(52, 16, 15, .04), 0 24px 48px -20px rgba(52, 16, 15, .28);
  --header-h: 76px;
  --gutter: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-deep); }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--maroon-ink); margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
h3, .h3 { font-size: clamp(1.4rem, 2.4vw, 1.65rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--saffron-soft); color: var(--maroon-ink); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { 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: 12px; top: -60px; z-index: 100; background: var(--maroon); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--ink-soft); font-size: .95rem; }
.lead { font-size: 1.2rem; color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }

/* ---------- buttons */
.btn {
  --bg: transparent; --fg: var(--maroon); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font: 700 .82rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 999px;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent; text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--maroon); --fg: #FFF8EC; --bd: var(--maroon); box-shadow: 0 8px 20px -10px rgba(110, 26, 36, .6); }
.btn--primary:hover { --bg: var(--maroon-deep); --bd: var(--maroon-deep); color: #FFF8EC; }
.btn--gold { --bg: var(--saffron); --fg: var(--maroon-ink); --bd: var(--saffron); }
.btn--gold:hover { --bg: #E6A84E; --bd: #E6A84E; color: var(--maroon-ink); }
.btn--outline { --fg: var(--maroon); --bd: var(--line-strong); --bg: transparent; }
.btn--outline:hover { --bd: var(--maroon); --bg: rgba(110, 26, 36, .04); color: var(--maroon); }
.btn--ghost-light { --fg: #FFF3DE; --bd: rgba(255, 243, 222, .45); }
.btn--ghost-light:hover { --bd: #FFF3DE; color: #fff; --bg: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .74rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.center-link { text-align: center; margin: 40px 0 0; }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(52, 16, 15, .35); }
.site-header.is-scrolled .site-header__inner { height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--maroon); margin-right: auto; min-width: 0; }
.brand__logo { height: 52px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand__logo { height: 42px; }
.brand__badge { width: 64px; height: 64px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(217, 178, 106, .35); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon-ink); white-space: nowrap; }
.brand__by { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 4px; }
.brand--light .brand__name { color: #FFF3DE; }

.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__list a:not(.btn) { display: block; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 8px; position: relative; }
.nav__list a:not(.btn)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__list a:not(.btn):hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--maroon); }
.nav__cta-mobile { display: none; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  /* backdrop-filter would make the fixed menu panel position against the header */
  .site-header { background: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-scrolled .site-header__inner { height: 58px; }
  .header-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 12px; margin-right: -8px;
    background: none; border: 0; border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.6px; background: var(--maroon-ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--ivory);
    padding: 16px var(--gutter) 32px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .is-scrolled .nav { inset-block-start: 58px; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a:not(.btn) { padding: 18px 4px; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--maroon-ink); }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: block; border: 0 !important; padding-top: 24px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 960px) { .brand__logo { height: 44px; } .is-scrolled .brand__logo { height: 38px; } }

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 8vw, 100px); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(217, 150, 58, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(110, 26, 36, .06), transparent 70%);
}
.hero__inner { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--maroon); font-weight: 600; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 36em; margin-bottom: 32px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: .9rem; color: var(--ink-soft); }
.hero__note svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero__art { justify-self: center; width: min(100%, 470px); color: var(--gold); }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; }
}
@media (max-width: 899px) {
  .hero__art { order: -1; width: min(46%, 190px); margin-bottom: -20px; }
  .hero__inner { gap: 32px; }
}
@media (max-width: 560px) {
  .hero .btn-row .btn { width: 100%; }
}

.celestial { width: 100%; height: auto; color: var(--gold); overflow: visible; }
.celestial line { stroke-linecap: round; }
.celestial .star { fill: var(--maroon); opacity: .92; }
.celestial .core { fill: var(--saffron); }
.celestial .graha { fill: var(--saffron); stroke: var(--paper); stroke-width: 1.5; }
.celestial .grahas { transform-origin: 200px 200px; }
.celestial--faint { opacity: .35; }
.celestial--faint .star { fill: var(--gold); opacity: .4; }

/* Entrance + scroll reveal. Hidden only when JS confirms it is running and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-in { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 80ms); }
  .js .hero__art { opacity: 0; animation: fadeScale 1.4s var(--ease) .2s forwards; }
  .js .hero__art .grahas { animation: drift 120s linear infinite; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeScale { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes drift { to { transform: rotate(360deg); } }

/* ---------- trust strip */
.trust { border-block: 1px solid var(--line); background: var(--paper); }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); }
.trust__list li { padding: 26px 12px; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.trust__list li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust__list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.trust__list strong { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 700; color: var(--maroon); line-height: 1.15; }
.trust__list span { font-size: .82rem; color: var(--ink-soft); letter-spacing: .02em; }
@media (min-width: 900px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__list li { padding: 34px 20px; border: 0 !important; }
  .trust__list li + li { border-left: 1px solid var(--line) !important; }
}

/* ---------- sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--alt { background: var(--ivory-2); }
.section--maroon { background: var(--maroon-deep); color: #F6E9D6; position: relative; overflow: hidden; }
.section--maroon::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 80% at 100% 0%, rgba(217, 150, 58, .18), transparent 60%);
}
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ''; width: 22px; height: 1px; background: currentColor; }
.section-head h2 { margin-bottom: 14px; }
.section-head__intro { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* ---------- split / portrait */
.split { display: grid; gap: 48px; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 72px; }
  .split--top { grid-template-columns: 7fr 5fr; }
  .split--top:has(.split__media) { grid-template-columns: 5fr 7fr; }
}
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.portrait--placeholder .portrait__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 70%);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.portrait--placeholder .portrait__frame::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(217, 178, 106, .35); border-radius: calc(var(--radius) - 6px); }
.celestial--portrait { position: absolute; width: 92%; color: var(--gold-light); opacity: .55; }
.celestial--portrait .star { fill: var(--gold-light); opacity: .25; }
.celestial--portrait .graha { stroke: var(--maroon); }
.portrait__mono { position: relative; font-family: var(--serif); font-size: clamp(4rem, 10vw, 6rem); font-weight: 600; color: #FBEBD0; letter-spacing: .04em; }
.portrait figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; text-align: center; }
.portrait figcaption strong { font-family: var(--serif); font-size: 1.35rem; color: var(--maroon-ink); }
.portrait figcaption span { font-size: .85rem; color: var(--ink-soft); }
@media (min-width: 900px) { .portrait--sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 899px) { .split__media { max-width: 420px; width: 100%; margin-inline: auto; } }

/* ---------- consultation cards */
.consult-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .consult-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1180px) { .consult-grid:not(.consult-grid--two) { grid-template-columns: repeat(4, 1fr); } }
.consult-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.consult-card::before { content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 2px; background: linear-gradient(90deg, var(--saffron), transparent); opacity: .8; }
.consult-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.consult-card__icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 20px; }
.consult-card h3 { margin-bottom: 12px; }
.consult-card h3 a { color: inherit; text-decoration: none; }
.consult-card h3 a:hover { color: var(--maroon); }
.consult-card > p { color: var(--ink-soft); font-size: 1rem; }
.consult-card__for { font-size: .92rem !important; padding: 14px 0 0; border-top: 1px dashed var(--line); margin-top: auto; }
.consult-card__for span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.consult-card__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 8px; }
.consult-card__actions .btn { width: 100%; padding-inline: 16px; font-size: .74rem; }

/* ---------- steps */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 1024px) {
  .step { background: none; border: 0; border-radius: 0; padding: 8px 28px 0; border-left: 1px solid var(--line); }
  .step:first-child { border-left: 0; padding-left: 0; }
}
.step__num { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--saffron); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- expertise */
.expertise-grid { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .expertise-grid { grid-template-columns: repeat(4, 1fr); } .expertise:last-child { grid-column: span 2; } }
.expertise { background: var(--paper); padding: 30px 26px; transition: background-color .3s; }
.expertise:hover { background: #FFFAF0; }
.expertise__num { font-size: .75rem; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.expertise h3 { font-size: 1.45rem; margin: 10px 0 8px; }
.expertise p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
@media (min-width: 640px) and (max-width: 1023px) { .expertise:last-child { grid-column: span 2; } }

/* ---------- why */
.why { position: relative; display: grid; gap: 48px; }
@media (min-width: 960px) { .why { grid-template-columns: 4fr 6fr; gap: 80px; align-items: start; } .why__intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.why h2 { color: #FFF3DE; }
.why__intro p { color: #E9D4B8; font-size: 1.08rem; margin-bottom: 28px; }
.why__list { list-style: none; display: grid; gap: 0; }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.why__list li { padding: 24px 0; border-top: 1px solid rgba(217, 178, 106, .25); }
.why__list h3 { color: var(--gold-light); font-size: 1.4rem; margin-bottom: 6px; }
.why__list p { margin: 0; color: #E9D4B8; font-size: .97rem; }

/* ---------- social */
.social-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .social-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; } }
.social-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.social-card > p:not(.social-card__label) { color: var(--ink-soft); font-size: .98rem; }
.social-card .btn { margin-top: auto; }
.social-card--google { border-color: var(--line-strong); background: linear-gradient(170deg, #fff 0%, var(--paper) 60%); }
.social-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.social-card__icon svg { width: 26px; height: 26px; }
.social-card__icon--google { background: #fff; border: 1px solid var(--line); }
.social-card__icon--ig { background: linear-gradient(135deg, #F5C26B, #C2394B 55%, #7A2E8C); color: #fff; }
.social-card__icon--x { background: #111; color: #fff; }
.social-card__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.social-card h3 { word-break: break-word; }
@media (max-width: 560px) { .social-card .btn { width: 100%; } }

/* ---------- posts */
.post-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.cover { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.post-card:hover .cover { transform: scale(1.03); }
.post-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.45rem; margin: 10px 0 10px; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--maroon); }
.post-card__body > p:not(.post-meta) { color: var(--ink-soft); font-size: .96rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .82rem; color: var(--ink-soft); margin: 0; }
.post-meta--date { margin-top: auto; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--saffron-soft); color: var(--maroon-ink); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
a.tag:hover { background: #EDCD95; color: var(--maroon-ink); }

.featured-post { display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.featured-post__media { display: block; aspect-ratio: 16 / 10; }
.featured-post__body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured-post h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.featured-post h2 a { color: inherit; text-decoration: none; }
.featured-post__body > p:not(.post-meta):not(.eyebrow) { color: var(--ink-soft); }
.featured-post .post-meta { margin-bottom: 24px; }
@media (min-width: 900px) { .featured-post { grid-template-columns: 1.1fr 1fr; } .featured-post__media { aspect-ratio: auto; min-height: 100%; } }

.blog-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.blog-tools h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.search { position: relative; width: 100%; max-width: 340px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.search input { width: 100%; min-height: 48px; padding: 10px 16px 10px 44px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(217, 150, 58, .25); }
@media (max-width: 640px) { .search { max-width: none; } }
.filters { display: flex; gap: 8px; margin-bottom: 32px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
@media (min-width: 900px) { .filters { flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 600 .88rem var(--sans); cursor: pointer; transition: all .2s; white-space: nowrap; }
.chip:hover { border-color: var(--maroon); color: var(--maroon); }
.chip[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #FFF8EC; }
.blog-empty { text-align: center; color: var(--ink-soft); padding: 32px 0; }

/* ---------- page hero + breadcrumbs */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); background: linear-gradient(180deg, var(--ivory-2), var(--ivory)); border-bottom: 1px solid var(--line); }
.page-hero__art { position: absolute; right: -120px; top: 50%; width: 520px; transform: translateY(-50%); pointer-events: none; }
@media (max-width: 720px) { .page-hero__art { width: 340px; right: -170px; opacity: .7; } }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 16ch; }
.page-hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 40em; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 32px; }
@media (max-width: 560px) { .page-hero .btn-row .btn { width: 100%; } }
.breadcrumbs { margin-bottom: 26px; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li { color: var(--ink-soft); }
.breadcrumbs li + li::before { content: '/'; margin: 0 10px; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--maroon); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--maroon); }

/* ---------- prose */
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul:not([class]) { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose ul:not([class]) li { margin-bottom: .55em; padding-left: .25em; }
.prose ul:not([class]) li::marker { color: var(--gold); }
.prose em { color: var(--maroon-ink); }
.prose strong { color: var(--maroon-ink); }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); }

.profile-quote { margin: 0 0 48px; padding: 32px clamp(24px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--saffron); border-radius: var(--radius); font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.5; color: var(--maroon-ink); box-shadow: var(--shadow); }
.profile-quote p { margin-bottom: .8em; }
.profile-quote cite { display: block; font-family: var(--sans); font-size: .85rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.role-list { list-style: none; display: grid; gap: 12px; margin: 0 0 1.4em; }
@media (min-width: 640px) { .role-list { grid-template-columns: repeat(3, 1fr); } }
.role-list li { padding: 18px; background: var(--ivory-2); border-radius: var(--radius-sm); }
.role-list strong { display: block; font-family: var(--serif); font-size: 1.3rem; }
.role-list span { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; display: block; margin-top: 4px; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; }
.pill-list li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: .92rem; color: var(--maroon-ink); background: var(--paper); }

/* ---------- consultation detail */
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .aside-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 3px; }
.topic-list { list-style: none; display: grid; gap: 12px; counter-reset: t; }
.topic-list li { counter-increment: t; display: flex; gap: 18px; align-items: baseline; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; color: var(--maroon-ink); line-height: 1.35; }
.topic-list li::before { content: counter(t, decimal-leading-zero); font-family: var(--sans); font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.compare { display: grid; gap: 20px; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: 30px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.compare__col--accent { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(217, 150, 58, .15); }
.compare__col p { margin: 0; color: var(--ink-soft); }

/* ---------- FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.04rem; color: var(--maroon-ink); min-height: 56px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.8px; background: var(--gold); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq__answer p { margin: 0; }

/* ---------- CTA band */
.cta-band { background: var(--maroon); color: #FBEBD0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 50%, rgba(217, 150, 58, .25), transparent 60%); pointer-events: none; }
.cta-band__inner { position: relative; display: grid; gap: 28px; align-items: center; padding-block: clamp(48px, 7vw, 80px); }
.cta-band h2 { color: #FFF3DE; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #EBD3B3; font-size: 1.08rem; max-width: 36em; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } }
@media (max-width: 560px) { .cta-band .btn { width: 100%; } }

/* ---------- article */
.article__header { padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--ivory-2), var(--ivory)); }
.article__header h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); margin: 16px 0 18px; }
.article__lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); color: var(--ink-soft); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.byline__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: #FBEBD0; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; flex: none; }
.byline div { display: flex; flex-direction: column; line-height: 1.4; }
.byline a { text-decoration: none; color: var(--maroon-ink); }
.byline span { font-size: .88rem; color: var(--ink-soft); }
.article__cover { max-width: 1040px; }
.article__cover .cover { border-radius: var(--radius); aspect-ratio: 16 / 8; height: auto; box-shadow: var(--shadow-lg); }
.article__body { padding-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 96px); }
.article__body > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .82; padding: 6px 10px 0 0; color: var(--maroon); font-weight: 600; }
.article-cta { margin: 56px 0 24px; padding: clamp(26px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--saffron); border-radius: var(--radius); box-shadow: var(--shadow); }
.article-cta h2 { margin: 0 0 8px; }
.article-cta > p:not(.eyebrow) { color: var(--ink-soft); }
@media (max-width: 560px) { .article-cta .btn { width: 100%; } }
.article__disclaimer { border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- contact */
.contact { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; } }
.contact-card--primary { background: var(--maroon-deep); color: #F6E9D6; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.contact-card--primary::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 0%, rgba(217, 150, 58, .22), transparent 60%); pointer-events: none; }
.contact-card--primary > * { position: relative; }
.contact-card--primary h2 { color: #FFF3DE; margin-bottom: 4px; }
.contact-card__big { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 600; margin-bottom: 26px; }
.contact-card__big a { color: var(--gold-light); text-decoration: none; }
@media (max-width: 560px) { .contact-card--primary .btn { width: 100%; } }
.contact-list { list-style: none; display: grid; gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--paper); }
.contact-list__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ivory-2); color: var(--maroon); flex: none; }
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list div { display: flex; flex-direction: column; min-width: 0; }
.contact-list__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; color: var(--maroon-ink); }
.optional { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236E1A24' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(217, 150, 58, .25); }
.field [aria-invalid="true"] { border-color: #A3262F; }
.field__error { color: #A3262F; font-size: .88rem; margin: 6px 0 0; font-weight: 600; }
.field__hint { font-size: .84rem; color: var(--ink-soft); margin: 6px 0 0; }
.form-success { text-align: center; padding: 16px 0; }
.form-success:focus { outline: none; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron-soft); color: var(--maroon); }
.form-success__icon svg { width: 30px; height: 30px; }

/* ---------- 404 */
.notfound { padding: clamp(56px, 10vw, 120px) 0; text-align: center; }
.notfound__art { width: 200px; margin: 0 auto 28px; opacity: .85; }
.notfound .page-hero__lead { margin-inline: auto; margin-bottom: 32px; }
.notfound h1 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); max-width: none; }

/* ---------- footer */
.site-footer { background: var(--maroon-ink); color: #DCC7AC; padding: clamp(56px, 8vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .96rem; }
.footer-grid { display: grid; gap: 40px 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { max-width: 30em; margin: 20px 0 22px; color: #CDB797; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr 1.8fr; } .footer-brand { grid-column: auto; } }
.footer-title { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a:not(.btn):not(.brand) { color: #F1E2CB; text-decoration: none; display: inline-block; padding: 5px 0; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn { color: var(--maroon-ink); text-decoration: none; padding: 9px 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(217, 178, 106, .2); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex !important; flex-wrap: wrap; gap: 4px 20px !important; }
.site-footer .footer-legal a { padding: 0; }
.footer-note { margin: 18px 0 0; font-size: .82rem; color: #B39C7E; }
.site-footer .footer-note a { display: inline; padding: 0; text-decoration: underline; color: inherit; }
@media (max-width: 960px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- floating WhatsApp */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1FA855; color: #fff; box-shadow: 0 10px 28px -8px rgba(18, 90, 46, .55), 0 0 0 4px rgba(255, 255, 255, .7);
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); pointer-events: none; }
@media (max-width: 560px) { .wa-float { width: 54px; height: 54px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); } }
body.nav-open .wa-float { opacity: 0; visibility: hidden; }

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

/* ---------- print */
@media print {
  .site-header, .site-footer, .wa-float, .cta-band, .article-cta { display: none !important; }
  body { background: #fff; }
}
