/* ------------------------------------------
   GLOBAL VARIABLES
------------------------------------------ */
:root {
  --charcoal: #1C2733;
  --slate: #4D5B63;
  --stone: #8A9499;
  --white: #FFFFFF;
  --blue: #1F6FDB;
  --green: #2ECC71;

  --font: 'Montserrat', sans-serif;
}

/* ------------------------------------------
   BASE
------------------------------------------ */
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-weight: 400;
  background-color: var(--white);
  color: var(--charcoal);
  scroll-behavior: smooth;
}

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ------------------------------------------
   TYPOGRAPHY
------------------------------------------ */
h1, h2, h3, h4 {
  color: var(--charcoal);
  font-weight: 700;
  margin-bottom: 10px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.35rem; }

p {
  font-size: 1.05rem;
  line-height: 1.7;
}

strong {
  font-weight: 700;
}

/* ------------------------------------------
   HEADER / NAV
------------------------------------------ */
header {
  background-color: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 99;
}

.logo-bedrock {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--charcoal);
  letter-spacing: 0.5px;
}

.logo-partners {
  font-weight: 400;
  color: var(--slate);
  margin-left: 6px;
  font-size: 1rem;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-nav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: var(--charcoal);
  text-decoration: none;
  padding: 8px 16px;
  font-weight: 500;
  transition: color .2s ease;
}

.main-nav a:hover,
.nav-cta:hover {
  color: var(--green);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--blue);
  border-radius: 6px;
  padding: 8px 18px;
}

/* ------------------------------------------
   SECTIONS
------------------------------------------ */
section {
  padding: 70px 0;
}

.section-light {
  background-color: var(--white);
}

.section-dark {
  background-color: var(--charcoal);
  color: var(--white);
}

.section-muted {
  background-color: #F4F6F8;
}

/* ------------------------------------------
   HERO
------------------------------------------ */
.hero-grid {
  display: flex;
  flex-direction: column;
}

.hero-actions a {
  margin-bottom: 12px;
}

.hero-card ul {
  padding-left: 20px;
}

/* ------------------------------------------
   BUTTONS
------------------------------------------ */
.btn-primary {
  background-color: var(--blue);
  border-radius: 6px;
  padding: 12px 26px;
  color: var(--white) !important;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: 0.2s;
}

.btn-primary:hover {
  background-color: #0F56B8;
}

.btn-secondary-outline {
  border: 2px solid var(--green);
  color: var(--charcoal);
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary-outline:hover {
  background-color: var(--green);
  color: var(--white);
}

/* ------------------------------------------
   CARDS
------------------------------------------ */
.card {
  padding: 22px;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--stone);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,0.14);
}

/* ------------------------------------------
   GRID LAYOUTS
------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.two-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background-color: var(--stone);
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
}

/* ------------------------------------------
   CONTACT FORM
------------------------------------------ */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--stone);
  font-size: 1rem;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

/* ------------------------------------------
   FOOTER
------------------------------------------ */
footer {
  background-color: var(--charcoal);
  color: var(--stone);
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
}

/* ------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------ */
@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-grid {
    flex-direction: row;
    gap: 40px;
  }

  .hero-content {
    flex: 1;
  }

  .hero-aside {
    flex: 0.6;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    flex-direction: row;
  }

  .btn-primary,
  .btn-secondary-outline {
    margin-bottom: 0;
    width: auto;
  }
}

@media (min-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* ------------------------------
   WHY BEDROCK SECTION HEADERS
------------------------------ */
#why-bedrock h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  border-left: 6px solid var(--green);
  padding-left: 12px;
  margin-bottom: 25px;
  text-transform: none;
}

#why-bedrock h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  margin-top: 30px;
  text-transform: none;
}
