/* =========================================
   Global Branding London — Design System
   ========================================= */

/* --- Google Fonts (loaded in HTML <head>) ---
   Inter: 400, 500, 600
   Playfair Display: 600, 700
   ------------------------------------------- */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colours */
  --color-deep-navy: #283C94;
  --color-mid-blue: #2767AE;
  --color-bright-blue: #1E77BA;
  --color-charcoal: #414142;
  --color-slate-grey: #6D6E71;
  --color-light-bg: #F7F8FA;
  --color-white: #FFFFFF;
  --color-border: #E2E4E9;
  --color-success: #2E7D32;
  --color-error: #C62828;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
}

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

a {
  color: var(--color-mid-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-bright-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-bright-blue);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-charcoal);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: var(--text-4xl); margin-bottom: var(--space-lg); }
h2 { font-size: var(--text-3xl); margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-md); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-md); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-slate-grey);
  line-height: 1.8;
}

.text-accent, .text--accent { color: var(--color-mid-blue); }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--alt, .section-alt {
  background-color: var(--color-light-bg);
}

.section__header, .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.section__label, .section-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-mid-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn--primary, .btn-primary {
  background: var(--color-deep-navy);
  color: var(--color-white);
  border-color: var(--color-deep-navy);
}

.btn--primary:hover, .btn-primary:hover {
  background: var(--color-mid-blue);
  border-color: var(--color-mid-blue);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary, .btn-secondary {
  background: transparent;
  color: var(--color-deep-navy);
  border-color: var(--color-deep-navy);
}

.btn--secondary:hover, .btn-secondary:hover {
  background: var(--color-deep-navy);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--white, .btn-white {
  background: var(--color-white);
  color: var(--color-deep-navy);
  border-color: var(--color-white);
}

.btn--white:hover, .btn-white:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--sm, .btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
}

.btn--lg, .btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header--scrolled, .header-scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner, .header-inner, .site-header__container, .header__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.header__logo, .header-logo, .logo {
  flex-shrink: 0;
}

.header__logo img, .header-logo img, .logo img {
  height: 65px;
  width: auto;
}

.header__nav, .header-nav, .nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav a, .header-nav a, .nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

.header__nav a::after, .header-nav a::after, .nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-mid-blue);
  transition: width var(--transition-base);
}

.header__nav a:hover, .header__nav a.active, .header-nav a:hover, .header-nav a.active, .nav a:hover, .nav a.active {
  color: var(--color-mid-blue);
}

.header__nav a:hover::after, .header__nav a.active::after, .header-nav a:hover::after, .header-nav a.active::after, .nav a:hover::after, .nav a.active::after {
  width: 100%;
}

.header__cta, .header-cta, .header-actions {
  flex-shrink: 0;
}

/* Mobile menu toggle */
.header__menu-btn, .header-menu-btn, .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  flex-direction: column;
  gap: 5px;
}

.header__menu-btn span, .header-menu-btn span, .mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  transition: all var(--transition-base);
}

.header__menu-btn.active span:nth-child(1), .header-menu-btn.active span:nth-child(1), .mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__menu-btn.active span:nth-child(2), .header-menu-btn.active span:nth-child(2), .mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.header__menu-btn.active span:nth-child(3), .header-menu-btn.active span:nth-child(3), .mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.hero__inner, .hero-inner, .hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content h1, .hero-content h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  color: var(--color-charcoal);
}

