*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  
  --black:       #0a090f;
  --deep:        #100e1a;
  --card-bg:     #16132a;
  --card-br:     #2a2550;
  --gold:        #c9a84c;
  --gold-lt:     #e8c97a;
  --cream:       #f5edd8;
  --muted:       #a89fc0;
  --purple:      #7c6aaa;
  --r:           .75rem;

  
  --header-bg:   rgba(10, 9, 15, .85);
  --avatar-g1:   #1e1a35;
  --avatar-g2:   #2d2650;
  --star-op:     1;
}

[data-theme="light"] {
  --black:       #faf6ee;
  --deep:        #f0e7d4;
  --card-bg:     #ede5d0;
  --card-br:     rgba(120, 88, 0, .25);
  --gold:        #7a5900;   
  --gold-lt:     #9c7300;   
  --cream:       #1a1628;
  --muted:       #4e4268;   
  --purple:      #5a4890;

  --header-bg:   rgba(250, 246, 238, .92);
  --avatar-g1:   #e8dfc8;
  --avatar-g2:   #ddd2b8;
  --star-op:     0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background .3s, color .3s;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: var(--star-op);
  transition: opacity .4s;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 60%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 30%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 80%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 10%, rgba(255,255,255,.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 50%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 75%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 5%  90%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 38% 5%,  rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 45%, rgba(255,255,255,.3) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 480px; margin: 0 auto; padding: 0 1.25rem; }
.gold { color: var(--gold); }
.italic { font-style: italic; }

section { position: relative; z-index: 1; }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.15);
  transition: background .3s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.25rem;
  max-width: 480px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  letter-spacing: .12em;
  color: var(--gold);
  text-decoration: none;
}

.nav-links {
  display: none;
  list-style: none;
}

.nav-links.nav-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(.9rem, 3vh, 1.75rem);
  position: fixed;
  inset: 0;
  z-index: 98;
  background-color: #0a090f;
  animation: fadeIn .2s ease;
}

[data-theme="light"] .nav-links.nav-open {
  background-color: #faf6ee;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: clamp(.78rem, 2.5vw, 1rem);
  letter-spacing: .14em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}

.nav-links a:hover { color: var(--gold-lt); }

.nav-burger {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: .25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  position: relative;
  transition: color .2s;
}

.nav-burger:hover { color: var(--gold-lt); }
.nav-burger svg   { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

.nav-burger .icon-close { display: none; }
.nav-burger.open .icon-open  { display: none; }
.nav-burger.open .icon-close { display: block; }

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.25rem 3rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(124,106,170,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 0%,  rgba(201,168,76,.08) 0%, transparent 70%);
}

.hero-symbols { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.hs {
  position: absolute;
  font-family: 'Noto Sans Symbols 2', 'Cinzel', serif;
  color: var(--gold);
  opacity: 0;
  animation: hs-float 8s ease-in-out infinite;
  user-select: none;
}

@keyframes hs-float {
  0%   { opacity: 0;    transform: translateY(0)      rotate(0deg); }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0;    transform: translateY(-55px)  rotate(20deg); }
}

.hs-1  { top: 12%; left:  7%; font-size: 1.6rem; opacity: .45; animation-duration:  9s; animation-delay:  0s;   }
.hs-2  { top: 22%; left: 88%; font-size: 1.1rem; opacity: .35; animation-duration:  7s; animation-delay: -2s;  }
.hs-3  { top: 65%; left:  5%; font-size: 1.4rem; opacity: .30; animation-duration: 11s; animation-delay: -4s;  }
.hs-4  { top: 75%; left: 90%; font-size: 1.3rem; opacity: .38; animation-duration:  8s; animation-delay: -1s;  }
.hs-5  { top: 40%; left:  3%; font-size: 1.2rem; opacity: .28; animation-duration: 10s; animation-delay: -6s;  }
.hs-6  { top: 18%; left: 55%; font-size: .9rem;  opacity: .25; animation-duration:  6s; animation-delay: -3s;  }
.hs-7  { top: 82%; left: 42%; font-size: 1.5rem; opacity: .32; animation-duration: 12s; animation-delay: -5s;  }
.hs-8  { top: 55%; left: 92%; font-size: 1.2rem; opacity: .30; animation-duration:  9s; animation-delay: -7s;  }
.hs-9  { top: 88%; left: 15%; font-size: 1.1rem; opacity: .28; animation-duration:  7s; animation-delay: -2.5s;}
.hs-10 { top:  8%; left: 30%; font-size: 1.0rem; opacity: .22; animation-duration: 13s; animation-delay: -8s;  }

