/* =========================
   MRCM Analysts — Light, Modern, Professional Stylesheet
   Drop-in replacement for styles.css
   ========================= */

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

:root{
  /* Light theme */
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface2: #ffffff;
  --card: #ffffff;

  --border: rgba(11, 18, 32, 0.10);
  --border2: rgba(11, 18, 32, 0.07);

  --text: rgba(11, 18, 32, 0.92);
  --muted: rgba(11, 18, 32, 0.70);
  --muted2: rgba(11, 18, 32, 0.55);

  /* Accents */
  --brand: #2b78ff;
  --brand2: #22c55e;

  /* Elevation */
  --shadow: 0 16px 50px rgba(11, 18, 32, 0.10);
  --shadow2: 0 10px 28px rgba(11, 18, 32, 0.08);

  --radius: 18px;
  --radius2: 24px;

  --max: 1100px;
  --pad: clamp(18px, 3vw, 28px);
  --gap: clamp(14px, 2.2vw, 22px);
}

html{ scroll-behavior: smooth; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 520px at 15% 0%, rgba(43,120,255,0.10), transparent 55%),
    radial-gradient(900px 520px at 85% 10%, rgba(34,197,94,0.08), transparent 55%),
    linear-gradient(180deg, #f6f7fb 0%, #ffffff 45%, #f6f7fb 100%);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Accessibility */
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 18px; top: 18px; width:auto; height:auto; padding: 10px 12px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow2);
}

/* Layout */
.container{
  width: min(var(--max), calc(100% - 2*var(--pad)));
  margin: 0 auto;
}

.section{
  padding: clamp(44px, 6vw, 78px) 0;
}

.section-soft{
  background: rgba(11,18,32,0.03);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}

/* Typography */
.h2{
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
}
p{ margin: 0 0 10px 0; }
.muted{ color: var(--muted); }
.small{ font-size: 0.92rem; color: var(--muted2); }
.maxw{ max-width: 72ch; }