.hero__content p, .hero-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero__image, .hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image img, .hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* --- Stat Block --- */
.stat-block {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.stat-block__number, .stat-block-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-deep-navy);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.stat-block__text, .stat-block-text {
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Impact Section (alternating layout) --- */
.impact-section {
  padding: var(--space-3xl) 0;
}

.impact-section__inner, .impact-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.impact-section:nth-child(even) .impact-section__inner, .impact-section:nth-child(even) .impact-section-inner {
  direction: rtl;
}

.impact-section:nth-child(even) .impact-section__inner > *, .impact-section:nth-child(even) .impact-section-inner > * {
  direction: ltr;
}

.impact-section__image, .impact-section-image, .impact-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.impact-section__image img, .impact-section-image img, .impact-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.impact-section__content h3, .impact-section-content h3, .impact-content h3 {
  color: var(--color-deep-navy);
  margin-bottom: var(--space-md);
}

.impact-section__content p, .impact-section-content p, .impact-content p {
  margin-bottom: var(--space-lg);
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__image, .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body, .card-body {
  padding: var(--space-lg);
}

.card__body h3, .card-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card__body p, .card-body p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.card__tag, .card-tag {
  display: inline-block;
  background: var(--color-light-bg);
  color: var(--color-mid-blue);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Team Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-card__photo, .team-card-photo, .team-photo {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  border: 4px solid var(--color-light-bg);
}

.team-card__name, .team-card-name, .team-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.team-card__title, .team-card-title, .team-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-mid-blue);
  margin-bottom: var(--space-md);
}

.team-card__bio, .team-card-bio, .team-bio {
  font-size: var(--text-sm);
  color: var(--color-slate-grey);
  line-height: 1.7;
}

/* --- Award Badges --- */
.award-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  color: #BF360C;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.award-label::before {
  content: '🏆';
}

.award-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-deep-navy);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
}

.award-badge::before {
  content: '★';
  font-size: var(--text-lg);
  color: #FFD54F;
}

/* --- Filter Tabs --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: var(--space-md);
}

.filter-tab {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-slate-grey);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--color-mid-blue);
}

.filter-tab.active {
  color: var(--color-deep-navy);
  border-bottom-color: var(--color-deep-navy);
  font-weight: 600;
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-mid-blue);
  box-shadow: var(--shadow-sm);
}

.value-card__label, .value-card-label, .value-label {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-deep-navy);
  margin-bottom: var(--space-xs);
}

.value-card__desc, .value-card-desc, .value-desc {
  font-size: var(--text-sm);
  color: var(--color-slate-grey);
  margin-bottom: 0;
}

/* --- Process Strip --- */
.process-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.process-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: var(--color-light-bg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  white-space: nowrap;
}

.process-step::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-mid-blue);
  flex-shrink: 0;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.form-label .required {
  color: var(--color-error);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-mid-blue);
  box-shadow: 0 0 0 3px rgba(39, 103, 174, 0.15);
  outline: none;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}

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

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-status {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
  display: none;
}

.form-status.success {
  display: block;
  background: #E8F5E9;
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

.form-status.error-msg {
  display: block;
  background: #FFEBEE;
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.btn--loading, .btn-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.btn--loading::after, .btn-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
  margin-left: var(--space-sm);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Video Player Placeholder --- */
.video-placeholder {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: var(--space-xl) auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-deep-navy), var(--color-mid-blue));
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

.video-placeholder__overlay, .video-placeholder-overlay, .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(40, 60, 148, 0.4);
  transition: background var(--transition-base);
}

.video-placeholder:hover .video-placeholder__overlay, .video-placeholder:hover .video-placeholder-overlay, .video-placeholder:hover .video-overlay {
  background: rgba(40, 60, 148, 0.55);
}

.video-placeholder__play, .video-placeholder-play, .video-play {
  width: 72px;
  height: 72px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
  margin-bottom: var(--space-md);
}

.video-placeholder:hover .video-placeholder__play, .video-placeholder:hover .video-placeholder-play, .video-placeholder:hover .video-play {
  transform: scale(1.1);
}

.video-placeholder__play::after, .video-placeholder-play::after, .video-play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent var(--color-deep-navy);
  margin-left: 4px;
}

.video-placeholder__text, .video-placeholder-text, .video-text {
  color: var(--color-white);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Featured Project Banner --- */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.featured-project__image, .featured-project-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.featured-project__image img, .featured-project-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.featured-project__content h3, .featured-project-content h3 {
  font-size: var(--text-3xl);
  color: var(--color-deep-navy);
}

.featured-project__tag, .featured-project-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-mid-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-mid-blue) 100%);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-xl);
}

.cta-banner, .cta-banner h2, .cta-banner p {
  color: var(--color-white) !important;
}

.cta-banner .btn {
  color: var(--color-white) !important;
}