.hero > :not(.hero-symbols) { position: relative; z-index: 1; }

.hero-sigil {
  width: 90px;
  height: 90px;
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .7;
  margin-bottom: .4rem;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  letter-spacing: .25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 9vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.75rem;
  border-radius: 2rem;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s;
}

.btn-primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: none;
  box-shadow: 0 0 24px rgba(37,211,102,.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(37,211,102,.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.45);
}

.btn-outline:hover {
  background: rgba(201,168,76,.08);
  border-color: var(--gold);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  align-items: center;
}

.divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 3rem auto;
  max-width: 320px;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.35), transparent);
}

.divider-symbol {
  color: var(--gold);
  font-size: 1.1rem;
}

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: .6rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 300;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.about { padding: 4rem 0; }

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(124,106,170,.25) 0%, transparent 70%);
  pointer-events: none;
}

.about-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid rgba(201,168,76,.5);
  margin: 0 auto 1.25rem;
  display: block;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 0 40px rgba(124,106,170,.35);
}

.about-name {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  letter-spacing: .1em;
  color: var(--gold-lt);
  margin-bottom: .35rem;
}

.about-role {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--purple);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

.about-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.badge {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 2rem;
  padding: .3rem .85rem;
}

.catalog { padding: 3rem 0 4rem; }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: var(--r);
  padding: 1.4rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  border-color: rgba(201,168,76,.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(124,106,170,.22);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: .75rem;
  background: linear-gradient(135deg, var(--avatar-g1), var(--avatar-g2));
  border: 1px solid rgba(201,168,76,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
  transition: border-color .3s;
}

.service-card:hover .card-icon {
  border-color: rgba(201,168,76,.55);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--cream);
  margin-bottom: .4rem;
}

.card-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.card-price {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: .5rem;
  letter-spacing: .03em;
}

.card-tag {
  display: inline-block;
  margin-top: .35rem;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--card-br);
  border-radius: 2rem;
  padding: .2rem .65rem;
}

.magias-aviso {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,.06);
  border-radius: 0 var(--r) var(--r) 0;
}

.magias-aviso p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.magias-etica {
  margin-top: 3rem;
  padding: 0 1rem;
  text-align: center;
}

.magias-etica-sep {
  display: block;
  font-size: 1.6rem;
  margin-bottom: .75rem;
  opacity: .7;
}

.magias-etica p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
  padding-top: 1.25rem;
  position: relative;
}

.magias-etica p::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--muted);
  opacity: .35;
  margin: 0 auto 1.25rem;
}

[data-theme="light"] .magias-etica p {
  color: #5a3870;
}

.ethics { padding: 3rem 0 4rem; }

.ethics-block {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: var(--r);
  padding: 1.5rem 1.25rem;
  margin-bottom: 1rem;
}

.ethics-block-title {
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: .6rem;
}

.ethics-block-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.72;
}

.no-attend {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: var(--r);
  padding: 1.5rem 1.25rem;
  margin-bottom: 1rem;
}

.no-attend-label {
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .85rem;
}

.no-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}

.no-tag {
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(168,159,192,.25);
  border-radius: 2rem;
  padding: .25rem .75rem;
}

.no-attend-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(168,159,192,.55);
}

.stance-card {
  background: linear-gradient(135deg, rgba(124,106,170,.1), rgba(124,106,170,.04));
  border: 1px solid rgba(124,106,170,.3);
  border-left: 3px solid rgba(124,106,170,.55);
  border-radius: var(--r);
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.5rem;
}

.ethics-closing {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.75;
}

.ethics-closing strong {
  color: var(--gold);
  font-style: normal;
}

.how { padding: 3rem 0 4rem; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
  position: relative;
}

.step:not(:last-child) .step-line {
  position: absolute;
  left: 20px;
  top: 42px;
  width: 1px;
  bottom: -1px;
  background: linear-gradient(to bottom, rgba(201,168,76,.4), rgba(201,168,76,.1));
}

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: .25rem;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.45);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body {
  flex: 1;
  padding-bottom: 1.75rem;
}

