/* ─── PALETA ─────────────────────────────────────────────── */
:root {
  --white:     #FFFFFF;
  --off-white: #F7F7F5;
  --light:     #EFEFED;
  --text:      #141416;
  --text-2:    #3A3A3C;
  --text-3:    #6B6B70;
  --gold:      #C9A84C;
  --gold-dk:   #8A6C28;
  --border:    #E0E0DC;
  --nav-bg:    #1C2026;
}

body { background: var(--white); color: var(--text); }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  background: var(--nav-bg) !important;
  border-bottom: 1px solid rgba(201,168,76,.2) !important;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.5) !important; }
.nav-logo-img { height: 52px; width: auto; display: block; }
.nav-link { color: rgba(220,222,226,.8); font-size: .875rem; font-weight: 500; }
.nav-link:hover { color: #fff; }
.nav-hamburger span { background: #fff; }
.nav-mobile { background: var(--nav-bg); border-top: 1px solid rgba(201,168,76,.15); display: none; flex-direction: column; }
.nav-mobile.open { display: flex; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-size: .875rem; font-weight: 700;
  padding: .5rem 1.25rem; border-radius: 3px;
  transition: background .2s, color .2s, transform .1s;
  cursor: pointer; font-family: inherit; letter-spacing: .02em;
}
.btn-primary:hover { background: var(--gold); color: var(--text); }
.btn-primary:active { transform: scale(.98); }
.btn-primary.btn-lg { padding: .75rem 2rem; font-size: 1rem; }
.btn-primary.btn-full { width: 100%; padding: .85rem; font-size: .95rem; border-radius: 3px; }
.btn-primary.btn-sm  { font-size: .75rem; padding: .35rem .85rem; border-radius: 3px; }

/* Inside modals — solid gold fill */
.modal .btn-primary {
  background: var(--gold) !important;
  color: var(--text) !important;
  border-color: var(--gold) !important;
}
.modal .btn-primary:hover { background: #e8c970 !important; }

.btn-ghost { color: rgba(220,222,226,.7); font-size: .875rem; font-weight: 500; padding: .5rem .75rem; border-radius: 3px; background: none; border: none; cursor: pointer; font-family: inherit; transition: color .2s; }
.btn-ghost:hover { color: #fff; }

.btn-outline-dark {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--text); font-size: .875rem; font-weight: 600;
  padding: .5rem 1.25rem; border-radius: 3px; cursor: pointer; font-family: inherit; transition: background .2s, color .2s;
}
.btn-outline-dark:hover { background: var(--text); color: var(--white); }
.btn-outline-dark.btn-full { width: 100%; padding: .85rem; }

.btn-gold-outline {
  display: inline-block; background: transparent; color: var(--gold);
  border: 2px solid var(--gold); font-size: .875rem; font-weight: 700;
  padding: .55rem 1.4rem; border-radius: 3px; cursor: pointer; font-family: inherit;
  letter-spacing: .04em; transition: background .2s, color .2s; text-decoration: none;
}
.btn-gold-outline:hover { background: var(--gold); color: var(--text); }
.btn-gold-outline.btn-lg { padding: .75rem 2rem; font-size: 1rem; }

.lang-toggle {
  display: flex; align-items: center; gap: .35rem;
  color: rgba(220,222,226,.7); font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; padding: .3rem .55rem;
  border: 1px solid rgba(201,168,76,.3); border-radius: 3px;
  background: none; cursor: pointer; font-family: inherit; transition: color .2s, border-color .2s;
}
.lang-toggle:hover { color: #fff; border-color: var(--gold); }
.lang-flag { font-size: 1rem; line-height: 1; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 68px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(20%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg,rgba(20,20,22,.88) 0%,rgba(20,20,22,.65) 55%,rgba(20,20,22,.3) 100%); }
.hero-content { position: relative; width: 100%; }
.hero-text { max-width: 700px; margin: 0 auto; text-align: center; padding: 5rem 2rem; }
.hero-text h1 { text-align: center; }
.hero-text p { margin-left: auto; margin-right: auto; text-align: center; }
.hero-cta { justify-content: center; }

.eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.eyebrow-dark { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 1rem; }

.hero-text h1 { font-family: var(--font-display); font-size: clamp(2.2rem,4.5vw,3.6rem); font-weight: 700; line-height: 1.06; text-transform: uppercase; letter-spacing: .01em; color: var(--white); margin-bottom: 1.5rem; }
.hero-text p { font-size: 1rem; color: rgba(255,255,255,.78); max-width: 520px; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.4); font-size: 1.2rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ─── STATS ──────────────────────────────────────────────── */
.stats-bar { background: var(--text); padding: 2.25rem 2rem; }
.stats-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0; }
.stat { display: flex; flex-direction: column; align-items: center; padding: .5rem 3rem; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.stat-label { font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .12em; text-transform: uppercase; margin-top: .2rem; }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.12); }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-light { background: var(--off-white); }
.container { max-width: 1180px; margin: 0 auto; }
.container h2 { font-family: var(--font-display); font-size: clamp(1.75rem,3vw,2.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--text); margin-bottom: 2.5rem; max-width: 680px; }
.section-sub { font-size: .95rem; color: var(--text-3); max-width: 620px; margin-top: -1.5rem; margin-bottom: 2.5rem; line-height: 1.65; }

/* ─── TWO COL ────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-text h2 { margin-bottom: 1.25rem; }
.two-col-text p { color: var(--text-2); font-size: .95rem; line-height: 1.7; margin-bottom: 1rem; }
.two-col-img img { width: 100%; border-radius: 3px; display: block; }
.check-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.75rem; }
.check-item { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.check-icon { color: var(--gold-dk); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }

/* ─── STEPS ──────────────────────────────────────────────── */
.steps-h { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-top: 2.5rem; }
.step-h { flex: 1; min-width: 200px; }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--gold); opacity: .25; line-height: 1; margin-bottom: .75rem; }
.step-h h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.step-h p { font-size: .875rem; color: var(--text-3); line-height: 1.65; }
.step-arrow { font-size: 1.25rem; color: var(--gold); opacity: .4; padding-top: .75rem; flex-shrink: 0; }

