/* PEFA Adeziune */

.pefa-ad-hero .pefa-ad-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pefa-ad-btn,
.pefa-ad-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pefa-ad-btn {
  background: #c53030;
  color: #fff !important;
  border: none;
}

.pefa-ad-btn:hover {
  background: #9b2c2c;
  color: #fff !important;
  transform: translateY(-2px);
}

.pefa-ad-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.pefa-ad-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff !important;
}

/* Fallback hero */
header.pefa-ad-hero {
  background: linear-gradient(135deg, #0f2744 0%, #1a365d 55%, #2b6cb0 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.pefa-ad-hero .team-hero-badge,
.pefa-ad-hero .team-hero-title,
.pefa-ad-hero .team-hero-intro {
  color: #fff;
}

.pefa-ad-hero .team-hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.pefa-ad-hero .team-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
}

.pefa-ad-hero .team-hero-intro {
  max-width: 40rem;
  opacity: 0.92;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.pefa-ad-why,
.pefa-ad-steps,
.pefa-ad-form-section {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.pefa-ad-why .container,
.pefa-ad-steps .container,
.pefa-ad-form-section .container {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

.section-alt,
.pefa-ad-steps {
  background: #f7f9fc;
}

.pefa-ad-section-title {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.pefa-ad-section-title h2 {
  color: #1a365d;
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
}

.pefa-ad-section-title p {
  color: #4a5568;
  margin: 0;
  line-height: 1.6;
}

.pefa-ad-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.pefa-ad-benefit {
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pefa-ad-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 39, 68, 0.09);
}

.pefa-ad-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a365d, #2b6cb0);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.pefa-ad-benefit h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #1a365d;
}

.pefa-ad-benefit p {
  margin: 0;
  font-size: 0.94rem;
  color: #4a5568;
  line-height: 1.55;
}

.pefa-ad-steps-list {
  list-style: none;
  margin: 0 auto 1.75rem;
  padding: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pefa-ad-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(15, 39, 68, 0.07);
}

.pefa-ad-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a365d;
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.pefa-ad-step-text {
  padding-top: 0.35rem;
  color: #1a202c;
  line-height: 1.45;
}

.pefa-ad-steps-cta {
  text-align: center;
  margin: 0;
}

.pefa-ad-pdf-missing {
  text-align: center;
  color: #4a5568;
  font-size: 0.95rem;
  max-width: 32rem;
  margin: 0 auto;
}

.pefa-ad-form-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.pefa-ad-form-intro h2 {
  color: #1a365d;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.pefa-ad-form-intro p {
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.pefa-ad-form-notes {
  margin: 0;
  padding-left: 1.15rem;
  color: #4a5568;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pefa-ad-form-notes li {
  margin-bottom: 0.35rem;
}

.pefa-ad-form-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(15, 39, 68, 0.08);
  box-shadow: 0 16px 48px rgba(15, 39, 68, 0.08);
}

.pefa-ad-alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.15rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.pefa-ad-alert-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.pefa-ad-alert-err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.pefa-ad-field {
  margin-bottom: 1rem;
}

.pefa-ad-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 0.35rem;
}

.pefa-ad-field input[type="text"],
.pefa-ad-field input[type="email"],
.pefa-ad-field input[type="tel"],
.pefa-ad-field input[type="file"],
.pefa-ad-field textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fafbfc;
  color: #1a202c;
  font: inherit;
}

.pefa-ad-field input:focus,
.pefa-ad-field textarea:focus {
  outline: none;
  border-color: #2b6cb0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

.pefa-ad-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pefa-ad-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
  cursor: pointer;
  border: none;
}

.pefa-ad-hp {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

@media (max-width: 800px) {
  .pefa-ad-form-grid {
    grid-template-columns: 1fr;
  }
  .pefa-ad-field-row {
    grid-template-columns: 1fr;
  }
}
