/* ============================================================
   Asociația Oxigen — main.css
   Paleta brandului: verde frunză #7CB342 · verde pădure #1B4332 · albastru cer #29B6F6
   ============================================================ */

:root {
  --leaf: #7cb342;
  --leaf-light: #aed581;
  --leaf-dark: #689f38;
  --forest: #1b4332;
  --forest-dark: #10281e;
  --forest-light: #2d6a4f;
  --oxsky: #29b6f6;
  --oxsky-dark: #0288d1;
  --mist: #f1f8e9;
  --white: #ffffff;
  --text: #17281f;
  --radius: 1rem;
  --shadow-sm: 0 1px 3px rgba(16, 40, 30, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(16, 40, 30, 0.18);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #fafdf6;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); margin: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--leaf-dark); }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; font-weight: 700; font-size: .95rem;
  padding: .95rem 1.9rem; text-decoration: none; border: none; cursor: pointer;
  transition: all .25s ease; font-family: var(--font-body);
}
.btn-primary { background: var(--leaf); color: #fff; box-shadow: 0 10px 25px -8px rgba(124,179,66,.5); }
.btn-primary:hover { background: var(--leaf-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-leaf-outline { border: 2px solid var(--leaf); color: var(--leaf-dark); background: transparent; }
.btn-leaf-outline:hover { background: var(--leaf); color: #fff; }
.btn svg, .btn .dashicons { width: 1.1em; height: 1.1em; }

/* ---------- Etichete secțiuni ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  color: var(--leaf-dark);
}
.kicker-light { color: var(--leaf-light); }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0; transition: all .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(16,40,30,.08);
  padding: .5rem 0;
}
.navbar { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; transition: color .3s; line-height: 1.2; }
.brand-name span { color: var(--leaf); }
.brand-tag { font-size: .68rem; color: rgba(255,255,255,.7); display: block; transition: color .3s; }
.scrolled .brand-name { color: var(--forest); }
.scrolled .brand-tag { color: rgba(27,67,50,.6); }

.nav-menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: .5rem 1rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.9); text-decoration: none;
  transition: all .2s;
}
.nav-menu a:hover { background: rgba(255,255,255,.1); color: #fff; }
.scrolled .nav-menu a { color: var(--forest); }
.scrolled .nav-menu a:hover { background: var(--mist); color: var(--leaf-dark); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.search-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; transition: all .2s;
}
.search-toggle:hover { background: var(--leaf); }
.scrolled .search-toggle { background: var(--mist); color: var(--forest); }
.scrolled .search-toggle:hover { background: var(--leaf); color: #fff; }
.nav-cta { display: none; }
.menu-toggle {
  display: inline-flex; background: none; border: none; color: #fff; cursor: pointer; padding: .25rem;
}
.scrolled .menu-toggle { color: var(--forest); }

.mobile-menu {
  display: none; background: #fff; box-shadow: 0 20px 30px rgba(0,0,0,.15);
  position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .8rem 0; border-bottom: 1px solid var(--mist);
  color: var(--forest); font-weight: 500; font-size: .95rem; text-decoration: none;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: .8rem; width: 100%; }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .nav-cta { display: inline-flex; }
}
@media (max-width: 1023px) {
  .nav-menu { display: none; }
}

/* ---------- Overlay căutare ---------- */
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(16,40,30,.7); backdrop-filter: blur(4px);
  padding: 6rem 1rem 1rem;
}
.search-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.search-box {
  width: 100%; max-width: 42rem; background: #fff; border-radius: 1.5rem;
  overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.search-box form { display: flex; align-items: center; gap: .75rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--mist); }
.search-box input[type="search"] {
  flex: 1; border: none; outline: none; font-size: 1.1rem; color: var(--forest); background: transparent;
}
.search-box .search-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--mist); color: rgba(27,67,50,.6);
}
.search-box .search-close:hover { background: var(--leaf); color: #fff; }
.search-hint { padding: .7rem 1.5rem; font-size: .78rem; color: rgba(27,67,50,.5); background: rgba(241,248,233,.6); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(16,40,30,.9), rgba(27,67,50,.6), rgba(27,67,50,.2)),
              linear-gradient(to top, rgba(16,40,30,.7), transparent);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 8rem 0 6rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(174,213,129,.4); background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px); border-radius: 999px; padding: .5rem 1rem;
  font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.9);
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.05;
  color: #fff; margin-top: 1.5rem; letter-spacing: -.02em;
}
.hero h1 .accent {
  display: block;
  background: linear-gradient(to right, var(--leaf-light), var(--leaf), var(--oxsky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { max-width: 36rem; font-size: 1.15rem; color: rgba(255,255,255,.85); margin-top: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); animation: bob 2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.anim-fade-up { animation: fadeUp .9s ease-out both; }

/* ============================================================
   STATISTICI
   ============================================================ */
.stats { position: relative; z-index: 5; margin-top: -4rem; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--mist); border-radius: 1.5rem; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stat { background: #fff; padding: 2rem 1.5rem; text-align: center; }
.stat-value {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: var(--leaf-dark);
}
.stat-label { font-size: .9rem; font-weight: 600; color: var(--forest); margin-top: .4rem; }
.stat-note { font-size: .75rem; color: rgba(27,67,50,.5); }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   SECȚIUNI GENERALE
   ============================================================ */
.section { padding: 6rem 0; }
.section-mist { background: var(--mist); position: relative; overflow: hidden; }
.section-forest { background: var(--forest); position: relative; overflow: hidden; color: #fff; }
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em;
  color: var(--forest); margin-top: .75rem; line-height: 1.15;
}
.section-title .accent { color: var(--leaf); }
.section-forest .section-title { color: #fff; }
.section-forest .section-title .accent { color: var(--leaf-light); }
.section-lead { font-size: 1.1rem; color: rgba(27,67,50,.72); margin-top: 1rem; }
.section-forest .section-lead { color: rgba(255,255,255,.7); }
.section-head-center { max-width: 42rem; margin: 0 auto; text-align: center; }

/* ---------- Despre noi ---------- */
.about-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text p { font-size: 1.08rem; color: rgba(27,67,50,.75); }
.about-img { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 2rem; }
.about-img img { display: block; width: 100%; height: 16rem; object-fit: cover; transition: transform .7s; }
.about-img:hover img { transform: scale(1.05); }

.dir-card {
  display: flex; gap: 1rem; background: #fff; border: 1px solid rgba(124,179,66,.12);
  border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow-sm);
  transition: all .25s; margin-top: 1rem;
}
.dir-card:hover { transform: translateY(-4px); border-color: rgba(124,179,66,.35); box-shadow: var(--shadow-lg); }
.dir-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--leaf), var(--forest-light)); color: #fff;
}
.dir-card h4 { font-size: 1rem; font-weight: 700; color: var(--forest); }
.dir-card p { margin: .25rem 0 0; font-size: .88rem; color: rgba(27,67,50,.7); }
.dir-list-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--forest); margin-bottom: .5rem; }

