:root {
  --orange: #C65A1A;
  --orange2: #E3742B;
  --cream: #FFF4E8;
  --ink: #1F2937;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --border-radius-lg: 18px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
  --shadow-light: 0 8px 20px rgba(0, 0, 0, 0.04);
  --transition-fast: 0.18s ease-out;
  --max-width: 1120px;
  --focus-ring: 0 0 0 3px rgba(230, 116, 43, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Layout base */

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  background: rgba(255, 244, 232, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(198, 90, 26, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.55rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 96px;
  height: 96px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Navegación */

.nav-main {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.35rem 0.15rem;
  border-radius: var(--border-radius-sm);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links .is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav-links .is-active::after,
.nav-links .is-current-section::after {
  transform: scaleX(1);
}

.nav-links .is-current-section {
  color: var(--ink);
}

/* Botón primario */

.btn,
button,
input[type="submit"] {
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background-image: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(198, 90, 26, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  transform: translate3d(var(--btn-shift-x, 0px), var(--btn-shift-y, 0px), 0);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.28) 48%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.btn:hover {
  transform: translate3d(var(--btn-shift-x, 0px), calc(var(--btn-shift-y, 0px) - 1px), 0);
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(198, 90, 26, 0.38);
}

.btn.is-awake::after,
.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translate3d(var(--btn-shift-x, 0px), var(--btn-shift-y, 0px), 0);
  box-shadow: 0 8px 18px rgba(198, 90, 26, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1px solid rgba(198, 90, 26, 0.55);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(198, 90, 26, 0.05);
  box-shadow: 0 10px 26px rgba(198, 90, 26, 0.18);
}

/* Selector de idioma */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.lang-switch-label {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  text-decoration: none;
  padding: 0.23rem 0.5rem;
  border-radius: 7px;
  color: #475569;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.76rem;
  line-height: 1;
}

.lang-flag {
  font-size: 0.86rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.03em;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  border-color: rgba(198, 90, 26, 0.55);
  background: #fff;
  color: var(--ink);
}

.lang-switch .lang-active {
  background: linear-gradient(180deg, #fff, #fff7ed);
  border-color: rgba(198, 90, 26, 0.55);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(198, 90, 26, 0.16);
}

/* Contenido principal */

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  margin: 0 calc(50% - 50vw) 3rem;
  padding: 4.5rem 1.25rem 3.5rem;
  color: #fff;
  overflow: hidden;
  background-image:
    linear-gradient(115deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.4)),
    url("/assets/img/hero.jpg");
  background-size: cover;
  background-position: center calc(50% + var(--hero-shift, 0px));
  background-repeat: no-repeat;
}

.page-shell > .hero:first-child {
  margin-top: -2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0% 0%, rgba(244, 244, 245, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 237, 213, 0.2), transparent 60%);
  opacity: 0.9;
  mix-blend-mode: soft-light;
}

.hero-inner {
  position: relative;
  max-width: 640px;
  z-index: 1;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: rgba(249, 250, 251, 0.82);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  text-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
}

.hero-subtitle {
  color: rgba(249, 250, 251, 0.85);
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(249, 250, 251, 0.8);
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  opacity: 0.9;
}

.hero-meta-highlight {
  font-weight: 600;
}

.hero .chip {
  border-color: rgba(248, 250, 252, 0.65);
  color: rgba(249, 250, 251, 0.9);
  background: rgba(15, 23, 42, 0.35);
}

/* Secciones genéricas */

.section {
  margin-bottom: 3rem;
}

body.js-enhanced .page-shell {
  opacity: 0;
  transform: translateY(14px);
}

body.js-enhanced.js-ready .page-shell {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

body.js-enhanced .reveal-item {
  opacity: 0;
  transform: translateY(18px) scale(0.995);
}

body.js-enhanced .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 520ms ease var(--reveal-delay, 0ms),
    transform 520ms ease var(--reveal-delay, 0ms),
    box-shadow 220ms ease;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.35rem;
  margin: 0;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.section-subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Cards y grid */

.grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.card {
  border-radius: var(--border-radius-lg);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-light);
  padding: 1.2rem 1.2rem 1.3rem;
}

body.js-enhanced .interactive-tilt {
  transform-style: preserve-3d;
  transition: transform 170ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

body.js-enhanced .interactive-tilt.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.card-title {
  font-size: 1rem;
  margin: 0;
}

.card-tag {
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(198, 90, 26, 0.07);
  color: var(--orange);
  font-weight: 600;
}

.card-body {
  font-size: 0.9rem;
  color: var(--muted);
}

.card-stat {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

/* Banda CTA */

.band-cta {
  border-radius: 20px;
  background: radial-gradient(circle at 10% 0%, #ffe1c5, #ffd0aa);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.band-text {
  max-width: 30rem;
}

.band-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.band-subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Homepage NGO (ES) */

.ngo-home .hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.ngo-home .hero-title {
  max-width: 18ch;
}

.ngo-home .card,
.ngo-home .band-cta,
.ngo-home .project-photo,
.ngo-home .project-gallery--all {
  border-radius: 10px;
}

.ngo-home .btn {
  border-radius: 8px;
}

.ngo-intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ngo-mini-card .card-body {
  font-size: 0.88rem;
}

.ngo-program-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.ngo-step-card .card-title {
  font-size: 0.98rem;
}

.ngo-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.ngo-list li + li {
  margin-top: 0.45rem;
}

.landing-intro {
  margin-top: 0.5rem;
}

.landing-intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-feature-card {
  border: 1px solid rgba(198, 90, 26, 0.2);
  background: linear-gradient(180deg, #fff 0%, #fff8f1 100%);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.impact-pill {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.impact-pill-title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.impact-pill-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.landing-message {
  margin-top: 0.4rem;
}

.message-panel {
  border: 1px solid rgba(198, 90, 26, 0.2);
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  padding: 1.35rem 1.3rem 1.4rem;
}

.message-copy {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
}

.message-copy:last-of-type {
  margin-bottom: 0.8rem;
}

.message-closing {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid rgba(198, 90, 26, 0.85);
  background: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  color: #1f2937;
  font-weight: 600;
}

.section-alt {
  margin-left: -1rem;
  margin-right: -1rem;
  padding: 1.2rem 1rem 1.35rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fff8f3);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

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

.metric-card {
  text-align: left;
  border: 1px solid rgba(198, 90, 26, 0.2);
  background: #fff;
}

.metric-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.metric-value {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  color: #0f172a;
  font-weight: 800;
}

.program-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.55rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff5eb, #ffecd8);
  border: 1px solid rgba(198, 90, 26, 0.25);
  color: #9a3412;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Recursos grid */

.resources-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

/* Impacto */

.impact-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* Galeria del proyecto */

.project-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.9rem;
}

.project-gallery--all {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 65%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
}

.project-photo {
  margin: 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-light);
}

.project-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.project-photo--main img {
  min-height: 320px;
}

.project-photo figcaption {
  padding: 0.65rem 0.8rem 0.75rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.project-gallery--all .project-photo img {
  min-height: 210px;
  max-height: 320px;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.project-gallery--all .project-photo {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  transform-origin: center;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  position: relative;
}

.project-gallery--all .project-photo:hover,
.project-gallery--all .project-photo:focus-within {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(198, 90, 26, 0.42);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
}

.gallery-region-wrap {
  display: grid;
  gap: 1.4rem;
}

.gallery-region {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #fff;
  border-radius: 10px;
  padding: 0.95rem;
}

.gallery-region-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.gallery-region-title {
  margin: 0;
  font-size: 1rem;
}

.gallery-region-count {
  font-size: 0.78rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.photo-country-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.photo-country-badge--mexico {
  background: linear-gradient(135deg, #166534, #15803d);
}

.photo-country-badge--cambodia {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
}

body.js-enhanced .project-gallery--all .project-photo {
  opacity: 0;
  transform: translateY(22px);
}

body.js-enhanced .project-gallery--all .project-photo.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

body.js-enhanced .project-gallery--all .project-photo:nth-child(2n) {
  transition-delay: 40ms;
}

body.js-enhanced .project-gallery--all .project-photo:nth-child(3n) {
  transition-delay: 90ms;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.photo-lightbox.is-open {
  display: flex;
}

.photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(2px);
}

.photo-lightbox__dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: 92vh;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  z-index: 1;
  animation: lightbox-in 220ms ease;
}

.photo-lightbox__image {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  background: #0f172a;
}

.photo-lightbox__caption {
  color: #e2e8f0;
  font-size: 0.9rem;
  text-align: center;
}

.photo-lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.photo-lightbox__nav--prev {
  left: 0.6rem;
}

.photo-lightbox__nav--next {
  right: 0.6rem;
}

.photo-lightbox__nav:hover,
.photo-lightbox__nav:focus-visible,
.photo-lightbox__close:hover,
.photo-lightbox__close:focus-visible {
  background: rgba(198, 90, 26, 0.92);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.project-photo--left img {
  object-position: left center;
}

.project-photo--right img {
  object-position: right center;
}

/* Formularios */

.form-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem 1.4rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(198, 90, 26, 0.16);
  max-width: 520px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.16);
  padding: 0.55rem 0.75rem;
  font: inherit;
  resize: vertical;
  min-height: 2.4rem;
  background-color: #fff;
}

.form-row textarea {
  min-height: 140px;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-color: rgba(198, 90, 26, 0.7);
}

.form-help {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Alertas */

.alert {
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.alert-success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: #111827;
  color: #e5e7eb;
  padding: 1.75rem 1.25rem 1.9rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-col {
  font-size: 0.85rem;
}

.footer-col h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.1rem 0 0;
}

.footer-links li + li {
  margin-top: 0.2rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.84rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #e5e7eb;
  text-decoration: underline;
}

.footer-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Accesibilidad */

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.js-enhanced .page-shell,
  body.js-enhanced .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.js-enhanced .interactive-tilt {
    transform: none;
    transition: none;
  }
}

/* Utilidades */

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 840px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.65rem 1.2rem;
  }

  .nav-main {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    min-height: calc(100vh - 72px);
    margin: 0 calc(50% - 50vw) 2.5rem;
    padding-top: 4rem;
    padding-bottom: 2.75rem;
  }

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

  .ngo-intro-grid,
  .ngo-process-grid,
  .impact-strip,
  .landing-intro-grid,
  .impact-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .band-cta {
    align-items: flex-start;
  }

  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .project-photo--main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .nav-links {
    justify-content: space-between;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ngo-intro-grid,
  .ngo-program-grid,
  .ngo-process-grid,
  .impact-strip,
  .landing-intro-grid,
  .impact-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-alt {
    margin-left: 0;
    margin-right: 0;
    padding: 1rem 0.85rem 1.15rem;
  }

  .site-footer {
    padding-top: 1.4rem;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-photo--main {
    grid-column: auto;
  }

  .project-gallery--all {
    padding: 0.7rem;
  }
}

/* Shared professional navigation */
.site-header {
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid rgba(22, 32, 47, 0.12);
  box-shadow: 0 12px 40px rgba(22, 32, 47, 0.05);
}

.header-inner {
  max-width: var(--max-width);
  min-height: 86px;
  padding: 0.5rem 1.25rem;
}

.brand-logo {
  width: 76px;
  height: 76px;
}

.nav-main {
  gap: 1rem;
}

.nav-links {
  gap: 0.25rem;
}

.nav-links a {
  border-radius: 6px;
  color: #4b5565;
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.42rem 0.64rem;
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.nav-links a::after {
  display: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links .is-active,
.nav-links .is-current-section {
  color: var(--ink);
  background: rgba(198, 90, 26, 0.08);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  transform: translateY(-1px);
}

.nav-cta {
  min-height: 2.72rem;
  border-radius: 7px;
  background: linear-gradient(135deg, #983b12, var(--orange));
  box-shadow: 0 14px 30px rgba(152, 59, 18, 0.24);
  letter-spacing: 0.01em;
}

.lang-switch {
  gap: 0.32rem;
  padding-left: 0.15rem;
}

.lang-switch-label {
  color: #6b7280;
  font-size: 0.68rem;
}

.lang-switch a {
  border-radius: 6px;
  border-color: rgba(22, 32, 47, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: #465264;
  padding: 0.34rem 0.46rem;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  transform: translateY(-1px);
}

.lang-switch .lang-active {
  background: #143457;
  border-color: #143457;
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 52, 87, 0.18);
}

.lang-mark {
  width: 0.86rem;
  height: 0.58rem;
  border: 1px solid rgba(22, 32, 47, 0.18);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  flex: 0 0 auto;
}

.lang-mark--es {
  background: linear-gradient(180deg, #b91c1c 0 25%, #facc15 25% 75%, #b91c1c 75%);
}

.lang-mark--fr {
  background: linear-gradient(90deg, #1d4ed8 0 33%, #fff 33% 66%, #dc2626 66%);
}

.lang-mark--en {
  background: linear-gradient(90deg, #1e3a8a 0 45%, #fff 45% 55%, #b91c1c 55%);
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-main {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 0;
    padding: 0.55rem 1rem;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .nav-main {
    align-items: stretch;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .nav-links a {
    display: flex;
    justify-content: center;
    min-height: 2.55rem;
    text-align: center;
  }

  .nav-cta {
    width: 100%;
  }

  .lang-switch {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Shared institutional footer */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 12% 0%, rgba(198, 90, 26, 0.24), transparent 28rem),
    linear-gradient(145deg, #101827 0%, #162235 54%, #0f1724 100%);
  color: #f8fafc;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 1.35rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.footer-wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: end;
  padding-bottom: clamp(1.7rem, 4vw, 2.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: rgba(255, 250, 244, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-logo:hover,
.footer-logo:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
}

.footer-logo img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.footer-eyebrow {
  margin: 0 0 0.25rem;
  color: #f4b183;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-brand h2 {
  margin: 0 0 0.35rem;
  color: #fffaf4;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.footer-brand p,
.footer-note p,
.footer-cta p {
  margin: 0;
  color: #cbd5e1;
}

.footer-brand p {
  max-width: 42rem;
}

.footer-cta {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.05fr 1.15fr;
  gap: clamp(1.3rem, 4vw, 2.6rem);
  padding: clamp(1.8rem, 4vw, 3rem) 0;
}

.footer-col {
  min-width: 0;
  font-size: 0.93rem;
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  color: #fffaf4;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li,
.footer-contact-list li + li {
  margin-top: 0.48rem;
}

.footer-links a,
.footer-contact-list a,
.footer-languages a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.footer-links a::before {
  content: "";
  width: 0.38rem;
  height: 1px;
  background: rgba(244, 177, 131, 0.65);
  transition: width var(--transition-fast), background-color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact-list a:hover,
.footer-contact-list a:focus-visible,
.footer-languages a:hover,
.footer-languages a:focus-visible {
  color: #fffaf4;
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
  width: 0.78rem;
  background: #f4b183;
}

.footer-contact-list span {
  display: block;
  margin-bottom: 0.12rem;
  color: #f4b183;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact-list small {
  display: block;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-note {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid rgba(244, 177, 131, 0.75);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-languages {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  min-height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-languages a[aria-current="page"] {
  border-color: rgba(244, 177, 131, 0.8);
  background: rgba(244, 177, 131, 0.12);
  color: #fffaf4;
}

body.js-enhanced .footer-top,
body.js-enhanced .footer-grid,
body.js-enhanced .footer-bottom {
  opacity: 1;
  transform: none;
  clip-path: none;
}

body.js-enhanced .is-visible.footer-top,
body.js-enhanced .is-visible.footer-grid,
body.js-enhanced .is-visible.footer-bottom {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

body.js-enhanced .is-visible.footer-grid {
  transition-delay: 90ms;
}

body.js-enhanced .is-visible.footer-bottom {
  transition-delay: 150ms;
}

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

  .footer-brand,
  .footer-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer::before {
    inset: 0.6rem;
  }

  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .footer-logo {
    width: 72px;
    height: 72px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Mobile overflow guard for footer and narrow layouts */
html,
body {
  overflow-x: hidden;
}

.footer-wrap,
.footer-brand,
.footer-brand > div,
.footer-cta,
.footer-col,
.footer-note,
.footer-bottom {
  max-width: 100%;
}

.footer-brand h2,
.footer-brand p,
.footer-cta p,
.footer-note p,
.footer-contact-list small,
.footer-contact-list a {
  overflow-wrap: anywhere;
}

@media (max-width: 420px) {
  .footer-brand {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .footer-logo {
    width: 68px;
    height: 68px;
  }

  .footer-cta,
  .footer-note {
    padding: 0.9rem;
  }

  .footer-languages {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .footer-brand {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .footer-brand > div {
    min-width: 0;
  }
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 177, 131, 0.35);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: #fffaf4;
  border-color: #f4b183;
}

/* Footer v2: clean institutional editorial footer */
.footer-v2.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 5vw, 3.8rem) 1.25rem 1.2rem;
  border-top: 1px solid rgba(22, 32, 47, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(247, 239, 230, 0.98)),
    #fffaf4;
  color: var(--ink);
}

.footer-v2.site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), #143457, var(--orange));
  pointer-events: none;
}

.footer-v2-wrap {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.footer-v2-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: clamp(1.5rem, 4vw, 2.4rem);
  border-bottom: 1px solid rgba(22, 32, 47, 0.12);
}

.footer-v2-brand {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.footer-v2-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  background: #fff;
  border: 1px solid rgba(22, 32, 47, 0.12);
  box-shadow: 0 14px 28px rgba(22, 32, 47, 0.08);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.footer-v2-logo:hover,
.footer-v2-logo:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(198, 90, 26, 0.36);
  box-shadow: 0 18px 36px rgba(22, 32, 47, 0.12);
}

.footer-v2-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.footer-v2-kicker {
  margin: 0 0 0.28rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-v2-brand h2 {
  margin: 0 0 0.42rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.05;
}

.footer-v2-brand p,
.footer-v2-note p,
.footer-v2-contact-card span {
  margin: 0;
  color: var(--muted);
}

.footer-v2-brand p {
  max-width: 48rem;
}

.footer-v2-contact-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(22, 32, 47, 0.12);
  border-left: 4px solid var(--orange);
  box-shadow: 0 18px 42px rgba(22, 32, 47, 0.07);
}

.footer-v2-contact-card span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-v2-contact-card a:not(.footer-v2-action) {
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-v2-action {
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0.55rem 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #983b12, var(--orange));
  box-shadow: 0 12px 24px rgba(198, 90, 26, 0.22);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.footer-v2-action:hover,
.footer-v2-action:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 30px rgba(198, 90, 26, 0.28);
}

.footer-v2-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.4rem);
  padding: clamp(1.5rem, 4vw, 2.35rem) 0;
}

.footer-v2-col {
  min-width: 0;
}

.footer-v2-col h3 {
  margin: 0 0 0.72rem;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-v2-col a {
  display: table;
  color: #4b5565;
  font-size: 0.93rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-v2-col a + a {
  margin-top: 0.42rem;
}

.footer-v2-col a:hover,
.footer-v2-col a:focus-visible {
  color: var(--orange);
  transform: translateX(2px);
}

.footer-v2-note {
  padding: 0.95rem;
  background: rgba(20, 52, 87, 0.06);
  border: 1px solid rgba(20, 52, 87, 0.1);
}

.footer-v2-note p {
  font-size: 0.93rem;
}

.footer-v2-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 32, 47, 0.12);
  color: #647084;
  font-size: 0.84rem;
}

.footer-v2-bottom p {
  margin: 0;
}

.footer-v2-languages {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-v2-languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 1.9rem;
  color: #4b5565;
  background: #fff;
  border: 1px solid rgba(22, 32, 47, 0.13);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.footer-v2-languages a:hover,
.footer-v2-languages a:focus-visible,
.footer-v2-languages a[aria-current="page"] {
  color: #fff;
  background: #143457;
  border-color: #143457;
}

body.js-enhanced .footer-v2-main,
body.js-enhanced .footer-v2-links,
body.js-enhanced .footer-v2-bottom {
  opacity: 1;
  transform: none;
  clip-path: none;
}

body.js-enhanced .is-visible.footer-v2-main,
body.js-enhanced .is-visible.footer-v2-links,
body.js-enhanced .is-visible.footer-v2-bottom {
  opacity: 1;
  transform: none;
  clip-path: none;
}

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

  .footer-v2-brand,
  .footer-v2-contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-v2.site-footer {
    padding-inline: 1rem;
  }

  .footer-v2-main,
  .footer-v2-links {
    grid-template-columns: 1fr;
  }

  .footer-v2-brand {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .footer-v2-logo {
    width: 64px;
    height: 64px;
  }

  .footer-v2-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-v2-languages {
    flex-wrap: wrap;
  }
}

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

.footer-v2-kicker,
.footer-v2-brand p,
.footer-v2-note p,
.footer-v2-contact-card a {
  overflow-wrap: anywhere;
}

/* Footer must never depend on scroll reveal; prevents partial first-load rendering. */
body.js-enhanced .footer-v2 .reveal-item,
body.js-enhanced .site-footer .reveal-item,
body.js-enhanced .footer-v2-main,
body.js-enhanced .footer-v2-links,
body.js-enhanced .footer-v2-col,
body.js-enhanced .footer-v2-bottom {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}

/* Sitewide nav parity: match the index header on every page */
.site-header {
  background: rgba(255, 250, 244, 0.9);
  border-bottom: 1px solid rgba(22, 32, 47, 0.12);
  box-shadow: 0 12px 40px rgba(22, 32, 47, 0.05);
}

.site-header .header-inner {
  max-width: var(--max-width);
  min-height: 86px;
  padding: 0.5rem 1.25rem;
}

.site-header .brand-logo {
  width: 76px;
  height: 76px;
}

.site-header .nav-main {
  gap: 1rem;
}

.site-header .nav-links {
  gap: 0.25rem;
}

.site-header .nav-links a {
  border-radius: 6px;
  color: #4b5565;
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.42rem 0.64rem;
}

.site-header .nav-links a::after {
  display: none;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible,
.site-header .nav-links .is-active,
.site-header .nav-links .is-current-section {
  color: var(--ink);
  background: rgba(201, 87, 27, 0.08);
}

.site-header .nav-cta.btn {
  min-height: 2.72rem;
  border-radius: 7px;
  background: linear-gradient(135deg, #983b12, var(--orange));
  box-shadow: 0 14px 30px rgba(152, 59, 18, 0.24);
  letter-spacing: 0.01em;
}

.site-header .lang-switch {
  gap: 0.32rem;
  padding-left: 0.15rem;
}

.site-header .lang-switch-label {
  color: #6b7280;
  font-size: 0.68rem;
}

.site-header .lang-switch a {
  border-radius: 6px;
  border-color: rgba(22, 32, 47, 0.12);
  background: rgba(255, 255, 255, 0.62);
  color: #465264;
  padding: 0.34rem 0.46rem;
}

.site-header .lang-switch .lang-active {
  background: #143457;
  border-color: #143457;
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 52, 87, 0.18);
}

.site-header .lang-mark {
  width: 0.86rem;
  height: 0.58rem;
  border: 1px solid rgba(22, 32, 47, 0.18);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

@media (max-width: 980px) {
  .site-header .header-inner {
    flex-wrap: wrap;
  }

  .site-header .nav-main {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .site-header .header-inner {
    min-height: 0;
    padding: 0.55rem 1rem;
  }

  .site-header .brand-logo {
    width: 64px;
    height: 64px;
  }

  .site-header .nav-main {
    align-items: stretch;
  }

  .site-header .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .site-header .nav-links a {
    justify-content: center;
    text-align: center;
  }

  .site-header .lang-switch {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Keep header position identical on index and all subpages */
.site-header .header-inner {
  max-width: 1180px;
}

/* Sitewide font parity: match index typography on every page */
body {
  font-family: ui-sans-serif, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Motion v2: editorial, directional, less generic */
.site-header {
  transform: translateY(-8px);
  opacity: 0;
  transition:
    transform 520ms cubic-bezier(0.2, 0.85, 0.2, 1),
    opacity 420ms ease,
    box-shadow 260ms ease,
    background-color 260ms ease;
}

.site-header.is-settled {
  transform: translateY(0);
  opacity: 1;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 244, 0.96);
  box-shadow: 0 16px 44px rgba(22, 32, 47, 0.08);
}

.site-header.is-scrolled .header-inner {
  min-height: 76px;
}

.site-header.is-scrolled .brand-logo {
  width: 66px;
  height: 66px;
}

.site-header .header-inner,
.site-header .brand-logo {
  transition: min-height 260ms ease, width 260ms ease, height 260ms ease;
}

body.js-enhanced .page-shell {
  opacity: 1;
  transform: none;
}

body.js-enhanced .reveal-item {
  opacity: 0;
  will-change: transform, opacity, clip-path;
  transition:
    opacity 640ms ease,
    transform 760ms cubic-bezier(0.19, 1, 0.22, 1),
    clip-path 860ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

body.js-enhanced .reveal-item[data-reveal="editorial"] {
  transform: translateY(0);
  clip-path: inset(0 100% 0 0);
}

body.js-enhanced .reveal-item[data-reveal="image"] {
  transform: translateY(18px) scale(0.985);
  clip-path: inset(12% 0 12% 0);
}

body.js-enhanced .reveal-item[data-reveal="left"] {
  transform: translateX(-26px) skewX(1.2deg);
  clip-path: inset(0 8% 0 0);
}

body.js-enhanced .reveal-item[data-reveal="right"] {
  transform: translateX(26px) skewX(-1.2deg);
  clip-path: inset(0 0 0 8%);
}

body.js-enhanced .reveal-item[data-reveal="rise"] {
  transform: translateY(28px);
  clip-path: inset(8% 0 0 0);
}

body.js-enhanced .reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) skewX(0deg);
  clip-path: inset(0 0 0 0);
}

.section-kicker,
.footer-v2-kicker,
.contact-panel-label,
.contact-direct-card span {
  position: relative;
  width: fit-content;
}

.section-kicker::after,
.footer-v2-kicker::after,
.contact-panel-label::after,
.contact-direct-card span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.32rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.42;
  transition: transform 620ms cubic-bezier(0.19, 1, 0.22, 1) 160ms;
}

.is-visible .section-kicker::after,
.is-visible.footer-v2-main .footer-v2-kicker::after,
.is-visible.contact-hero-copy .section-kicker::after,
.is-visible.contact-info-panel .contact-panel-label::after,
.is-visible.contact-direct-card span::after,
body.js-ready .hero-kicker::after {
  transform: scaleX(1);
}

.nav-links a,
.lang-switch a,
.footer-v2-col a {
  transform-origin: center;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.lang-switch a:hover,
.lang-switch a:focus-visible {
  transform: translateY(-1px);
}

.resource-card,
.cfl-card,
.contact-info-panel,
.contact-form-card,
.footer-v2-contact-card,
.project-photo {
  transform-style: preserve-3d;
}

body.js-enhanced .interactive-tilt.is-tilting {
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-2px);
}

.project-photo::after,
.resources-hero-panel::after,
.cfl-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 250, 244, 0.32) 48%, transparent 74%);
  transform: translateX(-120%);
  pointer-events: none;
}

.project-photo.is-visible::after,
.resources-hero-panel.is-visible::after,
.cfl-hero-media.is-visible::after {
  animation: image-sheen 900ms cubic-bezier(0.19, 1, 0.22, 1) 180ms both;
}

.btn,
.footer-v2-action {
  isolation: isolate;
}

.btn::before,
.footer-v2-action::before {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 34%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(12px);
  transform: translateY(80%);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: -1;
}

.btn:hover::before,
.btn:focus-visible::before,
.footer-v2-action:hover::before,
.footer-v2-action:focus-visible::before {
  opacity: 1;
  transform: translateY(40%);
}

@keyframes image-sheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .header-inner,
  .site-header .brand-logo,
  body.js-enhanced .reveal-item,
  body.js-enhanced .interactive-tilt,
  .btn,
  .footer-v2-action,
  .project-photo::after,
  .resources-hero-panel::after,
  .cfl-hero-media::after {
    animation: none;
    transition: none;
    transform: none;
    clip-path: none;
  }

  .site-header,
  body.js-enhanced .reveal-item {
    opacity: 1;
  }
}

.footer-v2-action {
  position: relative;
  overflow: hidden;
}

/* Mobile nav v2: compact header + intentional dropdown */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.62rem;
  min-height: 2.65rem;
  padding: 0.62rem 0.82rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 32, 47, 0.13);
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(22, 32, 47, 0.07);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Production safety: the footer is static and must never be hidden by motion. */
.site-footer,
.site-footer *,
body.js-enhanced .site-footer,
body.js-enhanced .site-footer *,
body.js-enhanced .footer-v2 .reveal-item,
body.js-enhanced .site-footer .reveal-item {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  animation: none !important;
}

.footer-v2-main,
.footer-v2-links,
.footer-v2-bottom {
  min-height: 0 !important;
  max-height: none !important;
}

.mobile-nav-toggle__icon,
.mobile-nav-toggle__icon::before,
.mobile-nav-toggle__icon::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 220ms ease, opacity 180ms ease;
}

.mobile-nav-toggle__icon {
  position: relative;
}

.mobile-nav-toggle__icon::before,
.mobile-nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-nav-toggle__icon::before {
  transform: translateY(-6px);
}

.mobile-nav-toggle__icon::after {
  transform: translateY(6px);
}

.site-header.is-nav-open .mobile-nav-toggle__icon {
  background: transparent;
}

.site-header.is-nav-open .mobile-nav-toggle__icon::before {
  transform: rotate(45deg);
}

.site-header.is-nav-open .mobile-nav-toggle__icon::after {
  transform: rotate(-45deg);
}

@media (max-width: 720px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.65rem;
    min-height: 4.8rem;
    padding: 0.65rem 1rem;
  }

  .site-header .brand-logo {
    width: 58px;
    height: 58px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header .nav-main {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    gap: 0.8rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      max-height 420ms cubic-bezier(0.19, 1, 0.22, 1),
      opacity 220ms ease,
      transform 320ms cubic-bezier(0.19, 1, 0.22, 1),
      padding 260ms ease;
  }

  .site-header.is-nav-open .nav-main {
    max-height: 34rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding-top: 0.65rem;
  }

  .site-header .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(22, 32, 47, 0.09);
    border-radius: 10px;
  }

  .site-header .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.62rem 0.7rem;
    background: rgba(255, 250, 244, 0.64);
    border: 1px solid transparent;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .site-header .nav-links li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .site-header .nav-links a:hover,
  .site-header .nav-links a:focus-visible,
  .site-header .nav-links .is-active,
  .site-header .nav-links .is-current-section {
    background: #fff4eb;
    border-color: rgba(198, 90, 26, 0.14);
  }

  .site-header .nav-cta.btn {
    width: 100%;
    min-height: 3.05rem;
    border-radius: 8px;
  }

  .site-header .lang-switch {
    justify-content: center;
    padding: 0.1rem 0 0;
  }
}

@media (max-width: 420px) {
  .mobile-nav-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    width: 2.8rem;
    justify-content: center;
    padding-inline: 0.75rem;
  }
}

/* Mobile nav containment fix */
@media (max-width: 720px) {
  .site-header .header-inner {
    width: 100%;
    max-width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mobile-nav-toggle {
    position: relative;
    z-index: 3;
    grid-column: 2;
    justify-self: end;
    color: var(--ink);
  }

  .site-header .brand {
    grid-column: 1;
    min-width: 0;
  }
}

/* Mobile nav reliable flex layout override */
@media (max-width: 720px) {
  .site-header .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    gap: 0.65rem;
  }

  .site-header .brand {
    flex: 0 0 auto;
  }

  .mobile-nav-toggle {
    flex: 0 0 auto;
    margin-left: auto;
    justify-self: auto;
    grid-column: auto;
  }

  .site-header .nav-main {
    flex: 0 0 100%;
    grid-column: auto;
  }
}

/* Mobile nav final override: stable compact header on narrow screens */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    transform: none;
    opacity: 1;
  }

  .site-header .header-inner {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.72rem 4.75rem 0.72rem 1rem;
  }

  .mobile-nav-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 1rem !important;
    left: auto !important;
    z-index: 60 !important;
    width: 3rem !important;
    min-width: 3rem !important;
    height: 3rem !important;
    min-height: 3rem !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #143457;
    border-color: #143457;
    color: #fff;
    box-shadow: 0 14px 28px rgba(20, 52, 87, 0.2);
    transform: translateY(-50%) !important;
  }

  .site-header.is-scrolled .mobile-nav-toggle {
    top: 50%;
  }

  .site-header.is-nav-open .mobile-nav-toggle {
    transform: translateY(-50%) !important;
  }
}

/* Tablet and narrow desktop fallback: use the same compact nav before it can overflow */
@media (min-width: 721px) and (max-width: 980px) {
  .site-header {
    overflow: visible;
    transform: none;
    opacity: 1;
  }

  .site-header .header-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 82px;
    margin: 0 auto;
    padding: 0.72rem 5rem 0.72rem 1.25rem;
  }

  .site-header .brand-logo {
    width: 64px;
    height: 64px;
  }

  .mobile-nav-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 1.25rem !important;
    left: auto !important;
    z-index: 60 !important;
    width: auto !important;
    min-width: 3rem !important;
    height: 3rem !important;
    min-height: 3rem !important;
    margin: 0 !important;
    padding: 0 0.86rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #143457;
    border-color: #143457;
    color: #fff;
    box-shadow: 0 14px 28px rgba(20, 52, 87, 0.2);
    transform: translateY(-50%) !important;
  }

  .site-header .nav-main {
    flex: 0 0 100%;
    display: grid;
    width: 100%;
    gap: 0.8rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      max-height 420ms cubic-bezier(0.19, 1, 0.22, 1),
      opacity 220ms ease,
      transform 320ms cubic-bezier(0.19, 1, 0.22, 1),
      padding 260ms ease;
  }

  .site-header.is-nav-open .nav-main {
    max-height: 34rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding-top: 0.65rem;
  }

  .site-header .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.55rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(22, 32, 47, 0.09);
    border-radius: 10px;
  }

  .site-header .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.62rem 0.7rem;
    background: rgba(255, 250, 244, 0.64);
    border: 1px solid transparent;
    font-size: 0.92rem;
    line-height: 1.1;
    text-align: center;
  }

  .site-header .nav-cta.btn {
    width: 100%;
    min-height: 3.05rem;
    border-radius: 8px;
  }

  .site-header .lang-switch {
    justify-content: center;
    padding: 0.1rem 0 0;
  }
}

/* Fixed nav v4: glass rail, scroll progress, and editorial link motion */
.site-header {
  --scroll-progress: 0;
  position: fixed;
  top: 0;
  z-index: 100;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(255, 250, 244, 0.82));
  border-bottom: 1px solid rgba(22, 32, 47, 0.1);
  box-shadow: 0 10px 34px rgba(22, 32, 47, 0.045);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.65rem;
  width: min(1120px, calc(100% - 2rem));
  height: 1.2rem;
  background: radial-gradient(ellipse at center, rgba(20, 52, 87, 0.12), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px) scaleX(0.92);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #143457, var(--orange), #e7a56f);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left;
  opacity: 0.9;
  pointer-events: none;
  transition: transform 90ms linear, opacity 220ms ease;
}

.site-header .header-inner {
  transition:
    min-height 360ms cubic-bezier(0.19, 1, 0.22, 1),
    padding 360ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header .brand-logo {
  transition:
    width 360ms cubic-bezier(0.19, 1, 0.22, 1),
    height 360ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 420ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 260ms ease;
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.965), rgba(255, 250, 244, 0.88));
  border-color: rgba(22, 32, 47, 0.14);
  box-shadow: 0 18px 50px rgba(22, 32, 47, 0.11);
}

.site-header.is-scrolled::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scaleX(1);
}

.site-header.is-scrolled .header-inner {
  min-height: 68px;
  padding-block: 0.34rem;
}

.site-header.is-scrolled .brand-logo {
  width: 56px;
  height: 56px;
  filter: saturate(1.04) contrast(1.02);
  transform: translateY(1px) scale(0.98);
}

.site-header .nav-links a {
  isolation: isolate;
  overflow: hidden;
  transition:
    color 180ms ease,
    background-color 220ms ease,
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header .nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(198, 90, 26, 0.12), rgba(20, 52, 87, 0.08));
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header .nav-links a::after {
  display: block;
  left: 0.64rem;
  right: 0.64rem;
  bottom: 0.18rem;
  height: 2px;
  background: linear-gradient(90deg, #143457, var(--orange));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 320ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header .nav-links a:hover::before,
.site-header .nav-links a:focus-visible::before,
.site-header .nav-links .is-active::before,
.site-header .nav-links .is-current-section::before {
  opacity: 1;
  transform: scaleX(1);
}

.site-header .nav-links a:hover::after,
.site-header .nav-links a:focus-visible::after,
.site-header .nav-links .is-active::after,
.site-header .nav-links .is-current-section::after {
  opacity: 0.75;
  transform: scaleX(1);
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible {
  transform: translateY(-2px);
}

.site-header .nav-links .is-active,
.site-header .nav-links .is-current-section {
  box-shadow: inset 0 -1px 0 rgba(198, 90, 26, 0.18);
}

.site-header .nav-cta.btn {
  position: relative;
  overflow: hidden;
}

.site-header .nav-cta.btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -32%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%) rotate(14deg);
  transition: transform 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-header .nav-cta.btn:hover::before,
.site-header .nav-cta.btn:focus-visible::before {
  transform: translateX(420%) rotate(14deg);
}

@media (max-width: 980px) {
  .site-header.is-scrolled .header-inner {
    min-height: 74px;
  }

  .site-header::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header.is-scrolled .brand-logo {
    width: 54px;
    height: 54px;
  }

}

/* Fixed nav production override: always visible while scrolling */
:root {
  --fixed-header-space: 92px;
}

.site-shell {
  padding-top: var(--fixed-header-space);
}

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  opacity: 1;
  transform: none !important;
  will-change: auto;
}

.site-header.is-scroll-down,
.site-header.is-scroll-down:not(.is-nav-open) {
  transform: none !important;
}

.site-header .header-inner {
  min-height: 86px;
}

.site-header.is-scrolled .header-inner {
  min-height: 68px;
}

@media (max-width: 980px) {
  :root {
    --fixed-header-space: 86px;
  }

  .site-header .header-inner,
  .site-header.is-scrolled .header-inner {
    min-height: 74px;
  }
}

@media (max-width: 720px) {
  :root {
    --fixed-header-space: 78px;
  }

  .site-header .header-inner,
  .site-header.is-scrolled .header-inner {
    min-height: 74px;
  }

  .site-header.is-nav-open {
    position: fixed !important;
  }
}

/* Header logo scale update */
:root {
  --fixed-header-space: 104px;
}

.site-header .header-inner {
  min-height: 98px;
}

.site-header .brand-logo {
  width: 112px;
  height: 112px;
}

.site-header.is-scrolled .header-inner {
  min-height: 82px;
}

.site-header.is-scrolled .brand-logo {
  width: 84px;
  height: 84px;
}

@media (max-width: 980px) {
  :root {
    --fixed-header-space: 92px;
  }

  .site-header .header-inner,
  .site-header.is-scrolled .header-inner {
    min-height: 82px;
  }

  .site-header .brand-logo,
  .site-header.is-scrolled .brand-logo {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 720px) {
  :root {
    --fixed-header-space: 82px;
  }

  .site-header .header-inner,
  .site-header.is-scrolled .header-inner {
    min-height: 76px;
  }

  .site-header .brand-logo,
  .site-header.is-scrolled .brand-logo {
    width: 70px;
    height: 70px;
  }
}
