/* ============================================================
   HirePoint — stiluri site (mobile-first)
   Culori brand: navy #1B3A6B · teal #1B9E9E
   ============================================================ */

:root {
  --navy: #1B3A6B;
  --navy-dark: #142C52;
  --teal: #1B9E9E;
  --teal-dark: #15807F;
  --teal-soft: #E4F4F4;
  --ink: #1F2E4A;
  --muted: #5C6B84;
  --line: #E3E9F0;
  --bg: #FFFFFF;
  --bg-soft: #F5F9FA;
  --radius: 16px;
  --shadow: 0 4px 18px rgba(27, 58, 107, 0.08);
  --shadow-lift: 0 10px 28px rgba(27, 58, 107, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(27, 158, 158, 0.35);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 8px 20px rgba(27, 158, 158, 0.45); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(27, 58, 107, 0.32);
}
.btn-navy:hover { background: var(--navy-dark); box-shadow: 0 8px 20px rgba(27, 58, 107, 0.42); }

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.btn-teal:hover { background: #23B5B5; }

.btn-big {
  font-size: 1.06rem;
  padding: 17px 34px;
  width: 100%;
  max-width: 420px;
}

.btn-small {
  font-size: 0.86rem;
  padding: 10px 20px;
  white-space: nowrap;
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px rgba(27, 58, 107, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { border-radius: 50%; }
.brand-name {
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.brand-name .hire { color: var(--navy); }
.brand-name .point { color: var(--teal); }

.main-nav { display: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.84rem;
}
.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 2px;
  transition: color 0.15s ease;
}
.lang-switch a:hover { color: var(--teal-dark); }
.lang-switch a.active { color: var(--navy); border-bottom: 2px solid var(--teal); }
.lang-switch span { color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 620px 420px at 85% -10%, rgba(27, 158, 158, 0.12), transparent 65%),
    radial-gradient(ellipse 560px 420px at 8% 108%, rgba(27, 58, 107, 0.10), transparent 65%),
    var(--bg);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 56px;
}
.hero-logo {
  width: 208px;
  height: 208px;
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 24px rgba(27, 58, 107, 0.16));
}
h1 {
  font-size: clamp(1.75rem, 6.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 21ch;
}
h1 .accent { color: var(--teal); }
.hero-sub {
  margin-top: 16px;
  margin-bottom: 28px;
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 54ch;
}
.hero-note {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}
.trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.trust-chips li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ---------- Secțiuni ---------- */
.section { padding: 58px 0; }
.section-soft { background: var(--bg-soft); }

h2 {
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 56ch;
  margin: 12px auto 36px;
}

/* ---------- Carduri „De ce HirePoint" ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p { font-size: 0.94rem; color: var(--muted); }

/* ---------- Roluri ---------- */
.roles-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.role {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.role-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(27, 58, 107, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.role-icon svg { width: 24px; height: 24px; }
.roles-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 26px;
}

/* ---------- Țări ---------- */
.countries-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.country {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.country:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.flag {
  display: inline-flex;
  flex-shrink: 0;
  width: 36px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  line-height: 0;
}
.flag svg { width: 36px; height: 24px; display: block; }

/* ---------- Pași ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
  counter-reset: step;
}
.step {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  box-shadow: var(--shadow);
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  box-shadow: 0 6px 14px rgba(27, 58, 107, 0.28);
}
.step h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p { font-size: 0.94rem; color: var(--muted); }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 2px;
  height: 18px;
  background: var(--teal);
  opacity: 0.5;
}
.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- WhatsApp — lista de joburi ---------- */
.wa-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 24px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.wa-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #E7F8EE;
  color: #1DAA55;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-icon svg { width: 32px; height: 32px; }
.wa-text {
  color: var(--muted);
  max-width: 46ch;
}
.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  margin-top: 6px;
}
.btn-wa:hover { background: #1EBE5B; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5); }
.wa-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buton WhatsApp flotant */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, background 0.2s ease;
}
.wa-float:hover { background: #1EBE5B; transform: scale(1.06); }
.wa-float:active { transform: scale(0.96); }

/* ---------- GDPR ---------- */
.section-gdpr { padding: 12px 0 34px; }
.gdpr-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--teal-soft);
  border: 1px solid rgba(27, 158, 158, 0.25);
  border-radius: var(--radius);
  padding: 20px 22px;
  max-width: 860px;
  margin: 0 auto;
}
.gdpr-icon {
  flex-shrink: 0;
  color: var(--teal-dark);
}
.gdpr-icon svg { width: 30px; height: 30px; }
.gdpr-box p { font-size: 0.9rem; color: var(--ink); }
.gdpr-box strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(27, 158, 158, 0.5);
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.contact-icon svg { width: 26px; height: 26px; }
.contact-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-value {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}

/* ---------- Bandă „Pentru companii" (pe paginile de muncitori) ---------- */
.clients-band {
  background: rgba(27, 58, 107, 0.05);
  border-top: 1px solid var(--line);
}
.clients-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding-top: 26px;
  padding-bottom: 26px;
}
.clients-band p { color: var(--ink); font-size: 0.95rem; }
.clients-band strong { color: var(--navy); }
.band-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
  transition: color 0.15s ease;
}
.band-link:hover { color: var(--teal-dark); }

/* Contact cu 2 carduri (pagina companii) */
.contact-grid.two { max-width: 640px; }

/* ---------- CTA final ---------- */
.final-cta {
  background: linear-gradient(140deg, var(--navy-dark), var(--navy) 55%, #1E5E7E);
  color: #fff;
}
.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 64px;
}
.final-cta h2 { color: #fff; }
.final-cta p {
  margin: 14px 0 30px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.86rem;
}
.footer-brand { font-size: 1.05rem; }
.footer-brand .hire { color: #fff; }
.footer-brand .point { color: var(--teal); }

/* ---------- Animații reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .country:hover, .contact-card:hover { transform: none; }
}

/* ============================================================
   Tabletă și desktop
   ============================================================ */
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .countries-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid.two { grid-template-columns: repeat(2, 1fr); }
  .btn-big { width: auto; }
  .hero-inner { padding-top: 56px; padding-bottom: 72px; }
  .hero-logo { width: 240px; height: 240px; }
}

@media (min-width: 900px) {
  .wa-float { right: 24px; bottom: 24px; }
  .clients-band-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .main-nav {
    display: flex;
    gap: 26px;
    margin-right: 18px;
  }
  .main-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.15s ease;
  }
  .main-nav a:hover { color: var(--teal-dark); }

  .section { padding: 76px 0; }
  /* 5 carduri: rând de 3 + rând de 2 centrat */
  .cards-grid { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card:nth-child(4) { grid-column: 2 / span 2; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step:not(:last-child)::after {
    left: auto;
    right: -24px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 18px;
    height: 2px;
  }
}
