/* ============================================================
   HressConsult — Shared Stylesheet
   Used by: all pages (PL + EN)
   ============================================================ */

/* ── Reset & Tokens ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #171a20;
  --white:    #ffffff;
  --surface:  #f4f4f4;
  --mid:      #eeeeee;
  --accent:   #3e6ae1;
  --accent2:  #7e4046;
  --muted:    #393c41;
  --dark-bg:  #0a0a0a;
  --dark-surface: #111111;
  --dark-border:  #222222;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --max-w: 1200px;
  --px: clamp(1.25rem, 5vw, 3rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { color: var(--muted); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-main); color: var(--black); text-transform: none; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 0.9rem; font-weight: 600; }
@media (max-width: 768px) {
  h1 { font-size: clamp(2rem, 6vw, 2.6rem); }
  h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); }
}

.eyebrow {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.6rem;
  display: block;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

section { padding-block: clamp(4rem, 8vw, 7rem); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.8rem 2.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn:hover { text-decoration: none; opacity: 0.88; }
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { color: #fff; opacity: 0.85; }
.btn-ghost { background: rgba(23,26,32,0.05); color: var(--black); border: none; }
.btn-ghost:hover { background: rgba(23,26,32,0.1); color: var(--black); }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { color: var(--black); opacity: 0.9; }

/* ── NAV ────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mid);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav-logo {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--black); }
.nav-logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--black); text-decoration: none; }
.nav-links a.active { color: var(--black); font-weight: 600; }
.nav-lang-mobile { display: none; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--mid);
  border-radius: 4px;
  padding: 4px 10px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.lang-switch:hover { border-color: var(--black); color: var(--black); text-decoration: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── compact nav for tablets / landscape phones ───────────── */
@media (min-width: 701px) and (max-width: 960px) {
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 0.67rem; }
  .nav-right { gap: 0.6rem; }
  .site-nav .btn { padding: 0.42rem 0.85rem; font-size: 0.78rem; }
}

@media (max-width: 700px) {
  .hamburger { display: flex; margin-left: auto; }
  .nav-inner { justify-content: flex-start; }
  .nav-right { display: none; }
  .nav-lang-mobile { display: list-item; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 62px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--mid);
    padding: 1.5rem var(--px);
    gap: 1.25rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; color: var(--black); }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-bg);
  color: #9a9896;
  padding-block: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-brand .logo span { color: var(--white); }
.footer-brand p { font-size: 0.85rem; color: #9a9896; max-width: 28ch; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.87rem; color: #9a9896; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col span { font-size: 0.87rem; }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: #666; max-width: none; }

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* ── SHARED LIST STYLES ─────────────────────────────────────── */
.about-points { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; margin-bottom: 2rem; }
.about-points li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--muted); align-items: flex-start; line-height: 1.5; }
.about-points li .li-arrow { color: var(--accent); flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; }

.includes-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 1.25rem 0 2rem; }
.includes-list li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--muted); align-items: flex-start; }
.includes-list li::before { content: '✓'; color: var(--accent2); font-weight: 700; flex-shrink: 0; }

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span { color: var(--mid); }

/* ── PAGE HERO (subpages) ───────────────────────────────────── */
.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--white);
  border-bottom: 1px solid var(--mid);
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p  { font-size: 1.05rem; max-width: 58ch; line-height: 1.75; }

/* ── PROSE (service/case study pages) ──────────────────────── */
.prose h2 { margin: 2rem 0 0.75rem; }
.prose h3 { margin: 1.5rem 0 0.5rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul { margin: 0.75rem 0 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.prose ul li { color: var(--muted); font-size: 0.95rem; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1; transform: none; transition: none; }
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-wrap { max-width: 720px; margin: 2.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--mid); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--black);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p { font-size: 0.93rem; padding-bottom: 1.25rem; line-height: 1.75; }

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: #0F172A;
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.65); max-width: 50ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-banner .btn { border-radius: 4px; }

/* ── LOGO CLOUD ──────────────────────────────────────────────── */
.logo-cloud {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--mid);
  background: var(--white);
}
.logo-cloud-label {
  text-align: center;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 2rem;
  opacity: 0.7;
}
.logo-cloud-grid {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.logo-item {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  opacity: 0.3;
  filter: grayscale(1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  user-select: none;
  transition: opacity 0.2s;
}
.logo-item:hover { opacity: 0.5; }