/* ============================================================
   UniqGuru EduTech — static prototype
   Palette extracted from the live Wix site: #bb2423 primary,
   #df3131 / #e84a43 accents. Type: Helvetica / DIN / Questrial.
   ============================================================ */

:root {
  --red: #bb2423;
  --red-bright: #df3131;
  --red-soft: #e84a43;
  --ink: #111111;
  --body: #404040;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --paper: #ffffff;
  --wash: #f7f7f7;
  --dark: #0b0b0b;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --maxw: 1200px;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-bright); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--wash { background: var(--wash); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}

.lead { font-size: 1.09rem; color: var(--body); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: .95rem;
  font-weight: 500;
  color: #232323;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { color: var(--red); border-bottom-color: var(--red); }

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

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s;
  text-align: center;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-bright); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--red); }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--sm { padding: 8px 20px; font-size: .82rem; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #1a1a1a center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .35em; }
.hero h1 em { color: var(--red-soft); font-style: normal; }
.hero p { max-width: 54ch; color: #eaeaea; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------------- Page hero (interior) ---------------- */
.page-hero {
  background: var(--dark) center/cover no-repeat;
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { color: #dcdcdc; max-width: 62ch; margin: 0; }

/* ---------------- Partners ---------------- */
.partners { padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.partners-label {
  text-align: center;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
  font-weight: 700;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: .2s;
}
.partner:hover { box-shadow: var(--shadow); border-color: #f0c9c9; }
.partner img { height: 52px; width: auto; object-fit: contain; filter: grayscale(0); }
.partner .btn { width: 100%; }

/* ---------------- Split intro ---------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.split--flip .split-media { order: -1; }

/* ---------------- Programs ---------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 26px;
}
.program {
  text-align: center;
  padding: 8px;
  border-radius: var(--radius);
  transition: .25s;
}
.program:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-3px); }
.program img {
  width: 132px; height: 132px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.program h3 { font-size: 1rem; font-weight: 700; margin: 0; color: var(--ink); }
.program p { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }

/* ---------------- News ---------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex; flex-direction: column;
  transition: .25s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: #eee; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.news-card h3 { font-size: 1.14rem; line-height: 1.35; margin-bottom: 12px; }
.news-card p { font-size: .94rem; color: var(--muted); flex: 1; }
.news-card .more { font-weight: 700; font-size: .9rem; }

/* ---------------- Values / cards ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.card h3 { color: var(--red); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.card p:last-child { margin-bottom: 0; }

/* ---------------- Team ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { text-align: center; }
.team-card .photo {
  aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius);
  background: var(--wash); margin-bottom: 18px;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--red); font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.team-card p { font-size: .92rem; color: var(--muted); text-align: left; }

.bio-block { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 34px; }

/* Management — photo left, bio right (mirrors the live Wix layout) */
.team-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.team-profile:first-of-type { border-top: 0; padding-top: 8px; }
.team-profile .photo { background: var(--wash); border-radius: var(--radius); overflow: hidden; }
.team-profile .photo img { width: 100%; aspect-ratio: 8/9; object-fit: cover; object-position: center top; }
.team-profile h3 { font-size: 1.5rem; margin-bottom: 4px; }
.team-profile .role {
  color: var(--red); font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.team-profile p { font-size: .97rem; }

.hero-poster { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin: 10px 0 34px; }
.bio-block:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.bio-block h3 { margin-bottom: 4px; }
.bio-block .role { color: var(--red); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .k {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 700; display: block; margin-bottom: 6px;
}
.contact-list .v { font-size: 1.02rem; color: var(--ink); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem;
  border: 1px solid #d6d6d6; border-radius: 4px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(187, 36, 35, .1);
}
.field textarea { min-height: 130px; resize: vertical; }

/* ---------------- Jobs ---------------- */
.job {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-bottom: 20px;
  background: #fff;
}
.job h3 { margin-bottom: 6px; }
.job .job-sum { color: var(--muted); font-size: .96rem; }
.job ul { margin: 10px 0 18px; padding-left: 20px; }
.job li { margin-bottom: 6px; font-size: .95rem; }
.job .job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.job h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--red); color: #fff; padding: 62px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #ffe3e2; max-width: 62ch; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--red); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--dark); color: #b9b9b9; padding: 64px 0 26px; font-size: .94rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid #262626;
}
.site-footer img.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 18px;
}
.site-footer a { color: #b9b9b9; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 24px; font-size: .84rem; color: #7d7d7d; flex-wrap: wrap;
}

/* ---------------- Prototype banner ---------------- */
.proto-note {
  background: #fff8e6;
  border-bottom: 1px solid #f0dfa8;
  color: #6b5518;
  font-size: .82rem;
  padding: 9px 0;
  text-align: center;
}
.proto-note strong { color: #4a3a08; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .team-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split--flip .split-media { order: 0; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job .job-cols { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .header-inner { height: 66px; }
  .brand img { height: 36px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 24px 18px; display: none;
    box-shadow: 0 18px 24px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid #f2f2f2; }
  .hero { min-height: 480px; }
  .programs-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .program img { width: 96px; height: 96px; }
  .program h3 { font-size: .9rem; }
  .news-grid, .cards, .team-grid, .form-row { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Career — job cards float on the branded section background (matches live site) */
.jobs-section {
  background: url('../img/career-poster-2.jpg') center/cover no-repeat;
  background-attachment: scroll;
}
.jobs-section .job { box-shadow: 0 6px 22px rgba(0, 0, 0, .10); }
