:root {
  --bg: #f0f4fb;
  --ink: #1f2733;
  --muted: #516069;
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: #ffffff;
  --stroke: rgba(31, 39, 51, 0.12);
  --accent: #1e5fa8;
  --accent-2: #0f3d6e;
  --accent-3: #a8c8f0;
  --accent-4: #deeaf7;
  --shadow-soft: 0 18px 40px rgba(17, 23, 32, 0.12);
  --shadow-strong: 0 26px 70px rgba(17, 23, 32, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #f2f6fd 0%, var(--bg) 38%, #e8eeff 100%);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

@supports (min-height: 100svh) {
  body {
    min-height: 100svh;
  }
}

::selection {
  background: rgba(30, 95, 168, 0.3);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.button-link {
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

a,
button,
summary,
input,
select,
textarea,
.lang-opt {
  -webkit-tap-highlight-color: rgba(30, 95, 168, 0.18);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea,
.primary,
.secondary,
.ghost,
.lang-opt {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

main section[id] {
  scroll-margin-top: 116px;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(15, 61, 110, 0.12), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(30, 95, 168, 0.18), transparent 55%);
  opacity: 0.9;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  opacity: 0.18;
}

.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: glowFloat 18s ease-in-out infinite;
}

.glow-1 {
  top: -220px;
  left: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(30, 95, 168, 0.35), rgba(30, 95, 168, 0));
}

.glow-2 {
  bottom: -240px;
  right: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(15, 61, 110, 0.35), rgba(15, 61, 110, 0));
  animation-delay: -9s;
}

.ribbon {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 45% 55% 60% 40% / 45% 60% 40% 55%;
  background: radial-gradient(circle at 30% 30%, rgba(168, 200, 240, 0.6), rgba(168, 200, 240, 0));
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}

.ribbon-1 {
  top: -280px;
  right: -160px;
}

.ribbon-2 {
  bottom: -320px;
  left: -180px;
  animation-delay: -7s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(31, 39, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 39, 51, 0.05) 1px, transparent 1px);
  background-size: 160px 160px;
  opacity: 0.12;
  mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.75), transparent 70%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(240, 244, 251, 0.86);
  border-bottom: 1px solid rgba(31, 39, 51, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0;
  gap: 28px;
}

@supports (padding: max(0px)) {
  .topbar-inner {
    padding-top: max(18px, calc(12px + env(safe-area-inset-top)));
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.brand-composite {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand picture,
.brand-link picture,
.bio-photo-wrap picture {
  display: block;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 24px rgba(30, 95, 168, 0.28);
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 18px rgba(7, 26, 53, 0.16));
}

.brand-full-logo {
  display: block;
  width: clamp(185px, 18vw, 240px);
  aspect-ratio: 320 / 263;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(7, 26, 53, 0.08);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-symbol {
  width: clamp(58px, 4.6vw, 78px);
  height: auto;
  flex: 0 0 auto;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(7, 26, 53, 0.14));
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #102846;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

.brand-role {
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--accent-2);
}

.brand-mantra {
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 22px;
  font-weight: 700;
  color: #071a35;
  flex-wrap: wrap;
  align-items: center;
  flex: 1 1 auto;
  max-width: 560px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-bottom: 4px;
  color: #071a35;
  letter-spacing: 0;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  flex: 0 0 auto;
}

.social-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.social-link {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 39, 51, 0.12);
  color: rgba(31, 39, 51, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(31, 39, 51, 0.12);
  background: #fff;
  color: var(--ink);
}

.footer-social {
  margin-top: 14px;
}

.primary,
.secondary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 16px 30px rgba(30, 95, 168, 0.25);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(30, 95, 168, 0.28);
}

.secondary {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(30, 95, 168, 0.25);
  color: var(--accent);
  box-shadow: 0 12px 22px rgba(30, 95, 168, 0.1);
}

.secondary:hover {
  background: #fff;
}

.ghost {
  background: rgba(7, 26, 53, 0.06);
  border: 1px solid rgba(7, 26, 53, 0.24);
  color: #071a35;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding: 96px 0 84px;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  right: -6%;
  top: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(15, 61, 110, 0.2), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 560px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 95, 168, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.metric {
  background: var(--card);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.metric::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 16px;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.6;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 10px;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 20px;
  justify-items: center;
}

.alchemist-banner {
  width: min(520px, 100%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(240, 244, 251, 0.75));
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid rgba(31, 39, 51, 0.12);
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
  animation: bannerFloat 7s ease-in-out infinite;
}

.alchemist-banner::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, rgba(15, 61, 110, 0.2), transparent 35%, rgba(168, 200, 240, 0.25), transparent 60%, rgba(30, 95, 168, 0.25));
  opacity: 0.55;
  filter: blur(14px);
  animation: auraSpin 16s linear infinite;
}

.alchemist-banner svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

.orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(15, 61, 110, 0.55);
  transform: translate(-50%, -50%) translateX(120px);
  transform-origin: center;
  animation: orbitSpin 10s linear infinite;
  opacity: 0.85;
  z-index: 3;
}

.orbit-dot--b {
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(30, 95, 168, 0.45);
  transform: translate(-50%, -50%) translateX(80px);
  animation: orbitSpinReverse 14s linear infinite;
  opacity: 0.8;
}

.orbit-dot--c {
  width: 6px;
  height: 6px;
  background: var(--accent-3);
  box-shadow: 0 0 10px rgba(168, 200, 240, 0.5);
  transform: translate(-50%, -50%) translateX(150px);
  animation: orbitSpin 18s linear infinite reverse;
  opacity: 0.9;
}

.sparkle {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 1px, transparent 2px);
  background-size: 48px 48px;
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: sparkleDrift 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 4;
}