.step-title {
  font-family: 'Cinzel', serif;
  font-size: .86rem;
  letter-spacing: .06em;
  color: var(--cream);
  margin-bottom: .35rem;
}

.step-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.6;
}

.how-notes {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-left: 3px solid rgba(201,168,76,.5);
  border-radius: var(--r);
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.how-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.55;
}

.how-note-icon {
  color: var(--gold);
  font-size: .85rem;
  margin-top: .15rem;
  flex-shrink: 0;
}

.cta-section {
  padding: 3.5rem 0 5rem;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(124,106,170,.15), rgba(201,168,76,.08));
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 1.25rem;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '✦';
  position: absolute;
  bottom: -1rem; right: 1rem;
  font-size: 5rem;
  color: rgba(201,168,76,.05);
  pointer-events: none;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 300;
  margin-bottom: .75rem;
}

.cta-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

footer {
  padding: 2rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,.1);
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: .8rem;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: .5rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.footer-socials a {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .05em;
  transition: color .2s;
}

.footer-socials a:hover { color: var(--gold); }

.footer-copy {
  font-size: .78rem;
  color: rgba(168,159,192,.55);
  letter-spacing: .05em;
}

.fab-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  animation: pulse-wa 3s ease-in-out infinite;
}

.fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,.65); }
}

.fab-wa svg { width: 28px; height: 28px; fill: #fff; }

.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 200;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .2s;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: rgba(201,168,76,.25);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity .65s ease, transform .65s ease, filter .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.divider-symbol {
  display: inline-block;
  animation: spin-slow 18s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes text-glow {
  0%, 100% { text-shadow: 0 0 6px rgba(201,168,76,.2); }
  50%       { text-shadow: 0 0 22px rgba(201,168,76,.7), 0 0 45px rgba(201,168,76,.25); }
}

.hero-title em {
  animation: text-glow 3.5s ease-in-out infinite;
}

@keyframes aura-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(201,168,76,.25), 0 0 40px rgba(124,106,170,.2); }
  50%       { box-shadow: 0 0 35px rgba(201,168,76,.55), 0 0 70px rgba(124,106,170,.4); }
}

.about-avatar {
  animation: aura-pulse 4s ease-in-out infinite;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(201,168,76,.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s ease;
  pointer-events: none;
}

.service-card:hover::after { transform: translateX(100%); }

@keyframes slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-links.nav-open li:nth-child(1) { animation: slide-up .35s ease .05s both; }
.nav-links.nav-open li:nth-child(2) { animation: slide-up .35s ease .12s both; }
.nav-links.nav-open li:nth-child(3) { animation: slide-up .35s ease .19s both; }
.nav-links.nav-open li:nth-child(4) { animation: slide-up .35s ease .26s both; }
.nav-links.nav-open li:nth-child(5) { animation: slide-up .35s ease .33s both; }

@keyframes twinkle {
  0%, 100% { opacity: var(--star-op); }
  50%       { opacity: calc(var(--star-op) * 0.45); }
}

body::before { animation: twinkle 5s ease-in-out infinite; }

.theme-toggle {
  background: none;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 2rem;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  flex-shrink: 0;
  transition: color .2s, border-color .2s, background .2s;
}

.theme-toggle:hover {
  color: var(--gold-lt);
  border-color: var(--gold);
  background: rgba(201,168,76,.08);
}

.theme-toggle svg { width: 16px; height: 16px; fill: currentColor; }

[data-theme="dark"]  .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }

section#magias {
  --card-bg:  #100528;
  --card-br:  rgba(120, 60, 200, .22);
  --cream:    #ecdff8;
  --muted:    #c0a8dc;
  background: #06020c;
  position: relative;
  overflow: hidden;
}

section#magias::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(80, 20, 140, .45) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 50%,  rgba(55, 10, 90, .28) 0%, transparent 42%),
    radial-gradient(ellipse at 90% 30%,  rgba(55, 10, 90, .28) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
}

section#magias .container {
  position: relative;
  z-index: 1;
}

[data-theme="light"] section#magias {
  background: #f0eafa;
  --card-bg:  #ede5d0;
  --card-br:  rgba(120, 60, 200, .18);
  --cream:    #1a0828;
  --muted:    #5a3870;
}

