/* ==========================================================================
   Dharma A.E.S — Arte · Educación · Sanación
   ========================================================================== */

:root {
  --night: #160f20;
  --night-2: #1f1530;
  --night-3: #2a1d40;
  --violet: #9b6bff;
  --violet-deep: #6236d6;
  --lotus: #c867f5;
  --lilac: #d8c2fb;
  --sand: #f5ede1;
  --cream: #fbf7f0;
  --paper: #fffdf9;
  --terracotta: #df7a4c;
  --coral: #f59a6b;
  --gold: #d6b26a;
  --gold-soft: #ead7aa;
  --sky: #6aa6f2;
  --ink: #241a33;
  --ink-soft: #5b5068;
  --line: rgba(36, 26, 51, .12);
  --line-light: rgba(255, 255, 255, .12);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 30px 80px -30px rgba(40, 20, 70, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16.5px, .6vw + 12px, 18px);
  line-height: 1.72;
  font-feature-settings: "ss01", "kern";
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--lotus); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 400; line-height: 1.06; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.7rem); font-weight: 350; }
h3 { font-size: clamp(1.45rem, 1.9vw, 1.85rem); letter-spacing: -.012em; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1.1em; }
em, .serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { color: var(--lotus); }
.on-dark h2 em, .on-dark h1 em { background: linear-gradient(100deg, var(--lilac), var(--gold-soft) 60%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet-deep); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .eyebrow, .hero .eyebrow { color: var(--gold-soft); }
.lead { font-size: clamp(1.1rem, 1.3vw + .6rem, 1.35rem); line-height: 1.6; color: var(--ink-soft); max-width: 38em; }
.on-dark .lead { color: rgba(255, 255, 255, .74); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05em 1.7em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 600; font-size: .96rem; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .72em 1.25em; font-size: .88rem; }
.btn-glow {
  --fg: #1b1326;
  background: linear-gradient(110deg, var(--gold-soft), #fff1d6 30%, var(--coral) 75%, var(--lotus));
  background-size: 220% 100%; background-position: 0 0;
  box-shadow: 0 10px 40px -10px rgba(245, 154, 107, .65), inset 0 0 0 1px rgba(255, 255, 255, .5);
  transition: background-position .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn-glow:hover { background-position: 100% 0; color: #fff; box-shadow: 0 16px 50px -12px rgba(181, 107, 232, .8); }
.btn-ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .08); }
.btn-dark { --bg: var(--ink); --fg: #fff; box-shadow: 0 14px 40px -16px rgba(36, 26, 51, .7); }
.btn-dark:hover { --bg: var(--violet-deep); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--violet-deep); }
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s, color .4s;
  padding: 18px 0;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(22, 15, 32, .72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line-light);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-mark { width: 46px; height: 46px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .06), 0 8px 24px -8px rgba(155, 107, 255, .7); transition: transform .9s var(--ease); }
.brand:hover .logo-mark { transform: scale(1.06) rotate(-8deg); }
.logo-word { --h: 30px; display: block; height: var(--h); width: calc(var(--h) * 3.94); background: currentColor;
  -webkit-mask: url(/assets/img/logo-dharma.png) no-repeat left center / contain; mask: url(/assets/img/logo-dharma.png) no-repeat left center / contain; }
.logo-word-full { --h: 58px; width: calc(var(--h) * 3.16); -webkit-mask-image: url(/assets/img/logo-wordmark.png); mask-image: url(/assets/img/logo-wordmark.png); }
.brand-full .logo-mark { width: 64px; height: 64px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  position: relative; display: block; padding: 8px 12px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; text-decoration: none; opacity: .86; transition: opacity .3s, background .3s;
}
.nav a:not(.btn):hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--coral); transform: translateX(-50%); }
.nav-toggle { display: none; }

@media (max-width: 1140px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-light); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; z-index: 2;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 34px;
    background: radial-gradient(120% 80% at 80% 0%, #3a2160, var(--night) 60%);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav ul { flex-direction: column; align-items: center; gap: 4px; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2rem; font-weight: 350; padding: 6px 18px; }
  .nav a[aria-current="page"]::after { bottom: 50%; left: -4px; transform: translateY(50%); }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.on-dark { background: var(--night); color: #fff; }
.bg-sand { background: var(--sand); }
.bg-paper { background: var(--paper); }

.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  background: var(--night); color: #fff; padding: 140px 0 110px;
}
.hero-sm { min-height: auto; padding: clamp(150px, 18vw, 210px) 0 clamp(80px, 9vw, 120px); }
.aurora { position: absolute; inset: -20%; z-index: 0; filter: blur(80px) saturate(1.2); opacity: .9; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: 46%; top: 0%; background: radial-gradient(circle, rgba(138, 92, 240, .75), transparent 65%); }
.aurora i:nth-child(2) { width: 42vw; height: 42vw; left: 8%; top: 40%; background: radial-gradient(circle, rgba(223, 122, 76, .45), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; left: 62%; top: 52%; background: radial-gradient(circle, rgba(214, 178, 106, .4), transparent 65%); animation-duration: 25s; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 30vw; height: 30vw; left: 24%; top: -6%; background: radial-gradient(circle, rgba(181, 107, 232, .45), transparent 65%); animation-duration: 31s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, -4vw, 0) scale(1.15); }
  100% { transform: translate3d(-5vw, 5vw, 0) scale(.92); }
}
.hero-mandala {
  position: absolute; z-index: 0; right: -18vw; top: 50%; width: min(1040px, 100vw); aspect-ratio: 1;
  transform: translateY(-50%); pointer-events: none; opacity: .85;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(22, 15, 32, .85) 0%, rgba(22, 15, 32, .45) 45%, transparent 75%); }