.orb-ring,
.orb-tri,
.orb-core {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.orb-ring.ring-a {
  animation: ringSpin 16s linear infinite;
}

.orb-ring.ring-b {
  animation: ringSpin 22s linear infinite reverse;
}

.orb-tri.tri-a {
  animation: triPulse 4.8s ease-in-out infinite;
}

.orb-tri.tri-b {
  animation: triPulse 6.2s ease-in-out infinite reverse;
}

.orb-core {
  animation: corePulse 5.5s ease-in-out infinite;
}

.banner-caption {
  margin-top: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(31, 39, 51, 0.55);
  text-align: center;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.manifest-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(30, 95, 168, 0.2);
  box-shadow: var(--shadow-soft);
  font-style: italic;
  color: var(--muted);
  max-width: 320px;
  transform: rotate(-1deg);
}

.manifest-card.alt {
  border-color: rgba(15, 61, 110, 0.2);
  background: rgba(220, 235, 250, 0.8);
  color: #2b3a42;
  transform: rotate(1.4deg);
}

.section {
  padding: 60px 0 90px;
  position: relative;
}

@supports (content-visibility: auto) {
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 760px;
  }
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
  padding-left: 18px;
  position: relative;
}

.section-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--muted);
  max-width: 720px;
}

.section-sub {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  opacity: 0.85;
  margin-top: -4px;
}
.text-section .section-head p {
  max-width: 760px;
}

.text-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Accordion list items */
.post-item {
  border-bottom: 1px solid var(--stroke);
  background: var(--card);
}
.post-item:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; border-top: 1px solid var(--stroke); }
.post-item:last-child  { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.post-item:only-child  { border-radius: var(--radius-md); }

.post-title-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.18s;
}
.post-title-btn:hover { background: rgba(var(--accent-rgb, 99,102,241), 0.05); }
.post-title-btn[aria-expanded="true"] { color: var(--accent, #6366f1); }

.post-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}
.post-title-btn[aria-expanded="true"] .post-chevron { transform: rotate(180deg); }

.post-body {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  padding: 0 24px 24px 24px;
}

.text-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  display: block;
  overflow: hidden;
}
.text-card > * + * { margin-top: 12px; }

/* Imagine stanga-sus, float cu text in dreapta */
.post-image {
  float: left;
  width: 240px;
  height: auto;
  border-radius: 12px;
  object-fit: unset;
  box-shadow: 0 8px 20px rgba(31, 39, 51, 0.12);
  margin: 0 24px 12px 0;
}

.text-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  clear: none;
}

.post-meta {
  font-size: 0.78rem;
  color: rgba(31, 39, 51, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.text-body {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
.text-body p { margin: 0 0 10px; }
.text-body p:last-child { margin-bottom: 0; }
.post-list {
  margin: 8px 0 0 0;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
.post-list li { padding-left: 4px; }

/* Clearfix dupa articol */
.text-card::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 600px) {
  .post-image {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 16px 0;
  }
}

.maya-section {
  padding-top: 40px;
  scroll-margin-top: 120px;
}

.maya-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.maya-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(127, 201, 194, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(226, 238, 252, 0.86));
  border: 1px solid rgba(30, 95, 168, 0.18);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  min-height: 210px;
}

.maya-card::after {
  content: '';
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  border: 1px solid rgba(15, 61, 110, 0.14);
  box-shadow: inset 0 0 0 18px rgba(30, 95, 168, 0.06);
}

.maya-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.maya-card p {
  color: var(--muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.maya-chip {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  color: #0f3d6e;
  background: rgba(127, 201, 194, 0.28);
  border: 1px solid rgba(30, 95, 168, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

.maya-card-accent {
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.26), transparent 32%),
    linear-gradient(135deg, #0b2a55, #1f6fb8);
  color: rgba(255, 255, 255, 0.96);
}

.maya-card-accent p,
.maya-card-accent h3 {
  color: rgba(255, 255, 255, 0.92);
}

.maya-card-accent .maya-chip {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.maya-card-accent .secondary {
  width: fit-content;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
}

.maya-tool {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 95, 168, 0.18);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
  max-width: 100%;
}

.maya-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  align-items: end;
  max-width: 100%;
}

.maya-form label,
.maya-chat label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.maya-form input,
.maya-form select,
.maya-form textarea,
.maya-chat input {
  width: 100%;
  border: 1px solid rgba(30, 95, 168, 0.22);
  border-radius: 16px;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-size: 16px;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}

.maya-date-parts {
  display: grid;
  grid-template-columns: minmax(58px, 74px) minmax(58px, 74px) minmax(92px, 110px);
  gap: 8px;
  max-width: 290px;
}

.maya-date-parts input {
  text-align: center;
}

.maya-form textarea {
  resize: vertical;
  min-height: 88px;
}

.maya-form > div:nth-child(4),
.maya-form > button {
  grid-column: 1 / -1;
}

.maya-form > button {
  justify-self: start;
}

.maya-result {
  display: none;
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(30, 95, 168, 0.12), rgba(127, 201, 194, 0.18));
  border: 1px solid rgba(30, 95, 168, 0.18);
  overflow-wrap: anywhere;
}

.maya-result.show {
  display: grid;
  gap: 10px;
}

.maya-result h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.maya-lines {
  display: grid;
  gap: 4px;
}

.maya-lines p {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.maya-symbol-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.maya-symbol-strip div {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(30, 95, 168, 0.16);
}

.maya-symbol-strip .maya-icon-wrap,
.maya-symbol-strip .maya-kin-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 25%, #9be4ff, #1e5fa8 58%, #0a274e);
  box-shadow: 0 10px 22px rgba(30, 95, 168, 0.2);
  font-size: 1.15rem;
  font-weight: 900;
}

.maya-symbol-strip .maya-icon-wrap {
  background: transparent;
  box-shadow: none;
}

.maya-symbol-strip strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.maya-symbol-strip small {
  color: var(--muted);
  text-align: center;
}

.maya-symbol-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(30, 95, 168, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.maya-symbol-card.compact {
  grid-template-columns: 46px 1fr;
}

.maya-symbol-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  background: radial-gradient(circle at 35% 28%, #8fd3ff, #1e5fa8 58%, #0b284f);
  box-shadow: 0 12px 24px rgba(30, 95, 168, 0.22);
}

.maya-symbol-mark.tone {
  width: 46px;
  height: 46px;
  background: radial-gradient(circle at 35% 28%, #bff7ef, #1f8f9b 58%, #16456b);
}

.maya-symbol-mark.svg-mark {
  background: transparent;
  box-shadow: none;
}

.maya-seal-icon,
.maya-tone-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.maya-detail-grid,
.maya-oracle-grid,
.maya-wavespell-grid {
  display: grid;
  gap: 10px;
}

.maya-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maya-detail-grid div,
.maya-oracle-grid article,
.maya-wavespell-grid article {
  border: 1px solid rgba(30, 95, 168, 0.14);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.maya-detail-grid span,
.maya-oracle-grid span,
.maya-wavespell-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.maya-detail-grid strong,
.maya-oracle-grid strong,
.maya-wavespell-grid strong {
  display: block;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.35;
}

.maya-subsection {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.maya-subsection h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.maya-oracle-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.maya-oracle-grid small,
.maya-wavespell-grid small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.35;
}

.maya-mini-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1e5fa8, #1f8f9b);
  box-shadow: 0 8px 18px rgba(30, 95, 168, 0.18);
  font-weight: 900;
}

.maya-mini-symbol.svg-mini {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.maya-public-reading,
.maya-premium-card {
  border: 1px solid rgba(30, 95, 168, 0.14);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.6);
}

.maya-public-reading h4,
.maya-premium-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: var(--ink);
}

.maya-premium-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, rgba(30, 95, 168, 0.08), rgba(31, 143, 155, 0.14));
}

.maya-premium-card .secondary {
  flex: 0 0 auto;
  text-decoration: none;
}

.maya-wavespell-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maya-wavespell-grid.compact-wave {
  grid-template-columns: minmax(0, 1fr);
}

.maya-wavespell-grid article.active {
  border-color: rgba(31, 143, 155, 0.42);
  background: linear-gradient(135deg, rgba(31, 143, 155, 0.12), rgba(127, 201, 194, 0.22));
}

.maya-result p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 100%;
}

.maya-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.maya-meta span {
  border-radius: 999px;
  padding: 6px 10px;
  color: #0f3d6e;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 95, 168, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
}

.maya-chat {
  display: grid;
  gap: 10px;
}

.maya-chat[hidden] {
  display: none;
}

.maya-chat-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.maya-answer {
  color: var(--muted);
  line-height: 1.65;
}

.quote-block {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
  font-style: italic;
  background: rgba(168, 200, 240, 0.25);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(30, 95, 168, 0.2);
}

.text-source {
  font-weight: 600;
  color: var(--ink);
}

.about-grid,
.card-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.about-card,
.card,
.process-step,
.parents-card,
.exercise-note,
.text-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  display: block;
  gap: 12px;
}

