/* ============================================================
   HR Corporate landing — PRIZENTA brand style
   Palette from static/hb/scss/_variables_style.scss + prod overrides:
   crimson #bc2241, teal #48CAB0, dark #333, text #777, borders #ebebeb
   ============================================================ */

:root {
  --crimson: #bc2241;
  --crimson-dark: #a11c38;
  --teal: #48cab0;
  --teal-dark: #35b096;
  --dark: #333333;
  --text: #777777;
  --border: #ebebeb;
  --border-strong: #d0d0d0;
  --bg-light: #f8f8f8;
  --green-bg: #e2f0d6;
  --green-text: #4d8724;
  --red-bg: #fce5e7;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(51, 51, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(51, 51, 51, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { color: var(--dark); font-weight: 800; line-height: 1.25; }
h1 { font-size: 2.6rem; letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 { font-size: 2rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--crimson-dark); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

.eyebrow {
  color: var(--teal-dark);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}
.eyebrow-light { color: var(--teal); }

.lead { font-size: 1.12rem; margin-bottom: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn-primary { background: var(--crimson); color: var(--white); }
.btn-primary:hover { background: var(--crimson-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--dark); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--dark); color: var(--dark); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--dark); font-weight: 600; font-size: 0.92rem; }
.main-nav a:hover { color: var(--crimson); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switcher {
  display: flex;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
}
.lang-btn {
  background: var(--white);
  border: none;
  padding: 7px 11px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn + .lang-btn { border-left: 1px solid var(--border-strong); }
.lang-btn:hover { color: var(--dark); }
.lang-btn.active { background: var(--dark); color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fdf6f7 0%, var(--white) 85%);
  padding: 72px 0 56px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.8rem; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.trust-row li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  padding-left: 22px;
  position: relative;
}
.trust-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M4 13l5 5 11-12"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M4 13l5 5 11-12"/></svg>') center / contain no-repeat;
}
.hero-visual { display: flex; justify-content: center; }
.hero-svg { width: 100%; max-width: 460px; filter: drop-shadow(0 16px 32px rgba(51,51,51,0.10)); }

/* ---------- Numbers strip ---------- */
.numbers { background: var(--dark); color: var(--white); padding: 34px 0; }
.numbers-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.number { display: block; font-size: 2.1rem; font-weight: 800; color: var(--white); line-height: 1.1; }
.number small { font-size: 1.1rem; font-weight: 700; }
.number-label { display: block; font-size: 0.85rem; color: #bbbbbb; margin-top: 4px; }
.number-item:nth-child(3) .number, .number-item:nth-child(4) .number { color: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-light); }
.section > .container > h2, .section > .container > .eyebrow { text-align: center; }
.section > .container > h2 { margin-bottom: 2.6rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { font-size: 0.92rem; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-crimson { background: var(--red-bg); }
.icon-crimson svg { stroke: var(--crimson); }
.icon-teal { background: #e3f7f2; }
.icon-teal svg { stroke: var(--teal-dark); }

.card-audience { border-top: 3px solid var(--teal); }
.card-audience h3 { font-size: 1.02rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--crimson);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 0.95rem; }
.step p { font-size: 0.85rem; }

/* ---------- Pricing ---------- */
.pricing-panel {
  background: var(--dark);
  border-radius: 16px;
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
}
.pricing-panel h2 { color: var(--white); }
.pricing-list { list-style: none; margin: 1.2rem 0 1.8rem; }
.pricing-list li {
  color: #cccccc;
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 0.95rem;
}
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 15px;
  height: 15px;
  background: var(--teal);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M4 13l5 5 11-12"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" d="M4 13l5 5 11-12"/></svg>') center / contain no-repeat;
}
.pricing-figure { text-align: center; }
.pricing-number {
  display: block;
  font-size: 4.6rem;
  font-weight: 800;
  font-style: italic;
  color: var(--teal);
  line-height: 1;
}
.pricing-caption { display: block; color: #bbbbbb; font-size: 0.9rem; margin-top: 8px; }

/* ---------- Trust ---------- */
.trust-item h3 { font-size: 0.98rem; padding-bottom: 6px; border-bottom: 2px solid var(--teal); display: inline-block; }
.trust-item p { font-size: 0.9rem; margin-top: 8px; }

/* ---------- FAQ ---------- */
#faq h2 { text-align: center; }
#faq .eyebrow { text-align: center; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  font-weight: 700;
  color: var(--dark);
  list-style: none;
  position: relative;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--crimson);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 20px 18px; font-size: 0.93rem; }

/* ---------- Lead form ---------- */
.section-request { background: linear-gradient(180deg, var(--white) 0%, #fdf6f7 100%); }
.section-request .eyebrow, .section-request h2 { text-align: center; }
.section-request .lead { text-align: center; }
.lead-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 34px 30px;
  margin-top: 10px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--crimson);
}
.form-field input.invalid { border-color: var(--crimson); background: var(--red-bg); }
.lead-form .btn { width: 100%; }
.form-note { font-size: 0.8rem; text-align: center; margin-top: 12px; }
.form-status { text-align: center; font-weight: 600; margin-top: 10px; min-height: 1.4em; }
.form-status.ok { color: var(--green-text); }
.form-status.err { color: var(--crimson); }

/* ---------- Footer ---------- */
.site-footer { background: #2b2b2b; color: #aaaaaa; padding: 46px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-brand p { font-size: 0.85rem; max-width: 380px; margin-top: 12px; }
.footer-logo { height: 34px; width: auto; }
.footer-links { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-links a { color: #cccccc; font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid #444444; padding-top: 18px; font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  h1 { font-size: 2.1rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-svg { max-width: 360px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .numbers-inner { grid-template-columns: repeat(2, 1fr); }
  .pricing-panel { grid-template-columns: 1fr; padding: 40px 30px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .steps, .form-row { grid-template-columns: 1fr; }
  .numbers-inner { grid-template-columns: 1fr 1fr; }
  .header-inner { gap: 10px; }
  .header-actions .btn { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
  .section { padding: 56px 0; }
}