/* ---------- Cursuri (secțiune) ---------- */
.courses-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 640px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .courses-grid { grid-template-columns: repeat(4, 1fr); } }
.course-card {
  display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  text-decoration: none; transition: all .3s;
}
.course-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.12); }
.course-card.highlight {
  background: linear-gradient(to bottom, var(--leaf), var(--leaf-dark));
  box-shadow: 0 0 0 2px rgba(174,213,129,.5), 0 25px 50px -12px rgba(124,179,66,.35);
}
.course-thumb { position: relative; height: 10rem; overflow: hidden; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.course-card:hover .course-thumb img { transform: scale(1.1); }
.course-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,40,30,.6), transparent); }
.course-badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  background: var(--leaf); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .25rem .75rem; border-radius: 999px;
}
.course-card.highlight .course-badge { background: #fff; color: var(--leaf-dark); }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.course-body h3 { color: #fff; font-size: 1.05rem; font-weight: 700; }
.course-cor { font-size: .72rem; font-weight: 600; color: rgba(174,213,129,.85); margin-top: .15rem; }
.course-body p { flex: 1; font-size: .86rem; color: rgba(255,255,255,.68); margin: .6rem 0 0; }
.course-card.highlight .course-body p { color: rgba(255,255,255,.85); }
.course-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem;
  font-size: .88rem; font-weight: 700; color: var(--leaf-light);
}
.course-card.highlight .course-link { color: #fff; }
.course-link svg { transition: transform .2s; }
.course-card:hover .course-link svg { transform: translateX(4px); }
.courses-note { text-align: center; color: rgba(255,255,255,.6); margin-top: 2.5rem; }
.courses-note a { color: var(--leaf-light); font-weight: 600; }

/* ---------- Proiecte ---------- */
.projects-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
.project-card {
  display: flex; flex-direction: column; border-radius: 1.5rem; overflow: hidden;
  background: var(--mist); box-shadow: var(--shadow-sm); transition: all .3s; text-decoration: none;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .project-card { flex-direction: row; } }
.project-thumb { position: relative; height: 13rem; overflow: hidden; }
@media (min-width: 640px) { .project-thumb { width: 40%; height: auto; } }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.project-card:hover .project-thumb img { transform: scale(1.1); }
.project-tag {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(27,67,50,.82); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .25rem .75rem; border-radius: 999px;
}
.project-body { flex: 1; padding: 1.5rem; display: flex; flex-direction: column; }
.project-date { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; color: var(--leaf-dark); }
.project-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--forest); margin-top: .5rem; }
.project-body p { flex: 1; font-size: .88rem; color: rgba(27,67,50,.7); margin: .5rem 0 0; }