.mandala { width: 100%; height: 100%; fill: none; stroke: var(--gold-soft); stroke-width: .7; overflow: visible; }
.mandala .ring { transform-origin: 50% 50%; transform-box: view-box; }
.mandala .ring-0 { animation: spin 90s linear infinite; stroke: rgba(234, 215, 170, .55); }
.mandala .ring-1 { animation: spin 140s linear infinite reverse; stroke: rgba(216, 194, 251, .35); }
.mandala .ring-2 { animation: spin 200s linear infinite; stroke: rgba(234, 215, 170, .25); }
.mandala .ring-3 { animation: spin 260s linear infinite reverse; stroke: rgba(216, 194, 251, .16); }
.mandala > circle { stroke: rgba(234, 215, 170, .4); }
.mandala .dot { fill: rgba(234, 215, 170, .5); stroke: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero h1 { margin: 0 0 .35em; font-size: clamp(3.1rem, 7.6vw, 6.6rem); line-height: .98; font-weight: 300; letter-spacing: -.035em; }
.hero h1 .eyebrow { display: flex; font-size: clamp(.66rem, .5vw + .5rem, .78rem); line-height: 1.6; margin-bottom: 1.8rem; font-weight: 600; letter-spacing: .2em; }
.hero-sm h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); }
.hero .lead { margin-bottom: 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 3.2rem; padding: 0; list-style: none; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.hero-meta li { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(245, 154, 107, .18); }
.hero-meta li:nth-child(2)::before { background: var(--lilac); box-shadow: 0 0 0 4px rgba(216, 194, 251, .18); }
.hero-meta li:nth-child(3)::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(214, 178, 106, .18); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .35);
}
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.crumbs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 1.6rem; padding: 0; list-style: none; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* hero split (inner pages) */
.hero-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero-card {
  position: relative; padding: 30px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px var(--line-light); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-card h2 { font-size: 1.6rem; margin-bottom: .8em; }
.hero-card dl { margin: 0; display: grid; gap: 14px; }
.hero-card dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); font-size: .92rem; }
.hero-card dl div:last-child { border: 0; padding: 0; }
.hero-card dt { color: rgba(255, 255, 255, .6); }
.hero-card dd { margin: 0; text-align: right; font-weight: 600; }
.hero-card .btn { width: 100%; margin-top: 24px; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--night-2); color: var(--gold-soft); padding: 22px 0; border-block: 1px solid var(--line-light); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee li { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.8rem); white-space: nowrap; padding-inline: 28px; display: flex; align-items: center; gap: 56px; }
.marquee li::after { content: "✦"; font-style: normal; font-size: .7em; color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Challenge cards ---------- */
.challenge { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.challenge-intro { position: sticky; top: 120px; }
.challenge-quote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.3; font-style: italic; margin: 1.6em 0 0; padding-left: 24px; border-left: 2px solid var(--coral); color: var(--ink); }
.challenge-quote cite { display: block; margin-top: .8em; font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.pain-list { display: grid; gap: 18px; }
.pain {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  padding: 34px 34px 30px; border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 20px 50px -35px rgba(40, 20, 70, .3);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pain:hover { transform: translateX(8px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(40, 20, 70, .4); }
.pain-num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.8rem; line-height: .8; color: var(--coral); }
.pain h3 { font-size: 1.7rem; margin-bottom: .3em; }
.pain p { margin: 0; color: var(--ink-soft); }
.pain-result {
  margin-top: 8px; padding: 30px 34px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(120deg, var(--violet-deep), var(--lotus) 70%, var(--coral));
}
.pain-result p { margin: 0; font-family: var(--serif); font-weight: 350; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.35; }
@media (max-width: 900px) { .challenge { grid-template-columns: 1fr; } .challenge-intro { position: static; } .pain { padding: 28px 24px; gap: 18px; } }

/* ---------- Pillars (A.E.S) ---------- */
.aes { overflow: hidden; }
.aes-mandala { position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .5; pointer-events: none; z-index: 0; }
.aes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.aes-col { padding: 44px 40px 10px 0; border-right: 1px solid var(--line-light); }
.aes-col + .aes-col { padding-left: 40px; }
.aes-col:last-child { border-right: 0; }
.aes-letter {
  display: block; font-family: var(--serif); font-size: clamp(6rem, 11vw, 10rem); line-height: .8; font-weight: 300; font-style: italic;
  background: linear-gradient(160deg, var(--gold-soft), var(--lotus) 70%); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 26px;
}
.aes-col h3 { font-size: 2rem; font-weight: 350; }
.aes-col p { color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) {
  .aes-grid { grid-template-columns: 1fr; }
  .aes-col, .aes-col + .aes-col { padding: 36px 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .aes-letter { font-size: 5.5rem; margin-bottom: 14px; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; display: flex; flex-direction: column; min-height: 540px; padding: 38px 34px 34px;
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate;
  background: var(--night-2);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--svc-bg); transition: transform 1.2s var(--ease); }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(14, 9, 22, .55)); }
.service:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.service:hover::before { transform: scale(1.08) rotate(-2deg); }
.service-1 { --svc-bg: radial-gradient(120% 90% at 100% 0%, #f2a77d 0%, #c9582f 38%, #3b1a2b 100%); }
.service-2 { --svc-bg: radial-gradient(120% 90% at 100% 0%, #d9be82 0%, #7b6a3b 40%, #1d2420 100%); }
.service-3 { --svc-bg: radial-gradient(120% 90% at 100% 0%, #d4b6ff 0%, #7444d6 40%, #1e1236 100%); }
.service-icon { width: 74px; height: 74px; margin-bottom: auto; stroke: #fff; fill: none; stroke-width: 1.2; opacity: .95; }
.service-kicker { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .75; margin: 40px 0 10px; }
.service h3 { font-size: clamp(1.75rem, 2.1vw, 2.15rem); font-weight: 350; margin-bottom: .45em; }
.service p { color: rgba(255, 255, 255, .78); font-size: .97rem; }
.service ul { list-style: none; padding: 0; margin: 4px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: .76rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.service-go { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: .92rem; }
.service-go span:last-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .5s var(--ease); }
.service:hover .service-go span:last-child { transform: rotate(-45deg); }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr; } .service { min-height: 0; } .service-icon { margin-bottom: 10px; } }

/* ---------- Path / steps ---------- */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.path::before { content: ""; position: absolute; left: 6%; right: 6%; top: 37px; height: 1px; background: repeating-linear-gradient(90deg, var(--violet) 0 6px, transparent 6px 14px); opacity: .45; }
.step { position: relative; padding: 0 10px; }
.step-dot {
  position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 28px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -14px rgba(40, 20, 70, .35);
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.9rem; color: var(--violet-deep);
}
.step-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(138, 92, 240, .25); }
.step-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; }
.step h3 { font-size: 1.85rem; }
.step p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; gap: 40px; }
  .path::before { left: 37px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--violet) 0 6px, transparent 6px 14px); }
  .step { display: grid; grid-template-columns: 74px 1fr; gap: 0 24px; padding: 0; }
  .step-dot { margin: 0; grid-row: span 3; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.portrait { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.portrait-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #e9d9ff, #b98fef 45%, #5b34b8);
  box-shadow: var(--shadow);
}
.portrait-frame img { position: absolute; left: 50%; bottom: 0; width: 76%; transform: translateX(-50%); border-radius: 999px 999px 0 0; filter: saturate(.92) contrast(1.04); mix-blend-mode: normal; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(30, 18, 54, .35)); }
.portrait-ring { position: absolute; inset: -22px; border-radius: 999px 999px 44px 44px; border: 1px solid rgba(138, 92, 240, .35); pointer-events: none; }
.portrait-badge {
  position: absolute; right: -14px; bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font-size: .82rem; line-height: 1.25;
}
.portrait-badge .logo-mark { width: 40px; height: 40px; box-shadow: none; }
.portrait-badge strong { display: block; font-size: .95rem; }
.about h2 { margin-bottom: .4em; }
.signature { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.2rem; color: var(--violet-deep); margin: .2em 0 .8em; line-height: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 26px 0 34px; padding: 0; }
.tags li { padding: 8px 15px; border-radius: 999px; font-size: .82rem; font-weight: 500; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 340px; } .portrait-badge { right: 0; } }

/* ---------- Locations ---------- */
.places { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #1d1530, #2a1d40); box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.map-card svg { width: 100%; height: 100%; }
.map-sea { fill: url(#sea); }
.map-land { fill: #2f2245; stroke: rgba(234, 215, 170, .35); stroke-width: 1.2; }
.map-label { font-family: var(--sans); font-size: 13px; fill: rgba(255, 255, 255, .85); font-weight: 600; }
.map-label-sm { font-size: 11px; fill: rgba(255, 255, 255, .5); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.map-pin circle:first-child { fill: var(--coral); }
.map-pin .pulse { fill: none; stroke: var(--coral); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.map-pin:nth-of-type(2) .pulse { animation-delay: .8s; }
.map-pin:nth-of-type(3) .pulse { animation-delay: 1.6s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.map-sea-label { font-family: var(--serif); font-style: italic; font-size: 22px; fill: rgba(159, 211, 255, .45); }
.place-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.place-list li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.place-list .ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--terracotta); }
.place-list .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.place-list strong { display: block; font-size: 1.02rem; }
.place-list span { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .places { grid-template-columns: 1fr; } }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.video { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; cursor: pointer; box-shadow: 0 0 0 1px var(--line-light); }
.video:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; opacity: .82; }
.video:hover img { transform: scale(1.05); opacity: 1; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 6, 18, .85)); color: #fff; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 24px; text-align: left; }
.video .play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); transition: transform .5s var(--ease), background .4s; }
.video .play::after { content: ""; margin-left: 5px; border-left: 18px solid #fff; border-block: 11px solid transparent; }
.video:hover .play { transform: scale(1.1); background: var(--coral); }
.video figcaption { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; max-width: 30ch; }
.video small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos-foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr; } .video:first-child { grid-row: auto; aspect-ratio: 16 / 9; } }

/* ---------- Community band ---------- */
.community {
  position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #1f6d55, #134a3c 55%, #0e2f28);
}
.community::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02); }
.community h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.community p { color: rgba(255, 255, 255, .78); margin: 0; }
.community .btn { justify-self: end; --bg: #fff; --fg: #134a3c; }
.community ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.community ul li::before { content: "✓ "; color: #8ff0c4; }
@media (max-width: 860px) { .community { grid-template-columns: 1fr; } .community .btn { justify-self: start; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.2rem, 1.45vw, 1.45rem); font-weight: 400; line-height: 1.3; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--sans); font-size: 1.3rem; font-weight: 300; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-a { padding: 0 60px 26px 0; color: var(--ink-soft); }
.faq-a p:last-child { margin: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-a { padding-right: 0; } }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 14vw, 190px) 0; }
.cta-final .cta-mandala { position: absolute; left: 50%; top: 50%; width: min(900px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .7; pointer-events: none; }
.cta-final h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 300; letter-spacing: -.03em; max-width: 14ch; margin-inline: auto; }
.cta-final .lead { margin: 0 auto 2.4rem; }
.cta-final .hero-ctas { justify-content: center; }

