/* =============================================
   DESIGN TOKENS
============================================= */
:root {
  --mint:     #80ff72;
  --lavender: #fdecef;
  --onyx:     #0f110c;
  --honey:    #fbb13c;
  --frosted:  #73d2de;

  --honey-dim:   rgba(251, 177, 60,  .12);
  --mint-dim:    rgba(128, 255, 114, .14);
  --frosted-dim: rgba(115, 210, 222, .14);

  --font-display: 'Raleway', sans-serif;
  --font-heading: 'Raleway', sans-serif;
  --font-body:    'Nunito', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-xs: 0 2px  8px  rgba(15,17,12,.06);
  --shadow-sm: 0 4px  16px rgba(15,17,12,.09);
  --shadow-md: 0 10px 32px rgba(15,17,12,.12);
  --shadow-lg: 0 24px 64px rgba(15,17,12,.16);

  --nav-h: 72px;
  --pad-section: clamp(72px, 9vw, 128px);
  --pad-inline: clamp(20px, 5vw, 64px);
}

/* =============================================
   RESET
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--onyx);
  color: var(--onyx);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* =============================================
   LAYOUT
============================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}
.section { padding-block: var(--pad-section); }

/* =============================================
   REUSABLE COMPONENTS
============================================= */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--honey);
  background: var(--honey-dim);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.12;
  color: var(--onyx);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--honey);
  color: var(--onyx);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: #e89c28;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(251,177,60,.38);
}

/* =============================================
   SCROLL REVEAL
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .10s; }
.reveal-d2 { transition-delay: .20s; }
.reveal-d3 { transition-delay: .30s; }
.reveal-d4 { transition-delay: .40s; }

/* =============================================
   NAVBAR
============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
}
#navbar.scrolled {
  background: rgba(253, 236, 239, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(15,17,12,.08);
}
.nav-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 63px; width: auto; transition: opacity .25s; }
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark  { display: none; }
#navbar.scrolled .nav-logo .logo-light { display: none; }
#navbar.scrolled .nav-logo .logo-dark  { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links > li > a {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(253,236,239,.8);
  transition: color .2s;
}
.nav-links > li > a:hover  { color: var(--honey); }
#navbar.scrolled .nav-links > li > a { color: rgba(15,17,12,.7); }
#navbar.scrolled .nav-links > li > a:hover { color: var(--honey); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--honey);
  color: var(--onyx) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-nav:hover {
  background: #e89c28 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(251,177,60,.35);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--lavender);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
#navbar.scrolled .nav-toggle span { background: var(--onyx); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
============================================= */
#hero {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
  background: var(--onyx);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Ambient glow orbs */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(251,177,60,.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(115,210,222,.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(128,255,114,.03) 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--nav-h) 24px 24px;
  gap: 20px;
}
.hero-logo {
  width: clamp(200px, 32vw, 400px);
  height: auto;
  margin-left: -50px;
  animation:
    logoReveal  .9s cubic-bezier(.22,1,.36,1) both,
    logoPulse   1.5s ease .9s 3;
  filter: drop-shadow(0 0 56px rgba(251,177,60,.22));
  will-change: transform, opacity;
}
@keyframes logoReveal {
  from { opacity: 0; transform: scale(.8) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 56px rgba(251,177,60,.22)); }
  50%       { transform: scale(1.07); filter: drop-shadow(0 0 80px rgba(251,177,60,.55)); }
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.6vw, 26px);
  color: var(--lavender);
  letter-spacing: .05em;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp .75s ease 1.6s forwards;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.3vw, 14px);
  color: rgba(253,236,239,.45);
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp .75s ease 1.85s forwards;
}
.hero-cta {
  margin-top: 6px;
  opacity: 0;
  animation: fadeUp .75s ease 2.05s forwards;
}
.hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--honey);
  color: var(--onyx);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 40px;
  border-radius: var(--radius-pill);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.hero-cta a:hover {
  background: #e89c28;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(251,177,60,.42);
}
.scroll-arrow {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp .75s ease 2.5s forwards;
}
.scroll-arrow svg {
  width: 22px;
  height: 22px;
  stroke: rgba(253,236,239,.4);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  animation: arrowBounce 2s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   SITE CONTENT — slides over hero
============================================= */
.site-content {
  position: relative;
  z-index: 1;
  background: var(--lavender);
  border-radius: 40px 40px 0 0;
}

/* =============================================
   DESPRE (About)
============================================= */
#despre {
  position: relative;
  overflow: hidden;
  background: var(--lavender);
  border-radius: 40px 40px 0 0;
}
.despre-text {
  max-width: 52%;
}
.despre-body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: rgba(15,17,12,.68);
  margin-top: 24px;
}
.despre-body p + p { margin-top: 16px; }
.despre-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(15,17,12,.1);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 50px);
  color: var(--honey);
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(15,17,12,.5);
  margin-top: 4px;
  line-height: 1.4;
  display: block;
}

/* Despre image — absolutely positioned at bottom-right of section */
.despre-image {
  position: absolute;
  bottom: 0;
  right: 50px;
  width: 50%;
  height: auto;
}

/* =============================================
   ECHIPĂ (Team)
============================================= */
#echipa { background: #ffffff; }
.team-header { text-align: center; margin-bottom: clamp(48px, 6vw, 72px); }
.team-header .section-title { margin-top: 12px; }