[data-theme="light"] section#magias::before {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(120, 50, 200, .12) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 50%,  rgba(90, 30, 160, .07) 0%, transparent 42%),
    radial-gradient(ellipse at 90% 30%,  rgba(90, 30, 160, .07) 0%, transparent 42%);
}

[data-theme="light"] .mc { opacity: .12; }
[data-theme="light"] .mag-cld-svg { opacity: .1; }
[data-theme="light"] .mag-cld-wrap::before { background: rgba(120, 60, 200, .12); }
[data-theme="light"] .me { background: rgba(180, 100, 20, .5); }

section#magias .service-card:hover {
  border-color: rgba(165, 85, 255, .5);
  box-shadow: 0 10px 40px rgba(100, 40, 200, .32);
}

section#magias .service-card::before {
  background: linear-gradient(90deg, transparent, rgba(165, 85, 255, .3), transparent);
}

section#magias .service-card::after {
  background: linear-gradient(105deg, transparent 40%, rgba(165, 85, 255, .07) 50%, transparent 60%);
}

.magias-atm {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mc {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  opacity: .28;
}

.ms {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 50px;
  background: linear-gradient(to top, rgba(200, 170, 255, .55), transparent);
  border-radius: 50%;
  filter: blur(2.5px);
  animation: msmoke var(--sd, 4s) ease-in-out infinite;
  animation-delay: var(--sdelay, 0s);
  opacity: 0;
  transform-origin: bottom center;
}

@keyframes msmoke {
  0%   { transform: translateX(-50%) scaleX(1)   translateY(0);    opacity: .55; }
  30%  { transform: translateX(-44%) scaleX(1.7)  translateY(-20px); opacity: .38; }
  65%  { transform: translateX(-56%) scaleX(3)    translateY(-45px); opacity: .18; }
  100% { transform: translateX(-50%) scaleX(4.5)  translateY(-68px); opacity: 0;   }
}

.mf {
  width: 7px;
  height: 14px;
  background: radial-gradient(ellipse at 50% 85%,
    #fff    0%,
    #ffe566 22%,
    #ff9500 52%,
    rgba(255, 60, 0, .25) 80%,
    transparent 100%
  );
  border-radius: 50% 50% 35% 35% / 65% 65% 35% 35%;
  animation: mflicker var(--fd, 1.8s) ease-in-out infinite alternate;
  transform-origin: bottom center;
  filter: blur(.3px);
  box-shadow: 0 0 10px 4px rgba(255, 160, 0, .5), 0 0 24px 10px rgba(255, 80, 0, .2);
}

@keyframes mflicker {
  0%   { transform: scaleX(1)    scaleY(1)    rotate(-2deg); }
  25%  { transform: scaleX(.78)  scaleY(1.18) rotate(2deg);  opacity: .95; }
  50%  { transform: scaleX(1.12) scaleY(.85)  rotate(-1deg); opacity: .85; }
  75%  { transform: scaleX(.88)  scaleY(1.1)  rotate(3deg); }
  100% { transform: scaleX(1.06) scaleY(.92)  rotate(-1.5deg); }
}

.mb {
  width: 11px;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(90deg, #9e7248 0%, #ddb980 38%, #c9a070 70%, #8c6035 100%);
  height: var(--ch, 44px);
}

.mc-1 { left:  3%;  top: 10%; --ch: 60px; --fd: 1.5s; --sd: 3.8s; --sdelay: .2s;  }
.mc-2 { left:  7%;  top: 58%; --ch: 35px; --fd: 2.1s; --sd: 4.4s; --sdelay: 1.5s; }
.mc-3 { left: 13%;  top: 78%; --ch: 50px; --fd: 1.7s; --sd: 3.5s; --sdelay: .8s;  }
.mc-4 { right: 4%;  top: 15%; --ch: 54px; --fd: 1.9s; --sd: 4.8s; --sdelay: .5s;  }
.mc-5 { right: 9%;  top: 62%; --ch: 30px; --fd: 1.4s; --sd: 4.2s; --sdelay: 2.2s; }

.me {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(255, 170, 50, .8);
  animation: meber var(--ed, 7s) ease-in infinite;
  animation-delay: var(--edelay, 0s);
}

@keyframes meber {
  0%   { transform: translateY(0)      translateX(0);    opacity: .8;  }
  25%  { transform: translateY(-35px)  translateX(7px);  opacity: .6;  }
  55%  { transform: translateY(-80px)  translateX(-9px); opacity: .35; }
  80%  { transform: translateY(-130px) translateX(12px); opacity: .1;  }
  100% { transform: translateY(-180px) translateX(-5px); opacity: 0;   }
}

.mag-cld-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  pointer-events: none;
  overflow: visible;
}

.mag-cld-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 35px;
  background: rgba(90, 30, 180, .35);
  border-radius: 50%;
  filter: blur(22px);
}