/* ---------- Blog preview / cards ---------- */
.blog-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); box-shadow: inset 0 0 0 1px rgba(124,179,66,.1), var(--shadow-sm);
  text-decoration: none; transition: all .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb { position: relative; height: 12rem; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.post-card:hover .post-thumb img { transform: scale(1.1); }
.post-cat {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(27,67,50,.82); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .25rem .75rem; border-radius: 999px;
}
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }
.post-date { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; color: var(--leaf-dark); }
.post-body h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--forest); margin-top: .5rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card:hover .post-body h3 { color: var(--leaf-dark); }
.post-read {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  font-size: .85rem; font-weight: 700; color: var(--leaf-dark);
}
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }

/* ---------- Implică-te ---------- */
.involved { position: relative; overflow: hidden; }
.involved-bg { position: absolute; inset: 0; }
.involved-bg img { width: 100%; height: 100%; object-fit: cover; }
.involved-bg::after { content: ''; position: absolute; inset: 0; background: rgba(16,40,30,.85); }
.involved .container { position: relative; z-index: 2; }
.involved-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 1024px) { .involved-grid { grid-template-columns: 1fr 1fr; } }
.involved-card {
  border-radius: 1.5rem; padding: 2.5rem;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  backdrop-filter: blur(10px); transition: background .3s;
}
.involved-card:hover { background: rgba(255,255,255,.15); }
.involved-icon {
  width: 56px; height: 56px; border-radius: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--leaf); color: #fff;
}
.involved-icon.sky { background: var(--oxsky); }
.involved-card h3 { color: #fff; font-size: 1.5rem; font-weight: 700; margin-top: 1.5rem; }
.involved-card p { color: rgba(255,255,255,.75); margin: .8rem 0 0; }
.involved-card .btn { margin-top: 1.5rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  display: block; background: #fff; border: 1px solid rgba(124,179,66,.15);
  border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-sm);
  text-decoration: none; transition: all .25s; height: 100%;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-icon {
  width: 48px; height: 48px; border-radius: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(124,179,66,.12); color: var(--leaf-dark); transition: all .25s;
}
.contact-card:hover .contact-icon { background: var(--leaf); color: #fff; }
.contact-card h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: rgba(27,67,50,.6); margin-top: 1rem; }
.contact-card p { font-family: var(--font-display); font-weight: 700; color: var(--forest); margin: .25rem 0 0; word-break: break-all; font-size: .98rem; }

.form-panel {
  max-width: 48rem; margin: 3.5rem auto 0; background: #fff; border-radius: 1.5rem;
  padding: 2.5rem; box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) { .form-panel { padding: 1.5rem; } }

/* ---------- Formulare ---------- */
.ox-form .form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .ox-form .form-row.two { grid-template-columns: 1fr 1fr; } }
.ox-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--forest); margin-bottom: .4rem; }
.ox-form label .req { color: var(--leaf-dark); }
.ox-form .field { position: relative; }
.ox-form .field svg {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: rgba(27,67,50,.4); pointer-events: none;
}
.ox-form input[type="text"], .ox-form input[type="email"], .ox-form input[type="date"], .ox-form textarea {
  width: 100%; border: 1px solid rgba(124,179,66,.25); border-radius: .8rem;
  background: rgba(241,248,233,.5); padding: .8rem 1rem .8rem 2.75rem;
  font-size: .95rem; color: var(--forest); outline: none; transition: all .2s;
  font-family: var(--font-body);
}
.ox-form textarea { padding: .8rem 1rem; resize: vertical; min-height: 130px; }
.ox-form input:focus, .ox-form textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(124,179,66,.2); }
.ox-form input.error, .ox-form textarea.error { border-color: #ef5350; }
.ox-form .field-error { font-size: .75rem; font-weight: 500; color: #e53935; margin-top: .25rem; }

.upload-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  width: 100%; border: 2px dashed rgba(124,179,66,.35); border-radius: 1rem;
  background: rgba(241,248,233,.6); padding: 2.5rem 1.5rem; cursor: pointer; transition: all .2s;
  text-align: center;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--leaf); background: rgba(124,179,66,.08); }