.about-card::before,
.card::before,
.process-step::before,
.exercise-note::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.5;
  margin-bottom: 2px;
}

.about-card h3,
.card h3,
.process-step h3,
.exercise-note h3,
.parents-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.about-card p,
.card p,
.process-step p,
.exercise-note p,
.parents-card p {
  color: var(--muted);
  line-height: 1.65;
}

.card-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(30, 95, 168, 0.16);
  color: #7b3b23;
  text-align: center;
  align-self: end;
}

.about-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(31, 39, 51, 0.18);
  border-radius: 16px;
  padding: 16px 18px;
}

.exercises .exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.exercise-list {
  list-style: none;
  counter-reset: exercise;
  display: grid;
  gap: 14px;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.exercise-list li {
  counter-increment: exercise;
  position: relative;
  padding-left: 52px;
  color: var(--muted);
  line-height: 1.6;
}

.exercise-list li::before {
  content: counter(exercise);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15, 61, 110, 0.25), rgba(30, 95, 168, 0.25));
  color: #1f3a46;
  font-weight: 700;
}

.parents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.parents-card ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
  display: grid;
  gap: 8px;
}

.parents-card {
  position: relative;
}

.parents-card.highlight {
  background: linear-gradient(140deg, rgba(30, 95, 168, 0.16), rgba(15, 61, 110, 0.16));
  border: 1px solid rgba(15, 61, 110, 0.2);
  padding-top: 36px;
}

.parents-card.highlight::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 3.8rem;
  color: rgba(15, 61, 110, 0.2);
  font-family: var(--font-display);
}

.signature {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.process-step {
  position: relative;
  padding-top: 58px;
}

.step-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent-2);
  background: rgba(15, 61, 110, 0.14);
}

.cta {
  padding-bottom: 110px;
}

.cta-card {
  background: linear-gradient(120deg, rgba(30, 95, 168, 0.18), rgba(15, 61, 110, 0.16));
  border-radius: 30px;
  padding: 40px;
  border: 1px solid rgba(30, 95, 168, 0.25);
  display: grid;
  gap: 22px;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
  opacity: 0.6;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  position: relative;
  z-index: 1;
}

.cta-card p,
.cta-info,
.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-card p {
  color: var(--muted);
  max-width: 620px;
}

.cta-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.cta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(31, 39, 51, 0.6);
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-form-blue {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(225, 238, 252, 0.58)),
    radial-gradient(circle at 80% 10%, rgba(30, 95, 168, 0.14), transparent 42%);
  border: 1px solid rgba(30, 95, 168, 0.22);
  box-shadow: 0 18px 42px rgba(15, 61, 110, 0.12);
  backdrop-filter: blur(10px);
}

.contact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form-blue label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form-blue label span {
  font-size: 0.86rem;
}

