/* ============================================================
   SAS SEVEN — styles
   Modern minimal · single accent · light-first
   ============================================================ */

:root {
  --accent: #2f56e6;
  --accent-dark: #2444c2;
  --ink: #0e1726;
  --ink-soft: #33405a;
  --muted: #626d80;
  --line: #e7eaf0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-dark: #0e1726;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 40px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .06), 0 4px 16px rgba(14, 23, 38, .05);
  --shadow-md: 0 4px 12px rgba(14, 23, 38, .07), 0 18px 42px rgba(14, 23, 38, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; letter-spacing: .04em; font-size: 1.05rem; }
.brand-tag { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { font-size: .95rem; color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.nav-menu a:hover { color: var(--accent); }
.nav-cta a { color: #fff; }
.nav-cta a:hover { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; background: transparent;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(60% 90% at 88% -10%, rgba(47, 86, 230, .10), transparent 60%),
    radial-gradient(40% 60% at 8% 0%, rgba(47, 86, 230, .07), transparent 55%),
    var(--bg);
}
.hero-inner { max-width: 860px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero-content { max-width: 600px; }
.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; right: -16px; bottom: -16px;
  width: 56%; height: 56%; background: rgba(47, 86, 230, .12);
  border-radius: 24px; z-index: 0;
}
.hero-media img {
  position: relative; z-index: 1; width: 100%; height: auto;
  aspect-ratio: 20 / 23; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-md);
}
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--accent); background: rgba(47, 86, 230, .09);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title { font-size: clamp(2.15rem, 4.6vw, 3.5rem); font-weight: 800; }
.accent-text { color: var(--accent); }
.hero-lede {
  margin-top: 22px; font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink-soft); max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  list-style: none; margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line);
}
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font-size: 1.15rem; font-weight: 700; }
.hero-facts span { font-size: .84rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-eyebrow.light { color: #8fa6ff; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.section-title.light { color: #fff; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.section-sub.light { color: #aeb8cc; }
.section-head { max-width: 620px; margin-bottom: 48px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose p { color: var(--ink-soft); font-size: 1.1rem; }

.mission-card {
  margin-top: 28px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent);
}
.mission-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.mission-text { font-size: 1.12rem; color: var(--ink); font-weight: 500; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6dbe6; }
.card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(47, 86, 230, .1); color: var(--accent); margin-bottom: 20px;
}
.card-cta { display: flex; flex-direction: column; }
.card-cta p { flex: 1; margin-bottom: 22px; }
.card--media { padding: 0; overflow: hidden; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card--media:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 28px 30px; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.value-num { font-size: .85rem; font-weight: 800; color: var(--accent); letter-spacing: .05em; }
.value h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.value p { color: var(--muted); font-size: .96rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; text-align: center; box-shadow: var(--shadow-sm);
}
.avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; letter-spacing: .02em;
  color: #fff; background: linear-gradient(135deg, var(--accent), #5b7bff);
}
.team-card h3 { font-size: 1.2rem; }
.role { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 6px 0 14px; }
.bio { color: var(--muted); font-size: .98rem; }

/* ---------- Contact (dark) ---------- */
.section-dark { background: var(--bg-dark); }
.contact-grid { align-items: center; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fa6ff; padding-top: 3px; }
.contact-row a, .contact-row address { color: #e8ecf5; font-style: normal; font-size: 1.08rem; transition: color .2s; }
.contact-row a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1120; color: #cbd3e2; padding: 56px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: flex; gap: 14px; max-width: 380px; }
.footer-name { font-weight: 800; letter-spacing: .04em; color: #fff; }
.footer-desc { font-size: .92rem; color: #93a0b8; margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-content: start; }
.footer-nav a { font-size: .95rem; color: #cbd3e2; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 26px; }
.footer-legal p { font-size: .82rem; color: #7c89a1; }

/* ---------- Responsive ---------- */
.hide-mobile { display: inline; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 22px; box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 12px 4px; font-size: 1.05rem; }
  .nav-cta { margin-top: 8px; }
  .nav-cta a { display: block; text-align: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; margin-top: 4px; }
  .hero-media img { aspect-ratio: 16 / 11; }
  .grid-2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hide-mobile { display: none; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 460px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
}