.upload-zone .upload-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(124,179,66,.15); color: var(--leaf-dark);
}
.upload-zone strong { font-size: .9rem; color: var(--forest); }
.upload-zone strong span { color: var(--leaf-dark); text-decoration: underline; }
.upload-zone small { font-size: .75rem; color: rgba(27,67,50,.5); }
.upload-preview {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid rgba(124,179,66,.25); border-radius: 1rem;
  background: rgba(241,248,233,.6); padding: 1rem;
}
.upload-preview img { width: 64px; height: 64px; border-radius: .75rem; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(124,179,66,.3); }
.upload-preview .file-name { font-size: .88rem; font-weight: 600; color: var(--forest); word-break: break-all; }
.upload-preview .file-size { font-size: .75rem; color: rgba(27,67,50,.5); }
.upload-remove {
  margin-left: auto; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  border: none; cursor: pointer; background: #fff; color: rgba(27,67,50,.5);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.upload-remove:hover { background: #ffebee; color: #e53935; }

.form-notice {
  display: flex; gap: .5rem; font-size: .75rem; color: rgba(27,67,50,.55);
  margin-top: 1rem; line-height: 1.5;
}
.form-notice svg { flex-shrink: 0; margin-top: 2px; }
.form-alert {
  border-radius: 1rem; padding: 1.5rem; text-align: center; margin-bottom: 1.5rem;
}
.form-alert.success { background: var(--mist); border: 1px solid rgba(124,179,66,.4); }
.form-alert.error { background: #fef3f2; border: 1px solid #fecaca; }
.form-alert h4 { font-size: 1.2rem; color: var(--forest); }
.form-alert p { font-size: .9rem; color: rgba(27,67,50,.7); margin: .5rem 0 0; }
.form-alert.error h4 { color: #c62828; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--forest-dark); color: #fff; }
.footer-grid { display: grid; gap: 3rem; padding: 4rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand img { height: 48px; }
.footer-brand .brand-name { color: #fff; }
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.65); margin-top: 1.25rem; max-width: 22rem; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); transition: all .2s;
}
.footer-social a:hover { background: var(--leaf); color: #fff; }
.footer-title {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  color: var(--leaf-light); margin-bottom: 1.25rem;
}
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: .7rem 0; }
.footer-nav a { color: rgba(255,255,255,.65); font-size: .9rem; text-decoration: none; }
.footer-nav a:hover { color: var(--leaf-light); }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: .75rem; margin: 1rem 0; font-size: .9rem; color: rgba(255,255,255,.65); }
.footer-contact svg { flex-shrink: 0; color: var(--leaf-light); margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.1); padding: 2rem 0;
  font-size: .75rem; color: rgba(255,255,255,.5);
}

/* ============================================================
   PAGINA CURS (single-curs)
   ============================================================ */
.course-hero { background: var(--forest); padding: 9rem 0 6rem; position: relative; overflow: hidden; }
.course-hero-grid { display: grid; gap: 3rem; align-items: center; position: relative; z-index: 2; }
@media (min-width: 1024px) { .course-hero-grid { grid-template-columns: 1fr 1fr; } }
.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 600; color: var(--leaf-light); text-decoration: none;
}
.back-link:hover { color: var(--leaf); }
.course-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.badge-leaf {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--leaf); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .35rem 1rem; border-radius: 999px;
}
.badge-outline {
  background: rgba(255,255,255,.1); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .35rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.course-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin-top: 1.25rem; line-height: 1.1; }