/* ---------- Content pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--coral); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.benefits { --cols: 3; --gap: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.benefits li { position: relative; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 28px 30px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.benefits li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -30px rgba(40, 20, 70, .35); }
.benefits svg { flex: none; width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--sand); stroke: var(--terracotta); fill: none; stroke-width: 1.4; margin: 0 0 18px; }
.bg-sand .benefits svg { background: var(--cream); }
.benefits strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 450; line-height: 1.2; margin-bottom: 8px; text-wrap: balance; }
.benefits span { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; max-width: 30ch; text-wrap: pretty; }
@media (max-width: 960px) { .benefits { --cols: 2; } }
@media (max-width: 600px) { .benefits { --cols: 1; } .benefits li { padding: 28px 22px 26px; } }

.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; counter-reset: mod; }
.module { position: relative; padding: 36px 34px 30px; border-radius: var(--radius-lg); background: var(--night-2); color: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-light); }
.module::before { counter-increment: mod; content: "0" counter(mod); position: absolute; right: 24px; top: 6px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 6rem; line-height: 1; color: rgba(255, 255, 255, .06); }
.module .step-tag { color: var(--gold-soft); }
.module h3 { font-size: 2rem; }
.module p { color: rgba(255, 255, 255, .72); margin: 0; font-size: .97rem; }
@media (max-width: 760px) { .modules { grid-template-columns: 1fr; } }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.format { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.format.featured { background: linear-gradient(160deg, var(--night-2), var(--night-3)); color: #fff; box-shadow: var(--shadow); transform: translateY(-10px); }
.format .dur { font-family: var(--serif); font-size: 3.4rem; line-height: 1; font-weight: 300; margin: 10px 0 4px; }
.format .dur small { font-size: 1.2rem; font-style: italic; margin-left: 4px; }
.format h3 { font-size: 1.6rem; margin: 0 0 .5em; }
.format p { color: var(--ink-soft); font-size: .95rem; }
.format.featured p { color: rgba(255, 255, 255, .72); }
.format ul { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 8px; font-size: .92rem; }
.format li::before { content: "✦"; margin-right: 10px; color: var(--coral); font-size: .8em; }
.format .btn { margin-top: auto; }
.format .badge { align-self: flex-start; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--coral); color: #fff; }
.format .badge.soft { background: var(--sand); color: var(--terracotta); }
@media (max-width: 960px) { .formats { grid-template-columns: 1fr; } .format.featured { transform: none; } }

.practices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.practices li { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-light); transition: background .5s, transform .5s var(--ease); }
.practices li:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.practices svg { width: 40px; height: 40px; stroke: var(--gold-soft); fill: none; stroke-width: 1.2; }
.practices strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.1; }
.practices span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .6); margin-top: 4px; }
@media (max-width: 900px) { .practices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .practices li { aspect-ratio: auto; min-height: 150px; padding: 18px; } .practices strong { font-size: 1.3rem; } }

.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 3.3rem); line-height: 1.18; font-weight: 300; font-style: italic; }
.quote-band cite { display: block; margin-top: 1.4rem; font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .65; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.info-list { margin: 36px 0 0; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: minmax(170px, .8fr) 1.6fr; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row dt { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.info-row dd { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--ink-soft); }
.info-row dd a { color: var(--violet-deep); font-weight: 600; text-decoration: none; white-space: nowrap; margin-left: 4px; }
.info-row dd a::after { content: " →"; }
.info-row dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-tag { display: block; width: fit-content; margin-bottom: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); }
.info-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 36px; }
.info-cta p { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.btn-wa { --bg: #1fa855; --fg: #fff; box-shadow: 0 14px 34px -14px rgba(31, 168, 85, .75); }
.btn-wa:hover { --bg: #178a46; }
@media (max-width: 640px) { .info-row { grid-template-columns: 1fr; padding: 18px 0; } .info-cta .btn { width: 100%; } }

.wa-panel { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--night-2); color: #fff; box-shadow: var(--shadow); }
.wa-panel-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1fa855; margin-bottom: 18px; box-shadow: 0 0 0 10px rgba(31, 168, 85, .15); }
.wa-panel-ico svg { width: 32px; height: 32px; fill: #fff; }
.wa-panel h2 { font-size: 1.9rem; margin-bottom: .2em; }
.wa-number { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 600; letter-spacing: .02em; text-decoration: none; color: var(--gold-soft); }
.wa-qr { width: 200px; margin: 26px 0 14px; padding: 16px; border-radius: 20px; background: #fff; }
.wa-qr img { width: 100%; height: auto; image-rendering: pixelated; }
.wa-panel p.small { font-size: .88rem; color: rgba(255, 255, 255, .65); max-width: 30ch; }
.wa-panel .btn { width: 100%; margin-top: 6px; }
.wa-more { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line-light); width: 100%; display: grid; gap: 8px; font-size: .9rem; }
.wa-more a { text-decoration: none; color: rgba(255, 255, 255, .75); }
.wa-more a:hover { color: #fff; }
@media (max-width: 900px) { .wa-panel { position: static; } .wa-qr { display: none; } .wa-panel p.small { display: none; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .72); padding: 90px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer-brand .brand { color: #fff; margin-bottom: 20px; }
.footer-brand p { max-width: 32ch; }
.footer-h { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: #fff; }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-light); transition: background .3s, color .3s; }
.social a:hover { background: var(--lotus); color: #fff; box-shadow: none; }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social .fill { fill: currentColor; stroke: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px; border-radius: 999px; background: #1fa855; color: #fff; text-decoration: none;
  font-weight: 600; font-size: .9rem; box-shadow: 0 14px 34px -10px rgba(31, 168, 85, .7);
  transform: translateY(120px); opacity: 0; transition: transform .6s var(--ease), opacity .6s, box-shadow .3s;
}
.wa-float.show { transform: none; opacity: 1; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); animation: wa-ping 2.8s ease-out infinite; }
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); } }
.wa-float:hover { box-shadow: 0 18px 40px -8px rgba(31, 168, 85, .85); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 13px; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transform: translateY(24px); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 70ms + .15s); }
.split-words.in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
}

/* Mandala más discreto en pantallas estrechas para no competir con el texto */
@media (max-width: 760px) {
  .hero-mandala { right: -55vw; width: 130vw; opacity: .45; }
  .hero::after { background: linear-gradient(180deg, rgba(22, 15, 32, .3), rgba(22, 15, 32, .75) 60%, rgba(22, 15, 32, .4)); }
  .logo-mark { width: 40px; height: 40px; }
  .logo-word { --h: 26px; }
}

