/* =========================================================
   Psiholog Beatrice Bolboceanu — stiluri
   Paletă și estetică jucăușă (crem/galben, mascote bicolore).
   Culorile se schimbă dintr-un singur loc, în :root de mai jos.
   ========================================================= */

:root {
  --cream: #f3eee1;
  --cream-2: #efe7d5;
  --yellow: #fbd64e;
  --yellow-deep: #f2b53c;
  --orange: #f04a1e;
  --blue: #2258ff;
  --green: #46c2a3;
  --ink: #201d1a;
  --ink-soft: #4a463f;
  --white: #ffffff;

  --radius: 26px;
  --radius-lg: 42px;
  --shadow: 0 18px 50px rgba(32, 29, 26, 0.10);
  --shadow-sm: 0 8px 24px rgba(32, 29, 26, 0.08);
  --maxw: 1180px;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 22px rgba(240, 74, 30, 0.28); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 30px rgba(240, 74, 30, 0.35); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid rgba(32,29,26,0.18); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(243, 238, 225, 0.82);
  backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand-mark { display: inline-flex; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; font-weight: 700; }
.nav a { position: relative; padding: 0.25rem 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--orange); border-radius: 3px; transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }
.nav-cta { padding: 0.6rem 1.2rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 5rem;
  overflow: hidden;
}
.hero-inner { max-width: 760px; position: relative; z-index: 3; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.4rem); margin-bottom: 1.2rem; }
.hero-title .hl { color: var(--orange); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 620px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.hero-mascots { position: absolute; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; opacity: 0.16; pointer-events: none; }
.mascot { width: clamp(90px, 12vw, 150px); height: auto; }
.mascot-blue { animation: bob 5s ease-in-out infinite; }
.mascot-orange { animation: bob 5s ease-in-out infinite 0.6s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Clouds ---------- */
.clouds { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 100px;
  filter: drop-shadow(0 10px 20px rgba(32,29,26,0.05));
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud-1 { width: 150px; height: 46px; top: 16%; left: 8%; animation: drift 22s ease-in-out infinite; }
.cloud-1::before { width: 66px; height: 66px; top: -30px; left: 24px; }
.cloud-1::after { width: 48px; height: 48px; top: -20px; left: 80px; }
.cloud-2 { width: 120px; height: 38px; top: 26%; right: 10%; animation: drift 26s ease-in-out infinite reverse; }
.cloud-2::before { width: 54px; height: 54px; top: -26px; left: 20px; }
.cloud-2::after { width: 40px; height: 40px; top: -16px; left: 66px; }
.cloud-3 { width: 100px; height: 32px; bottom: 22%; left: 16%; animation: drift 30s ease-in-out infinite; }
.cloud-3::before { width: 46px; height: 46px; top: -22px; left: 16px; }
.cloud-3::after { width: 34px; height: 34px; top: -12px; left: 54px; }
@keyframes drift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(30px); } }

/* ---------- Roata (carusel servicii) ----------
   Cardurile stau pe o "roată" invizibilă uriașă, cu pivotul sub marginea de
   jos a ecranului. La fiecare pas roata se rotește cu 90° (4 × 90° = 360°,
   deci se poate învârti la nesfârșit), iar cardul se rostogolește în lateral
   exact ca în designul original. */
.wheel-hero {
  --R: max(900px, 78vw); /* raza roții — crește cu ecranul ca vecinii să rămână în afara lui */
  position: relative;
  height: calc(100vh - 90px);
  min-height: 560px;
  max-height: 860px;
  overflow: hidden;
  margin: 0 clamp(0.6rem, 2vw, 1.5rem);
  border-radius: var(--radius-lg);
  background: #fbd64e;
  transition: background-color 0.9s ease;
}
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.scene.active { opacity: 1; }
.hill { position: absolute; border-radius: 50%; }
.hill-light { width: 120%; height: 60%; left: -30%; bottom: -34%; }
.hill-dark  { width: 130%; height: 64%; right: -42%; bottom: -40%; }
.sc-el { position: absolute; }
.scene .cloud { opacity: 0.9; }

.wheel {
  position: absolute; left: 50%; bottom: calc(240px - var(--R));
  width: 0; height: 0; z-index: 5;
  transition: transform 1.05s cubic-bezier(0.68, 0.02, 0.3, 1);
  will-change: transform;
}
.spoke { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--R))); }
.wcard {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -50%);
  width: min(480px, 78vw);
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  padding: 2.1rem 2.2rem 1.9rem;
  background: var(--orange);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(32, 29, 26, 0.25);
  text-align: center;
  transition: filter 0.2s ease;
}
.wcard:hover { filter: brightness(1.06); }
.wcard h3 {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 0.98; color: #ffe6a8;
}
.wbadge {
  background: #fff; color: var(--ink);
  font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 8px;
}
.wheel-arrow {
  position: absolute; top: 60%; z-index: 6;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.wheel-arrow:hover { transform: scale(1.1); }
.wheel-prev { left: clamp(0.8rem, 3vw, 2.4rem); }
.wheel-next { right: clamp(0.8rem, 3vw, 2.4rem); }
@media (prefers-reduced-motion: reduce) {
  .wheel { transition: none; }
  .scene { transition: none; }
}

/* Intro compact sub roată */
.hero-compact { min-height: auto; padding: clamp(3.5rem, 8vw, 6rem) 1.5rem; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.2rem, 4vw, 2rem); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 0.8rem; }
.section-lead { color: var(--ink-soft); }