.course-tagline { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--leaf-light); margin-top: .75rem; }
.course-intro { color: rgba(255,255,255,.78); margin-top: 1.25rem; }
.course-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.course-hero-img { position: relative; }
.course-hero-img .img-wrap { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.course-hero-img img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.course-quick {
  position: absolute; bottom: -2rem; right: 0; width: 85%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--mist); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-lg);
}
.course-quick > div { display: flex; align-items: center; gap: .75rem; background: #fff; padding: 1rem 1.25rem; }
.course-quick svg { color: var(--leaf-dark); flex-shrink: 0; }
.course-quick small { display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase; color: rgba(27,67,50,.5); }
.course-quick strong { font-size: .85rem; color: var(--forest); line-height: 1.3; }

.course-content-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .course-content-grid { grid-template-columns: 2fr 1fr; } }
.course-block { margin-bottom: 3rem; }
.course-block h2 {
  display: flex; align-items: center; gap: .75rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; color: var(--forest);
}
.course-block h2 .block-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--leaf); color: #fff;
}
.course-block h2 .block-icon.forest { background: var(--forest-light); }
.course-block h2 .block-icon.sky { background: var(--oxsky); }
.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.check-list li {
  display: flex; gap: .75rem; background: #fff; border-radius: 1rem;
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); margin: .8rem 0;
  color: rgba(27,67,50,.8);
}
.check-list.plain li { background: none; box-shadow: none; padding: .4rem 0; margin: .25rem 0; border-radius: 0; }
.check-list svg { flex-shrink: 0; color: var(--leaf); margin-top: 3px; }
.check-list.plain svg { color: var(--oxsky); }
.comp-grid { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .comp-grid { grid-template-columns: 1fr 1fr; } }
.comp-item {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border: 1px solid rgba(124,179,66,.18); border-radius: .8rem;
  padding: .85rem 1rem; font-size: .9rem; font-weight: 500; color: var(--forest);
  box-shadow: var(--shadow-sm); transition: all .2s;
}
.comp-item:hover { border-color: rgba(124,179,66,.45); box-shadow: var(--shadow-lg); }
.comp-item::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }

.enroll-card {
  background: #fff; border-radius: 1.5rem; overflow: hidden;
  box-shadow: var(--shadow-lg); box-shadow: inset 0 0 0 1px rgba(124,179,66,.15), var(--shadow-lg);
}
@media (min-width: 1024px) { .enroll-aside { position: sticky; top: 7rem; align-self: start; } }
.enroll-card .enroll-head { background: linear-gradient(to right, var(--leaf), var(--leaf-dark)); padding: 1.25rem 1.75rem; }
.enroll-card .enroll-head h3 { color: #fff; font-size: 1.1rem; font-weight: 700; }
.enroll-card .enroll-body { padding: 1.75rem; }
.enroll-row { display: flex; gap: .75rem; margin-bottom: 1.25rem; }
.enroll-row svg { flex-shrink: 0; color: var(--leaf-dark); margin-top: 2px; }
.enroll-row small { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; color: rgba(27,67,50,.5); }
.enroll-row strong { color: var(--forest); font-size: .95rem; }
.enroll-row .price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--leaf-dark); }
.enroll-row p { margin: .25rem 0 0; font-size: .85rem; color: rgba(27,67,50,.75); }
.enroll-row ul { margin: .5rem 0 0; padding: 0; list-style: none; }
.enroll-row ul li { display: flex; gap: .5rem; font-size: .85rem; color: rgba(27,67,50,.8); margin: .35rem 0; }
.enroll-row ul li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); margin-top: 7px; }
.enroll-body .btn { width: 100%; }

.enroll-section { background: #fff; }
.enroll-form-wrap {
  margin-top: 2.5rem; background: rgba(241,248,233,.6); border-radius: 1.5rem;
  padding: 2.5rem; box-shadow: inset 0 0 0 1px rgba(124,179,66,.15), var(--shadow-lg);
}
@media (max-width: 640px) { .enroll-form-wrap { padding: 1.5rem; } }

/* ============================================================
   BLOG (home.php / archive / search)
   ============================================================ */
.page-hero { background: var(--forest); padding: 9rem 0 4rem; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-top: 1.25rem; }
.page-hero .lead { color: rgba(255,255,255,.72); margin-top: .5rem; }
.page-hero-icon {
  width: 48px; height: 48px; border-radius: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--leaf); color: #fff;
}

