/* FILE: styles.css */
/* Rasar Strategic Consulting
   Shared styles that mirror rasar_consulting_website_v4.html layout and feel
   Absolute rule: no em dash or en dash characters anywhere
*/

/* Font change only: Montserrat as brand font per style guide */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

:root {
  --ice-blue: #348ddb;
  --white: #ffffff;
  --deep-navy: #1e3653;
  --strategic-gold: #e1a730;
  --text-gray: #333333;

  --bg-soft: #f4f7fa;
  --card-border: #eef2f6;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

  --container-pad-desktop: 10%;
  --container-pad-mobile: 5%;

  --radius-card: 12px;
  --radius-btn: 6px;

  /* Font change only */
  --font-head: "Montserrat", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Montserrat", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.6;
  color: var(--text-gray);
  overflow-x: hidden;
  background: var(--white);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

p { margin: 0 0 14px 0; }
ul { margin: 0; padding-left: 18px; }
li { margin: 8px 0; }

/* Header */
header.site-header {
  background-color: var(--deep-navy);
  color: var(--white);
  padding: 1rem var(--container-pad-mobile);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 72px;
}

/* Brand */
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* Replace wordmark styling with lockup styling */
.brand .logo-lockup {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand .logo-headline {
  font-family: var(--font-head);
  font-weight: 500; /* Montserrat Medium */
  font-size: 1.06rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand .logo-subline {
  font-family: var(--font-body);
  font-weight: 400; /* Montserrat Regular */
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.92;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  transition: 0.3s ease;
}

nav.primary-nav li { margin-left: 25px; }

nav.primary-nav a {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  opacity: 0.95;
}

nav.primary-nav a:hover { opacity: 1; }

nav.primary-nav a.accent {
  color: var(--ice-blue);
  font-weight: 700;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  height: 3px;
  width: 26px;
  background: var(--white);
  border-radius: 2px;
}

/* Hero */
.hero {
  background:
    linear-gradient(rgba(30, 54, 83, 0.85), rgba(30, 54, 83, 0.85)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=2072");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 80px var(--container-pad-mobile) 60px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: 3rem;
  max-width: 850px;
  margin: 0 auto 1.2rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 1.8rem;
  opacity: 0.92;
}

.hero .hero-sub {
  max-width: 760px;
  margin: 0.8rem auto 0;
  opacity: 0.86;
  font-size: 0.98rem;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: var(--radius-btn);
  padding: 16px 32px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 800;
  font-size: 0.82rem;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.btn:focus { outline: none; }

.btn-gold {
  background-color: var(--strategic-gold);
  color: var(--deep-navy);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background-color: #f0b43a;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  margin-left: 10px;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-inline {
  color: var(--ice-blue);
  font-weight: 700;
  border-bottom: 1px solid rgba(52, 141, 219, 0.5);
}

.btn-inline:hover {
  border-bottom-color: rgba(52, 141, 219, 0.9);
}

/* Sections */
section {
  padding: 80px var(--container-pad-desktop);
}

.section-title {
  color: var(--deep-navy);
  border-bottom: 4px solid var(--strategic-gold);
  display: inline-block;
  margin: 0 0 40px 0;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1.2;
}

.section-lede {
  font-size: 1.05rem;
  max-width: 900px;
  color: rgba(51, 51, 51, 0.92);
  margin-bottom: 18px;
}

/* Philosophy band */
.band {
  background-color: var(--bg-soft);
  border-left: 10px solid var(--ice-blue);
}

.band .callout {
  font-size: 1.25rem;
  color: var(--deep-navy);
  font-style: italic;
  margin: 0 0 16px 0;
}

.band .bullets {
  display: grid;
  gap: 8px;
  max-width: 920px;
  margin-top: 12px;
}

.band .bullets li {
  margin: 0;
}

/* Grid cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.card {
  padding: 34px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--ice-blue);
  margin: 0 0 10px 0;
  font-size: 1.35rem;
  font-family: var(--font-head);
}

.card p {
  margin: 0;
  color: rgba(51, 51, 51, 0.92);
}

/* Simple split layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.panel {
  padding: 28px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 12px 0;
  font-family: var(--font-head);
  color: var(--deep-navy);
}

/* Footer */
footer.site-footer {
  background: var(--deep-navy);
  color: #fff;
  text-align: center;
  padding: 40px 0;
  opacity: 0.92;
}

footer.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Mobile adjustments */
@media (max-width: 1000px) {
  section { padding: 70px var(--container-pad-mobile); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .menu-toggle { display: flex; }

  nav.primary-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--deep-navy);
    padding: 20px 0;
    text-align: center;
  }

  nav.primary-nav ul.active { display: flex; }
  nav.primary-nav li { margin: 15px 0; }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }

  section { padding: 60px var(--container-pad-mobile); }

  .btn-ghost {
    margin-left: 0;
    margin-top: 12px;
    display: inline-block;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}