/* El blur del header crea un contenedor para elementos fijos: se desactiva con el menú abierto */
.nav-open .site-header, .nav-open .site-header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }
.hero-split > *, .split > *, .about > *, .places > *, .faq > *, .challenge > *, .contact-grid > * { min-width: 0; }
.hero h1 .eyebrow { display: block; }
.hero h1 .eyebrow::before { display: inline-block; vertical-align: middle; margin: -2px .7em 0 0; }
@media (max-width: 520px) { .portrait-ring { inset: -12px; } }

/* ---------- Fotos reales (Instagram) ---------- */
.portrait-frame.photo { background: #efefed; }
.portrait-frame.photo img { inset: 0; left: 0; bottom: auto; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: none; border-radius: 0; }
.portrait-frame.photo::after { background: linear-gradient(180deg, transparent 70%, rgba(30, 18, 54, .18)); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 90px; gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--night-2); box-shadow: 0 20px 50px -30px rgba(40, 20, 70, .45); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-size: .86rem; line-height: 1.35; background: linear-gradient(180deg, transparent, rgba(14, 9, 22, .78)); }
.gallery figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.gallery { grid-auto-flow: dense; }
.g-a { grid-column: span 6; grid-row: span 5; }
.g-b { grid-column: span 3; grid-row: span 3; }
.g-c { grid-column: span 3; grid-row: span 5; }
.g-d { grid-column: span 3; grid-row: span 2; }
.g-e { grid-column: span 5; grid-row: span 4; }
.g-g { grid-column: span 4; grid-row: span 4; }
.g-f { grid-column: span 3; grid-row: span 4; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 10px; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 2 !important; }
  .gallery .g-a, .gallery .g-e, .gallery .g-f { grid-column: span 2 !important; grid-row: span 3 !important; }
  .gallery figcaption { font-size: .78rem; padding: 30px 12px 10px; }
  .gallery figcaption strong { font-size: 1rem; }
}