.contact-form-blue input,
.contact-form-blue textarea {
  width: 100%;
  border: 1px solid rgba(15, 61, 110, 0.22);
  border-radius: 16px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-blue textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form-blue input:focus,
.contact-form-blue textarea:focus {
  border-color: rgba(30, 95, 168, 0.72);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 4px rgba(30, 95, 168, 0.13);
}

.contact-form-blue input::placeholder,
.contact-form-blue textarea::placeholder {
  color: rgba(31, 39, 51, 0.45);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-submit {
  border: 0;
  cursor: pointer;
}

.contact-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.contact-status {
  min-height: 1.3em;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-status.is-success {
  color: #145f4b;
}

.contact-status.is-error {
  color: #9b2f2f;
}

.disclaimer {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 760px;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 38px 70px 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 26px;
  color: rgba(210, 228, 250, 0.88);
  background:
    radial-gradient(85% 120% at 12% 20%, rgba(122, 188, 244, 0.28) 0%, rgba(122, 188, 244, 0.1) 34%, transparent 62%),
    radial-gradient(75% 110% at 94% 72%, rgba(49, 137, 216, 0.3) 0%, rgba(49, 137, 216, 0.12) 44%, transparent 74%),
    linear-gradient(112deg, #071a35 0%, #0b2a55 42%, #144778 70%, #1e659d 100%);
  border-top: none;
  border-radius: 86px / 54px;
  margin: 0 auto 28px;
  width: min(1060px, 88vw);
  min-height: 208px;
  box-shadow: 0 24px 64px rgba(8, 31, 64, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 32%, rgba(255, 255, 255, 0.05)),
    radial-gradient(55% 80% at 42% 0%, rgba(255, 255, 255, 0.1), transparent 70%);
  opacity: 0.82;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: grid;
  gap: 12px;
  max-width: 360px;
}

.footer-brand p {
  line-height: 1.6;
  color: rgba(210, 228, 250, 0.75);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: conic-gradient(from 120deg, var(--accent), var(--accent-3), var(--accent-2));
}
.logo-mark-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-self: center;
  color: rgba(210, 228, 250, 0.85);
}
.footer-links a {
  color: rgba(210, 228, 250, 0.85);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }

.footer-note {
  justify-self: end;
  font-size: 0.85rem;
  color: rgba(210, 228, 250, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 0.12s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glowFloat {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(18px) translateX(10px);
  }
}

@keyframes drift {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-18px) translateX(12px);
  }
}

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

@keyframes auraSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes ringSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes orbitSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(120px);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(120px);
  }
}

@keyframes orbitSpinReverse {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(80px);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-360deg) translateX(80px);
  }
}

@keyframes triPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes corePulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes sparkleDrift {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.25;
  }
  50% {
    transform: translate(-6px, 8px);
    opacity: 0.5;
  }
}

