/* ==========================================================================
   Architecture of Sales — Kariera / Praca
   Paleta i typografia dopasowane do staging.architectureofsales.com
   ========================================================================== */

:root {
  --font-main: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --color-text: #5d5f64;
  --color-heading: #14161a;
  --color-white: #ffffff;
  --color-bg-alt: #f4f4f4;
  --color-black: #000000;

  --color-navy-start: #060a59;
  --color-navy-end: #030634;
  --color-purple-glow: rgba(162, 58, 255, 0.24);

  --color-blue: #0056a7;
  --color-orange: #cc461b;
  --color-orange-hover: #a83815;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--color-blue);
  text-decoration: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  font-size: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-orange-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--dark {
  background: var(--color-heading);
  color: var(--color-white);
}

.btn--dark:hover {
  background: #000;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-heading);
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--color-orange);
}

.nav-cta {
  background: var(--color-orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  margin: 5px 0;
  transition: 0.2s;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background:
    radial-gradient(896px 640px at 85% 10%, var(--color-purple-glow), rgba(0, 0, 0, 0) 62%),
    linear-gradient(var(--color-navy-start) 0%, var(--color-navy-end) 100%);
  color: var(--color-white);
  padding: 96px 0 72px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  color: var(--color-white);
  font-size: 52px;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-title-sub {
  display: block;
  margin-top: 12px;
  font-size: 0.5em;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
}

.hero p.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 32px;
}

.hero-stat .num {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-white);
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-media .video-embed {
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Benefity (why work with us)
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--color-white);
  border: 1px solid #eceef1;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.benefit-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 86, 167, 0.08);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 15px;
  margin: 0;
}

/* ==========================================================================
   Wideo
   ========================================================================== */

.video-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.video-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-card--secondary {
  max-width: 480px;
  align-self: center;
}

.video-card--secondary .video-card-body h3 {
  font-size: 16px;
}

.video-embed {
  position: relative;
  padding-top: 56.25%;
  background: var(--color-black);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Miniatura YouTube — właściwy odtwarzacz ładuje się dopiero po kliknięciu */
.yt-lite {
  display: block;
  cursor: pointer;
}

.yt-lite img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-lite__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 62px;
  border-radius: 16px;
  background: var(--color-orange);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: background 0.15s ease;
}

.yt-lite__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -14px 0 0 -10px;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
}

.yt-lite:hover .yt-lite__play,
.yt-lite:focus-visible .yt-lite__play {
  background: var(--color-orange-hover);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-card-body {
  padding: 20px 24px;
}

.video-card-body .tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-orange);
}

.video-card-body h3 {
  margin: 6px 0 4px;
  font-size: 18px;
}

.video-card-body p {
  font-size: 14px;
  margin: 0;
}

/* ==========================================================================
   Mapa / biuro
   ========================================================================== */

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 7;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  text-align: center;
  margin: 20px 0 0;
  font-weight: 600;
}

/* ==========================================================================
   Cytaty
   ========================================================================== */

.quotes {
  margin: 0 auto;
  max-width: 960px;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.quote-card {
  margin: 0;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.quote-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-heading);
}

.quote-card p::before {
  content: "„";
}

.quote-card p::after {
  content: "”";
}

.quote-author {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
}

/* ==========================================================================
   Proces rekrutacji
   ========================================================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 8px;
}

.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 14px;
  margin: 0;
}

/* ==========================================================================
   Otwarte stanowiska
   ========================================================================== */

.job-card {
  background: var(--color-white);
  border: 1px solid #eceef1;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eceef1;
}

.job-card__header h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-meta .pill {
  background: var(--color-bg-alt);
  color: var(--color-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
}

.job-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.job-columns h4,
.job-offer h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-heading);
  margin-bottom: 12px;
}

.job-columns ul,
.job-offer ul {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
}

.job-columns li,
.job-offer li {
  margin-bottom: 8px;
}

.job-offer {
  margin-bottom: 24px;
}

.job-nice-to-have {
  margin: 12px 0 0;
  font-size: 15px;
}

.job-salary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  align-items: baseline;
  background: rgba(0, 86, 167, 0.06);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.job-salary strong {
  display: block;
  font-size: 22px;
  color: var(--color-heading);
}

.job-salary span {
  font-size: 14px;
}

.job-salary p {
  flex-basis: 100%;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
}

.job-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.job-tags-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tags-inline span {
  font-size: 12px;
  color: var(--color-text);
  background: var(--color-bg-alt);
  padding: 4px 10px;
  border-radius: 20px;
}

.no-openings-note {
  text-align: center;
  margin-top: 24px;
  font-size: 15px;
  color: var(--color-text);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eceef1;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 32px 22px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  position: relative;
  font-family: var(--font-main);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 24px;
  color: var(--color-orange);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding-bottom: 22px;
  margin: 0;
  font-size: 15px;
}

/* ==========================================================================
   Formularz CV
   ========================================================================== */

.apply-card {
  background: var(--color-heading);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}

.apply-card h2 {
  color: #fff;
}

.apply-card p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 32px;
}

.apply-card .btn--primary {
  font-size: 18px;
  padding: 18px 36px;
}

.rodo-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin: 20px auto 0;
}

.rodo-note a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

.email-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.email-fallback strong {
  color: #fff;
  font-weight: 600;
  user-select: all;
}

.copy-btn {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  background:
    radial-gradient(896px 640px at 15% 90%, var(--color-purple-glow), rgba(0, 0, 0, 0) 62%),
    linear-gradient(var(--color-navy-start) 0%, var(--color-navy-end) 100%);
  color: #fff;
  text-align: center;
  padding: 96px 0;
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0d0f14;
  color: rgba(255, 255, 255, 0.55);
  padding: 40px 0;
  font-size: 14px;
  text-align: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
}

/* ==========================================================================
   Responsywność
   ========================================================================== */

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero h1 {
    font-size: 38px;
  }

  .benefits-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .job-columns {
    grid-template-columns: 1fr;
  }

  .video-card--secondary {
    max-width: none;
  }

  .apply-card {
    padding: 36px 24px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #eceef1;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 56px 0;
  }

  h2 {
    font-size: 28px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid,
  .process-steps,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 22px 24px;
  }

  .quote-card p {
    font-size: 16px;
  }

  .map-embed {
    aspect-ratio: 4 / 3;
  }

  .job-card {
    padding: 24px;
  }
}