.mag-cld-svg {
  width: 100%;
  height: auto;
  display: block;
  opacity: .18;
}

.cbub {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(165, 95, 255, .7);
  background: rgba(105, 40, 185, .12);
  animation: cbubble var(--bd, 3s) ease-in infinite;
  animation-delay: var(--bdelay, 0s);
}

@keyframes cbubble {
  0%   { transform: translate(-50%, 0)      scale(.3); opacity: .8; }
  55%  { transform: translate(-50%, -50px)  scale(1);  opacity: .5; }
  100% { transform: translate(-50%, -108px) scale(1.6); opacity: 0; }
}

.cbub-1 { top: 130px; left: 115px; width: 8px;  height: 8px;  --bd: 2.8s; --bdelay: 0s;   }
.cbub-2 { top: 133px; left: 149px; width: 11px; height: 11px; --bd: 3.5s; --bdelay: .8s;  }
.cbub-3 { top: 128px; left: 139px; width: 7px;  height: 7px;  --bd: 2.5s; --bdelay: 1.6s; }
.cbub-4 { top: 131px; left: 163px; width: 9px;  height: 9px;  --bd: 3.2s; --bdelay: .4s;  }
.cbub-5 { top: 130px; left: 126px; width: 10px; height: 10px; --bd: 4s;   --bdelay: 2.2s; }

.csmk {
  position: absolute;
  border-radius: 50%;
  filter: blur(9px);
  background: rgba(115, 55, 205, .55);
  width: var(--cw, 20px);
  height: var(--cw, 20px);
  animation: csmoke var(--cd, 5s) ease-in-out infinite;
  animation-delay: var(--cdelay, 0s);
}

@keyframes csmoke {
  0%   { transform: translate(-50%, 0)      scale(.4); opacity: .65; }
  38%  { transform: translate(-47%, -58px)  scale(2.2); opacity: .48; }
  72%  { transform: translate(-53%, -112px) scale(4.8); opacity: .2;  }
  100% { transform: translate(-50%, -165px) scale(7.5); opacity: 0;   }
}

.csmk-1 { top: 108px; left: 128px; --cw: 20px; --cd: 4.5s; --cdelay: 0s;   }
.csmk-2 { top: 111px; left: 158px; --cw: 26px; --cd: 5.5s; --cdelay: 1.2s; }
.csmk-3 { top: 105px; left: 146px; --cw: 18px; --cd: 3.8s; --cdelay: 2.5s; }
.csmk-4 { top: 109px; left: 116px; --cw: 24px; --cd: 6s;   --cdelay: .7s;  }

.me-1 { left: 18%;  bottom: 28%; --ed: 5.5s; --edelay: 0s;   }
.me-2 { left: 30%;  bottom: 18%; --ed: 7.5s; --edelay: 1.3s; }
.me-3 { left: 48%;  bottom: 38%; --ed: 6.2s; --edelay: 2.8s; }
.me-4 { right: 22%; bottom: 22%; --ed: 8s;   --edelay: .6s;  }
.me-5 { right: 35%; bottom: 32%; --ed: 5.8s; --edelay: 3.4s; }
.me-6 { right: 14%; bottom: 12%; --ed: 7.2s; --edelay: 1.8s; }
.me-7 { left: 12%;  bottom: 48%; --ed: 6.8s; --edelay: 4s;   }
.me-8 { right: 8%;  bottom: 42%; --ed: 5.2s; --edelay: 2.5s; }

@media (min-width: 640px) {
  html        { font-size: 16px; }
  .container  { max-width: 620px; }
  .nav        { max-width: 620px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta   { flex-direction: row; justify-content: center; }

  .nav-burger { display: none; }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    position: static;
    background: none;
    animation: none;
  }

  .nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    letter-spacing: .07em;
  }
}
