:root {
  --primary: #3A3A3A;   /* neutral dark gray */
  --accent: #F05A28;    /* Criterium orange */
  --bg: #ffffff;
  --muted:  #6F7682;    /* neutral muted gray */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--primary);
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER SECTION --- */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 10;
  padding: 10px 0; /* Updated: Adds breathing room above/below logo */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Updated Logo Sizing */
.brand .logo {
  height: 80px; 
  width: auto;
  display: block;
  margin: 0;
}

/* Text hidden on mobile/desktop as requested by previous file logic */
.brand-text { display: none; }

.nav a { margin-left: 18px; line-height: 1.1; }
.nav .btn { margin-left: 24px; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  border: 1px solid var(--primary);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
}
.btn-ghost { background: transparent; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: white; }
.btn-lg { padding: 14px 20px; font-size: 1.05rem; border-radius: 8px; }

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(180deg, #fafafa, #ffffff);
  padding: 40px 0 30px; /* Updated: Tighter padding to remove dead space */
  border-bottom: 1px solid #eee;
}
.hero h1 { font-size: 2.2rem; margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.cta-row { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* --- BADGES --- */
.badges { padding: 10px 0; border-bottom: 1px solid #eee; background: #fff; }
.badges-inner { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.badge { font-weight: 600; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: #ddd; }

/* --- SECTIONS & CARDS --- */
.section { padding: 56px 0; }
.section.alt { background: #f1f5f9; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.section-title { margin: 0 0 20px; font-size: 1.6rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card-link { margin-top: auto; color: var(--accent); font-weight: 600; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
blockquote {
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: 8px;
}
blockquote p { margin: 0 0 8px; font-style: italic; }
blockquote footer { color: var(--muted); }

/* --- CTA FULL --- */
.cta-full { background: var(--primary); color: #fff; padding: 48px 0; }
.cta-inner { text-align: center; }
.cta-inner p { color: #e5e7eb; }

.cta-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cta-bottom-row h2 { margin: 0; }
@media (max-width: 640px) {
  .cta-bottom-row { justify-content: center; text-align: center; }
}

/* --- FOOTER --- */
.site-footer { background: #111; color: #eee; padding: 40px 0; margin-top: 40px; }
.site-footer h4 { margin: 0 0 10px; color: #fff; }
.site-footer .list { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.site-footer a { color: #eee; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }

/* --- FOOTER TRUST STRIP --- */
.footer-trust{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-trust-left{
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 820px;
}

.footer-trust-right iframe{
  display: block;
}

@media (max-width: 720px){
  .footer-trust{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
    margin-top: 14px;
  }

  .footer-trust-left{
    font-size: 0.9rem;
  }
}

/* --- UTILITIES & FORMS --- */
.section .narrow { max-width: 760px; }
.narrow { max-width: 760px; margin: 0 auto; }

.form label { display: block; margin-bottom: 14px; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav a { margin-left: 10px; line-height: 1.1; }
  .cards { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0; }
}

/* --- DELIVERABLES GRID --- */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.deliverables-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.deliverables-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* --- WHY SECTION: 2x2 CARD GRID --- */
.cards-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Mobile: stack cards */
@media (max-width: 768px) {
  .cards-2col {
    grid-template-columns: 1fr;
  }
}


/* --- TEAM HEADSHOTS --- */
.team-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: flex-start;
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    width: 140px;
    height: 140px;
    margin-bottom: 12px;
  }
}


/* --- SECTION HEADER WITH ACTION BUTTON --- */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.section-header-row .btn {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .section-header-row {
    justify-content: flex-start;
  }
}


/* Ensure accent buttons work cleanly in section headers */
.section-header-row .btn.btn-accent {
  padding: 10px 18px;
  font-size: 0.95rem;
}


/* --- WHY SECTION: 3 WIDE CARDS (DIFFERENTIATORS) --- */
.cards-3wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-kicker {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
}
