/* =========================================================
   LAYOUT — header, footer, hero, components
   ========================================================= */

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7em;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand small {
  display: block;
  font-family: var(--f-body);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-bronze-400);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  font-weight: 500;
  padding: .4em 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  border-color: var(--c-bronze-500);
}

.nav-cta {
  display: flex;
  gap: .7rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width:920px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--c-navy-950);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--t-med) var(--ease);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 1.2rem;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--c-navy-950) 0%, var(--c-navy-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  padding-top: 60%;
  background-image: repeating-linear-gradient(135deg, rgba(184, 134, 46, .18) 0 2px, transparent 2px 30px),
    repeating-linear-gradient(45deg, rgba(184, 134, 46, .12) 0 2px, transparent 2px 30px);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  color: #fff;
  max-width: 14ch;
}

.hero .lede {
  color: rgba(255, 255, 255, .78);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 1.6rem;
}

.stat-num {
  font-family: var(--f-display);
  font-size: 2.1rem;
  color: var(--c-bronze-400);
  display: block;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .06em;
}

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

/* ---- Page header (non-home pages) ---- */
.page-header {
  background: var(--c-navy-950);
  color: #fff;
  padding: 3rem 0 2.6rem;
}

.page-header h1 {
  color: #fff;
  max-width: 24ch;
}

.breadcrumb {
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .8);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---- Section heading pattern ---- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}

/* ---- Project / card components ---- */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card .tag-row {
  display: flex;
  gap: .5rem;
  margin-bottom: .8rem;
  flex-wrap: wrap;
}

.tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  color: var(--c-navy-700);
  background: var(--c-paper-dim);
  padding: .25em .6em;
  border-radius: 99px;
}

.project-card h3 {
  margin-bottom: .3em;
}

.project-card .meta {
  font-size: .85rem;
  color: var(--c-slate-500);
  margin-bottom: .8em;
}

.project-card .figures {
  display: flex;
  gap: 1.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
}

.figures .num {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--c-navy-950);
  display: block;
}

.figures .lbl {
  font-size: .72rem;
  color: var(--c-slate-500);
  text-transform: uppercase;
}

/* ---- Logo strip ---- */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: .7;
}

.logo-strip span {
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--c-slate-500);
}

/* ---- Tenders table ---- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
}

table.data-table {
  min-width: 760px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--c-line);
  font-size: .92rem;
}

.data-table th {
  background: var(--c-paper-dim);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--c-slate-500);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.filters select,
.filters input {
  font-family: inherit;
  padding: .6em .9em;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
}

/* ---- ESG metric tiles ---- */
.metric-tile {
  text-align: center;
  padding: 2rem 1.2rem;
}

.metric-tile .num {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: var(--c-navy-950);
  display: block;
}

.metric-tile .lbl {
  font-size: .85rem;
  color: var(--c-slate-500);
  margin-top: .4em;
}

/* ---- News / list items ---- */
.news-item {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--c-line);
  align-items: flex-start;
}

.news-date {
  font-size: .78rem;
  color: var(--c-bronze-500);
  font-weight: 700;
  text-transform: uppercase;
  min-width: 90px;
}

.news-item h3 {
  margin-bottom: .3em;
}

/* ---- Forms ---- */
.form-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
}

.form-grid .full {
  grid-column: 1/-1;
}

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

.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-navy-950);
  margin-bottom: .4em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8em 1em;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  color: var(--c-slate-700);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-bronze-500);
}

.field .hint {
  font-size: .78rem;
  color: var(--c-slate-500);
  margin-top: .3em;
}

.form-status {
  margin-top: 1rem;
  font-size: .9rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  color: var(--c-success);
}

.form-status.error {
  color: #A23B3B;
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--c-navy-950);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band .lede {
  color: rgba(255, 255, 255, .75);
  margin: 0 auto 1.6rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--c-navy-950);
  color: rgba(255, 255, 255, .7);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-grid h4 {
  color: #fff;
  font-family: var(--f-body);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1em;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6em;
}

.footer-grid a {
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8rem;
}

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

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

/* ---- Back to top ---- */
.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-bronze-500);
  color: var(--c-navy-950);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast);
  z-index: 90;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ---- Sectors dropdown ---- */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  padding: .4em 0;
}

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: .6rem;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--c-navy-950);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  min-width: 260px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 50;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: .6em .7em;
  border-radius: var(--radius);
  font-size: .88rem;
  border-bottom: none !important;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, .08);
}

@media (max-width:920px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, .04);
    margin-top: .6rem;
  }
}

/* ---- Claim / status disclosure note (content governance) ---- */
.disclosure-note {
  font-size: .82rem;
  color: var(--c-slate-500);
  background: var(--c-paper-dim);
  border-left: 3px solid var(--c-bronze-500);
  padding: .9rem 1.1rem;
  margin: 1.2rem 0;
}

/* ---- Leadership table ---- */
.leadership-table th,
.leadership-table td {
  vertical-align: top;
}

/* ---- Leadership bio cards ---- */
.leader-card {
  display: flex;
  flex-direction: column;
}

.leader-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: var(--c-paper-dim);
  border: 1.5px dashed var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .7rem;
  color: var(--c-slate-500);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.leader-card h3 {
  margin-bottom: .15em;
}

.leader-card .meta {
  margin-bottom: .7em;
  font-weight: 600;
  color: var(--c-navy-700);
}

.leader-focus {
  font-size: .92rem;
  margin-bottom: 1.1em;
}

.leader-field {
  margin-top: .9em;
  padding-top: .9em;
  border-top: 1px solid var(--c-line);
}

.leader-field-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  color: var(--c-bronze-500);
  margin-bottom: .35em;
}

.leader-placeholder {
  font-size: .85rem;
  color: var(--c-slate-500);
  font-style: italic;
  margin: 0;
}