/* ==========================================================================
   Asociația Alpha Leadership — one-page rebuild
   ========================================================================== */

:root {
  --blue: #539ee4;
  --blue-dark: #3f7fbf;
  --orange: #d8613c;
  --ink: #111111;
  --ink-soft: #444444;
  --bg-light: #f8f8f8;
  --border: #e3e3e3;
  --font-serif: "Cardo", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1100px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 780px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo img {
  height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  text-decoration: none;
  border-bottom-color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.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); }

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
  scroll-margin-top: 90px;
}

.alt-section {
  background: var(--bg-light);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--blue);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  text-align: center;
  margin: 0 0 48px;
}

.subtitle {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  text-align: center;
  margin: 56px 0 28px;
}

h3.ce-trebuie {
  font-family: var(--font-serif);
  color: var(--blue);
  text-align: center;
  font-size: 1.6rem;
  margin: 40px 0 16px;
}

p { margin: 0 0 18px; color: var(--ink-soft); }

.hero-section .container.narrow > p,
.alt-section .container.narrow > p {
  color: var(--ink-soft);
}

.pull-quote {
  font-style: italic;
  font-size: 1.15rem;
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 22px;
  margin: 0 0 32px;
  color: var(--ink);
}

.pull-quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 6px;
  color: var(--blue-dark);
}

.pull-quote.small {
  font-size: 1rem;
  background: var(--bg-light);
  padding: 20px 22px;
  border-radius: var(--radius);
}

.closing-statement {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--blue-dark);
  padding-top: 20px;
}

.closing-statement p { color: inherit; margin: 0; }

/* ---------- Cards grid (principii + proiecte) ---------- */

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

.mini-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}

.mini-card .letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}

.mini-card p {
  font-size: 0.92rem;
  margin: 0;
  color: var(--ink-soft);
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px;
  font-weight: 600;
  text-align: center;
}

/* ---------- Checklist ---------- */

.check-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 780px;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  background: var(--blue);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
}

.testimonial {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
}

.alt-section .testimonial { background: var(--bg-light); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 14px 28px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  width: 100%;
  max-width: 480px;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  text-decoration: none;
}

.highlight-orange {
  color: var(--orange);
  font-weight: 600;
  text-align: center;
  margin: 28px 0 12px;
}

.emphasis {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
}

.info-box {
  margin-top: 40px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-box ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.info-box li { margin-bottom: 8px; color: var(--ink-soft); }

/* ---------- Partners ---------- */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
  align-items: center;
  justify-items: center;
}

.partners-grid img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.partners-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info p { margin-bottom: 10px; }

.contact-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.contact-form .subtitle { margin-top: 0; margin-bottom: 20px; }

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fafafa;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.contact-form .btn { width: auto; align-self: flex-start; }

.form-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--blue-dark);
  min-height: 1.2em;
}

.form-note.error { color: var(--orange); }

/* Honeypot anti-spam: ascuns vizual, dar accesibil boților care nu respectă CSS */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px 24px;
}

.footer-brand img { height: 60px; margin-bottom: 12px; }
.footer-brand p { color: var(--ink-soft); margin: 0; }

.footer-contact p { margin: 0 0 8px; color: var(--ink-soft); font-size: 0.95rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #888;
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}

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

.back-to-top:hover { background: var(--blue-dark); text-decoration: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.open { max-height: 320px; }

  .nav-link {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
  }

  .nav-link.active, .nav-link:hover {
    border-bottom: 1px solid var(--border);
    border-left: 3px solid var(--blue);
    background: #fff;
  }

  .section { padding: 52px 0; }
  .subtitle { margin: 40px 0 22px; }
  .logo img { height: 44px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section-title { font-size: 1.9rem; }
  .btn { width: 100%; }
}