/* ─── FOR COMPANIES ──────────────────────────────────────── */
.section-dark-img { position: relative; padding: 6rem 2rem; overflow: hidden; }
.section-dark-img-bg { position: absolute; inset: 0; }
.section-dark-img-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); }
.section-dark-overlay { position: absolute; inset: 0; background: rgba(14,14,16,.84); }
.companies-block { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.companies-block h2 { text-align: center; max-width: none; color: var(--white); margin-left: auto; margin-right: auto; }
.text-white { color: var(--white) !important; }
.text-white-muted { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.7; max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.companies-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; max-width: 860px; margin: 0 auto 2.5rem; }
.company-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 3px; padding: 1.5rem; text-align: left; }
.company-card-icon { font-size: 1.2rem; color: var(--gold); margin-bottom: .75rem; }
.company-card h3 { font-size: .95rem; font-weight: 600; color: var(--gold); margin-bottom: .5rem; }
.company-card p { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ─── WHO IS IT FOR ──────────────────────────────────────── */
.profiles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }
.profile-card { border: 1px solid var(--border); border-radius: 3px; overflow: hidden; background: var(--white); }
.profile-card-img { width: 100%; height: 220px; object-fit: cover; object-position: center top; display: block; background: #888; }
.profile-card-body { padding: 1.5rem; }
.profile-card-body-solo { padding: 2rem 1.5rem; }
.profile-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.profile-card p { font-size: .875rem; color: var(--text-3); line-height: 1.65; }

/* ─── JOBS PREVIEW ───────────────────────────────────────── */
.jobs-preview-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.25rem; margin-top: 2rem; }
.job-preview-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; transition: border-color .2s, box-shadow .2s; }
.job-preview-card:hover { border-color: #999; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.job-preview-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.job-sector-badge { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--light); color: var(--text-2); padding: .2rem .55rem; border-radius: 2px; }
.job-salary { font-size: .85rem; font-weight: 600; color: var(--gold-dk); }
.job-preview-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.job-location { font-size: .8rem; color: var(--text-3); }
.job-preview-footer { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }
.job-tag-small { font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 2px; background: var(--light); color: var(--text-3); }
.job-tag-verified { background: rgba(201,168,76,.12); color: var(--gold-dk); }
.jobs-preview-cta { text-align: center; margin-top: 3rem; padding: 2.5rem; background: var(--white); border: 1px solid var(--border); border-radius: 3px; }
.jobs-preview-cta p { font-size: .95rem; color: var(--text-2); max-width: 540px; margin: 0 auto 1.5rem; line-height: 1.65; }

/* ─── COURSES PREVIEW ────────────────────────────────────── */
.courses-preview-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.course-preview-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 1.5rem; display: flex; flex-direction: column; gap: .65rem; transition: border-color .2s, box-shadow .2s; }
.course-preview-card:hover { border-color: #999; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.course-cat-badge { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(201,168,76,.1); color: var(--gold-dk); padding: .2rem .55rem; border-radius: 2px; width: fit-content; }
.course-preview-card h3 { font-size: .95rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.course-meta { font-size: .8rem; color: var(--text-3); display: flex; gap: 1rem; flex-wrap: wrap; }
.course-discount { font-size: .78rem; color: #166534; font-weight: 600; background: #F0FDF4; padding: .15rem .45rem; border-radius: 2px; }
.course-preview-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .5rem; flex-wrap: wrap; gap: .5rem; }

/* ─── PRICING ────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; position: relative; }
.price-card-featured { border-color: var(--text); border-width: 2px; }
.price-featured-label { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--white); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .9rem; border-radius: 0 0 3px 3px; }
.price-card-top { padding-top: .5rem; }
.plan-label { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); margin-bottom: .75rem; }
.price-toggle { display: flex; gap: .25rem; margin-bottom: 1rem; background: var(--light); border-radius: 3px; padding: .25rem; width: fit-content; }
.ptoggle { font-size: .78rem; font-weight: 500; padding: .3rem .75rem; border-radius: 2px; background: none; border: none; cursor: pointer; color: var(--text-3); font-family: inherit; transition: background .15s, color .15s; }
.ptoggle.active { background: var(--white); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.price-amount { display: flex; align-items: baseline; gap: .2rem; }
.price-num { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; color: var(--text); line-height: 1; }
.price-period { font-size: .85rem; color: var(--text-3); }
.price-save { font-size: .78rem; color: var(--gold-dk); font-weight: 500; margin-top: .25rem; min-height: 1.1em; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.price-features li { font-size: .875rem; color: var(--text-2); padding-left: 1.1rem; position: relative; }
.price-features li::before { content: '–'; position: absolute; left: 0; color: var(--gold-dk); }
.pricing-note { text-align: center; font-size: .82rem; color: var(--text-3); margin-top: 2rem; padding: 1rem; background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.2); border-radius: 3px; max-width: 680px; margin-left: auto; margin-right: auto; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--text); color: rgba(255,255,255,.6); padding: 4rem 2rem 2rem; }
.footer-top { display: grid; grid-template-columns: 240px 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-logo { height: 58px !important; width: auto; margin-bottom: 1rem; display: block; filter: none !important; }
.footer-brand p { font-size: .85rem; line-height: 1.6; margin-bottom: .75rem; }
.footer-address { font-size: .78rem; color: rgba(255,255,255,.35); line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col-title { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--white); margin-bottom: .25rem; }
.footer-col a { font-size: .82rem; color: rgba(255,255,255,.5); transition: color .2s; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-careers-note { font-size: .78rem; color: rgba(255,255,255,.35); line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .78rem; }
.footer-extra { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { font-size: .82rem; color: rgba(255,255,255,.4); font-weight: 500; transition: color .2s; text-decoration: none; }
.footer-social a:hover { color: var(--gold); }
.footer-cancel-link { font-size: .72rem; color: rgba(255,255,255,.2); text-decoration: none; transition: color .2s; }
.footer-cancel-link:hover { color: rgba(255,255,255,.45); }

/* ─── MODALS — dark ──────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s; backdrop-filter: blur(6px); }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%,-48%) scale(.96);
  z-index: 201;
  background: #1C2028;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 4px;
  padding: 2.5rem;
  width: 90%; max-width: 420px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 12px 56px rgba(0,0,0,.6);
}
.modal.active { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }
.modal-close { position: absolute; top: 1rem; right: 1rem; color: rgba(255,255,255,.4); font-size: 1rem; padding: .25rem .5rem; background: none; border: none; cursor: pointer; transition: color .2s; }
.modal-close:hover { color: #fff; }
.modal-logo-img { height: 40px; width: auto; margin-bottom: 1.5rem; }
.modal-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.form-group label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.form-group input { background: rgba(255,255,255,.06); border: 1px solid rgba(201,168,76,.2); border-radius: 3px; color: #fff; font-family: inherit; font-size: .95rem; padding: .7rem .9rem; outline: none; transition: border-color .2s; width: 100%; }
.form-group input:focus { border-color: var(--gold); }
.form-group input::placeholder { color: rgba(255,255,255,.25); }
.form-error { background: rgba(185,28,28,.15); border: 1px solid rgba(185,28,28,.4); border-radius: 3px; color: #FCA5A5; font-size: .85rem; padding: .65rem .9rem; margin-bottom: 1rem; }
.form-success { background: rgba(22,101,52,.15); border: 1px solid rgba(134,239,172,.3); border-radius: 3px; color: #86EFAC; font-size: .85rem; padding: .65rem .9rem; margin-bottom: 1rem; }
.modal-switch { text-align: center; font-size: .85rem; color: rgba(255,255,255,.4); margin-top: 1.25rem; }
.modal-switch a { color: var(--gold); font-weight: 600; margin-left: .3rem; text-decoration: none; }
.modal-switch a:hover { color: #e8c970; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .companies-grid { grid-template-columns: 1fr; }
  .profiles-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .steps-h { flex-direction: column; }
  .step-arrow { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 4rem 1.25rem; }
  .stats-inner { gap: 1rem; }
  .stat { padding: .5rem 1.25rem; }
  .stat-div { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2rem; }
  .jobs-preview-grid, .courses-preview-grid { grid-template-columns: 1fr; }
}

/* ─── SOCIAL ICONS ───────────────────────────────────────── */
.footer-social { display: flex; gap: .85rem; align-items: center; }
.social-icon-link {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background .2s, transform .15s;
  overflow: hidden;
  text-decoration: none;
}
.social-icon-link:hover { background: rgba(201,168,76,.2); transform: translateY(-2px); }
.social-icon-link img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); }
.social-icon-link.telegram img { filter: none; width: 22px; height: 22px; border-radius: 50%; }

/* ─── FLAG TOGGLE FIX ────────────────────────────────────── */
.lang-toggle { font-size: .8rem !important; gap: .4rem !important; }
.lang-flag { font-size: 1.15rem; line-height: 1; font-style: normal; }

/* ─── NAV HEIGHT FIX with bigger logo ───────────────────── */
.nav { height: 80px !important; }
.nav-inner { height: 80px; }
body { padding-top: 0; }
.hero { padding-top: 80px; }

/* ─── INTERNAL PAGES NAV LOGO (not inverted) ─────────────── */
.nav-logo-img-dark { height: 72px; width: auto; display: block; }
