/* EVRTEK — Brand Design System */

/* ─── Design tokens ───────────────────────────────── */
:root {
  --purple-deep: #371d50;
  --purple-mid: #563575;
  --purple-light: #9374B2;
  --white: #ffffff;
  --off-white: #f8f6fc;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --border: rgba(100, 55, 144, 0.12);
  --header-height: 72px;
  --max-width: 1100px;
  --radius: 8px;
}

/* ─── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── Base ────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}

/* ─── Accessibility ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  background: var(--purple-deep);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--purple-deep); outline-offset: 2px; }

/* ─── Layout ──────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
main { padding-top: var(--header-height); }

/* ─── Header ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--purple-deep);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
.site-header .logo img { height: 40px; width: auto; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-list a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  display: block;
  transition: background 0.15s, color 0.15s;
}
.nav-list a:hover,
.nav-list a:focus { background: rgba(255,255,255,0.15); color: var(--white); }
.nav-list a[aria-current="page"] { background: rgba(255,255,255,0.2); color: var(--white); }

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  color: var(--white);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

/* ─── Hero (homepage) ─────────────────────────────── */
.hero {
  background: var(--purple-deep);
  color: var(--white);
  padding: 5.5rem 0 5rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero h1 strong { font-weight: 600; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}
.hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Interior page hero */
.page-hero {
  background: var(--purple-deep);
  color: var(--white);
  padding: 4rem 0 3.5rem;
}
.page-hero .breadcrumb {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.page-hero h1 strong { font-weight: 600; }
.page-hero .lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  font-weight: 300;
}

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.7rem 1.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple-deep);
  color: var(--white);
  border: 2px solid var(--purple-deep);
}
.btn-primary:hover,
.btn-primary:focus { background: var(--purple-mid); border-color: var(--purple-mid); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover,
.btn-outline:focus { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--purple-deep);
  border: 2px solid var(--white);
}
.btn-white:hover,
.btn-white:focus { opacity: 0.9; color: var(--purple-deep); }
.btn-full { width: 100%; }

/* ─── Sections ────────────────────────────────────── */
.section { padding: 5rem 0; clear:both;}
.section--alt { background: var(--off-white); }
.section--dark { background: var(--purple-deep); color: var(--white); }

.section-label {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin-bottom: 0.5rem;
}
.section--dark .section-label { color: rgba(255,255,255,0.55); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--purple-deep);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.section--dark .section-title { color: var(--white); }

.section-intro {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 620px;
  line-height: 1.75;
}
.section--dark .section-intro { color: rgba(255,255,255,0.78); }

/* ─── Grid ────────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.row { display: grid; gap: 2.5rem; }
.row-2   { grid-template-columns: repeat(2, 1fr); }
.row-2-5 { grid-template-columns: 2fr 3fr; }

/* ─── Cards ───────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.card-tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--purple-deep);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--purple-deep);
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
}
.card-link {
  color: var(--purple-deep);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
}
.card-link:hover { text-decoration: underline; }

/* ─── Product items ───────────────────────────────── */
.product-item {
  padding: 1.5rem;
  border-left: 3px solid var(--purple-light);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.25rem;
}
.product-item h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--purple-deep);
  margin-bottom: 0.4rem;
}
.product-item p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ─── Lists ───────────────────────────────────────── */
.capability-list { list-style: none; padding: 0; }
.capability-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.4rem;
  border-bottom: 1px solid rgba(100,55,144,0.07);
  font-size: 0.95rem;
  color: var(--text-mid);
}
.capability-list li:last-child { border-bottom: none; }
.capability-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--purple-light);
  border-radius: 50%;
}

.skills-list { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.skills-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(100,55,144,0.06);
}
.skills-list li:last-child { border-bottom: none; }
.skills-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--purple-light);
  border-radius: 50%;
}

/* ─── Values ──────────────────────────────────────── */
.values-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.values-item:last-child { border-bottom: none; }
.values-item h3 { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.95); margin-bottom: 0.3rem; }
.values-item p { font-size: 0.93rem; color: rgba(255,255,255,0.68); }

/* ─── Partner badges ──────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--purple-mid);
}

/* ─── Role cards ──────────────────────────────────── */
.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.role-card h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--purple-deep);
  margin-bottom: 0.75rem;
}
.role-description {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ─── Process steps ───────────────────────────────── */
.process-steps { list-style: none; padding: 0; }
.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(100,55,144,0.1);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--purple-deep);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
}
.process-step h3 { font-size: 0.95rem; font-weight: 500; color: var(--purple-deep); margin-bottom: 0.2rem; }
.process-step p { font-size: 0.875rem; color: var(--text-mid); }

/* ─── Stat boxes ──────────────────────────────────── */
.stat-box {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-number { font-size: 2.25rem; font-weight: 300; color: var(--purple-deep); line-height: 1; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.85rem; color: var(--text-mid); }

/* ─── Utilities ───────────────────────────────────── */
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ─── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
.footer-ukspf img { height: 56px; width: auto; }
.footer-ukspf p { font-size: 0.78rem; color: var(--text-mid); margin-top: 0.5rem; max-width: 200px; line-height: 1.5; }
.footer-logo img { height: 36px; width: auto; }
.footer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.footer-details h3 { font-size: 0.82rem; font-weight: 500; color: var(--purple-deep); margin-bottom: 0.5rem; }
.footer-details p,
.footer-details a { font-size: 0.82rem; color: var(--text-mid); text-decoration: none; display: block; line-height: 1.9; }
.footer-details a:hover { color: var(--purple-deep); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-mid); }

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .row-2-5 { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-details { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .page-hero { padding: 3rem 0 2.5rem; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--purple-deep);
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 0.6rem 0.5rem; font-size: 1rem; }

  .grid-2, .grid-3, .row-2, .row-2-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-details { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