/* ── Sectiunea Cine sunt ─────────────────────────────── */
.bio-intro {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 48px;
}
.bio-photo-wrap {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.bio-photo {
  width: 290px;
  height: 370px;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px 28px 120px 28px;
  border: 3px solid rgba(30, 95, 168,0.3);
  box-shadow: 0 32px 64px rgba(31,39,51,0.18), 0 0 0 8px rgba(30, 95, 168,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.bio-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(31,39,51,0.22), 0 0 0 12px rgba(30, 95, 168,0.12);
}
.bio-photo-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.02em;
}
.bio-photo-tag {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: -8px;
}
.bio-paragraphs {
  display: grid;
  gap: 18px;
}
.bio-paragraphs p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}
.bio-gratitude {
  font-style: italic;
  background: rgba(168, 200, 240,0.22);
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  padding: 20px 22px;
  color: var(--ink) !important;
  font-size: 0.97rem !important;
}
.alchemy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 24px;
  margin-bottom: 34px;
}
.alchemy-copy,
.alchemy-why {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(233, 241, 252, 0.9));
  border: 1px solid rgba(30, 95, 168, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.alchemy-copy {
  padding: 28px 30px;
}
.alchemy-why {
  padding: 28px;
  align-self: stretch;
  background: linear-gradient(160deg, rgba(12, 47, 86, 0.96), rgba(30, 95, 168, 0.88));
  color: rgba(255, 255, 255, 0.92);
}
.alchemy-copy::before,
.alchemy-why::before {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  transform: translate(-28%, 34%);
  background: radial-gradient(circle, rgba(30, 95, 168, 0.16), rgba(30, 95, 168, 0));
  pointer-events: none;
}
.alchemy-why::before {
  width: 180px;
  height: 180px;
  transform: translate(-18%, 26%);
  background: radial-gradient(circle, rgba(168, 200, 240, 0.24), rgba(168, 200, 240, 0));
}
.alchemy-eyebrow {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.alchemy-copy h3,
.alchemy-why h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.08;
  margin-bottom: 14px;
}
.alchemy-copy p,
.alchemy-why p {
  position: relative;
  z-index: 1;
  line-height: 1.8;
}
.alchemy-copy p {
  color: var(--muted);
}
.alchemy-why p {
  color: rgba(255, 255, 255, 0.88);
}
.alchemy-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.alchemy-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.7;
}
.alchemy-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.85rem;
}
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.offer-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}
.offer-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.offer-yes::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.offer-no::before {
  background: linear-gradient(90deg, #9aa5ad, #6b7880);
}
.offer-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.offer-yes h3 { color: var(--accent); }
.offer-no h3  { color: var(--muted); }
.offer-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.offer-no .offer-list {
  grid-template-columns: 1fr;
}
.offer-list li {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.offer-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.offer-no .offer-list li::before {
  color: #9aa5ad;
}
.bio-autodidact {
  background: linear-gradient(135deg, rgba(30, 95, 168,0.1), rgba(15, 61, 110,0.1));
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid rgba(30, 95, 168,0.2);
  margin-bottom: 32px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.97rem;
}

/* -- Radacini profesionale / Professional Roots ---------- */
.bio-roots {
  margin-bottom: 32px;
}
.bio-roots-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.roots-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.root-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(30,95,168,0.05);
  border: 1px solid rgba(30,95,168,0.13);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.root-item:hover {
  background: rgba(30,95,168,0.09);
  border-color: rgba(30,95,168,0.25);
}
.root-dot {
  flex-shrink: 0;
  display: block;
  width: 8px;
  height: 8px;
  margin-top: 6px;
}
.root-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.root-degree .root-dot {
  border-radius: 50%;
  background: #1e5fa8;
  box-shadow: 0 0 0 3px rgba(30,95,168,0.15);
}
.root-training .root-dot {
  border-radius: 2px;
  background: #c37857;
  box-shadow: 0 0 0 3px rgba(195,120,87,0.15);
  transform: rotate(45deg);
  margin-top: 7px;
}
.root-label {
  display: block;
  font-weight: 600;
  font-size: 0.91rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
}
.root-meta {
  display: block;
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.45;
}
.bio-closing {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 0 20px;
}
.bio-closing p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.8;
  color: var(--ink);
  font-style: italic;
}
.bio-closing .closing-sign {
  display: block;
  margin-top: 22px;
  font-size: 1rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.04em;
}
/* ── Language toggle ──────────── */
.lang-toggle{display:flex;align-items:center;gap:0;font-size:.74rem;font-weight:700;letter-spacing:.1em;flex-shrink:0;background:rgba(31,39,51,.06);border:1.5px solid rgba(31,39,51,.18);border-radius:8px;padding:2px;}
.lang-opt{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:5px 12px;border-radius:6px;color:var(--muted);transition:color .18s,background .18s,box-shadow .18s;user-select:none;line-height:1;}
.lang-opt.lang-active{background:var(--accent);color:#fff;box-shadow:0 1px 6px rgba(30, 95, 168,.45);}
.lang-opt:hover:not(.lang-active){color:var(--ink);background:rgba(31,39,51,.07);}
.lang-sep{display:none;}

/* ── Footer HOST-C row ──────────── */
.footer-note--row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;}
.footer-hostc{font-size:.78rem;color:rgba(210,228,250,.65);text-align:right;}.footer-hostc a{color:rgba(210,228,250,.85);text-decoration:none;}.footer-hostc a:hover{color:#fff;text-decoration:underline;}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — emalchimistulalbastru.win
   Breakpoints: 1080 | 900 | 640 | 420
   ═══════════════════════════════════════════════════════ */

/* ─── Prevent horizontal overflow globally ───────────── */
html { overflow-x: hidden; }

/* ─── 1080px: hero single col, footer 2-col ─────────── */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 72px 0 72px;
  }
  .hero-visual { justify-items: start; }
  .alchemist-banner { width: min(520px, 100%); }
  .footer { grid-template-columns: 1fr 1fr; border-radius: 80px; padding: 38px 48px 44px; width: min(860px, 88vw); }
}

/* ─── 900px: tablet portrait + landscape ─────────────── */
@media (max-width: 900px) {
  /* topbar: keep row, nav scrolls below */
  .topbar-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 10px;
    row-gap: 4px;
  }
  .brand-tag { display: none; }
  .social-links:not(.footer-social) { display: none; }
  .top-actions { gap: 8px; flex-shrink: 0; width: auto; justify-content: flex-end; }

  .nav {
    order: 3;
    flex: 0 0 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 6px 0 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a,
  .nav a:not(:first-child) {
    display: inline-flex;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .nav { scroll-snap-type: x proximity; }

  /* hero */
  .hero-copy h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .metric { padding: 14px 16px; }
  .alchemist-banner { width: min(480px, 100%); }

  /* sections */
  .section { padding: 48px 0 68px; }
  .section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
  .maya-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 18px; }
  .maya-card-accent { grid-column: 1 / -1; }
  .maya-form { grid-template-columns: 1fr 1fr; }
  .maya-oracle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* footer */
  .footer { grid-template-columns: 1fr 1fr; gap: 20px; border-radius: 60px; padding: 34px 36px 42px; width: min(720px, 88vw); }
  .footer-links { justify-self: start; }
  .footer-note { justify-self: start; }

  /* bio / cine-sunt */
  .bio-intro { grid-template-columns: 1fr; gap: 28px; }
  .bio-photo-wrap {
    position: static;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 18px;
  }
  .bio-photo { width: 200px; height: 255px; }
  .alchemy-panel { grid-template-columns: 1fr; gap: 18px; }
  .offers-grid { grid-template-columns: 1fr; gap: 20px; }
  .offer-list { grid-template-columns: 1fr; }
}