.cta-banner .btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.cta-banner .btn-secondary:hover {
  background: #ffffff !important;
  color: var(--color-deep-navy) !important;
}

/* --- Cooperation Lists --- */
.coop-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-sm);
}

.coop-list li {
  padding: 0.6rem 0;
  padding-left: var(--space-lg);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-charcoal);
}

.coop-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-mid-blue);
}

/* --- Footer --- */
.footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid, .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand p, .footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-top: var(--space-md);
  line-height: 1.7;
}

.footer__brand img, .footer-brand img {
  height: 38px;
  width: auto;
  filter: brightness(10);
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer ul li {
  margin-bottom: var(--space-sm);
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer ul li a:hover {
  color: var(--color-white);
}

.footer__social, .footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer__social a, .footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.footer__social a:hover, .footer-social a:hover {
  background: var(--color-mid-blue);
  color: var(--color-white);
}

.footer__bottom, .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__bottom p, .footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  margin: 0;
}

/* --- Page Header (internal pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-mid-blue) 100%);
  color: var(--color-white);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  max-width: 640px;
  margin: 0 auto;
}

/* --- Nachural Banner (About page only) --- */
.nachural-banner {
  width: 100%;
  max-width: var(--max-width);
  margin: var(--space-2xl) auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.nachural-banner img {
  width: 100%;
  height: auto;
}

/* --- Bilecik Case Study --- */
.case-study-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.case-study-section:last-of-type {
  border-bottom: none;
}

.case-study-section h2 {
  color: var(--color-deep-navy);
}

/* --- Content Prose --- */
.prose {
  max-width: 780px;
}

.prose p {
  margin-bottom: var(--space-lg);
}

.prose h2 {
  margin-top: var(--space-2xl);
}

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 1024px) {
  .header__nav, .header-nav, .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: var(--space-md);
  }

  .header__nav.open, .header-nav.open, .nav.open {
    display: flex;
  }

  .header__menu-btn, .header-menu-btn, .mobile-menu-btn {
    display: flex;
  }

  .header__cta, .header-cta, .header-actions {
    display: none;
  }

  .hero__inner, .hero-inner, .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content p, .hero-content p { max-width: 100%; }
  .hero__content .btn-group, .hero-content .btn-group { justify-content: center; }

  .impact-section__inner, .impact-section-inner {
    grid-template-columns: 1fr;
  }

  .impact-section:nth-child(even) .impact-section__inner, .impact-section:nth-child(even) .impact-section-inner {
    direction: ltr;
  }

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

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --space-3xl: 2.5rem;
    --space-4xl: 3.5rem;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  .container {
    padding: 0 var(--space-md);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom, .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    text-align: center;
  }

  .coop-list {
    grid-template-columns: 1fr;
  }

  .stat-block__number, .stat-block-number {
    font-size: var(--text-4xl);
  }

  .award-badges {
    flex-direction: column;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
}

/* ==================================================
   ADDITIONAL ALIASES — Covering all HTML variations
   ================================================== */

/* --- Utility Classes --- */
.text-center { text-align: center; }
.intro, .intro-text { font-size: var(--text-lg); color: var(--color-slate-grey); max-width: 720px; margin: 0 auto var(--space-2xl); }
.image-section { margin: var(--space-2xl) 0; }
.image-section img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* --- Nav Links (ul inside nav) --- */
.nav-links, .nav__list, .site-header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a, .nav__list li a, .site-header__nav-list li a,
.nav__link, .site-header__nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  transition: color var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
  text-decoration: none;
}

.nav-links li a::after, .nav__list li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-mid-blue);
  transition: width var(--transition-base);
}

.nav-links li a:hover, .nav-links li a.active { color: var(--color-mid-blue); }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }

