/* =========================================
   MergeIT – Contact page (responsive + cleanup)
   Paletă: #61E786 #90EE90 #B6F3AF #D8FAD5 #28428D #142B70 + alb
   ========================================= */

:root{
  /* Paleta site */
  --g1:#61E786; --g2:#90EE90; --g3:#B6F3AF; --g4:#D8FAD5;
  --b1:#28428D; --b2:#142B70;
  --ink:#0E1530; --muted:#536079;
  --stroke:#E3F2E8; --card:#FFFFFF;

  /* Carduri translucide */
  --card-bg: rgba(216,250,213,.72);
  --card-brd: rgba(40,66,141,.16);
  --card-shadow: 0 10px 30px rgba(40,66,141,.14);

  /* Lățime container */
  --wrap: 900px;
}

/* ===== Head ===== */
.section-head h1{
  color:var(--b1); font-weight:900; margin:0 0 8px; text-align:center
}
.section-head p{
  color:rgba(20,43,112,.70); margin:0; text-align:center
}

/* ===== Layout ===== */
.contact-layout{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  max-width: var(--wrap);
  margin:0 auto;
  padding: 0 12px;
  justify-items:center;
}
@media (max-width: 980px){
  .contact-layout{ grid-template-columns: 1fr; }
}

/* Single-card helper (dacă alegi o singură coloană) */
.contact-layout.single{
  display:flex; justify-content:center;
}

/* ===== Card ===== */
.contact-card{
  width:100%;
  max-width: 720px;
  border:1px solid var(--card-brd);
  background: var(--card-bg);
  backdrop-filter: blur(8px) saturate(120%);
  border-radius:18px;
  padding:22px;
  box-shadow: var(--card-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
@media (hover:hover){
  .contact-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(40,66,141,.18);
  }
}

.contact-card.big{
  display:flex; gap:18px; align-items:center;
}
.contact-card.small{ align-self:start; }

/* ===== Badge (avatar) ===== */
.badge{
  width:70px; height:70px; border-radius:999px;
  display:grid; place-items:center;
  font-weight:800; color:var(--b2); font-size:28px;
  background: linear-gradient(145deg, var(--g3), var(--g2));
  border:1px solid rgba(40,66,141,.10);
  box-shadow:0 8px 18px rgba(40,66,141,.20);
}

/* ===== Text în card ===== */
.c-body{ min-width:0 } /* previne wrap ciudat */
.c-body h2{ margin:0 0 4px; color:var(--b2); font-size:26px; font-weight:900 }
.c-body .role{
  display:inline-flex; align-items:center; gap:8px;
  margin:0 0 10px; padding:6px 10px; border-radius:999px;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(40,66,141,.16);
  font-weight:700; color:var(--b2); font-size:13px;
}
.c-body .pitch{
  color:rgba(20,43,112,.85);
  margin:0 0 14px;
  font-size:16px; line-height:1.6;
}

/* ===== Acțiuni ===== */
.c-actions{ display:flex; gap:10px; flex-wrap:wrap }
.c-actions .btn{ min-width:150px; font-size:16px; padding:14px 24px }
.c-actions .btn.btn-primary{
  background: linear-gradient(90deg, var(--g1), var(--g2));
  color:#08310F; border:1px solid transparent;
  box-shadow:0 10px 28px rgba(97,231,134,.28);
}
@media (hover:hover){
  .c-actions .btn.btn-primary:hover{ filter:saturate(1.03) brightness(1.02) }
}
.c-actions .btn.btn-ghost{ border:1px solid var(--stroke); color:var(--b1) }

/* ===== Card mic ===== */
.contact-card.small h3{ margin:0 0 8px; color:var(--b1); font-size:18px }
.contact-card.small p{ margin:6px 0; color:var(--muted) }
.link{ color:var(--b2); text-decoration:none; font-weight:800 }
.link:hover{ text-decoration:underline }
.tel{ font-weight:900 }

/* ===== Callbar mobil (opțional) ===== */
@media (max-width: 700px){
  .callbar{
    position:fixed; left:12px; right:12px; bottom:12px; z-index:50;
    display:flex; gap:10px; justify-content:center;
  }
  .callbar .btn{ flex:1 }
}

/* ===== Footer push (pagină scurtă) ===== */
html, body{ height:100% }
body{ display:flex; flex-direction:column }
main.section{
  flex:1;
  display:flex; flex-direction:column; justify-content:center;
}

/* ===== Micro-tweaks pe ecrane mici ===== */
@media (max-width:560px){
  .contact-card{ padding:18px }
  .badge{ width:60px; height:60px; font-size:24px }
  .c-body h2{ font-size:22px }
  .c-actions .btn{ width:100%; min-width:0 }
}

.badge {
  width: 60px;            /* dimensiunea avatarului */
  height: 60px;
  border-radius: 50%;     /* cerc perfect */
  overflow: hidden;        /* taie poza care depășește cercul */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee; /* fallback */
  flex-shrink: 0;          /* să nu se micșoreze în layout */
}

.badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* umple containerul fără deformare */
  display: block;
}