.blog-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.blog-search { position: relative; width: 100%; max-width: 26rem; }
.blog-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(27,67,50,.4); width: 18px; height: 18px; }
.blog-search input {
  width: 100%; border: 1px solid rgba(124,179,66,.25); border-radius: 999px;
  background: #fff; padding: .75rem 1rem .75rem 2.75rem; font-size: .95rem;
  color: var(--forest); outline: none; box-shadow: var(--shadow-sm); font-family: var(--font-body);
}
.blog-search input:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(124,179,66,.2); }
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-pills a {
  padding: .45rem 1rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
  background: #fff; color: rgba(27,67,50,.7); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(124,179,66,.25); transition: all .2s;
}
.cat-pills a:hover { background: rgba(124,179,66,.12); color: var(--forest); }
.cat-pills a.active { background: var(--leaf); color: #fff; box-shadow: 0 4px 12px rgba(124,179,66,.35); }
.results-count { font-size: .9rem; color: rgba(27,67,50,.6); margin: 0 0 2rem; }

.pagination { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .9rem; border-radius: 999px;
  background: #fff; color: var(--forest); font-weight: 700; font-size: .9rem;
  text-decoration: none; box-shadow: inset 0 0 0 1px rgba(124,179,66,.25); transition: all .2s;
}
.pagination .page-numbers:hover { background: var(--leaf); color: #fff; }
.pagination .page-numbers.current { background: var(--leaf); color: #fff; }
.pagination .page-numbers.dots { background: none; box-shadow: none; }

/* ---------- Articol (single.php) ---------- */
.post-hero { background: var(--forest); padding: 9rem 0 6rem; position: relative; overflow: hidden; }
.post-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-top: 1.25rem; max-width: 56rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.post-meta .badge-leaf { margin: 0; }
.post-meta time { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.7); font-size: .9rem; }
.post-featured { margin-top: -4rem; position: relative; z-index: 3; }
.post-featured .img-wrap { border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-lg); }
.post-featured img { display: block; width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.post-content {
  background: #fff; border-radius: 1.5rem; padding: 2.5rem;
  box-shadow: var(--shadow-sm); box-shadow: inset 0 0 0 1px rgba(124,179,66,.1), var(--shadow-sm);
  margin-top: 3rem; font-size: 1.05rem; line-height: 1.8; color: #223c30;
}
@media (min-width: 640px) { .post-content { padding: 2.5rem 3rem; } }
.post-content h1, .post-content h2, .post-content h3, .post-content h4 { color: var(--forest); margin: 1.6em 0 .6em; line-height: 1.3; }
.post-content p { margin: 1em 0; }
.post-content a { color: var(--leaf-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-content img { border-radius: 1rem; margin: 1.5em auto; display: block; }
.post-content blockquote {
  border-left: 4px solid var(--leaf); background: var(--mist);
  border-radius: 0 .75rem .75rem 0; padding: 1em 1.25em; margin: 1.5em 0; font-style: italic;
}
.post-content ul, .post-content ol { margin: 1em 0; padding-left: 1.5em; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.post-content td, .post-content th { border: 1px solid #d9e8c9; padding: .6em .8em; }
.post-content th { background: var(--mist); }
.post-content .wp-caption, .post-content figure { margin: 1.5em 0; max-width: 100%; }
.post-content .wp-caption-text, .post-content figcaption { text-align: center; font-size: .85rem; color: rgba(27,67,50,.55); margin-top: .5em; }

.post-pn { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .post-pn { grid-template-columns: 1fr 1fr; } }
.post-pn a {
  display: block; background: #fff; border-radius: 1rem; padding: 1.25rem;
  text-decoration: none; box-shadow: inset 0 0 0 1px rgba(124,179,66,.18);
  transition: all .25s;
}
.post-pn a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-pn a.next { text-align: right; }
.post-pn small { display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--leaf-dark); }
.post-pn strong { display: block; font-family: var(--font-display); color: var(--forest); margin-top: .5rem; font-size: .98rem; line-height: 1.35; }

.related { margin-top: 3.5rem; }
.related h2 { font-size: 1.6rem; font-weight: 800; color: var(--forest); }
.related h2 span { color: var(--leaf); }
.related-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: block; background: #fff; border-radius: 1rem; overflow: hidden;
  text-decoration: none; box-shadow: inset 0 0 0 1px rgba(124,179,66,.12), var(--shadow-sm);
  transition: all .25s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-card .thumb { height: 8rem; overflow: hidden; }
.related-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.related-card:hover .thumb img { transform: scale(1.1); }
.related-card .body { padding: 1rem; }
.related-card time { font-size: .72rem; font-weight: 600; color: var(--leaf-dark); }
.related-card strong {
  display: block; font-size: .88rem; color: var(--forest); margin-top: .35rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.no-results { background: #fff; border-radius: 1.5rem; padding: 3rem; text-align: center; margin-top: 2rem; }
.no-results h2 { color: var(--forest); font-size: 1.4rem; }
.no-results p { color: rgba(27,67,50,.6); }

/* ---------- Animații la scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: var(--leaf); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--leaf-dark); }

/* ---------- Ajustări WordPress ---------- */
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