/* --- Hero Buttons --- */
.hero-buttons, .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* --- Header Actions (CTA + hamburger wrapper) --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* --- Team Card Role --- */
.team-card .role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-mid-blue);
  margin-bottom: var(--space-md);
}
.team-card__name, .team-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}
.team-card img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  border: 4px solid var(--color-light-bg);
}
.team-intro {
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
}
.team-closing {
  margin-top: var(--space-2xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Cooperation Section --- */
.cooperation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.cooperation-content h2 {
  color: var(--color-deep-navy);
}
.cooperation-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cooperation-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* --- Featured Success (homepage) --- */
.featured-success .tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-mid-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}
.featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: var(--space-xl) auto;
}
.featured-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* --- Site Header aliases (about/social impact detail pages) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}
.site-header__logo, .site-header__logo-link {
  flex-shrink: 0;
}
.site-header__logo img, .site-header__logo-link img {
  height: 65px;
  width: auto;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.site-header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  flex-direction: column;
  gap: 5px;
}
.site-header__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  transition: all var(--transition-base);
}

/* --- Site Footer aliases --- */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.site-footer__col h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}
.site-footer__col ul li { margin-bottom: var(--space-sm); }
.site-footer__col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.site-footer__col ul li a:hover { color: var(--color-white); }
.site-footer__col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.site-footer__logo, .footer-logo, .footer-brand img, .footer__about img {
  height: 55px;
  max-height: 60px;
  width: auto;
  filter: brightness(10);
  margin-bottom: var(--space-md);
  display: block;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
}
.site-footer__bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  margin: 0;
}

/* --- Footer flat aliases (other subagent patterns) --- */
.footer-inner, .footer__container, .footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.footer-inner, .footer-content, .site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  align-items: start;
}
.footer-links h4, .footer-areas h4, .footer-company h4, .footer-info h4,
.footer__links h4, .footer__about h4, .footer__contact h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}
.footer-links ul li, .footer-areas ul li, .footer-company ul li, .footer-info ul li,
.footer-links li, .footer-areas li, .footer-company li,
.footer__links ul li, .footer__about ul li, .footer__contact ul li {
  margin-bottom: var(--space-sm);
}
.footer-links ul li a, .footer-areas ul li a, .footer-company ul li a, .footer-info ul li a,
.footer-links a, .footer-areas a, .footer-company a,
.footer__links a, .footer__about a, .footer__contact a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.footer-links a:hover, .footer-areas a:hover, .footer-company a:hover,
.footer__links a:hover, .footer__about a:hover, .footer__contact a:hover {
  color: var(--color-white);
}
.footer-brand, .footer__about {
  color: rgba(255, 255, 255, 0.7);
}
.footer-brand p, .footer__about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.footer-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  margin-top: var(--space-md);
}

/* Social icons in footer */
.social-icons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}
.social-icons a:hover {
  background: var(--color-mid-blue);
  color: var(--color-white);
}

/* --- Gradient BG alias for page headers --- */
.gradient-bg {
  background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-mid-blue) 100%);
}

/* Page header subtitle */
.page-header .subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-top: var(--space-sm);
}

/* --- Case Study Page --- */
.case-study {
  padding: var(--space-3xl) 0;
}
.case-study h2 {
  color: var(--color-deep-navy);
}
.case-study ul {
  padding-left: var(--space-lg);
}
.case-study ul li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}
.case-study ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-mid-blue);
  font-weight: 700;
}

/* --- Contact Form Container --- */
.contact-form-container {
  max-width: 640px;
  margin: 0 auto;
}
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}
.form-label .required {
  color: var(--color-error);
  margin-left: 2px;
}

/* --- Responsive aliases --- */
@media (max-width: 1024px) {
  .nav, .site-header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: var(--space-md);
    z-index: 999;
  }
  .nav.open, .site-header__nav.open {
    display: flex;
  }
  .nav-links, .nav__list, .site-header__nav-list {
    flex-direction: column;
    gap: var(--space-md);
  }
  .mobile-menu-btn, .site-header__mobile-toggle, .hamburger, .mobile-menu-icon {
    display: flex;
  }
  .header-actions .btn, .header__cta {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .hero-buttons, .cta-buttons {
    justify-content: center;
  }
  .cooperation-inner {
    grid-template-columns: 1fr;
  }
  .footer-content, .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-content, .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons, .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn, .cta-buttons .btn {
    text-align: center;
  }
}