.photo-card { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.photo-stack { position: relative; padding: 0 0 60px 40px; }
.photo-stack .photo-card:first-child { aspect-ratio: 4 / 5; }
.photo-stack .photo-card + .photo-card { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid var(--paper); }
@media (max-width: 860px) { .photo-stack { padding: 0 0 40px 24px; max-width: 460px; } }

.map-wrap { position: relative; }
.map-polaroid { position: absolute; right: -18px; bottom: -34px; width: 34%; max-width: 190px; margin: 0; padding: 8px 8px 30px; background: #fff; border-radius: 6px; box-shadow: 0 24px 50px -18px rgba(20, 10, 40, .5); transform: rotate(4deg); z-index: 2; }
.map-polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.map-polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 7px; text-align: center; font-family: var(--serif); font-style: italic; font-size: .85rem; color: var(--ink); }
@media (max-width: 520px) { .map-polaroid { right: 4px; bottom: -26px; width: 38%; } }

/* Mapa del Dharma (inspirado en el ikigai) */
.ikigai { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin-inline: auto; }
.ikigai .c { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; }
.ikigai .c span { position: absolute; font-family: var(--serif); font-style: italic; font-size: clamp(.95rem, 1.9vw, 1.25rem); line-height: 1.15; text-align: center; width: 10ch; color: var(--ink); }
.ikigai .c1 { left: 21%; top: 0; background: rgba(110, 196, 224, .55); }
.ikigai .c1 span { left: 50%; top: 14%; transform: translateX(-50%); }
.ikigai .c2 { left: 0; top: 21%; background: rgba(240, 120, 110, .5); }
.ikigai .c2 span { left: 6%; top: 50%; transform: translateY(-50%); width: 8ch; }
.ikigai .c3 { right: 0; top: 21%; background: rgba(245, 205, 90, .55); }
.ikigai .c3 span { right: 6%; top: 50%; transform: translateY(-50%); width: 8ch; }
.ikigai .c4 { left: 21%; bottom: 0; background: rgba(140, 205, 120, .55); }
.ikigai .c4 span { left: 50%; bottom: 12%; transform: translateX(-50%); }
.ikigai .tag { position: absolute; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-deep); transform: translate(-50%, -50%); }
.ikigai .center { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); background: #fff; border-radius: 14px; box-shadow: 0 10px 30px -10px rgba(40, 20, 70, .4); display: grid; place-items: center; }
.ikigai .center img { width: 72%; transform: rotate(-45deg); border-radius: 50%; }