/* ─── 640px: mobile ──────────────────────────────────── */
@media (max-width: 640px) {
  html { scroll-padding-top: 132px; }
  .container { width: min(1200px, 94vw); }
  main section[id] { scroll-margin-top: 132px; }

  /* topbar */
  .topbar-inner { padding: 10px 0; gap: 8px; row-gap: 6px; }
  .brand { flex: 0 0 auto; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-full-logo { width: min(172px, 48vw); border-radius: 8px; }
  .brand-symbol { width: 56px; }
  .brand-name { font-size: 1.18rem; }
  .brand-role { font-size: 0.67rem; }
  .brand-mantra { display: none; }
  .top-actions { gap: 6px; margin-left: auto; }
  .nav { font-size: 0.88rem; gap: 12px; padding-top: 6px; }
  .ghost { padding: 8px 12px; font-size: 0.82rem; white-space: nowrap; }
  .primary { padding: 8px 12px; font-size: 0.82rem; white-space: nowrap; }

  /* hero */
  .hero { padding: 34px 0 46px; gap: 28px; }
  .hero-copy { gap: 16px; }
  .hero-copy h1 { font-size: clamp(2rem, 9.5vw, 2.8rem); line-height: 1.02; }
  .hero-copy p { font-size: 0.98rem; }
  .hero-actions { gap: 10px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 12px 13px; }
  .metric-value { font-size: 1rem; margin-top: 8px; }
  .manifest-card { max-width: 100%; transform: none !important; }
  .manifest-card.alt { transform: none !important; }
  .alchemist-banner { width: 100%; padding: 12px; }

  /* sections */
  .section { padding: 34px 0 50px; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .about-grid,
  .card-grid,
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .exercises .exercise-grid { grid-template-columns: 1fr; }
  .parents-grid { grid-template-columns: 1fr; }
  .maya-section { scroll-margin-top: 132px; }
  .maya-grid { grid-template-columns: 1fr; gap: 14px; }
  .maya-card { min-height: auto; padding: 18px; border-radius: 18px; }
  .maya-card-accent { grid-column: auto; }
  .maya-tool { padding: 16px; border-radius: 18px; gap: 14px; }
  .maya-form,
  .maya-chat-row { grid-template-columns: 1fr; }
  .maya-date-parts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
    max-width: 100%;
  }
  .maya-result { padding: 16px; border-radius: 16px; }
  .maya-result h3 { font-size: 1.16rem; }
  .maya-meta { gap: 6px; }
  .maya-meta span { font-size: 0.76rem; padding: 5px 8px; }
  .maya-symbol-strip { grid-template-columns: 1fr; }
  .maya-symbol-card,
  .maya-symbol-card.compact { grid-template-columns: 1fr; }
  .maya-detail-grid,
  .maya-oracle-grid,
  .maya-wavespell-grid { grid-template-columns: 1fr; }
  .maya-premium-card { flex-direction: column; align-items: stretch; }
  .maya-premium-card .secondary { justify-content: center; }
  .maya-form .primary,
  .maya-chat-row .secondary { width: 100%; justify-content: center; }

  /* cta */
  .cta-card { padding: 22px 20px; border-radius: 18px; }
  .cta-card h2 { font-size: 1.5rem; }
  .cta-info { grid-template-columns: 1fr; gap: 12px; }
  .contact-form-blue { padding: 16px; border-radius: 18px; }
  .contact-field-row { grid-template-columns: 1fr; }
  .contact-form-footer { align-items: stretch; }
  .contact-submit { width: 100%; justify-content: center; }
  .cta { padding-bottom: 70px; }

  /* footer */
  .footer { grid-template-columns: 1fr; padding: 28px 32px 38px; gap: 18px; border-radius: 40px; width: min(480px, 90vw); }
  .footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .footer-note { justify-self: start; }
  .footer-note--row { flex-direction: column; gap: 4px; }
  .footer-hostc { text-align: left; }

  /* bio */
  .bio-intro { gap: 18px; }
  .bio-photo { width: 140px; height: 178px; }
  .bio-photo-wrap { gap: 14px; }
  .alchemy-copy,
  .alchemy-why { padding: 20px; }
  .alchemy-list li { padding-left: 18px; }
  .bio-autodidact { padding: 18px 20px; }
  .roots-list { grid-template-columns: 1fr; }
  .offer-card { padding: 20px; }
  .bio-closing { padding: 22px 0 12px; }
  .offers-grid { gap: 14px; }
  .offer-list { gap: 6px 14px; }
}

/* ─── 420px: small mobile ───────────────────────────── */
@media (max-width: 420px) {
  html { scroll-padding-top: 138px; }
  main section[id] { scroll-margin-top: 138px; }
  .topbar-inner { align-items: start; }
  .hero-copy h1 { font-size: clamp(1.85rem, 10vw, 2.2rem); }
  .hero-metrics { grid-template-columns: 1fr; }
  .top-actions .ghost { display: none; }
  .brand-composite { gap: 10px; }
  .brand-full-logo { width: min(154px, 44vw); }
  .brand-role { display: none; }
  .nav { font-size: 0.84rem; gap: 11px; padding-top: 4px; }
  .top-actions .primary { min-height: 42px; padding-inline: 14px; }
  .lang-opt { min-width: 40px; min-height: 40px; padding: 4px 10px; }
  .bio-photo { width: 110px; height: 140px; }
  .maya-date-parts { gap: 6px; }
  .maya-form input,
  .maya-form select,
  .maya-form textarea,
  .maya-chat input { padding: 12px 10px; }
  .maya-tool { margin-left: -2px; margin-right: -2px; }
}

/* ─── iOS/Android safe area (notch, home bar) ────────── */
@supports (padding: max(0px)) {
  .topbar {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .footer {
    padding-bottom: max(60px, calc(44px + env(safe-area-inset-bottom)));
    padding-left: max(32px, calc(24px + env(safe-area-inset-left)));
    padding-right: max(32px, calc(24px + env(safe-area-inset-right)));
    background: linear-gradient(135deg, #0a1e38 0%, #0f3560 60%, #1a4f8a 100%);
    border-radius: 40px;
  }
  #em-cookie {
    padding-bottom: max(1.1rem, calc(0.8rem + env(safe-area-inset-bottom)));
    padding-left: max(1.1rem, calc(1rem + env(safe-area-inset-left)));
    padding-right: max(1.1rem, calc(1rem + env(safe-area-inset-right)));
  }
}

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

@media (max-width: 640px), (prefers-reduced-data: reduce) {
  .glow,
  .ribbon {
    filter: blur(34px);
    opacity: 0.34;
  }

  .grain {
    opacity: 0.1;
  }
}


/* ══════════════════════════════════════════
   ASTRO HOROSCOP SECTION — light theme
   ══════════════════════════════════════════ */
.astro-section { padding-block: 5rem; }

/* Sun / Moon luminars */
.astro-main {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.astro-luminar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(226,238,252,0.86));
  border: 1px solid rgba(30,95,168,0.18);
  border-radius: 24px;
  padding: 1.4rem 2rem;
  min-width: 220px;
  flex: 1;
  max-width: 320px;
  box-shadow: 0 4px 18px rgba(17,23,32,0.07);
}
.astro-lum-icon { font-size: 2.4rem; line-height: 1; }
.astro-lum-body { display: flex; flex-direction: column; gap: .15rem; }
.astro-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #1e5fa8;
  font-weight: 600;
}
.astro-sign {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #0f3d6e;
}
.astro-sym  { font-size: 1rem; color: #1e5fa8; margin-left: .2rem; }
.astro-deg  { font-size: .82rem; color: var(--muted); }
.astro-phase { font-size: .8rem; color: var(--muted); font-style: italic; margin-top: .1rem; }

/* Planet chips */
.astro-planets {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.astro-planet-card {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(30,95,168,0.15);
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .85rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(17,23,32,0.06);
}
.astro-planet-icon { font-size: .95rem; color: #1e5fa8; }
.astro-planet-name { color: var(--muted); font-size: .82rem; }
.astro-planet-sign { color: #0f3d6e; font-weight: 600; margin-left: .1rem; }
.astro-rx { font-size: .68rem; color: #c0392b; margin-left: .1rem; vertical-align: super; font-weight: 700; }

/* Tarot card */
.astro-carta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(30,95,168,0.18);
  border-left: 4px solid #1e5fa8;
  border-radius: 16px;
  padding: 1.1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(17,23,32,0.07);
}
.astro-carta-emoji { font-size: 2.2rem; }
.astro-carta .astro-label { display: block; margin-bottom: .2rem; }
.astro-carta strong { display: block; color: #0f3d6e; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .2rem; }
.astro-carta p { margin: 0; font-size: .87rem; color: var(--muted); }

/* Events */
.astro-events {
  background: rgba(30,95,168,0.05);
  border: 1px solid rgba(30,95,168,0.12);
  border-left: 4px solid rgba(127,201,194,0.7);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
}
.astro-events .astro-label { display: block; margin-bottom: .5rem; }
.astro-events ul { margin: 0; padding-left: 1.1rem; }
.astro-events li { font-size: .86rem; color: var(--ink); margin-bottom: .3rem; line-height: 1.55; }
.astro-station { color: #0f3d6e !important; font-weight: 500; }
.astro-ingres  { color: #1e5fa8 !important; }

/* Personalized form — uses dark accent card like maya-card-accent */
.astro-personal {
  background: linear-gradient(135deg, #0b2a55, #1f6fb8);
  border-radius: 24px;
  padding: 2rem 2rem 2.5rem;
  box-shadow: 0 8px 32px rgba(11,42,85,0.18);
}
.astro-personal-head { margin-bottom: 1.5rem; }
.astro-personal-head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 .5rem;
}
.astro-personal-head p { font-size: .9rem; color: rgba(255,255,255,.7); margin: 0; }

.astro-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.astro-form-group label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-bottom: .4rem;
  letter-spacing: .03em;
}
.astro-optional { color: rgba(255,255,255,.45); font-size: .74rem; }

.astro-date-parts, .astro-time-parts {
  display: flex; gap: .4rem; align-items: center;
}
.astro-date-parts input, .astro-time-parts input { width: 58px; text-align: center; }
.astro-time-parts span { color: rgba(255,255,255,.5); }

.astro-form input,
.astro-form select {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: .6rem;
  color: #fff;
  padding: .55rem .9rem;
  font-size: .9rem;
  font-family: var(--font-body);
  transition: border-color .2s;
}
.astro-form input::placeholder { color: rgba(255,255,255,.35); }
.astro-form input:focus,
.astro-form select:focus {
  outline: none;
  border-color: rgba(127,201,194,.7);
  background: rgba(255,255,255,0.15);
}
.astro-form select option { background: #1a3f5e; color: #fff; }

.astro-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.92);
  white-space: pre-wrap;
  display: none;
}
.astro-result.visible { display: block; }
.astro-result.loading { color: rgba(255,255,255,.5); font-style: italic; }
.astro-result.error   { color: #f0a0a0; }


/* ══ ASTRO — mobile fixes (640px, 420px, iOS/Android) ══ */

/* Planet chips wrap naturally */
.astro-section { overflow-x: visible; }

@media (max-width: 640px) {
  /* Luminars: full width, tighter padding */
  .astro-main { flex-direction: column; align-items: stretch; gap: 1rem; }
  .astro-luminar {
    max-width: 100%;
    min-width: 0;
    padding: 1rem 1.25rem;
    border-radius: 18px;
  }
  .astro-lum-icon { font-size: 2rem; }
  .astro-sign { font-size: 1.15rem; }

  /* Planet chips: allow wrapping, prevent overflow */
  .astro-planets { gap: .45rem; }
  .astro-planet-card {
    white-space: normal;
    font-size: .8rem;
    padding: .35rem .75rem;
  }

  /* Carta and events: tighter */
  .astro-carta { flex-direction: row; gap: .9rem; padding: 1rem 1.1rem; border-radius: 14px; }
  .astro-carta-emoji { font-size: 1.8rem; flex-shrink: 0; }
  .astro-events { padding: .85rem 1rem; }
  .astro-events li { font-size: .83rem; }

  /* Personal form card */
  .astro-personal { padding: 1.4rem 1.1rem 1.8rem; border-radius: 18px; }
  .astro-personal-head h3 { font-size: 1.2rem; }
  .astro-personal-head p { font-size: .85rem; }
  .astro-form-grid { grid-template-columns: 1fr; gap: .9rem; }

  /* Date + time inputs: larger touch targets */
  .astro-date-parts input,
  .astro-time-parts input {
    width: 62px;
    padding: .6rem .3rem;
    font-size: 16px;
    text-align: center;
    -webkit-appearance: none;
  }
  .astro-form input,
  .astro-form select {
    padding: .65rem .9rem;
    font-size: 16px;
    -webkit-appearance: none;
    border-radius: .6rem;
  }
  /* iOS select arrow */
  .astro-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2.2rem;
  }
  .astro-form .primary { width: 100%; justify-content: center; padding: .75rem 1rem; font-size: 1rem; }
  .astro-result { padding: 1rem 1.1rem; font-size: .87rem; }
}

@media (max-width: 420px) {
  .astro-planet-card { font-size: .77rem; padding: .3rem .6rem; }
  .astro-luminar { padding: .85rem 1rem; }
  .astro-date-parts input,
  .astro-time-parts input { width: 56px; }
  .astro-personal { padding: 1.1rem .9rem 1.5rem; }
}

/* iOS safe area + overscroll fix */
@supports (padding: max(0px)) {
  .astro-personal {
    padding-bottom: max(1.8rem, calc(1.5rem + env(safe-area-inset-bottom)));
  }
}
/* ══ ASTRO RESULT — badges, tarot, text ══ */
/* ══ ASTRO RESULT — badges, tarot, text ══ */
/* overflow: visible so transform/shadow on prezent card never gets clipped */
.astro-result {
  white-space: normal;
  overflow: visible;
}

/* Badges */
.astro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.astro-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.astro-badge--gold { background: rgba(201,169,110,0.18); border-color: rgba(201,169,110,0.35); color: #f0d98a; }
.astro-badge--warn { background: rgba(230,100,50,0.18); border-color: rgba(230,100,50,0.35); color: #ffb080; }

/* Tarot label */
.astro-tarot-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
  font-weight: 600;
}

/* Tarot tiraj — 3 cards in a row on desktop */
.astro-tarot-tiraj {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 1.75rem;
  /* extra top padding so elevated prezent card is not clipped */
  padding-top: 6px;
  overflow: visible;
}
.astro-tarot-card {
  flex: 1 1 120px;
  min-width: 0;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 1rem .75rem;
  box-sizing: border-box;
}
.astro-tarot-prezent {
  background: rgba(201,169,110,0.14);
  border-color: rgba(201,169,110,0.4);
  border-width: 2px;
  /* use margin-top instead of transform to avoid clipping */
  margin-top: -6px;
  box-shadow: 0 6px 20px rgba(201,169,110,0.2);
}
.astro-tarot-stars { font-size: .55rem; letter-spacing: 4px; color: rgba(201,169,110,.7); }
.astro-tarot-pos {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(201,169,110,.85);
  font-weight: 700;
}
.astro-tarot-emoji {
  font-size: 2rem;
  line-height: 1;
  -webkit-filter: drop-shadow(0 2px 6px rgba(201,169,110,.35));
  filter: drop-shadow(0 2px 6px rgba(201,169,110,.35));
}
.astro-tarot-name {
  font-size: .72rem;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  letter-spacing: .02em;
  line-height: 1.3;
}
.astro-tarot-divider {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.6), transparent);
}
.astro-tarot-tema {
  font-size: .64rem;
  color: rgba(255,255,255,.6);
  font-style: italic;
  line-height: 1.45;
}

/* Horoscop text */
.astro-horoscop-text {
  font-size: .9rem;
  line-height: 1.78;
  color: rgba(255,255,255,.88);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  margin-top: .25rem;
}
.astro-horoscop-text strong { color: #fff; font-weight: 700; }
.astro-data-azi {
  margin-top: .85rem;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

/* ── Mobile: 768px — stack to column early for tablets/large phones ── */
@media (max-width: 768px) {
  .astro-section { overflow-x: visible; }
  .astro-tarot-tiraj {
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: .5rem;
    padding-top: 0;
  }
  .astro-tarot-prezent { margin-top: 0; border-width: 2px; }
  .astro-tarot-card {
    -webkit-flex-direction: row;
    flex-direction: row;
    max-width: 100%;
    text-align: left;
    -webkit-align-items: center;
    align-items: center;
    gap: .75rem;
    padding: .8rem .9rem;
  }
  .astro-tarot-stars { display: none; }
  .astro-tarot-divider { display: none; }
  .astro-tarot-emoji { font-size: 2rem; -webkit-flex-shrink: 0; flex-shrink: 0; }
}

/* ── Mobile: 640px ── */
@media (max-width: 640px) {
  .astro-badges { gap: .4rem; }
  .astro-badge { font-size: .76rem; padding: .25rem .6rem; }
  .astro-tarot-pos { font-size: .65rem; }
  .astro-tarot-name { font-size: .78rem; }
  .astro-tarot-tema { font-size: .68rem; }
  .astro-horoscop-text { font-size: .87rem; }
}

/* ── 420px — small iPhones ── */
@media (max-width: 420px) {
  .astro-tarot-card { padding: .7rem .75rem; gap: .6rem; }
  .astro-tarot-emoji { font-size: 1.7rem; }
  .astro-badge { font-size: .72rem; padding: .2rem .5rem; }
}


.cta-info-single {
  grid-template-columns: minmax(160px, 240px);
}

.cta-actions-single {
  justify-content: flex-start;
}


.cta-actions-double {
  justify-content: flex-start;
}

/* AI Act / legal disclaimers */
.tool-disclaimer {
  font-size: .75rem;
  color: #888;
  line-height: 1.5;
  margin-top: .85rem;
  padding: .6rem .85rem;
  background: rgba(31,111,140,.04);
  border-left: 3px solid rgba(31,111,140,.18);
  border-radius: 0 6px 6px 0;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(244,239,232,.12);
}
.footer-legal a {
  font-size: .78rem;
  color: rgba(244,239,232,.55);
  text-decoration: underline;
}
.footer-legal a:hover {
  color: #c37857;
}
