/* Cosminova Consulting — base styles */

:root {
  --ink: #1a1a1a;
  --charcoal: #2c2b27;
  --gold: #c6a063;
  --gold-deep: #a6813f;
  --gold-pale: #e8dcc4;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #3d3b36;
  --text-light: #6f6c64;
  --border: #e6e0d4;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold-deep);
  font-weight: 500;
  display: block;
  margin-bottom: 0.9em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-deep); }
.btn-outline {
  border-color: var(--gold);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.98);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; }
.brand-word { display: none; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.main-nav ul a {
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--gold-deep); }
.main-nav ul a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
}
.nav-cta { white-space: nowrap; padding: 12px 26px; font-size: 0.82rem; display: inline-block; }

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

/* Hero */
.hero {
  padding: 100px 0 90px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: flex; align-items: center; gap: 48px; }
.hero-inner { max-width: 620px; flex: 1 1 520px; }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-visual { flex: 0 0 380px; display: none; justify-content: center; }
.hero-visual img { width: 100%; max-width: 380px; }
@media (min-width: 981px) { .hero-visual { display: flex; } }

.page-hero {
  padding: 72px 0 56px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url("assets/img/pattern-orbit-dark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--gold); }

/* Icon badges */
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(198, 160, 99, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-badge img { width: 26px; height: 26px; }
.service-label .icon-badge { margin-bottom: 22px; }

/* Section spacing */
section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-dark {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Grids */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid > * { min-width: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 34px 30px;
  border-radius: 3px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 14px 34px rgba(28,27,24,0.08); transform: translateY(-2px); }
.card .num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-light); margin-bottom: 0; font-size: 0.96rem; }
.card a.more { display: inline-block; margin-top: 14px; font-size: 0.85rem; color: var(--gold-deep); letter-spacing: 0.03em; }
.card a.more:hover { color: var(--ink); }

.leadership-card {
  padding: 40px 36px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.founder-emblem { flex: 0 0 88px; width: 88px; height: 88px; }
@media (max-width: 480px) {
  .leadership-card { flex-direction: column; text-align: center; gap: 16px; }
}

/* Audience tiles */
.audience-tile {
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--cream);
}
.audience-tile h3 { margin-bottom: 8px; }
.audience-tile p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats .stat { min-width: 0; }
.stats .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--gold);
  font-weight: 600;
}
.stats .stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}

/* Service detail blocks */
.service-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 48px;
}
.service-block:last-child { border-bottom: none; }
.service-block .service-label .eyebrow { margin-bottom: 6px; }
.service-block ul { margin: 0; padding-left: 18px; }
.service-block li { margin-bottom: 10px; color: var(--text); }
.service-block .who {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--text-light);
}

/* MoCRA timeline */
.timeline { display: grid; gap: 20px; }
.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-date {
  font-family: var(--serif);
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 1.05rem;
}
.timeline-item h4 { margin-bottom: 6px; font-family: var(--sans); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.timeline-item p { margin-bottom: 0; color: var(--text-light); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 28px; }

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin-top: 2.2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text); }
.legal-content ul { padding-left: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-content .updated { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2.5em; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px;
}
.contact-card h3 { margin-bottom: 6px; }
.contact-card a.email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.05rem;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-pale);
}
.contact-card a.email:hover { color: var(--ink); border-color: var(--ink); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 4px; }

.notice {
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-top: 24px;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 60px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); max-width: 320px; font-size: 0.88rem; }
.site-footer h4 {
  color: var(--white);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-disclaimer { max-width: 500px; }
.footer-legal-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(255,255,255,0.6); }
.footer-legal-links a:hover { color: var(--gold); }
.footer-legal-links .dot { color: rgba(255,255,255,0.3); margin: 0 8px; }

/* Responsive */
@media (max-width: 880px) {
  .main-nav ul { display: none; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .header-inner.open .main-nav {
    position: fixed;
    top: var(--header-h, 74px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    background: var(--cream);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .header-inner.open .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .header-inner.open .nav-cta { display: inline-block; }
  .header-inner.open .main-nav ul a { font-size: 1.1rem; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 56px; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 22px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stats .stat strong { font-size: 1.8rem; }
}