/* Header / Nav */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(11,18,32,0.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand-logo{
  height: 44px;
  width: auto;
}

.nav-menu{
  display:flex;
  gap: 16px;
  align-items:center;
}

.nav-menu a{
  color: rgba(11,18,32,0.72);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.nav-menu a:hover{
  background: rgba(11,18,32,0.05);
  color: rgba(11,18,32,0.92);
}

.nav-cta{
  background: rgba(43,120,255,0.10);
  border: 1px solid rgba(43,120,255,0.22);
  color: rgba(11,18,32,0.92) !important;
}

/* Mobile toggle */
.nav-toggle{
  display:none;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(11,18,32,0.14);
  border-radius: 14px;
  padding: 10px 12px;
  color: rgba(11,18,32,0.92);
  cursor:pointer;
}
.burger{
  width: 20px; height: 2px; background: rgba(11,18,32,0.92);
  display:block; position: relative;
}
.burger::before, .burger::after{
  content:"";
  position:absolute; left:0;
  width:20px; height:2px; background: rgba(11,18,32,0.92);
}
.burger::before{ top:-6px; }
.burger::after{ top: 6px; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); border:0;
}

/* Hero */
.hero{
  padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 5vw, 56px);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.pill{
  display:inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,0.10);
  background: rgba(11,18,32,0.04);
  color: rgba(11,18,32,0.70);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.hero h1{
  font-size: clamp(34px, 5.1vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
}

.lede{
  font-size: clamp(16px, 1.55vw, 19px);
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-trust{
  margin-top: 18px;
  color: var(--muted2);
  font-size: 0.95rem;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.dot{ opacity: 0.5; }

.hero-card{
  border-radius: var(--radius2);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
}

.mini-grid{
  display:grid;
  gap: 14px;
}
.mini{
  padding: 14px;
  border-radius: 16px;
  background: rgba(11,18,32,0.03);
  border: 1px solid rgba(11,18,32,0.08);
}
.mini h3{
  margin: 0 0 6px 0;
  font-size: 1.02rem;
}
.mini p{
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, filter .2s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(135deg, rgba(43,120,255,0.95), rgba(34,197,94,0.90));
  color: #06101f;
  border-color: rgba(11,18,32,0.10);
}
.btn-primary:hover{ filter: brightness(1.02); }

.btn-ghost{
  background: rgba(11,18,32,0.04);
  border-color: rgba(11,18,32,0.10);
  color: rgba(11,18,32,0.92);
}
.btn-ghost:hover{ background: rgba(11,18,32,0.06); }

.btn-secondary{
  background: rgba(11,18,32,0.04);
  border-color: rgba(11,18,32,0.10);
  color: rgba(11,18,32,0.92);
}
.btn-secondary:hover{ background: rgba(11,18,32,0.06); }

.btn-small{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* Section head */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head p{ margin: 0; }

/* Bullets */
.bullets{
  margin: 12px 0 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
  max-width: 80ch;
}
.bullets li{
  padding-left: 26px;
  position: relative;
  color: var(--muted);
}
.bullets li::before{
  content: "✓";
  position:absolute; left: 0; top: 0;
  color: var(--brand2);
  font-weight: 700;
}

/* Cards (Solutions) */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 18px;
}
.card{
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  padding: 18px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card h3{ margin: 0 0 8px 0; }
.card p{ color: var(--muted); }

.expand{
  display:none;
  margin-top: 10px;
}
.expand.is-open{ display:block; }

/* Carousel */
.carousel{
  position: relative;
  display:flex;
  align-items:center;
  gap: 12px;
}

.circle-btn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,0.12);
  background: rgba(255,255,255,0.92);
  color: rgba(11,18,32,0.92);
  cursor:pointer;
  transition: background .2s ease, transform .15s ease;
  flex: 0 0 auto;
}
.circle-btn:hover{ background: #ffffff; }
.circle-btn:active{ transform: translateY(1px); }

.carousel-track{
  display:flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 10px;
  scrollbar-width: none;
  flex: 1 1 auto;
  border-radius: 16px;
}
.carousel-track::-webkit-scrollbar{ display:none; }

.client{
  flex: 0 0 310px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  padding: 16px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.client:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.client img{
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  filter: none;
}
.tag{
  display:inline-block;
  margin: 0 0 8px 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,0.10);
  color: rgba(11,18,32,0.65);
  background: rgba(11,18,32,0.04);
  font-size: 0.88rem;
}
.client h3{ margin: 0 0 8px 0; }
.client p{ color: var(--muted); }

/* Team */
.team{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: 18px;
}
.person{
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  padding: 18px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.person:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.person img{
  width: 92px; height: 92px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(11,18,32,0.12);
  margin-bottom: 12px;
}
.person h3{
  margin: 0 0 8px 0;
  font-size: 1.05rem;
}
.person a:hover{ text-decoration: underline; }
.person p{ color: var(--muted); }

/* Form */
.form{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius2);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
}

.field{
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.field-full{ grid-column: 1 / -1; }

label{
  color: var(--muted);
  font-size: 0.95rem;
}

input, select, textarea{
  background: #ffffff;
  border: 1px solid rgba(11,18,32,0.12);
  border-radius: 14px;
  padding: 12px 12px;
  color: rgba(11,18,32,0.92);
  outline: none;
}
textarea{ resize: vertical; min-height: 140px; }

input:focus, select:focus, textarea:focus{
  border-color: rgba(43,120,255,0.45);
  box-shadow: 0 0 0 4px rgba(43,120,255,0.12);
}

.field-actions{
  grid-column: 1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(11,18,32,0.08);
  background: rgba(255,255,255,0.92);
  padding: 22px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links{
  display:flex;
  gap: 14px;
}
.footer-links a{
  color: rgba(11,18,32,0.70);
  padding: 8px 10px;
  border-radius: 12px;
}
.footer-links a:hover{
  color: rgba(11,18,32,0.92);
  background: rgba(11,18,32,0.05);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .team{ grid-template-columns: repeat(2, 1fr); }
  .section-head{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px){
  .nav-toggle{ display:inline-flex; align-items:center; }

  .nav-menu{
    position: absolute;
    right: var(--pad);
    top: 64px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, calc(100vw - 2*var(--pad)));
    padding: 10px;
    border-radius: 16px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(11,18,32,0.10);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open{ display:flex; }
  .nav-menu a{ padding: 12px 12px; }

  .form{ grid-template-columns: 1fr; }
  .team{ grid-template-columns: 1fr; }
}

.brand{
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: rgba(11,18,32,0.92);
  padding: 8px 10px;
  border-radius: 12px;
}

.brand:hover{
  background: rgba(11,18,32,0.05);
}

.brand-dot{
  color: var(--brand);
}
.brand{
  font-weight: 800;                 /* bold like headline */
  font-size: 1.15rem;
  letter-spacing: -0.03em;          /* same “tight” modern feel */
  color: rgba(11,18,32,0.92);
  padding: 8px 10px;
  border-radius: 12px;
  line-height: 1;
}

.brand:hover{
  background: rgba(11,18,32,0.05);
}

.brand-strong{
  font-weight: 900;                 /* make “MRCM” pop */
}

.brand-dot{
  color: var(--brand);
}