/* ---------- Despre ---------- */
.despre-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.despre-photo { display: flex; justify-content: center; }
.photo-placeholder {
  width: 100%; max-width: 360px; aspect-ratio: 4/5;
  background: var(--yellow); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  color: var(--ink); font-weight: 700; box-shadow: var(--shadow);
}
.despre-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.despre-text p { margin-bottom: 1rem; color: var(--ink-soft); }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.badges li { background: #fff; border-radius: 999px; padding: 0.5rem 1rem; font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow-sm); }

/* ---------- Servicii ---------- */
.servicii { background: var(--yellow); max-width: none; border-radius: var(--radius-lg); margin: 0 clamp(0.6rem, 2vw, 1.5rem); }
.servicii .section-head { margin-left: auto; margin-right: auto; }
.servicii .eyebrow { color: var(--orange); }
.cards { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--cream); border-radius: var(--radius); padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 18px; font-size: 1.6rem; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--c) 18%, #fff);
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Cum lucrez ---------- */
.steps { max-width: var(--maxw); margin: 0 auto; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 2.2rem 1.8rem; box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem;
}
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--green); }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Banner ---------- */
.banner { background: var(--orange); color: #fff; text-align: center; padding: clamp(3rem, 7vw, 5rem) 1.5rem; margin: clamp(2rem,5vw,4rem) clamp(0.6rem,2vw,1.5rem); border-radius: var(--radius-lg); }
.banner-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.8rem; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.contact-list { list-style: none; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; }
.contact-list span { font-size: 1.2rem; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.92rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 1rem;
  border: 2px solid rgba(32,29,26,0.12); border-radius: 14px; background: var(--cream); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #f3eee1; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.2rem, 4vw, 3rem) 1.5rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.15rem; display: block; margin: 0.5rem 0 0.3rem; }
.footer-brand p { color: rgba(243,238,225,0.7); max-width: 320px; font-size: 0.95rem; }
.footer-nav { display: flex; gap: 1.4rem; font-weight: 700; align-items: center; }
.footer-nav a:hover { color: var(--yellow); }
.footer-bottom { max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(243,238,225,0.15); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: rgba(243,238,225,0.6); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mascot, .cloud { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .despre-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-header.open .nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 1.2rem 1.5rem; gap: 1rem; box-shadow: var(--shadow);
  }
  .site-header.open .nav-cta { display: inline-flex; position: absolute; top: 100%; right: 1.5rem; transform: translateY(340%); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
