/* ------------------------------------------------------
   CircularPack – contact.css
   Pagina contact: text scurt + formular principal
------------------------------------------------------- */

/* Accente text (fallback – în caz că nu vin din alt CSS) */
.highlight-green{
  background: linear-gradient(90deg,#009c3b,#007a2f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 650;
}

.highlight-gold{
  background: linear-gradient(90deg,#d59c2b,#f1c564);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 650;
}

.section-kicker{
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 650;
  margin: 0 0 .4rem;
}

/* ================= HERO CONTACT ================= */

.hero-contact-inner{
  display:grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1.25fr);
  gap: clamp(1.8rem,3vw,2.6rem);
  align-items:flex-start;
}

/* col stânga */
.hero-contact-text{
  max-width: 40rem;
}

.hero-contact-text .lead{
  margin-bottom: 1rem;
}

/* META CARDS – email / telefon / program */
.hero-contact-meta{
  list-style:none;
  padding:0;
  margin:1rem 0 .7rem;

  /* carduri lungi, auto-fit 2–3 coloane */
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:.9rem;
}

.hero-contact-meta li{
  position:relative;
  padding:.65rem .9rem .75rem 1.15rem;
  border-radius:12px;

  background:
    radial-gradient(circle at 0 0, rgba(0,156,59,0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(213,156,43,0.06), transparent 60%),
    #ffffff;
  border:1px solid rgba(210,214,220,0.95);
  box-shadow:
    0 10px 24px rgba(15,23,42,0.08),
    0 2px 6px rgba(15,23,42,0.04);
}

/* bară verde-aurie în stânga: pata de culoare */
.hero-contact-meta li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55rem;
  bottom:.55rem;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,#009c3b,#d59c2b);
}

.meta-label{
  display:block;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#6b7280;
  margin-bottom:.08rem;
}

.hero-contact-meta a,
.hero-contact-meta span{
  display:block;
  font-size:.95rem;
  font-weight:600;
  color:#0b1320;
  text-decoration:none;
  white-space: nowrap;          /* email/telefon pe un singur rând pe desktop */
}

.hero-contact-meta a:hover{
  color:var(--accent);
}

.hero-contact-badges{
  margin-top:.3rem;
}

/* pe ecrane foarte înguste, permitem wrap */
@media (max-width: 480px){
  .hero-contact-meta a,
  .hero-contact-meta span{
    white-space: normal;
  }
}

/* ================= FORMULAR – CARD PREMIUM ================= */

.contact-form-card-hero{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.6rem 1.7rem 1.8rem;

  background:
    radial-gradient(circle at 0 0, rgba(34,197,94,0.12), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(213,156,43,0.12), transparent 60%),
    #ffffff;
  border: 1px solid rgba(209,213,219,0.95);
  box-shadow:
    0 22px 50px rgba(15,23,42,0.14),
    0 4px 12px rgba(15,23,42,0.06);
}

/* contur gradient pe muchii */
.contact-form-card-hero::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,#009c3b,#d59c2b);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:.55;
  pointer-events:none;
}

.contact-form-card-hero h2{
  margin:0 0 .25rem;
}

.contact-form-lead{
  margin:0 0 1.2rem;
}

/* ===== GRID SIMETRIC PE DOUĂ COLOANE ===== */

.contact-form{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1rem;
  margin-top: .3rem;
}

/* câmpuri: jumătate / full */
.contact-field{
  display:flex;
  flex-direction:column;
  gap:.28rem;
}

.contact-field--half{
  grid-column: span 1;
}

.contact-field--full{
  grid-column: 1 / -1;
}

/* etichete */
.contact-field label{
  font-size:.9rem;
  font-weight:600;
  color:#0b1320;
  letter-spacing:.03em;
}

/* input / select / textarea */
.contact-field input,
.contact-field select,
.contact-field textarea{
  border-radius: 12px;
  border: 1px solid rgba(209,213,219,0.98);
  padding:.7rem .85rem;
  font-size:.98rem;
  background:#f9fafb;
  color:#0b1320;
  font-family:inherit;
  transition:
    border-color .15s ease,
    box-shadow .18s ease,
    background-color .15s ease,
    transform .08s ease;
}

/* SELECT – stil premium + text mai vizibil */
.contact-field select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  padding:.7rem 2.4rem .7rem .9rem;
  font-size:1rem;
  font-weight:550;
  line-height:1.3;
  background:#f9fafb;
  color:#020617;
  cursor:pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 11px) calc(50% - 3px);
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
}

/* textarea */
.contact-field textarea{
  resize:vertical;
  min-height:120px;
}

/* placeholder */
.contact-field input::placeholder,
.contact-field textarea::placeholder{
  color:#9ca3af;
}

/* focus – verde + shadow */
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus{
  outline:none;
  border-color:var(--accent);
  background:#ffffff;
  box-shadow:
    0 0 0 1px rgba(14,163,94,0.25),
    0 12px 26px rgba(15,23,42,0.15);
  transform:translateY(-1px);
}

/* helper text sub câmp (ex. la tip soluție) */
.contact-help{
  margin:.25rem 0 0;
  font-size:.82rem;
  color:#6b7280;
}

/* ===== CONSIMȚĂMÂNT & BUTON ===== */

.contact-consent{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
  font-size:.9rem;
}

/* full width în grid */
.contact-consent--full{
  grid-column: 1 / -1;
}

.contact-consent input[type="checkbox"]{
  margin-top:.22rem;
}

.contact-consent span{
  color:#111827;
}

.contact-consent--optional span{
  color:#4b5563;
}

.contact-actions{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:.2rem;
}

.contact-actions--full{
  grid-column: 1 / -1;
}

.contact-footnote{
  margin:0;
  font-size:.85rem;
  color:#6b7280;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 960px){
  .hero-contact-inner{
    grid-template-columns:minmax(0,1fr);
  }

  /* pe mobil: formularul primul */
  .contact-form-card-hero{
    order:-1;
  }
}

@media (max-width: 900px){
  .contact-form{
    grid-template-columns: minmax(0,1fr);
  }

  .contact-field--half,
  .contact-field--full,
  .contact-consent--full,
  .contact-actions--full{
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px){
  .contact-form-card-hero{
    padding:1.25rem 1.1rem 1.4rem;
  }

  .hero-contact-meta{
    grid-template-columns:minmax(0,1fr);
  }
}
