:root {
  --blue: #0B2545;
  --blue-2: #123A66;
  --green: #00BF5F;
  --green-soft: #E9FFF3;
  --gray: #AEB0B3;
  --soft: #F5F7FA;
  --text: #1F2933;
  --muted: #5B6770;
  --white: #fff;
  --shadow: 0 24px 60px rgba(11, 37, 69, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: var(--green);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 20;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(174, 176, 179, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--white);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.2rem;
  color: var(--blue);
}

.brand-text span {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--blue);
  font-weight: 700;
}

.nav-menu a {
  opacity: 0.86;
}

.nav-menu a:hover {
  color: var(--green);
  opacity: 1;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}

.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0e335c 62%, #0c4d4b 100%);
  color: #fff;
  padding: 84px 0 64px;
  position: relative;
  overflow: hidden;
}


.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(0, 191, 95, 0.18);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 0.96;
  margin: 0 0 20px;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  color: var(--blue);
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--blue);
}

.hero-lead {
  font-size: 1.18rem;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--blue);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.microcopy {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  margin-top: 16px;
}

.hero-card {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-card h2 {
  font-size: 1.7rem;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.hero-logo {
  width: 120px;
  margin-bottom: 18px;
}

.notice {
  margin-top: -28px;
  position: relative;
  z-index: 3;
  background: var(--green-soft);
  border: 1px solid rgba(0, 191, 95, 0.42);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
}

.notice strong {
  color: var(--blue);
}

.notice span {
  color: var(--muted);
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: var(--blue);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--green);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}

.wide-text {
  font-size: 1.16rem;
  max-width: 940px;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(174, 176, 179, 0.45);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(11, 37, 69, 0.06);
  border-left: 5px solid var(--green);
}

.service-card p {
  font-style: italic;
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.service-card li {
  margin-bottom: 6px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.split p {
  color: var(--muted);
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topic-list li {
  background: var(--soft);
  border: 1px solid rgba(174, 176, 179, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--blue);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.format-grid div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.format-grid span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  background: var(--soft);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(174, 176, 179, 0.36);
}

.contact-card p {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-actions .btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: rgba(174, 176, 179, 0.45);
}

.location {
  margin: 4px 0 0;
}

.site-footer {
  background: #071B33;
  color: rgba(255, 255, 255, 0.78);
  padding: 24px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 950px) {
  .hero-grid,
  .split,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card {
    max-width: 1020px;
  }
}

@media (max-width: 720px) {
  .nav-menu {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    background: #fff;
    border: 1px solid rgba(174, 176, 179, 0.38);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 58px;
  }

  .cards-grid,
  .topic-list,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .brand-text span {
    display: none;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }
}


/* ===== BIRD custom layout overrides ===== */

/* Services and formats grids */
@media (min-width: 900px) {
  #services .cards-grid.services-grid-six {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
  }

  #formats .format-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
  }

  .credibility-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Why BIRD credibility cards */
.credibility-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.credibility-card {
  background: #ffffff;
  border: 1px solid rgba(174, 176, 179, 0.55);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 14px 30px rgba(11, 37, 69, 0.06);
}

.credibility-card h3 {
  color: #0B2545;
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.credibility-card p {
  color: #5B6770;
  margin: 0;
}

/* ===== Final balanced hero layout ===== */

/* ===== Final balanced hero layout: wide but not squeezed ===== */

/* Large desktop */
@media (min-width: 1100px) {
  .hero .container {
    width: min(1440px, calc(100% - 64px));
  }

  .hero-grid {
    grid-template-columns: minmax(620px, 1.15fr) minmax(560px, 0.85fr);
    gap: 64px;
    align-items: center;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-card {
    width: 100%;
    max-width: 680px;
    justify-self: end;
  }
}

/* Medium desktop */
@media (min-width: 950px) and (max-width: 1099px) {
  .hero .container {
    width: min(1220px, calc(100% - 44px));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);
    gap: 44px;
    align-items: center;
  }

  .hero-card {
    width: 100%;
    max-width: 600px;
    justify-self: end;
  }
}

/* When the hero stacks */
@media (max-width: 950px) {
  .hero-grid {
    gap: 2rem;
  }

  .hero-card {
    margin-top: 1.4rem;
    max-width: 620px;
  }
}

/* Hero card internal layout */
.hero-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.hero-card-header .hero-logo {
  flex: 0 0 95px;
  width: 95px;
  max-width: 95px;
  height: auto;
  margin: 0;
}

.hero-card-heading {
  flex: 1;
  min-width: 0;
}

.hero-card-heading h2 {
  margin: 0;
  line-height: 1.08;
  font-size: 1.35rem;
  white-space: normal;
}

/* Keep the French title on one line when there is enough space */
@media (min-width: 1200px) {
  .hero-card-heading h2 {
    white-space: nowrap;
  }
}

.hero-card .with-bird-label {
  color: #014a14;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.15;
  margin: 0.45rem 0 0 0;
  text-align: left;
}

/* Specialized expertise strip */
.expertise-strip {
  margin-top: 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(3, 95, 46, 0.22);
  border-radius: 1rem;
  padding: 1rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag-cloud span {
  border: 1px solid rgba(3, 95, 46, 0.35);
  background: #EDF5F0;
  color: #0B2545;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Larger section labels */
.section-label-large {
  color: #035F2E;
  font-size: 1.4rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section-dark .eyebrow.section-label-large {
  color: #7ACC8F;
}

/* EN / FR language buttons */
.language-switcher {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: 0.75rem;
}

.language-switcher button {
  border: 1px solid rgba(11, 37, 69, 0.25);
  background: #ffffff;
  color: #0B2545;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  background: #035F2E;
  border-color: #035F2E;
  color: #ffffff;
}

@media (max-width: 520px) {
  .hero-card-header {
    gap: 0.85rem;
  }

  .hero-card-header .hero-logo {
    flex: 0 0 85px;
    width: 85px;
    max-width: 85px;
  }

  .hero-card-heading h2 {
    font-size: 1.2rem;
    white-space: normal;
  }

  .hero-card .with-bird-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .language-switcher {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}

/* Give more space to the main hero text */
@media (min-width: 950px) {
  .hero .container {
    width: min(1280px, calc(100% - 72px));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(420px, 0.65fr);
    gap: 56px;
    align-items: center;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-lead {
    max-width: 780px;
  }

  .hero-card {
    width: 100%;
    max-width: 520px;
    justify-self: end;
  }
}


/* Final spacing between hero buttons and the white hero box */
.hero .contact-actions {
  margin-bottom: 2.8rem;
}

.hero-copy > .hero-card {
  margin-top: 0;
}


/* Make the white hero box wider on laptop/desktop */
@media (min-width: 1150px) {
  .hero-copy {
    max-width: 1100px;
  }

  .hero-copy > .hero-card {
    width: 100%;
    max-width: 1000px;
  }

  .hero-card-heading h2 {
    white-space: normal;
  }
}

.contact-card .eyebrow {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #035F2E;
  margin-bottom: 0.75rem;
}

/* Final hero title size correction */
.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 900px;
}

.hero-lead {
  max-width: 820px;
}

/* Make hero-card title larger */
.hero-card-heading h2 {
  font-size: 1.55rem;
  line-height: 1.08;
}