.team-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 96px);
}
.team-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.team-card.flip .team-visual { order: 2; }
.team-card.flip .team-info   { order: 1; }

.team-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 460px;
  align-self: start;
}
.team-circle {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
.card-bebe   .team-circle { background: var(--frosted); opacity: .13; }
.card-yang   .team-circle { background: var(--mint);    opacity: .15; }
.card-kazi   .team-circle { background: var(--honey);   opacity: .12; }
.card-alexa  .team-circle { background: var(--frosted); opacity: .13; }

.team-character {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(15,17,12,.14));
}
.team-bee {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(15,17,12,.12));
}
/* Unique bee placement per card */
.card-bebe  .team-bee { width: clamp(64px,9vw,96px);   top: 8%;     right: 4%;  animation: floatBee 4.2s ease-in-out infinite; }
.card-yang  .team-bee { width: clamp(60px,8vw,88px);   top: 12%;    left: 2%;   animation: floatBee 4.8s ease-in-out .4s infinite; }
.card-kazi  .team-bee { width: clamp(68px,10vw,104px); top: 5%;     right: 8%;  animation: floatBee 3.9s ease-in-out .2s infinite; }
.card-alexa .team-bee { width: clamp(60px,8vw,88px);   bottom: 22%; left: 4%;   animation: floatBee 5.1s ease-in-out .6s infinite; }
@keyframes floatBee {
  0%, 100% { transform: translateY(0)    rotate(-5deg); }
  50%       { transform: translateY(-14px) rotate(5deg); }
}

.team-info { display: flex; flex-direction: column; }
.team-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--onyx);
  margin-bottom: 8px;
}
.team-role {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--honey);
  background: var(--honey-dim);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.team-divider {
  width: 36px;
  height: 3px;
  background: var(--honey);
  border-radius: 2px;
  margin-bottom: 20px;
}
.team-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: rgba(15,17,12,.6);
}

/* =============================================
   SERVICII (Services)
============================================= */
#servicii { background: var(--lavender); }
.servicii-header { text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }
.servicii-header .section-title { margin-top: 12px; }

/* Tabs */
.tab-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(15,17,12,.12);
  background: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: rgba(15,17,12,.5);
  transition: all .25s;
}
.tab-btn:hover { border-color: rgba(15,17,12,.25); color: var(--onyx); }
.tab-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.tab-btn[data-tab="copii"].active {
  background: rgba(128,255,114,.15);
  border-color: var(--mint);
  color: #236b1a;
}
.tab-btn[data-tab="adolescenti"].active {
  background: rgba(115,210,222,.15);
  border-color: var(--frosted);
  color: #12697a;
}
.tab-btn[data-tab="parinti"].active {
  background: rgba(251,177,60,.12);
  border-color: var(--honey);
  color: #7a4800;
}

.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: panelIn .38s ease both;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  border: 1px solid rgba(15,17,12,.06);
  box-shadow: var(--shadow-xs);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.s-copii       .service-icon { background: rgba(128,255,114,.15); }
.s-adolescenti .service-icon { background: rgba(115,210,222,.15); }
.s-parinti     .service-icon { background: rgba(251,177,60,.10);  }
.service-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--onyx);
}
.service-bar {
  width: 28px; height: 3px;
  border-radius: 2px;
  margin-top: 14px;
}
.s-copii       .service-bar { background: var(--mint); }
.s-adolescenti .service-bar { background: var(--frosted); }
.s-parinti     .service-bar { background: var(--honey); }

/* =============================================
   CONTACT
============================================= */
#contact { background: var(--onyx); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.contact-text .section-label { color: var(--honey); background: rgba(251,177,60,.12); }
.contact-text .section-title { color: var(--lavender); margin-top: 12px; }
.contact-lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(253,236,239,.65);
  margin-top: 20px;
  margin-bottom: 36px;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-wa:hover {
  background: #1bba5b;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,.35);
}
.btn-wa svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(253,236,239,.05);
  border: 1px solid rgba(253,236,239,.09);
  border-radius: var(--radius-md);
  transition: background .2s;
}
.contact-item:hover { background: rgba(253,236,239,.09); }
.c-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(251,177,60,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-icon svg {
  width: 20px; height: 20px;
  stroke: var(--honey);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c-label {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 5px;
}
.c-value {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--lavender);
  line-height: 1.55;
}
.c-value a { transition: color .2s; }
.c-value a:hover { color: var(--honey); }

/* =============================================
   FOOTER
============================================= */
footer {
  position: relative;
  z-index: 1;
  background: var(--onyx);
  border-top: 1px solid rgba(253,236,239,.07);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo img { height: 63px; width: auto; }
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(253,236,239,.45);
  transition: color .2s;
}
.footer-links a:hover { color: var(--honey); }
.footer-copy {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(253,236,239,.28);
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 960px) {
  #despre { padding-bottom: 0; }
  .despre-text { max-width: 100%; }
  .despre-image {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin-top: 48px;
  }
  .team-card, .team-card.flip {
    grid-template-columns: 1fr;
  }
  .team-card.flip .team-visual { order: 0; }
  .team-card.flip .team-info   { order: 0; }
  .team-visual { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(253,236,239,.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 40px var(--pad-inline);
    gap: 24px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { font-size: 22px; color: var(--onyx) !important; }
  .nav-toggle { display: flex; }
  .hero-logo { width: clamp(160px, 65vw, 280px); }
  .despre-stats { gap: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