.offer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.offer-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-light); font-size: .95rem; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.offer-list li::before { content: "✦"; color: var(--gold-soft); flex: none; margin-top: 1px; }
@media (max-width: 640px) { .offer-list { grid-template-columns: 1fr; } }
.voice { margin: 40px 0 0; padding: 28px 30px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(155, 107, 255, .2), rgba(200, 103, 245, .12)); box-shadow: inset 0 0 0 1px var(--line-light); font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; }
.voice cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }

/* ==========================================================================
   Ajustes de Ernesto (oct. 2026): ruedas del Dharma, menú de servicios,
   talleres desplegables, diferencial / efecto Dharma y proyectos aliados
   ========================================================================== */

/* Colores de las ruedas del Dharma (destacadas de Instagram) */
:root { --dh-red: #dc4d4a; --dh-blue: #239bac; --dh-violet: #635dad; --dh-green: #27a98d; }
.wheel {
  --wc: var(--dh-violet);
  flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--wc) 70%, #fff), var(--wc) 55%, color-mix(in srgb, var(--wc) 75%, #000));
  box-shadow: 0 8px 22px -10px var(--wc);
}
.wheel svg { width: 68%; height: 68%; fill: none; stroke: #fff; stroke-width: 3.2; }
.wheel svg .fill { fill: #fff; stroke: none; }
.wheel-red { --wc: var(--dh-red); }
.wheel-blue { --wc: var(--dh-blue); }
.wheel-violet { --wc: var(--dh-violet); }
.wheel-green { --wc: var(--dh-green); }
.wheel-lg { width: 64px; height: 64px; }

/* Menú: Servicios desplegable */
.nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 0;
  background: none; color: inherit; font: 500 .9rem var(--sans); cursor: pointer; opacity: .86; transition: opacity .3s, background .3s;
}
.nav-sub-toggle:hover, .has-sub.open .nav-sub-toggle { opacity: 1; background: rgba(255, 255, 255, .08); }
.has-sub.is-current .nav-sub-toggle { opacity: 1; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.has-sub.open .caret, .talleres-menu[open] .caret { transform: translateY(2px) rotate(-135deg); }
.has-sub { position: relative; }
.nav .nav-sub {
  position: absolute; top: calc(100% + 10px); left: -12px; display: grid; gap: 2px; width: 340px; padding: 10px;
  border-radius: var(--radius); background: rgba(31, 21, 48, .97); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line-light);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-sub.open .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav .nav-sub a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; opacity: 1; }
.nav .nav-sub a:hover { background: rgba(255, 255, 255, .07); }
.nav .nav-sub a[aria-current="page"]::after { display: none; }
.nav .nav-sub a[aria-current="page"] { background: rgba(255, 255, 255, .06); }
.nav-sub strong { display: block; font-weight: 600; font-size: .92rem; }
.nav-sub small { display: block; font-size: .78rem; opacity: .65; margin-top: 2px; }
@media (max-width: 1140px) {
  .nav-sub-toggle { font-family: var(--serif); font-size: 2rem; font-weight: 350; padding: 6px 18px; }
  .nav ul { max-height: calc(100svh - 200px); overflow-y: auto; }
  .nav .nav-sub { position: static; width: min(360px, 86vw); margin: 4px auto 10px; transform: none; display: none; opacity: 1; visibility: visible; background: rgba(255, 255, 255, .05); }
  .has-sub.open .nav-sub { display: grid; }
  .nav .nav-sub a { font-family: var(--sans); font-size: 1rem; text-align: left; }
}

/* Hero: lema y talleres desplegables */
.hero-motto { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: -1rem 0 2.4rem; padding: 0; font-family: var(--serif); font-style: italic; font-weight: 350; font-size: clamp(1.1rem, 1.2vw + .5rem, 1.4rem); color: var(--gold-soft); }
.hero-motto span + span::before { content: "·"; margin-right: 22px; color: var(--coral); font-style: normal; }
.talleres-menu summary { list-style: none; }
.talleres-menu summary::-webkit-details-marker { display: none; }
.talleres-menu[open] { flex-basis: 100%; }
.talleres-panel {
  margin-top: 14px; max-width: 640px; padding: 22px; border-radius: var(--radius); color: #fff;
  background: rgba(31, 21, 48, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-light), 0 30px 70px -30px rgba(0, 0, 0, .7);
  animation: panel-in .45s var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } }
.talleres-note { margin: 0 0 14px; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.talleres-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.talleres-panel li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); }
.talleres-panel li > div { flex: 1; min-width: 0; }
.talleres-name { color: #fff; font-weight: 600; text-decoration: none; }
.talleres-name:hover { text-decoration: underline; }
.talleres-panel small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.talleres-go { display: flex; gap: 6px; flex: none; }
.talleres-go a { padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--gold-soft); transition: background .3s; }
.talleres-go a + a { background: #fff; }
.talleres-go a:hover { background: var(--coral); color: #fff; }
.talleres-foot { margin: 14px 0 0; font-size: .78rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 560px) {
  .talleres-panel { padding: 14px; }
  .talleres-panel li { flex-wrap: wrap; }
  .talleres-go { width: 100%; padding-left: 54px; }
}

/* El reto: ruedas en lugar de i / ii / iii */
.pain { align-items: start; }
.pain-kicker { margin: 0 0 .5em !important; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.pain-cta { display: inline-flex; align-items: center; gap: .5em; margin-top: 16px; padding: 9px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600; text-decoration: none; color: #fff; background: var(--ink); transition: background .3s, transform .4s var(--ease); }
.pain-cta svg { width: 1.1em; height: 1.1em; }
.pain-cta:hover { transform: translateY(-2px); }
.pain:nth-child(1) .pain-cta:hover { background: var(--dh-red); }
.pain:nth-child(2) .pain-cta:hover { background: var(--dh-blue); }
.pain:nth-child(3) .pain-cta:hover { background: var(--dh-violet); }
.pain:nth-child(4) .pain-cta { background: var(--dh-green); }
@media (max-width: 520px) { .wheel-lg { width: 48px; height: 48px; } }

/* Arte, educación y sanación: diferencial y efecto Dharma */
.diferencial { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); margin-bottom: clamp(50px, 7vw, 90px); }
.diferencial-head h3, .efecto h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 350; margin-bottom: .4em; }
.diferencial-head p { color: rgba(255, 255, 255, .72); font-size: 1.1rem; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pillars li { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-light); }
.pillars .wheel { grid-row: span 2; width: 52px; height: 52px; }
.pillars strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.pillars span:last-child { color: rgba(255, 255, 255, .7); font-size: .96rem; }
.efecto { position: relative; z-index: 1; max-width: 820px; margin-bottom: 30px; }
.efecto p { color: rgba(255, 255, 255, .78); font-size: clamp(1.05rem, 1vw + .6rem, 1.25rem); line-height: 1.6; }
.aes-num { margin: 0 0 .4em; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
@media (max-width: 860px) { .diferencial { grid-template-columns: 1fr; } }

/* Colores de las tarjetas de servicio alineados con las ruedas */
.service-1 { --svc-bg: radial-gradient(120% 90% at 100% 0%, #8fd8e3 0%, #1f8796 38%, #102a3a 100%); }
.service-2 { --svc-bg: radial-gradient(120% 90% at 100% 0%, #f5a48d 0%, #c63f3c 38%, #3b1a22 100%); }

/* Alicante y alrededores */
.places-sub { margin: -.4em 0 0; font-weight: 600; font-size: .9rem; letter-spacing: .06em; color: var(--terracotta); }
.ages { display: flex; gap: 18px; align-items: flex-start; margin-top: 12px; padding: 20px 22px; border-radius: var(--radius); text-decoration: none; color: inherit; background: linear-gradient(120deg, #fff4e8, var(--paper)); box-shadow: inset 0 0 0 1px rgba(223, 122, 76, .35); transition: transform .4s var(--ease); }
.ages:hover { transform: translateY(-2px); }
.ages .ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--terracotta); color: #fff; }
.ages .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ages strong { display: block; font-size: 1.02rem; }
.ages span span { font-size: .9rem; color: var(--ink-soft); }

/* Galería: ubicación de cada foto */
.gallery figcaption .loc { display: inline-flex; align-items: center; gap: 5px; }
.gallery figcaption .loc::before { content: ""; width: 10px; height: 10px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.4-7-12a7 7 0 0 1 14 0c0 5.6-7 12-7 12Zm0-9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.4-7-12a7 7 0 0 1 14 0c0 5.6-7 12-7 12Zm0-9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Espacio de Bien-Estar: proyectos aliados */
.allies { position: relative; z-index: 1; grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.allies-h { margin: 0 0 14px !important; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8ff0c4 !important; }
.community .allies ul { margin: 0; gap: 12px; font-size: inherit; }
.community .allies li::before { content: none; }
.allies a { display: flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; border-radius: 999px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .08); transition: background .3s; }
.allies a:hover { background: rgba(255, 255, 255, .16); }
.allies img { width: 52px; height: 52px; border-radius: 50%; background: #fff; object-fit: cover; }
.allies strong { display: block; font-size: .95rem; }
.allies span { font-size: .8rem; color: rgba(255, 255, 255, .72); }
/* La foto pequeña tapa la esquina inferior izquierda: la leyenda de la grande va arriba a la derecha */
.photo-stack .photo-card:first-child figcaption { left: auto; bottom: auto; top: 16px; right: 16px; }

/* Logo de Dharma como en el blog: círculo arriba, «Dharma» y «Arte, educación y sanación» debajo (triángulo) */
.brand-lockup { display: block; line-height: 0; }
.brand-lockup img { display: block; height: 84px; width: auto; transition: height .5s var(--ease), transform .9s var(--ease); }
.brand-lockup:hover img { transform: scale(1.03); }
.site-header.scrolled .brand-lockup img { height: 58px; }
.brand-lockup-lg img { height: 150px; }
.site-header.scrolled .brand-lockup-lg img { height: 150px; }
@media (max-width: 760px) {
  .brand-lockup img { height: 64px; }
  .site-header.scrolled .brand-lockup img { height: 52px; }
  .brand-lockup-lg img { height: 124px; }
}
